Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 217 (Maintenance Release)

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. 
 

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
 KeyListener[] Component.getKeyListeners()
          Returns an array of all the key listeners registered on 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.
 

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.
 


JSR 217 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 217 specification.