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 |
|---|
BasicGraphUI.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.KeyListenerkeyPressed in class java.awt.event.KeyAdapterpublic void keyReleased(java.awt.event.KeyEvent e)
keyReleased in interface java.awt.event.KeyListenerkeyReleased in class java.awt.event.KeyAdapterCopyright (C) 2001-2008 Gaudenz Alder. All rights reserved.