public class BasicGraphUI.KeyHandler extends KeyAdapter implements Serializable
Modifier and Type | Field and Description |
---|---|
protected boolean |
isKeyDown
Set to true while keyPressed is active.
|
protected Action |
repeatKeyAction
Key code that is being generated for.
|
Constructor and Description |
---|
KeyHandler() |
Modifier and Type | Method and Description |
---|---|
void |
keyPressed(KeyEvent e) |
void |
keyReleased(KeyEvent e) |
keyTyped
protected Action repeatKeyAction
protected boolean isKeyDown
public void keyPressed(KeyEvent e)
keyPressed
in interface KeyListener
keyPressed
in class KeyAdapter
public void keyReleased(KeyEvent e)
keyReleased
in interface KeyListener
keyReleased
in class KeyAdapter
Copyright (C) 2001-2006 Gaudenz Alder. All rights reserved.