com.tensegrity.composite.event.group
Class GroupSizeAdjustmentEvent
java.lang.Object
com.tensegrity.composite.event.group.AbstractCompositeGroupEvent
com.tensegrity.composite.event.group.GroupSizeAdjustmentEvent
- All Implemented Interfaces:
- CompositeGroupEvent, CompositeRootEvent
- public class GroupSizeAdjustmentEvent
- extends AbstractCompositeGroupEvent
A GroupSizeAdjustmentEvent occurs whenever a size adjustment
is applied to a CompositeGroup.
- Version:
- $Id: GroupSizeAdjustmentEvent.java,v 1.6 2006/02/10 16:24:28 MichaelKegel Exp $
- Author:
- MKegel
- See Also:
CompositeGroupEvent,
CompositeGroupListener
|
Method Summary |
CompositeGroupState |
getStateCurrent()
Returns a CompositeGroupState object that reflects the state
of the CompositeGroup after the size adjustment has taken
place. |
CompositeGroupState |
getStateOld()
Returns a CompositeGroupState object that reflects the state
of the CompositeGroup before the size adjustment has taken
place. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GroupSizeAdjustmentEvent
public GroupSizeAdjustmentEvent(CompositeGroup compositegroup,
CompositeGroupState stateOld,
CompositeGroupState stateCurrent)
- Constructor for
GroupSizeAdjustmentEvent. The
CompositeGroup the size adjustment has been occured on
should be given by compositegroup. The
CompositeGroupState given by stateOld should
reflect the state of the given CompositeGroup instance
before the size adjustment has taken place and the
CompositeGroupState given by stateCurrent
should reflect the state of the CompositeGroup after the
size adjustment.
- Parameters:
compositegroup - the CompositeGroup which size has been
adjustetstateOld - the state of the CompositeGroup before the
size adjustmentstateCurrent - the state of the CompositeGroup after
the size adjustment
getStateOld
public CompositeGroupState getStateOld()
- Returns a
CompositeGroupState object that reflects the state
of the CompositeGroup before the size adjustment has taken
place.
- Returns:
- CompositeGroupState the state of the
CompositeGroup
before the size adjustment
getStateCurrent
public CompositeGroupState getStateCurrent()
- Returns a
CompositeGroupState object that reflects the state
of the CompositeGroup after the size adjustment has taken
place.
- Returns:
- CompositeGroupState the state of the
CompositeGroup
after the size adjustment
toString
public java.lang.String toString()
Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.