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.


Method Index

 o keyPressed(KeyEvent)
Invoked when a key has been pressed.
 o keyReleased(KeyEvent)
Invoked when a key has been released.
 o keyTyped(KeyEvent)
Invoked when a key has been typed.

Methods

 o 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.

 o keyPressed
 public abstract void keyPressed(KeyEvent e)
Invoked when a key has been pressed.

 o keyReleased
 public abstract void keyReleased(KeyEvent e)
Invoked when a key has been released.


All Packages  Class Hierarchy  This Package  Previous  Next  Index

Submit a bug or feature