com.tensegrity.composite.event.group
Class GroupAddCompositeEvent

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

public class GroupAddCompositeEvent
extends AbstractCompositeGroupEvent

A GroupAddCompositeEvent occurs whenever a Composite has been added to a CompositeGroup.

Version:
$Id: GroupAddCompositeEvent.java,v 1.6 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
GroupAddCompositeEvent(CompositeGroup compositegroup, BaseComposite composite)
          Constructor for GroupAddCompositeEvent specifying the CompositeGroup to which the BaseComposite has been added to and the BaseComposite that has been added to the given CompositeGroup.
 
Method Summary
 BaseComposite getComposite()
          Returns the Composite that has 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

GroupAddCompositeEvent

public GroupAddCompositeEvent(CompositeGroup compositegroup,
                              BaseComposite composite)
Constructor for GroupAddCompositeEvent specifying the CompositeGroup to which the BaseComposite has been added to and the BaseComposite that has been added to the given CompositeGroup.

Parameters:
compositegroup - the CompositeGroup to that the Composite was added.
composite - the added Composite.
Method Detail

getComposite

public BaseComposite getComposite()
Returns the Composite that has been added to the CompositeGroup.

Returns:
BaseComposite the added Composite

toString

public java.lang.String toString()


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