Package org.apache.batik.gvt.event
Class GraphicsNodeKeyAdapter
- java.lang.Object
-
- org.apache.batik.gvt.event.GraphicsNodeKeyAdapter
-
- All Implemented Interfaces:
java.util.EventListener,GraphicsNodeKeyListener
public abstract class GraphicsNodeKeyAdapter extends java.lang.Object implements GraphicsNodeKeyListener
An abstract adapter class for receiving graphics node key events. The methods in this class are empty. This class exists as convenience for creating listener objects.Extend this class to create a
GraphicsNodeKeyEventlistener and override the methods for the events of interest. (If you implement theGraphicsNodeKeyListenerinterface, 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.)- Version:
- $Id: GraphicsNodeKeyAdapter.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Constructor Summary
Constructors Constructor Description GraphicsNodeKeyAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidkeyPressed(GraphicsNodeKeyEvent evt)Invoked when a key has been pressed.voidkeyReleased(GraphicsNodeKeyEvent evt)Invoked when a key has been released.voidkeyTyped(GraphicsNodeKeyEvent evt)Invoked when a key has been typed.
-
-
-
Method Detail
-
keyPressed
public void keyPressed(GraphicsNodeKeyEvent evt)
Description copied from interface:GraphicsNodeKeyListenerInvoked when a key has been pressed.- Specified by:
keyPressedin interfaceGraphicsNodeKeyListener- Parameters:
evt- the graphics node key event
-
keyReleased
public void keyReleased(GraphicsNodeKeyEvent evt)
Description copied from interface:GraphicsNodeKeyListenerInvoked when a key has been released.- Specified by:
keyReleasedin interfaceGraphicsNodeKeyListener- Parameters:
evt- the graphics node key event
-
keyTyped
public void keyTyped(GraphicsNodeKeyEvent evt)
Description copied from interface:GraphicsNodeKeyListenerInvoked when a key has been typed.- Specified by:
keyTypedin interfaceGraphicsNodeKeyListener- Parameters:
evt- the graphics node key event
-
-