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 216 (Maintenance 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. 
 

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(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(KeyEvent anEvent)
          Returns an AWTKeyStroke which represents the stroke which generated a given KeyEvent.
static AWTKeyStroke AWTKeyStroke.getAWTKeyStroke(String s)
          Parses a string and returns an AWTKeyStroke.
 


JSR 216 (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 216 specification.