Interface java.awt.event.KeyListener
All Packages Class Hierarchy This Package Previous Next Index
Interface java.awt.event.KeyListener
- public interface KeyListener
- extends EventListener
The listener interface for receiving keyboard events.
- Version:
- 1.7 07/01/98
- Author:
- Carl Quinn
-
keyPressed(KeyEvent)
- Invoked when a key has been pressed.
-
keyReleased(KeyEvent)
- Invoked when a key has been released.
-
keyTyped(KeyEvent)
- Invoked when a key has been typed.
keyPressed
public abstract void keyPressed(KeyEvent e)
- Invoked when a key has been pressed.
keyReleased
public abstract void keyReleased(KeyEvent e)
- Invoked when a key has been released.
keyTyped
public abstract void keyTyped(KeyEvent e)
- Invoked when a key has been typed.
This event occurs when a key press is followed by a key release.
All Packages Class Hierarchy This Package Previous Next Index