Uses of Interface
java.awt.event.KeyListener
-
Packages that use KeyListener Package Description 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. -
-
Uses of KeyListener in java.awt
Classes in java.awt that implement KeyListener Modifier and Type Class and Description classAWTEventMulticasterAWTEventMulticasterimplements efficient and thread-safe multi-cast event dispatching for the AWT events defined in thejava.awt.eventpackage.Methods in java.awt that return KeyListener Modifier and Type Method and Description static KeyListenerAWTEventMulticaster. add(KeyListener a, KeyListener b)Adds key-listener-a with key-listener-b and returns the resulting multicast listener.KeyListener[]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 KeyListener Modifier and Type Method and Description static 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 KeyListener Modifier and Type Class and Description classKeyAdapterAn abstract adapter class for receiving keyboard events.
-
