com.tensegrity.composite.event.group
Class GroupAddCompositesEvent

java.lang.Object
  extended bycom.tensegrity.composite.event.group.AbstractCompositeGroupEvent
      extended bycom.tensegrity.composite.event.group.GroupAddCompositesEvent
All Implemented Interfaces:
CompositeGroupEvent, CompositeRootEvent

public class GroupAddCompositesEvent
extends AbstractCompositeGroupEvent

A GroupAddCompositesEvent occurs whenever a list of Composites has been added to a CompositeGroup.

Version:
$Id: GroupAddCompositesEvent.java,v 1.5 2006/02/10 16:24:28 MichaelKegel Exp $
Author:
MichaelKegel
See Also:
CompositeGroupEvent, CompositeGroupListener

Field Summary
 
Fields inherited from class com.tensegrity.composite.event.group.AbstractCompositeGroupEvent
composite, compositeGroup, composites
 
Constructor Summary
GroupAddCompositesEvent(CompositeGroup compositegroup, java.util.List composites)
          Constructor for GroupAddCompositesEvent specifying the CompositeGroup to which the BaseComposite objects have been added to and the List of BaseComposite objects that have been added to the given CompositeGroup.
 
Method Summary
 java.util.List getComposites()
          Returns a List with the Composites that have been added to the CompositeGroup.
 java.lang.String toString()
           
 
Methods inherited from class com.tensegrity.composite.event.group.AbstractCompositeGroupEvent
getCompositeGroup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroupAddCompositesEvent

public GroupAddCompositesEvent(CompositeGroup compositegroup,
                               java.util.List composites)
Constructor for GroupAddCompositesEvent specifying the CompositeGroup to which the BaseComposite objects have been added to and the List of BaseComposite objects that have been added to the given CompositeGroup.

Parameters:
compositegroup - the CompositeGroup the event occured on.
composites - the list of Composites added.
Method Detail

getComposites

public java.util.List getComposites()
Returns a List with the Composites that have been added to the CompositeGroup.

Returns:
List the added Composites.

toString

public java.lang.String toString()


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.