Uses of Interface
java.awt.event.KeyListener
Packages that use KeyListener
Package
Description
Provides a collection of interfaces and classes that compose the Java Accessibility
Utilities.
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides interfaces and classes for dealing with different types of events
fired by AWT components.
Provides user interface objects built according to the Basic look and feel.
-
Uses of KeyListener in com.sun.java.accessibility.util
Methods in com.sun.java.accessibility.util with parameters of type KeyListenerModifier and TypeMethodDescriptionstatic voidAWTEventMonitor.addKeyListener(KeyListener l) Adds the specified listener to receive allKEYevents on each component instance in the Java Virtual Machine when they occur.static voidAWTEventMonitor.removeKeyListener(KeyListener l) Removes the specified listener so it no longer receivesKEYevents when they occur. -
Uses of KeyListener in java.awt
Classes in java.awt that implement KeyListenerModifier and TypeClassDescriptionclassAWTEventMulticasterimplements efficient and thread-safe multi-cast event dispatching for the AWT events defined in thejava.awt.eventpackage.Methods in java.awt that return KeyListenerModifier and TypeMethodDescriptionstatic KeyListenerAWTEventMulticaster.add(KeyListener a, KeyListener b) Adds key-listener-a with key-listener-b and returns the resulting multicast listener.Component.getKeyListeners()Returns an array of all the key listeners registered on this component.static KeyListenerAWTEventMulticaster.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 KeyListenerModifier and TypeMethodDescriptionstatic KeyListenerAWTEventMulticaster.add(KeyListener a, KeyListener b) Adds key-listener-a with key-listener-b and returns the resulting multicast listener.voidComponent.addKeyListener(KeyListener l) Adds the specified key listener to receive key events from this component.static KeyListenerAWTEventMulticaster.remove(KeyListener l, KeyListener oldl) Removes the old key-listener from key-listener-l and returns the resulting multicast listener.voidComponent.removeKeyListener(KeyListener l) Removes the specified key listener so that it no longer receives key events from this component. -
Uses of KeyListener in java.awt.event
Classes in java.awt.event that implement KeyListenerModifier and TypeClassDescriptionclassAn abstract adapter class for receiving keyboard events. -
Uses of KeyListener in javax.swing.plaf.basic
Classes in javax.swing.plaf.basic that implement KeyListenerModifier and TypeClassDescriptionclassThis listener checks to see if the key event isn't a navigation key.classAs of Java 2 platform v 1.4, this class is now obsolete and is only included for backwards API compatibility.classThis class should be treated as a "protected" inner class.classThis is used to get multiple key down events to appropriately generate events.Fields in javax.swing.plaf.basic declared as KeyListenerModifier and TypeFieldDescriptionprotected KeyListenerBasicComboBoxUI.keyListenerThis protected field is implementation specific.protected KeyListenerBasicComboPopup.keyListenerThis protected field is implementation specific.protected KeyListenerBasicTableUI.keyListenerKeyListenerthat are attached to theJTable.protected KeyListenerBasicComboBoxUI.popupKeyListenerTheKeyListenerlistens to events.Methods in javax.swing.plaf.basic that return KeyListenerModifier and TypeMethodDescriptionprotected KeyListenerBasicComboBoxUI.createKeyListener()Creates aKeyListenerwhich will be added to the combo box.protected KeyListenerBasicComboPopup.createKeyListener()Creates the key listener that will be added to the combo box.protected KeyListenerBasicTableUI.createKeyListener()Creates the key listener for handling keyboard navigation in theJTable.protected KeyListenerBasicTreeUI.createKeyListener()Creates the listener responsible for getting key events from the tree.BasicComboPopup.getKeyListener()Implementation of ComboPopup.getKeyListener().ComboPopup.getKeyListener()Returns a key listener that will be added to the combo box or null.