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 Class
java.awt.event.KeyEvent

Packages that use KeyEvent
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 KeyEvent in java.awt
 

Methods in java.awt with parameters of type KeyEvent
 boolean KeyEventPostProcessor.postProcessKeyEvent(KeyEvent e)
          This method is called by the current KeyboardFocusManager, requesting that this KeyEventPostProcessor perform any necessary post-processing which should be part of the KeyEvent's final resolution.
 boolean KeyEventDispatcher.dispatchKeyEvent(KeyEvent e)
          This method is called by the current KeyboardFocusManager requesting that this KeyEventDispatcher dispatch the specified event on its behalf.
abstract  boolean KeyboardFocusManager.dispatchKeyEvent(KeyEvent e)
          Typically this method will be called by dispatchEvent if no other KeyEventDispatcher in the dispatcher chain dispatched the KeyEvent, or if no other KeyEventDispatchers are registered.
abstract  boolean KeyboardFocusManager.postProcessKeyEvent(KeyEvent e)
          This method will be called by dispatchKeyEvent.
abstract  void KeyboardFocusManager.processKeyEvent(Component focusedComponent, KeyEvent e)
          This method initiates a focus traversal operation if and only if the KeyEvent represents a focus traversal key for the specified focusedComponent.
protected  void Component.processKeyEvent(KeyEvent e)
          Processes key events occurring on this component by dispatching them to any registered KeyListener objects.
static AWTKeyStroke AWTKeyStroke.getAWTKeyStrokeForEvent(KeyEvent anEvent)
          Returns an AWTKeyStroke which represents the stroke which generated a given KeyEvent.
 void AWTEventMulticaster.keyTyped(KeyEvent e)
          Handles the keyTyped event by invoking the keyTyped methods on listener-a and listener-b.
 void AWTEventMulticaster.keyPressed(KeyEvent e)
          Handles the keyPressed event by invoking the keyPressed methods on listener-a and listener-b.
 void AWTEventMulticaster.keyReleased(KeyEvent e)
          Handles the keyReleased event by invoking the keyReleased methods on listener-a and listener-b.
 

Uses of KeyEvent in java.awt.event
 

Methods in java.awt.event with parameters of type KeyEvent
 void KeyListener.keyTyped(KeyEvent e)
          Invoked when a key has been typed.
 void KeyListener.keyPressed(KeyEvent e)
          Invoked when a key has been pressed.
 void KeyListener.keyReleased(KeyEvent e)
          Invoked when a key has been released.
 void KeyAdapter.keyTyped(KeyEvent e)
          Invoked when a key has been typed.
 void KeyAdapter.keyPressed(KeyEvent e)
          Invoked when a key has been pressed.
 void KeyAdapter.keyReleased(KeyEvent e)
          Invoked when a key has been released.
 


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.