protected class SwingTimer.Listener2 extends Object implements KeyListener
| Modifier | Constructor and Description |
|---|---|
protected |
Listener2() |
| Modifier and Type | Method and Description |
|---|---|
void |
keyPressed(KeyEvent e) |
void |
keyReleased(KeyEvent e) |
void |
keyTyped(KeyEvent e)
Action when key event is detected.
|
protected Listener2()
public void keyTyped(KeyEvent e)
keyTyped in interface KeyListenere - key eventpublic void keyPressed(KeyEvent e)
keyPressed in interface KeyListenerpublic void keyReleased(KeyEvent e)
keyReleased in interface KeyListenerCopyright © 2017. All rights reserved.