public class KeyInputManager extends Object implements KeyListener, ContainerListener
| Modifier and Type | Field and Description |
|---|---|
protected VizController |
controller |
protected static int |
KEY_MASK |
protected static int |
KEY_MODIFIER |
protected VizPanel |
vpanel |
| Constructor and Description |
|---|
KeyInputManager(VizController controller) |
| Modifier and Type | Method and Description |
|---|---|
void |
componentAdded(ContainerEvent e) |
void |
componentRemoved(ContainerEvent e) |
void |
keyPressed(KeyEvent keyEvent) |
void |
keyReleased(KeyEvent keyEvent) |
void |
keyTyped(KeyEvent keyEvent) |
protected VizController controller
protected VizPanel vpanel
protected static final int KEY_MODIFIER
protected static final int KEY_MASK
public KeyInputManager(VizController controller)
public void keyPressed(KeyEvent keyEvent)
keyPressed in interface KeyListenerpublic void keyReleased(KeyEvent keyEvent)
keyReleased in interface KeyListenerpublic void keyTyped(KeyEvent keyEvent)
keyTyped in interface KeyListenerpublic void componentAdded(ContainerEvent e)
componentAdded in interface ContainerListenerpublic void componentRemoved(ContainerEvent e)
componentRemoved in interface ContainerListener