Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
java.awt.event.KeyListener

Packages that use KeyListener
java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.
java.awt.event | Provides interfaces and classes for dealing with different types of events fired by AWT components.
javax.swing.plaf.basic | Provides user interface objects built according to the Basic look-and-feel.

Uses of KeyListener in java.awt

Classes in java.awt that implement KeyListener
`class` | `AWTEventMulticaster` A class which implements efficient and thread-safe multi-cast event dispatching for the AWT events defined in the java.awt.event package.

Methods in java.awt that return KeyListener
`static KeyListener` | `AWTEventMulticaster.add(KeyListener a, KeyListener b)` Adds key-listener-a with key-listener-b and returns the resulting multicast listener.
`static KeyListener` | `AWTEventMulticaster.remove(KeyListener l, KeyListener oldl)` Removes the old key-listener from key-listener-l and returns the resulting multicast listener.

Methods in java.awt with parameters of type KeyListener
`void` | `Component.addKeyListener(KeyListener l)` Adds the specified key listener to receive key events from this component.
`void` | `Component.removeKeyListener(KeyListener l)` Removes the specified key listener so that it no longer receives key events from this component.
`static KeyListener` | `AWTEventMulticaster.add(KeyListener a, KeyListener b)` Adds key-listener-a with key-listener-b and returns the resulting multicast listener.
`static KeyListener` | `AWTEventMulticaster.remove(KeyListener l, KeyListener oldl)` Removes the old key-listener from key-listener-l and returns the resulting multicast listener.

Uses of KeyListener in java.awt.event

Classes in java.awt.event that implement KeyListener
`class` | `KeyAdapter` An abstract adapter class for receiving keyboard events.

Uses of KeyListener in javax.swing.plaf.basic

Classes in javax.swing.plaf.basic that implement KeyListener
`class` | `BasicComboBoxUI.KeyHandler` This listener checks to see if the key event isn't a navigation key.
`class` | `BasicComboPopup.InvocationKeyHandler` This listener watches for the spacebar being pressed and shows/hides the popup accordingly.
`class` | `BasicTableUI.KeyHandler` This inner class is marked "public" due to a compiler bug.
`class` | `BasicTreeUI.KeyHandler` This is used to get mutliple key down events to appropriately generate events.

Fields in javax.swing.plaf.basic declared as KeyListener
`protected KeyListener` | `BasicComboPopup.keyListener`
`protected KeyListener` | `BasicTableUI.keyListener`
`protected KeyListener` | `BasicComboBoxUI.keyListener`
`protected KeyListener` | `BasicComboBoxUI.popupKeyListener`

Methods in javax.swing.plaf.basic that return KeyListener
`KeyListener` | `BasicComboPopup.getKeyListener()` Implementation of ComboPopup.getKeyListener().
`protected KeyListener` | `BasicComboPopup.createKeyListener()` Creates the key listener that is returned by ComboPopup.getKeyListener().
`protected KeyListener` | `BasicTableUI.createKeyListener()` Creates the key listener for handling keyboard navigation in the JTable.
`KeyListener` | `ComboPopup.getKeyListener()` Returns a key listener that shows and hides the popup.
`protected KeyListener` | `BasicComboBoxUI.createKeyListener()` Creates the key listener for handling type-ahead.
`protected KeyListener` | `BasicTreeUI.createKeyListener()` Creates the listener reponsible for getting key events from the tree.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.