com.tensegrity.composite.event
Class CompositeGroupAdapter

java.lang.Object
  extended bycom.tensegrity.composite.event.CompositeGroupAdapter
All Implemented Interfaces:
CompositeGroupListener, EventListenerTag

public class CompositeGroupAdapter
extends java.lang.Object
implements CompositeGroupListener

The CompositeGroupAdapter class implements the CompositeGroupListener interface and overrides all methods declared there with methods which have no functionality inside. So that, when creating a CompositeGroupListener not all of the methods have to be overridden, only the methods which are from interest.

Version:
$Id: CompositeGroupAdapter.java,v 1.7 2006/03/23 11:09:53 MichaelKegel Exp $
Author:
MichaelKegel

Constructor Summary
CompositeGroupAdapter()
          Constructor for 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeGroupAdapter

public CompositeGroupAdapter()
Constructor for CompositeGroupAdapter.

Method Detail

groupAddedComposite

public void groupAddedComposite(GroupAddCompositeEvent event)
Description copied from interface: CompositeGroupListener
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.

Specified by:
groupAddedComposite in interface CompositeGroupListener
Parameters:
event - the event that carries the information

groupRemovedComposite

public void groupRemovedComposite(GroupRemoveCompositeEvent event)
Description copied from interface: CompositeGroupListener
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.

Specified by:
groupRemovedComposite in interface CompositeGroupListener
Parameters:
event - the event that carries the information

groupAddedComposites

public void groupAddedComposites(GroupAddCompositesEvent event)
Description copied from interface: CompositeGroupListener
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.

Specified by:
groupAddedComposites in interface CompositeGroupListener
Parameters:
event - the event that carries the information

groupRemovedComposites

public void groupRemovedComposites(GroupRemoveCompositesEvent event)
Description copied from interface: CompositeGroupListener
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.

Specified by:
groupRemovedComposites in interface CompositeGroupListener
Parameters:
event - the event that carries the information

groupSelectionChanged

public void groupSelectionChanged(GroupSelectionChangeEvent event)
Description copied from interface: CompositeGroupListener
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.

Specified by:
groupSelectionChanged in interface CompositeGroupListener
Parameters:
event - the event that carries the information

groupCompositeOrderChanged

public void groupCompositeOrderChanged(GroupCompositeOrderChangeEvent event)
Description copied from interface: CompositeGroupListener
This method is called whenever the internal order of BaseComposite objects changes.

Specified by:
groupCompositeOrderChanged in interface CompositeGroupListener
Parameters:
event - the corresponding GroupCompositeOrderChangeEvent event.

groupFoldStatePreChange

public void groupFoldStatePreChange(GroupFoldStateChange event)
Description copied from interface: CompositeGroupListener
This method is called whenever the state of folding of a CompositeGroup is up to be changed.

Specified by:
groupFoldStatePreChange in interface CompositeGroupListener
Parameters:
event - the event that carries the information.

groupFoldStateChanged

public void groupFoldStateChanged(GroupFoldStateChange event)
Description copied from interface: CompositeGroupListener
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.

Specified by:
groupFoldStateChanged in interface CompositeGroupListener
Parameters:
event - the event that carries the information.

groupSizeAdjusted

public void groupSizeAdjusted(GroupSizeAdjustmentEvent event)
Description copied from interface: CompositeGroupListener
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.

Specified by:
groupSizeAdjusted in interface CompositeGroupListener
Parameters:
event - the event that carries the information.


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