    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.

##

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.

##

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.

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.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index