public abstract class GraphicsNodeKeyAdapter extends Object implements GraphicsNodeKeyListener
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 and Description |
|---|
GraphicsNodeKeyAdapter() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public void keyPressed(GraphicsNodeKeyEvent evt)
GraphicsNodeKeyListenerkeyPressed in interface GraphicsNodeKeyListenerevt - the graphics node key eventpublic void keyReleased(GraphicsNodeKeyEvent evt)
GraphicsNodeKeyListenerkeyReleased in interface GraphicsNodeKeyListenerevt - the graphics node key eventpublic void keyTyped(GraphicsNodeKeyEvent evt)
GraphicsNodeKeyListenerkeyTyped in interface GraphicsNodeKeyListenerevt - the graphics node key eventCopyright © 2000–2024 Apache Software Foundation. All rights reserved.