java.awt.event
public interface KeyListener extends EventListener
Since: 1.1
See Also: KeyAdapter KeyEvent
UNKNOWN: updated to 1.4
| Method Summary | |
|---|---|
| void | keyPressed(KeyEvent event)
This method is called when a key is pressed.
|
| void | keyReleased(KeyEvent event)
This method is called when a key is released.
|
| void | keyTyped(KeyEvent event)
This method is called when a key is typed. |
Parameters: event the KeyEvent indicating the key press
Parameters: event the KeyEvent indicating the key release
Parameters: event the KeyEvent indicating that a key was typed