Java Platform 1.2

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. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.event Provides for events fired by Swing components. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look-and-feel. 
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
 

Uses of KeyEvent in java.awt
 

Methods in java.awt with parameters of type KeyEvent
protected  void Component.processKeyEvent(KeyEvent e)
          Processes key events occurring on this component by dispatching them to any registered KeyListener objects.
 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.
 

Uses of KeyEvent in javax.swing
 

Methods in javax.swing with parameters of type KeyEvent
protected  void JComponent.processComponentKeyEvent(KeyEvent e)
          Process any key events that the component itself recognizes.
protected  void JComponent.processKeyEvent(KeyEvent e)
          Override processKeyEvent to process events
protected  void JEditorPane.processComponentKeyEvent(KeyEvent e)
          Make sure that TAB and Shift-TAB events get consumed, so that awt doesn't attempt focus traversal.
abstract  void FocusManager.processKeyEvent(Component focusedComponent, KeyEvent anEvent)
          This method is called by JComponents when a key event occurs.
 void MenuElement.processKeyEvent(KeyEvent event, MenuElement[] path, MenuSelectionManager manager)
          Process a key event.
 void DefaultFocusManager.processKeyEvent(Component focusedComponent, KeyEvent anEvent)
           
protected  void JApplet.processKeyEvent(KeyEvent e)
           
 void MenuSelectionManager.processKeyEvent(KeyEvent e)
          When a MenuElement receives an event from a KeyListener, it should never process the event directly.
 void JMenuItem.processKeyEvent(KeyEvent e, MenuElement[] path, MenuSelectionManager manager)
          Process a key event forwarded from the MenuSelectionManager.
static KeyStroke KeyStroke.getKeyStrokeForEvent(KeyEvent anEvent)
          Return a keystroke from an event.
 void JMenuBar.processKeyEvent(KeyEvent e, MenuElement[] path, MenuSelectionManager manager)
          Implemented to be a MenuElement -- does nothing.
 void JPopupMenu.processKeyEvent(KeyEvent e, MenuElement[] path, MenuSelectionManager manager)
           
protected  void JTextArea.processComponentKeyEvent(KeyEvent e)
          Make sure that TAB and Shift-TAB events get consumed, so that awt doesn't attempt focus traversal.
 void JComboBox.processKeyEvent(KeyEvent e)
          Handles KeyEvents, looking for the Tab key.
protected  void JMenu.processKeyEvent(KeyEvent e)
           
protected  void JFrame.processKeyEvent(KeyEvent e)
          Processes key events occurring on this component and, if appropriate, passes them on to components in the frame which have registered interest in them.
 

Uses of KeyEvent in javax.swing.event
 

Subclasses of KeyEvent in javax.swing.event
 class MenuKeyEvent
          MenuKeyEvent is used to notify interested parties that the menu element has received a KeyEvent forwarded to it in a menu tree.
 

Uses of KeyEvent in javax.swing.plaf.basic
 

Methods in javax.swing.plaf.basic with parameters of type KeyEvent
 void BasicTableUI.KeyHandler.keyPressed(KeyEvent e)
           
 void BasicTableUI.KeyHandler.keyReleased(KeyEvent e)
           
 void BasicTableUI.KeyHandler.keyTyped(KeyEvent e)
           
 void BasicTreeUI.KeyHandler.keyPressed(KeyEvent e)
           
 void BasicTreeUI.KeyHandler.keyReleased(KeyEvent e)
           
 void BasicComboPopup.InvocationKeyHandler.keyReleased(KeyEvent e)
           
 void BasicComboBoxUI.KeyHandler.keyPressed(KeyEvent e)
           
 

Uses of KeyEvent in javax.swing.text
 

Methods in javax.swing.text with parameters of type KeyEvent
protected  void JTextComponent.processComponentKeyEvent(KeyEvent e)
          Processes any key events that the component itself recognizes.
 


Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.