java.awt.event
public abstract class KeyAdapter extends Object implements KeyListener
KeyListener and implements all methods
with empty bodies. This allows a listener interested in implementing only
a subset of the KeyListener interface to extend this class
and override only the desired methods.
Since: 1.1
See Also: KeyEvent KeyListener
UNKNOWN: updated to 1.4
| Constructor Summary | |
|---|---|
| KeyAdapter()
Do nothing default constructor for subclasses. | |
| Method Summary | |
|---|---|
| void | keyPressed(KeyEvent event)
Implements this method in the interface with an empty body.
|
| void | keyReleased(KeyEvent event)
Implements this method in the interface with an empty body.
|
| void | keyTyped(KeyEvent event)
Implements this method in the interface with an empty body.
|
Parameters: event the event, ignored in this implementation
Parameters: event the event, ignored in this implementation
Parameters: event the event, ignored in this implementation