integre.techexplorer.awt.event
Class KeyAdaptor
java.lang.Object
|
+--integre.techexplorer.awt.event.KeyAdaptor
- All Implemented Interfaces:
- KeyListener
- public abstract class KeyAdaptor
- extends java.lang.Object
- implements KeyListener
Description
The KeyAdaptor is a keyboard listener with default implementations
for the methods imposed by the
integre.techexplorer.awt.event.KeyListener interface.
The methods in this class are empty; this class is provided as a
convenience for ease in creating listeners by extending this class and
overriding only the methods of interest. Adaptor classes are frequently implemented
as inner classes.
- See Also:
AWTEvent,
KeyEvent,
KeyListener
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyAdaptor
public KeyAdaptor()
keyPressed
public void keyPressed(KeyEvent e)
- Invoked when a key has been pressed.
- Specified by:
keyPressed in interface KeyListener
keyReleased
public void keyReleased(KeyEvent e)
- Invoked when a key has been released.
- Specified by:
keyReleased in interface KeyListener
keyTyped
public void keyTyped(KeyEvent e)
- Invoked when a combination of a key press followed by a key release generated a character.
- Specified by:
keyTyped in interface KeyListener