public class BasicGraphUI.KeyHandler
extends java.awt.event.KeyAdapter
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected boolean |
isKeyDown
Set to true while keyPressed is active.
|
protected javax.swing.Action |
repeatKeyAction
Key code that is being generated for.
|
Constructor and Description |
---|
KeyHandler() |
Modifier and Type | Method and Description |
---|---|
void |
keyPressed(java.awt.event.KeyEvent e) |
void |
keyReleased(java.awt.event.KeyEvent e) |
protected javax.swing.Action repeatKeyAction
protected boolean isKeyDown
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface java.awt.event.KeyListener
keyPressed
in class java.awt.event.KeyAdapter
public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
keyReleased
in class java.awt.event.KeyAdapter