com.tensegrity.composite.event
Interface BaseCompositeListener

All Superinterfaces:
EventListenerTag
All Known Subinterfaces:
CompositeLineListener, CompositeListener, EventMediator, EventMediatorListener, ModifiedVisualGraphListener
All Known Implementing Classes:
BaseCompositeAdapter, CompositeAdapter, CompositeEventMultiplexer, CompositeLineAdapter, EventMediatorAdapter, ModifiedVisualGraphAdapter, TreeOutliner

public interface BaseCompositeListener
extends EventListenerTag

The BaseCompositeListener interface defines an object that can be notified about events that are generated by a BaseComposite.

The BaseCompositeListener interface can't be registered at the CompositeLine or the Composite. Furthermore it is common to the CompositeLineListener interface and the CompositeListener interface in order to define the callbacks that are common to both of them.

Version:
$Id: BaseCompositeListener.java,v 1.6 2005/08/11 09:27:55 MichaelKegel Exp $
Author:
MichaelKegel
See Also:
EventListenerTag

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.
 

Method Detail

preSelect

public void preSelect(BCSelectEvent event)
This method is called before a Composite is being selected.

Parameters:
event - the SelectEvent
See Also:
BCSelectEvent

postSelect

public void postSelect(BCSelectEvent event)
This method is called whenever a Composite has been selected.

Parameters:
event - the SelectEvent
See Also:
BCSelectEvent

mouseEnter

public void mouseEnter(BCMouseEvent event)
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

Parameters:
event - the BCMouseEvent

mouseExit

public void mouseExit(BCMouseEvent event)
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

Parameters:
event - the BCMouseEvent

mouseDown

public void mouseDown(BCMouseEvent event)
This methods is called when a mouse button has been pressed upon a BaseComposite.

Parameters:
event - the BCMouseEvent

mouseUp

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

Parameters:
event - the BCMouseEvent

mouseClick

public void mouseClick(BCMouseEvent event)
This method is called when a mouse button has been pressed and released upon a BaseComposite.

Parameters:
event - the BCMouseEvent


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