-
Package |
Description |
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
-
-
Modifier and Type |
Method and Description |
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
that represents a KEY_TYPED event for the
specified Character object and a set of modifiers.
|
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.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(java.lang.String s)
Parses a string and returns an AWTKeyStroke .
|
static AWTKeyStroke |
AWTKeyStroke.getAWTKeyStrokeForEvent(KeyEvent anEvent)
Returns an AWTKeyStroke which represents the
stroke which generated a given KeyEvent .
|
Modifier and Type |
Method and Description |
void |
KeyboardFocusManager.setDefaultFocusTraversalKeys(int id,
java.util.Set<? extends AWTKeyStroke> keystrokes)
Sets the default focus traversal keys for a given traversal operation.
|
void |
Container.setFocusTraversalKeys(int id,
java.util.Set<? extends AWTKeyStroke> keystrokes)
Sets the focus traversal keys for a given traversal operation for this
Container.
|
void |
Component.setFocusTraversalKeys(int id,
java.util.Set<? extends AWTKeyStroke> keystrokes)
Sets the focus traversal keys for a given traversal operation for this
Component.
|
This document was created by
Dulcet from the OpenJDK sources.
Copyright © 1993, 2012 Oracle and/or its affiliates. All rights reserved.