com.tensegrity.composite.event
Interface CompositeGroupListener

All Superinterfaces:
EventListenerTag
All Known Subinterfaces:
EventMediator, EventMediatorListener, ModifiedVisualGraphListener
All Known Implementing Classes:
CompositeEventMultiplexer, CompositeGroupAdapter, EventMediatorAdapter, ModifiedVisualGraphAdapter, TreeOutliner

public interface CompositeGroupListener
extends EventListenerTag

Objects that implement the CompositeGroupListener interface can be regsitered at a CompositeGroup so that they will be informed about the events that occur at the CompositeGroup.

Version:
$Id: CompositeGroupListener.java,v 1.11 2006/03/23 11:09:53 MichaelKegel Exp $
Author:
MichaelKegel
See Also:
EventListenerTag, CompositeGroup, CompositeGroupAdapter

Method Summary
 void groupAddedComposite(GroupAddCompositeEvent event)
          This method is called whenever a Composite has been added to a CompositeGroup.
 void groupAddedComposites(GroupAddCompositesEvent event)
          This method is called whenever a List of Composites has been added to a CompositeGroup.
 void groupCompositeOrderChanged(GroupCompositeOrderChangeEvent event)
          This method is called whenever the internal order of BaseComposite objects changes.
 void groupFoldStateChanged(GroupFoldStateChange event)
          This method is called whenever the state of folding of a CompositeGroup has been changed.
 void groupFoldStatePreChange(GroupFoldStateChange event)
          This method is called whenever the state of folding of a CompositeGroup is up to be changed.
 void groupRemovedComposite(GroupRemoveCompositeEvent event)
          This method is called whenever a Composite has been removed from a CompositeGroup.
 void groupRemovedComposites(GroupRemoveCompositesEvent event)
          This method is called whenever a List of Composites has been removed from a CompositeGroup.
 void groupSelectionChanged(GroupSelectionChangeEvent event)
          This method is called whenever the selection within the CompositeGroup has been changed.
 void groupSizeAdjusted(GroupSizeAdjustmentEvent event)
          This method is called whenever the size of a CompositeGroup has been changed by the CompositeGroup itself.
 

Method Detail

groupAddedComposite

public void groupAddedComposite(GroupAddCompositeEvent event)
This method is called whenever a Composite has been added to a CompositeGroup. The GroupAddCompositeEvent given by event carries the information a CompositeGroupListener could be interested in.

Parameters:
event - the event that carries the information

groupRemovedComposite

public void groupRemovedComposite(GroupRemoveCompositeEvent event)
This method is called whenever a Composite has been removed from a CompositeGroup. The GroupRemoveCompositeEvent given by event carries the information a CompositeGroupListener could be interested in.

Parameters:
event - the event that carries the information

groupAddedComposites

public void groupAddedComposites(GroupAddCompositesEvent event)
This method is called whenever a List of Composites has been added to a CompositeGroup. The GroupAddCompositesEvent given by event carries the information a CompositeGroupListener could be interested in.

Parameters:
event - the event that carries the information

groupRemovedComposites

public void groupRemovedComposites(GroupRemoveCompositesEvent event)
This method is called whenever a List of Composites has been removed from a CompositeGroup. The GroupRemoveCompositesEvent given by event carries the information a CompositeGroupListener could be interested in.

Parameters:
event - the event that carries the information

groupSelectionChanged

public void groupSelectionChanged(GroupSelectionChangeEvent event)
This method is called whenever the selection within the CompositeGroup has been changed. The GroupSelectionChangeEvent given by event carries the information a CompositeGroupListener could be interested in.

Parameters:
event - the event that carries the information

groupCompositeOrderChanged

public void groupCompositeOrderChanged(GroupCompositeOrderChangeEvent event)
This method is called whenever the internal order of BaseComposite objects changes.

Parameters:
event - the corresponding GroupCompositeOrderChangeEvent event.

groupFoldStatePreChange

public void groupFoldStatePreChange(GroupFoldStateChange event)
This method is called whenever the state of folding of a CompositeGroup is up to be changed.

Parameters:
event - the event that carries the information.

groupFoldStateChanged

public void groupFoldStateChanged(GroupFoldStateChange event)
This method is called whenever the state of folding of a CompositeGroup has been changed. The GroupFoldStateChange event given by event carries the information a CompositeGroupListener could be interested in.

Parameters:
event - the event that carries the information.

groupSizeAdjusted

public void groupSizeAdjusted(GroupSizeAdjustmentEvent event)
This method is called whenever the size of a CompositeGroup has been changed by the CompositeGroup itself.
This event is related to the size-adjustment functionality of the CompositeGroup.

Parameters:
event - the event that carries the information.


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