com.tensegrity.composite.event.group
Class AbstractCompositeGroupEvent

java.lang.Object
  extended bycom.tensegrity.composite.event.group.AbstractCompositeGroupEvent
All Implemented Interfaces:
CompositeGroupEvent, CompositeRootEvent
Direct Known Subclasses:
GroupAddCompositeEvent, GroupAddCompositesEvent, GroupCompositeOrderChangeEvent, GroupFoldStateChange, GroupRemoveCompositeEvent, GroupRemoveCompositesEvent, GroupSelectionChangeEvent, GroupSizeAdjustmentEvent

public abstract class AbstractCompositeGroupEvent
extends java.lang.Object
implements CompositeGroupEvent

Abstract base class for CompositeEvents that belong to a CompositeGroup.

Version:
$Id: AbstractCompositeGroupEvent.java,v 1.5 2005/05/06 06:26:04 MichaelKegel Exp $
Author:
Michael Kegel
See Also:
AbstractCompositeGroupEvent

Field Summary
protected  BaseComposite composite
          eventually needed for an event that belongs to a Composite like AddComposite or RemoveComposite
protected  CompositeGroup compositeGroup
          the CompositeGroup the event is occured at
protected  java.util.List composites
          eventually needed for an event that belongs to a list of Composite like ViewRemoveCompositesEvent
 
Constructor Summary
AbstractCompositeGroupEvent(CompositeGroup compositeGroup)
          The Constructor for AbstractCompositeGroupEvent.
AbstractCompositeGroupEvent(CompositeGroup compositeGroup, BaseComposite composite)
          Constructor for AbstractCompositeGroupEvent.
AbstractCompositeGroupEvent(CompositeGroup compositeGroup, java.util.List composites)
          Constructor for AbstractCompositeGroupEvent.
 
Method Summary
 CompositeGroup getCompositeGroup()
          returns the CompositeGroup which generates the event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

compositeGroup

protected CompositeGroup compositeGroup
the CompositeGroup the event is occured at


composite

protected BaseComposite composite
eventually needed for an event that belongs to a Composite like AddComposite or RemoveComposite


composites

protected java.util.List composites
eventually needed for an event that belongs to a list of Composite like ViewRemoveCompositesEvent

Constructor Detail

AbstractCompositeGroupEvent

public AbstractCompositeGroupEvent(CompositeGroup compositeGroup)
The Constructor for AbstractCompositeGroupEvent.

Parameters:
compositeGroup - the CompositeGroup the event belongs to.

AbstractCompositeGroupEvent

public AbstractCompositeGroupEvent(CompositeGroup compositeGroup,
                                   BaseComposite composite)
Constructor for AbstractCompositeGroupEvent.

Parameters:
compositeGroup - the CompositeGroup the event belongs to
composite - the BaseComposite the event belongs to

AbstractCompositeGroupEvent

public AbstractCompositeGroupEvent(CompositeGroup compositeGroup,
                                   java.util.List composites)
Constructor for AbstractCompositeGroupEvent.

Parameters:
compositeGroup - the CompositeGroup the event belongs to
composites - the list of Composites the event belongs to
Method Detail

getCompositeGroup

public CompositeGroup getCompositeGroup()
Description copied from interface: CompositeGroupEvent
returns the CompositeGroup which generates the event.

Specified by:
getCompositeGroup in interface CompositeGroupEvent
Returns:
CompositeGroup the CompositeGroup the event occurs at


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