JSR-209 (Final Release)

Uses of Class
java.awt.AWTKeyStroke

Packages that use AWTKeyStroke
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
 

Uses of AWTKeyStroke in java.awt
 

Methods in java.awt that return AWTKeyStroke
static AWTKeyStroke AWTKeyStroke.getAWTKeyStroke(char keyChar)
          Returns a shared instance of an AWTKeyStroke that represents a KEY_TYPED event for the specified character.
static AWTKeyStroke AWTKeyStroke.getAWTKeyStroke(java.lang.Character keyChar, int modifiers)
          Returns a shared instance of an AWTKeyStroke, given a Character object and a set of modifiers.
static AWTKeyStroke AWTKeyStroke.getAWTKeyStroke(int keyCode, int modifiers, boolean onKeyRelease)
          Returns a shared instance of an AWTKeyStroke, given a numeric key code and a set of modifiers, specifying whether the key is activated when it is pressed or released.
static AWTKeyStroke AWTKeyStroke.getAWTKeyStroke(int keyCode, int modifiers)
          Returns a shared instance of an AWTKeyStroke, given a numeric key code and a set of modifiers.
static AWTKeyStroke AWTKeyStroke.getAWTKeyStrokeForEvent(java.awt.event.KeyEvent anEvent)
          Returns an AWTKeyStroke which represents the stroke which generated a given KeyEvent.
static AWTKeyStroke AWTKeyStroke.getAWTKeyStroke(java.lang.String s)
          Parses a string and returns an AWTKeyStroke.
 

Uses of AWTKeyStroke in javax.swing
 

Subclasses of AWTKeyStroke in javax.swing
 class KeyStroke
          A KeyStroke represents a key action on the keyboard, or equivalent input device.
 


JSR-209 (Final Release)

Java and Java 2D are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
Copyright 1993 - 2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All Rights Reserved.
Use of this specification is subject to this license.