Overview
Package
Class
Use
Tree
Deprecated
Index
All Classes
Help
Prev
Next
Sample
Document
Uses of Class java.awt.event.KeyEvent
Deprecated: ShowHide
View: ClientSubclassPackageImplementation

Uses of Class
java.awt.event.KeyEvent

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

      Methods in java.awt with parameters of type KeyEvent 
      Modifier and Type Method and Description
      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.
      boolean  KeyEventDispatcher.dispatchKeyEvent(KeyEvent e)
      This method is called by the current KeyboardFocusManager requesting that this KeyEventDispatcher dispatch the specified event on its behalf.
      boolean  DefaultKeyboardFocusManager.dispatchKeyEvent(KeyEvent e)
      Called by dispatchEvent if no other KeyEventDispatcher in the dispatcher chain dispatched the KeyEvent, or if no other KeyEventDispatchers are registered.
      static AWTKeyStroke  AWTKeyStroke.getAWTKeyStrokeForEvent(KeyEvent anEvent)
      Returns an AWTKeyStroke which represents the stroke which generated a given KeyEvent.
      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.
      void  AWTEventMulticaster.keyTyped(KeyEvent e)
      Handles the keyTyped event by invoking the keyTyped methods on listener-a and listener-b.
      abstract boolean  KeyboardFocusManager.postProcessKeyEvent(KeyEvent e)
      This method will be called by dispatchKeyEvent.
      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  DefaultKeyboardFocusManager.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.
      void  DefaultKeyboardFocusManager.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.
    • Uses of KeyEvent in java.awt.event

      Methods in java.awt.event with parameters of type KeyEvent 
      Modifier and Type Method and Description
      void  KeyListener.keyPressed(KeyEvent e)
      Invoked when a key has been pressed.
      void  KeyAdapter.keyPressed(KeyEvent e)
      Invoked when a key has been pressed.
      void  KeyListener.keyReleased(KeyEvent e)
      Invoked when a key has been released.
      void  KeyAdapter.keyReleased(KeyEvent e)
      Invoked when a key has been released.
      void  KeyListener.keyTyped(KeyEvent e)
      Invoked when a key has been typed.
      void  KeyAdapter.keyTyped(KeyEvent e)
      Invoked when a key has been typed.
This document was created by Dulcet from the OpenJDK sources. Copyright © 1993, 2012 Oracle and/or its affiliates. All rights reserved.

SourceForge