Class GraphicsNodeMouseAdapter
java.lang.Object
org.apache.batik.gvt.event.GraphicsNodeMouseAdapter
- All Implemented Interfaces:
EventListener, GraphicsNodeMouseListener
An abstract adapter class for receiving graphics node mouse
events. The methods in this class are empty. This class exists as
convenience for creating listener objects.
Extend this class to create a GraphicsNodeMouseEvent
listener and override the methods for the events of interest. (If
you implement the GraphicsNodeMouseListener interface, you
have to define all of the methods in it. This abstract class
defines null methods for them all, so you can only have to define
methods for events you care about.)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInvoked when the mouse has been clicked on a graphics node.voidInvoked when a mouse button is pressed on a graphics node and then dragged.voidInvoked when the mouse enters a graphics node.voidInvoked when the mouse exits a graphics node.voidInvoked when the mouse button has been moved on a node.voidInvoked when a mouse button has been pressed on a graphics node.voidInvoked when a mouse button has been released on a graphics node.
-
Constructor Details
-
GraphicsNodeMouseAdapter
public GraphicsNodeMouseAdapter()
-
-
Method Details
-
mouseClicked
Description copied from interface:GraphicsNodeMouseListenerInvoked when the mouse has been clicked on a graphics node.- Specified by:
mouseClickedin interfaceGraphicsNodeMouseListener- Parameters:
evt- the graphics node mouse event
-
mousePressed
Description copied from interface:GraphicsNodeMouseListenerInvoked when a mouse button has been pressed on a graphics node.- Specified by:
mousePressedin interfaceGraphicsNodeMouseListener- Parameters:
evt- the graphics node mouse event
-
mouseReleased
Description copied from interface:GraphicsNodeMouseListenerInvoked when a mouse button has been released on a graphics node.- Specified by:
mouseReleasedin interfaceGraphicsNodeMouseListener- Parameters:
evt- the graphics node mouse event
-
mouseEntered
Description copied from interface:GraphicsNodeMouseListenerInvoked when the mouse enters a graphics node.- Specified by:
mouseEnteredin interfaceGraphicsNodeMouseListener- Parameters:
evt- the graphics node mouse event
-
mouseExited
Description copied from interface:GraphicsNodeMouseListenerInvoked when the mouse exits a graphics node.- Specified by:
mouseExitedin interfaceGraphicsNodeMouseListener- Parameters:
evt- the graphics node mouse event
-
mouseDragged
Description copied from interface:GraphicsNodeMouseListenerInvoked when a mouse button is pressed on a graphics node and then dragged.- Specified by:
mouseDraggedin interfaceGraphicsNodeMouseListener- Parameters:
evt- the graphics node mouse event
-
mouseMoved
Description copied from interface:GraphicsNodeMouseListenerInvoked when the mouse button has been moved on a node.- Specified by:
mouseMovedin interfaceGraphicsNodeMouseListener- Parameters:
evt- the graphics node mouse event
-