|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.gvt.event.GraphicsNodeKeyAdapter
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.)
Constructor Summary | |
GraphicsNodeKeyAdapter()
|
Method Summary | |
void |
keyPressed(GraphicsNodeKeyEvent evt)
Invoked when a key has been pressed. |
void |
keyReleased(GraphicsNodeKeyEvent evt)
Invoked when a key has been released. |
void |
keyTyped(GraphicsNodeKeyEvent evt)
Invoked when a key has been typed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GraphicsNodeKeyAdapter()
Method Detail |
public void keyPressed(GraphicsNodeKeyEvent evt)
GraphicsNodeKeyListener
keyPressed
in interface GraphicsNodeKeyListener
evt
- the graphics node key eventpublic void keyReleased(GraphicsNodeKeyEvent evt)
GraphicsNodeKeyListener
keyReleased
in interface GraphicsNodeKeyListener
evt
- the graphics node key eventpublic void keyTyped(GraphicsNodeKeyEvent evt)
GraphicsNodeKeyListener
keyTyped
in interface GraphicsNodeKeyListener
evt
- the graphics node key event
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |