com.tensegrity.composite.event
Class BaseCompositeAdapter

java.lang.Object
  extended bycom.tensegrity.composite.event.BaseCompositeAdapter
All Implemented Interfaces:
BaseCompositeListener, EventListenerTag
Direct Known Subclasses:
CompositeAdapter, CompositeLineAdapter

public class BaseCompositeAdapter
extends java.lang.Object
implements BaseCompositeListener

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

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

Constructor Summary
BaseCompositeAdapter()
          Constructor for BaseCompositeAdapter.
 
Method Summary
 void mouseClick(BCMouseEvent event)
          This method is called when a mouse button has been pressed and released upon a BaseComposite.
 void mouseDown(BCMouseEvent event)
          This methods is called when a mouse button has been pressed upon a BaseComposite.
 void mouseEnter(BCMouseEvent event)
          This method is called when the mouse enters the BaseComposite.
 void mouseExit(BCMouseEvent event)
          This method is called when the mouse exits the BaseComposite.
 void mouseUp(BCMouseEvent event)
          This methods is called when a mouse button has been pressed upon a BaseComposite and it will be released.
 void postSelect(BCSelectEvent event)
          This method is called whenever a Composite has been selected.
 void preSelect(BCSelectEvent event)
          This method is called before a Composite is being selected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseCompositeAdapter

public BaseCompositeAdapter()
Constructor for BaseCompositeAdapter.

Method Detail

preSelect

public void preSelect(BCSelectEvent event)
Description copied from interface: BaseCompositeListener
This method is called before a Composite is being selected.

Specified by:
preSelect in interface BaseCompositeListener
Parameters:
event - the SelectEvent
See Also:
BCSelectEvent

postSelect

public void postSelect(BCSelectEvent event)
Description copied from interface: BaseCompositeListener
This method is called whenever a Composite has been selected.

Specified by:
postSelect in interface BaseCompositeListener
Parameters:
event - the SelectEvent
See Also:
BCSelectEvent

mouseEnter

public void mouseEnter(BCMouseEvent event)
Description copied from interface: BaseCompositeListener
This method is called when the mouse enters the BaseComposite. Enter means that the hotspot of the mouse cursor lies within the bounding box of the BaseComposite

Specified by:
mouseEnter in interface BaseCompositeListener
Parameters:
event - the BCMouseEvent

mouseExit

public void mouseExit(BCMouseEvent event)
Description copied from interface: BaseCompositeListener
This method is called when the mouse exits the BaseComposite. Exit means that the hotspot of the mouse cursor lies no longer within the bounding box of the BaseComposite

Specified by:
mouseExit in interface BaseCompositeListener
Parameters:
event - the BCMouseEvent

mouseDown

public void mouseDown(BCMouseEvent event)
Description copied from interface: BaseCompositeListener
This methods is called when a mouse button has been pressed upon a BaseComposite.

Specified by:
mouseDown in interface BaseCompositeListener
Parameters:
event - the BCMouseEvent

mouseUp

public void mouseUp(BCMouseEvent event)
Description copied from interface: BaseCompositeListener
This methods is called when a mouse button has been pressed upon a BaseComposite and it will be released.

Specified by:
mouseUp in interface BaseCompositeListener
Parameters:
event - the BCMouseEvent

mouseClick

public void mouseClick(BCMouseEvent event)
Description copied from interface: BaseCompositeListener
This method is called when a mouse button has been pressed and released upon a BaseComposite.

Specified by:
mouseClick in interface BaseCompositeListener
Parameters:
event - the BCMouseEvent


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