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 GraphicsNodeKeyEvent
listener and override the methods for the events of interest. (If
you implement the GraphicsNodeKeyListener 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.)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphicsNodeKeyAdapter
public GraphicsNodeKeyAdapter()
keyPressed
public void keyPressed(GraphicsNodeKeyEvent evt)
- Description copied from interface:
GraphicsNodeKeyListener
- Invoked when a key has been pressed.
- Specified by:
keyPressed
in interface GraphicsNodeKeyListener
- Following copied from interface:
org.apache.batik.gvt.event.GraphicsNodeKeyListener
- Parameters:
evt
- the graphics node key event
keyReleased
public void keyReleased(GraphicsNodeKeyEvent evt)
- Description copied from interface:
GraphicsNodeKeyListener
- Invoked when a key has been released.
- Specified by:
keyReleased
in interface GraphicsNodeKeyListener
- Following copied from interface:
org.apache.batik.gvt.event.GraphicsNodeKeyListener
- Parameters:
evt
- the graphics node key event
keyTyped
public void keyTyped(GraphicsNodeKeyEvent evt)
- Description copied from interface:
GraphicsNodeKeyListener
- Invoked when a key has been typed.
- Specified by:
keyTyped
in interface GraphicsNodeKeyListener
- Following copied from interface:
org.apache.batik.gvt.event.GraphicsNodeKeyListener
- Parameters:
evt
- the graphics node key event
Copyright © 2002 Apache Software Foundation. All Rights Reserved.