Package diva.canvas.event
Interface LayerListener
-
- All Superinterfaces:
java.util.EventListener
- All Known Subinterfaces:
Interactor
- All Known Implementing Classes:
AbstractInteractor
,ActionInteractor
,ActorEditorGraphController.LinkCreator
,ActorEditorGraphController.RelationCreator
,ArcInteractor
,BasicGraphController.NodeCreator
,BasicGraphFrame.MousePressedLayerAdapter
,BoundedDragInteractor
,CompositeInteractor
,ConnectorInteractor
,DragInteractor
,EdgeCreator
,EdgeInteractor
,FigureInteractor
,FSMGraphController.LinkCreator
,LayerAdapter
,LayerConsumer
,LayerEventMulticaster
,LayerMouseAdapter
,LocatableNodeDragInteractor
,MenuCreator
,NodeDragInteractor
,NodeInteractor
,SelectionDragger
,SelectionInteractor
,ViewScreen2D.ViewScreen2DListener
public interface LayerListener extends java.util.EventListener
The interface for listeners that respond to mouse clicks and drags. Unlike the AWT MouseListener interface, this interface does not include the enter and leave events, but does include the drag event, for performance reasons.- Version:
- $Id$
- Author:
- John Reekie
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
mouseClicked(LayerEvent e)
Invoked when the mouse is clicked on a layer or figure.void
mouseDragged(LayerEvent e)
Invoked when the mouse moves while the button is still held down.void
mousePressed(LayerEvent e)
Invoked when the mouse is pressed on a layer or figure.void
mouseReleased(LayerEvent e)
Invoked when the mouse is released on a layer or figure.
-
-
-
Method Detail
-
mouseDragged
void mouseDragged(LayerEvent e)
Invoked when the mouse moves while the button is still held down.- Parameters:
e
- The event
-
mousePressed
void mousePressed(LayerEvent e)
Invoked when the mouse is pressed on a layer or figure.- Parameters:
e
- The event
-
mouseReleased
void mouseReleased(LayerEvent e)
Invoked when the mouse is released on a layer or figure.- Parameters:
e
- The event
-
mouseClicked
void mouseClicked(LayerEvent e)
Invoked when the mouse is clicked on a layer or figure.- Parameters:
e
- The event
-
-