com.tensegrity.composite.event
Class CompositeLineAdapter

java.lang.Object
  extended bycom.tensegrity.composite.event.BaseCompositeAdapter
      extended bycom.tensegrity.composite.event.CompositeLineAdapter
All Implemented Interfaces:
BaseCompositeListener, CompositeLineListener, EventListenerTag

public class CompositeLineAdapter
extends BaseCompositeAdapter
implements CompositeLineListener

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

Version:
$Id: CompositeLineAdapter.java,v 1.5 2005/08/11 09:27:55 MichaelKegel Exp $
Author:
MichaelKegel

Constructor Summary
CompositeLineAdapter()
          Constructor for CompositeLineAdapter.
 
Method Summary
 void compositeChanged(LineChangedEvent event)
          This method is called whenever a CompositeLine has been changed but for the change is no specialized callback defined.
 void compositeManipulating(LineManipulationEvent event)
           This method is called while a CompositeLine is being manipulated.
 void compositeMoving(LineMoveEvent event)
           This method is called while a CompositeLine is being moved around.
 void compositePostManipulating(LineManipulationEvent event)
          This method is called after a CompositeLine has been manipulated.
 void compositePostMoving(LineMoveEvent event)
          This method is called after a CompositeLine has been moved.
 void compositePreManipulating(LineManipulationEvent event)
          This method is called before the manipulation of a CompositeLine starts.
 void compositePreMoving(LineMoveEvent event)
          This method is called before a CompositeLine is being moved around.
 
Methods inherited from class com.tensegrity.composite.event.BaseCompositeAdapter
mouseClick, mouseDown, mouseEnter, mouseExit, mouseUp, postSelect, preSelect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.tensegrity.composite.event.BaseCompositeListener
mouseClick, mouseDown, mouseEnter, mouseExit, mouseUp, postSelect, preSelect
 

Constructor Detail

CompositeLineAdapter

public CompositeLineAdapter()
Constructor for CompositeLineAdapter.

Method Detail

compositePreManipulating

public void compositePreManipulating(LineManipulationEvent event)
Description copied from interface: CompositeLineListener
This method is called before the manipulation of a CompositeLine starts.

Specified by:
compositePreManipulating in interface CompositeLineListener
Parameters:
event - the LineManipulationEvent event instance
See Also:
LineManipulationEvent

compositeManipulating

public void compositeManipulating(LineManipulationEvent event)
Description copied from interface: CompositeLineListener

This method is called while a CompositeLine is being manipulated.

Notice that this method is only called while interaction with the CompositeLine is taking place and not when manipulate it by the interface methods.

Specified by:
compositeManipulating in interface CompositeLineListener
Parameters:
event - the LineManipulationEvent event instance
See Also:
LineManipulationEvent

compositePostManipulating

public void compositePostManipulating(LineManipulationEvent event)
Description copied from interface: CompositeLineListener
This method is called after a CompositeLine has been manipulated.

Specified by:
compositePostManipulating in interface CompositeLineListener
Parameters:
event - the LineManipulationEvent event instance
See Also:
LineManipulationEvent

compositeChanged

public void compositeChanged(LineChangedEvent event)
Description copied from interface: CompositeLineListener
This method is called whenever a CompositeLine has been changed but for the change is no specialized callback defined.

Specified by:
compositeChanged in interface CompositeLineListener
Parameters:
event - the LineChangedEvent
See Also:
LineChangedEvent

compositePreMoving

public void compositePreMoving(LineMoveEvent event)
Description copied from interface: CompositeLineListener
This method is called before a CompositeLine is being moved around.

Specified by:
compositePreMoving in interface CompositeLineListener
Parameters:
event - the LineMoveEvent event instance
See Also:
LineMoveEvent

compositeMoving

public void compositeMoving(LineMoveEvent event)
Description copied from interface: CompositeLineListener

This method is called while a CompositeLine is being moved around.

Notice that this method is only called while interaction with the CompositeLine is taking place and not when moving it by the interface methods.

Specified by:
compositeMoving in interface CompositeLineListener
Parameters:
event - the LineMoveEvent event instance
See Also:
LineMoveEvent

compositePostMoving

public void compositePostMoving(LineMoveEvent event)
Description copied from interface: CompositeLineListener
This method is called after a CompositeLine has been moved.

Specified by:
compositePostMoving in interface CompositeLineListener
Parameters:
event - the LineMoveEvent event instance
See Also:
LineMoveEvent


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