Spec-Zone .ru
спецификации, руководства, описания, API
|
Enum Constant and Description |
---|
A
Constant for the
A key. |
ACCEPT
Constant for the Accept or Commit function key.
|
ADD
Constant for the
Add key. |
AGAIN
Constant for the
Again key. |
ALL_CANDIDATES
Constant for the All Candidates function key.
|
ALPHANUMERIC
Constant for the Alphanumeric function key.
|
ALT
Constant for the
Alt key. |
ALT_GRAPH
Constant for the AltGraph function key.
|
AMPERSAND
Constant for the
Ampersand key. |
ASTERISK
Constant for the
Asterisk key. |
AT
Constant for the "@" key.
|
B
Constant for the
B key. |
BACK_QUOTE
Constant for the
Back Quote key. |
BACK_SLASH
Constant for the back slash key, "\"
|
BACK_SPACE
Constant for the
Backspace key. |
BEGIN
Constant for the Begin key.
|
BRACELEFT
Constant for the
Left Brace key. |
BRACERIGHT
Constant for the
Right Brace key. |
C
Constant for the
C key. |
CANCEL
Constant for the
Cancel key. |
CAPS
Constant for the
Caps Lock key. |
CHANNEL_DOWN
Constant for the
Channel Down key. |
CHANNEL_UP
Constant for the
Channel Up key. |
CIRCUMFLEX
Constant for the "^" key.
|
CLEAR
Constant for the
Clear key. |
CLOSE_BRACKET
Constant for the close bracket key, "]"
|
CODE_INPUT
Constant for the Code Input function key.
|
COLON
Constant for the ":" key.
|
COLORED_KEY_0
Constant for the
Colored Key 0 key. |
COLORED_KEY_1
Constant for the
Colored Key 1 key. |
COLORED_KEY_2
Constant for the
Colored Key 2 key. |
COLORED_KEY_3
Constant for the
Colored Key 3 key. |
COMMA
Constant for the comma key, ","
|
COMMAND
Constant for the Apple
Command key. |
COMPOSE
Constant for the input method on/off key.
|
CONTEXT_MENU
Constant for the Microsoft Windows Context Menu key.
|
CONTROL
Constant for the
Ctrl key. |
CONVERT
Constant for the Convert function key.
|
COPY
Constant for the
Copy key. |
CUT
Constant for the
Cut key. |
D
Constant for the
D key. |
DEAD_ABOVEDOT
Constant for the
Dead Abovedot key. |
DEAD_ABOVERING
Constant for the
Dead Abovering key. |
DEAD_ACUTE
Constant for the
Dead Acute key. |
DEAD_BREVE
Constant for the
Dead Breve key. |
DEAD_CARON
Constant for the
Dead Caron key. |
DEAD_CEDILLA
Constant for the
Dead Cedilla key. |
DEAD_CIRCUMFLEX
Constant for the
Circumflex key. |
DEAD_DIAERESIS
Constant for the
Dead Diaeresis key. |
DEAD_DOUBLEACUTE
Constant for the
Dead Doubleacute key. |
DEAD_GRAVE
Constant for the
Dead Grave key. |
DEAD_IOTA
Constant for the
Dead Iota key. |
DEAD_MACRON
Constant for the
Dead Macron key. |
DEAD_OGONEK
Constant for the
Dead Ogonek key. |
DEAD_SEMIVOICED_SOUND
Constant for the
Dead Semivoiced Sound key. |
DEAD_TILDE
Constant for the
Dead Tilde key. |
DEAD_VOICED_SOUND
Constant for the
Dead Voiced Sound key. |
DECIMAL
Constant for the
Decimal key. |
DELETE
Constant for the
Delete key. |
DIGIT0
Constant for the
0 key. |
DIGIT1
Constant for the
1 key. |
DIGIT2
Constant for the
2 key. |
DIGIT3
Constant for the
3 key. |
DIGIT4
Constant for the
4 key. |
DIGIT5
Constant for the
5 key. |
DIGIT6
Constant for the
6 key. |
DIGIT7
Constant for the
7 key. |
DIGIT8
Constant for the
8 key. |
DIGIT9
Constant for the
9 key. |
DIVIDE
Constant for the
Divide key. |
DOLLAR
Constant for the "$" key.
|
DOWN
Constant for the non-numpad down arrow key.
|
E
Constant for the
E key. |
EJECT_TOGGLE
Constant for the
Eject key. |
END
Constant for the
End key. |
ENTER
Constant for the
Enter key. |
EQUALS
Constant for the equals key, "="
|
ESCAPE
Constant for the
Esc key. |
EURO_SIGN
Constant for the Euro currency sign key.
|
EXCLAMATION_MARK
Constant for the "!" key.
|
F
Constant for the
F key. |
F1
Constant for the F1 function key.
|
F10
Constant for the F10 function key.
|
F11
Constant for the F11 function key.
|
F12
Constant for the F12 function key.
|
F13
Constant for the F13 function key.
|
F14
Constant for the F14 function key.
|
F15
Constant for the F15 function key.
|
F16
Constant for the F16 function key.
|
F17
Constant for the F17 function key.
|
F18
Constant for the F18 function key.
|
F19
Constant for the F19 function key.
|
F2
Constant for the F2 function key.
|
F20
Constant for the F20 function key.
|
F21
Constant for the F21 function key.
|
F22
Constant for the F22 function key.
|
F23
Constant for the F23 function key.
|
F24
Constant for the F24 function key.
|
F3
Constant for the F3 function key.
|
F4
Constant for the F4 function key.
|
F5
Constant for the F5 function key.
|
F6
Constant for the F6 function key.
|
F7
Constant for the F7 function key.
|
F8
Constant for the F8 function key.
|
F9
Constant for the F9 function key.
|
FAST_FWD
Constant for the
Fast Forward key. |
FINAL
Constant for input method support on Asian Keyboards.
|
FIND
Constant for the
Find key. |
FULL_WIDTH
Constant for the Full-Width Characters function key.
|
G
Constant for the
G key. |
GAME_A
Constant for the
Game A key. |
GAME_B
Constant for the
Game B key. |
GAME_C
Constant for the
Game C key. |
GAME_D
Constant for the
Game D key. |
GREATER
Constant for the
Greater key. |
H
Constant for the
H key. |
HALF_WIDTH
Constant for the Half-Width Characters function key.
|
HELP
Constant for the
Help key. |
HIRAGANA
Constant for the Hiragana function key.
|
HOME
Constant for the
Home key. |
I
Constant for the
I key. |
INFO
Constant for the
Info key. |
INPUT_METHOD_ON_OFF
Constant for the input method on/off key.
|
INSERT
Constant for the
Insert key. |
INVERTED_EXCLAMATION_MARK
Constant for the inverted exclamation mark key.
|
J
Constant for the
J key. |
JAPANESE_HIRAGANA
Constant for the Japanese-Hiragana function key.
|
JAPANESE_KATAKANA
Constant for the Japanese-Katakana function key.
|
JAPANESE_ROMAN
Constant for the Japanese-Roman function key.
|
K
Constant for the
K key. |
KANA
Constant for the
Kana key. |
KANA_LOCK
Constant for the locking Kana function key.
|
KANJI
Constant for the
Kanji key. |
KATAKANA
Constant for the Katakana function key.
|
KP_DOWN
Constant for the numeric keypad down arrow key.
|
KP_LEFT
Constant for the numeric keypad left arrow key.
|
KP_RIGHT
Constant for the numeric keypad right arrow key.
|
KP_UP
Constant for the numeric keypad up arrow key.
|
L
Constant for the
L key. |
LEFT
Constant for the non-numpad left arrow key.
|
LEFT_PARENTHESIS
Constant for the "(" key.
|
LESS
Constant for the
Less key. |
M
Constant for the
M key. |
META
Constant for the
Meta key. |
MINUS
Constant for the minus key, "-"
|
MODECHANGE
Constant for the
Mode Change key. |
MULTIPLY
Constant for the
Multiply key. |
MUTE
Constant for the
Mute key. |
N
Constant for the
N key. |
NONCONVERT
Constant for the Don't Convert function key.
|
NUM_LOCK
Constant for the
Num Lock key. |
NUMBER_SIGN
Constant for the "#" key.
|
NUMPAD0
Constant for the
Numpad 0 key. |
NUMPAD1
Constant for the
Numpad 1 key. |
NUMPAD2
Constant for the
Numpad 2 key. |
NUMPAD3
Constant for the
Numpad 3 key. |
NUMPAD4
Constant for the
Numpad 4 key. |
NUMPAD5
Constant for the
Numpad 5 key. |
NUMPAD6
Constant for the
Numpad 6 key. |
NUMPAD7
Constant for the
Numpad 7 key. |
NUMPAD8
Constant for the
Numpad 8 key. |
NUMPAD9
Constant for the
Numpad 9 key. |
O
Constant for the
O key. |
OPEN_BRACKET
Constant for the open bracket key, "["
|
P
Constant for the
P key. |
PAGE_DOWN
Constant for the
Page Down key. |
PAGE_UP
Constant for the
Page Up key. |
PASTE
Constant for the
Paste key. |
PAUSE
Constant for the
Pause key. |
PERIOD
Constant for the period key, "."
|
PLAY
Constant for the
Play key. |
PLUS
Constant for the "+" key.
|
POUND
Constant for the
Pound key. |
POWER
Constant for the
Power key. |
PREVIOUS_CANDIDATE
Constant for the Previous Candidate function key.
|
PRINTSCREEN
Constant for the
Print Screen key. |
PROPS
Constant for the
Properties key. |
Q
Constant for the
Q key. |
QUOTE
Constant for the
Quote key. |
QUOTEDBL
Constant for the
Double Quote key. |
R
Constant for the
R key. |
RECORD
Constant for the
Record key. |
REWIND
Constant for the
Rewind key. |
RIGHT
Constant for the non-numpad right arrow key.
|
RIGHT_PARENTHESIS
Constant for the ")" key.
|
ROMAN_CHARACTERS
Constant for the Roman Characters function key.
|
S
Constant for the
S key. |
SCROLL_LOCK
Constant for the
Scroll Lock key. |
SEMICOLON
Constant for the semicolon key, ";"
|
SEPARATOR
Constant for the Numpad Separator key.
|
SHIFT
Constant for the
Shift key. |
SHORTCUT
Constant for the
Shortcut key. |
SLASH
Constant for the forward slash key, "/"
|
SOFTKEY_0
Constant for the
Softkey 0 key. |
SOFTKEY_1
Constant for the
Softkey 1 key. |
SOFTKEY_2
Constant for the
Softkey 2 key. |
SOFTKEY_3
Constant for the
Softkey 3 key. |
SOFTKEY_4
Constant for the
Softkey 4 key. |
SOFTKEY_5
Constant for the
Softkey 5 key. |
SOFTKEY_6
Constant for the
Softkey 6 key. |
SOFTKEY_7
Constant for the
Softkey 7 key. |
SOFTKEY_8
Constant for the
Softkey 8 key. |
SOFTKEY_9
Constant for the
Softkey 9 key. |
SPACE
Constant for the
Space key. |
STAR
Constant for the
Star key. |
STOP
Constant for the
Stop key. |
SUBTRACT
Constant for the
Subtract key. |
T
Constant for the
T key. |
TAB
Constant for the
Tab key. |
TRACK_NEXT
Constant for the
Next Track key. |
TRACK_PREV
Constant for the
Previous Track key. |
U
Constant for the
U key. |
UNDEFINED
This value is used to indicate that the keyCode is unknown.
|
UNDERSCORE
Constant for the "_" key.
|
UNDO
Constant for the
Undo key. |
UP
Constant for the non-numpad up arrow key.
|
V
Constant for the
V key. |
VOLUME_DOWN
Constant for the
Volume Down key. |
VOLUME_UP
Constant for the
Volume Up key. |
W
Constant for the
W key. |
WINDOWS
Constant for the Microsoft Windows "Windows" key.
|
X
Constant for the
X key. |
Y
Constant for the
Y key. |
Z
Constant for the
Z key. |
Modifier and Type | Method and Description |
---|---|
static KeyCode |
getKeyCode(java.lang.String name)
Parses textual representation of a key.
|
java.lang.String |
getName()
Gets name of this key code.
|
boolean |
isArrowKey()
Left, right, up, down keys (including the keypad arrows)
|
boolean |
isDigitKey()
All Digit keys (including the keypad digits)
|
boolean |
isFunctionKey()
Function keys like F1, F2, etc...
|
boolean |
isKeypadKey()
All keys on the keypad
|
boolean |
isLetterKey()
All keys with letters
|
boolean |
isMediaKey()
All multimedia keys (channel up/down, volume control, etc...)
|
boolean |
isModifierKey()
Keys that could act as a modifier
|
boolean |
isNavigationKey()
Navigation keys are arrow keys and Page Down, Page Up, Home, End
(including keypad keys)
|
boolean |
isWhitespaceKey()
Space, tab and enter
|
static KeyCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyCode BACK_SPACE
Backspace
key.public static final KeyCode OPEN_BRACKET
public static final KeyCode BACK_SLASH
public static final KeyCode CLOSE_BRACKET
public static final KeyCode SCROLL_LOCK
Scroll Lock
key.public static final KeyCode PRINTSCREEN
Print Screen
key.public static final KeyCode BACK_QUOTE
Back Quote
key.public static final KeyCode DEAD_GRAVE
Dead Grave
key.public static final KeyCode DEAD_ACUTE
Dead Acute
key.public static final KeyCode DEAD_CIRCUMFLEX
Circumflex
key.public static final KeyCode DEAD_TILDE
Dead Tilde
key.public static final KeyCode DEAD_MACRON
Dead Macron
key.public static final KeyCode DEAD_BREVE
Dead Breve
key.public static final KeyCode DEAD_ABOVEDOT
Dead Abovedot
key.public static final KeyCode DEAD_DIAERESIS
Dead Diaeresis
key.public static final KeyCode DEAD_ABOVERING
Dead Abovering
key.public static final KeyCode DEAD_DOUBLEACUTE
Dead Doubleacute
key.public static final KeyCode DEAD_CARON
Dead Caron
key.public static final KeyCode DEAD_CEDILLA
Dead Cedilla
key.public static final KeyCode DEAD_OGONEK
Dead Ogonek
key.public static final KeyCode DEAD_VOICED_SOUND
Dead Voiced Sound
key.public static final KeyCode DEAD_SEMIVOICED_SOUND
Dead Semivoiced Sound
key.public static final KeyCode BRACERIGHT
Right Brace
key.public static final KeyCode CIRCUMFLEX
public static final KeyCode EXCLAMATION_MARK
public static final KeyCode INVERTED_EXCLAMATION_MARK
public static final KeyCode LEFT_PARENTHESIS
public static final KeyCode NUMBER_SIGN
public static final KeyCode RIGHT_PARENTHESIS
public static final KeyCode UNDERSCORE
public static final KeyCode WINDOWS
public static final KeyCode CONTEXT_MENU
public static final KeyCode NONCONVERT
public static final KeyCode MODECHANGE
Mode Change
key.public static final KeyCode ALPHANUMERIC
public static final KeyCode FULL_WIDTH
public static final KeyCode HALF_WIDTH
public static final KeyCode ROMAN_CHARACTERS
public static final KeyCode ALL_CANDIDATES
public static final KeyCode PREVIOUS_CANDIDATE
public static final KeyCode CODE_INPUT
public static final KeyCode JAPANESE_KATAKANA
public static final KeyCode JAPANESE_HIRAGANA
public static final KeyCode JAPANESE_ROMAN
public static final KeyCode KANA_LOCK
public static final KeyCode INPUT_METHOD_ON_OFF
public static final KeyCode UNDEFINED
public static final KeyCode COLORED_KEY_0
Colored Key 0
key.public static final KeyCode COLORED_KEY_1
Colored Key 1
key.public static final KeyCode COLORED_KEY_2
Colored Key 2
key.public static final KeyCode COLORED_KEY_3
Colored Key 3
key.public static final KeyCode EJECT_TOGGLE
Eject
key.public static final KeyCode TRACK_PREV
Previous Track
key.public static final KeyCode TRACK_NEXT
Next Track
key.public static final KeyCode CHANNEL_UP
Channel Up
key.public static final KeyCode CHANNEL_DOWN
Channel Down
key.public static final KeyCode VOLUME_DOWN
Volume Down
key.public static KeyCode[] values()
for (KeyCode c : KeyCode.values()) System.out.println(c);
public static KeyCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final boolean isFunctionKey()
public final boolean isNavigationKey()
public final boolean isArrowKey()
public final boolean isModifierKey()
public final boolean isLetterKey()
public final boolean isDigitKey()
public final boolean isKeypadKey()
public final boolean isWhitespaceKey()
public final boolean isMediaKey()
public final java.lang.String getName()
public static KeyCode getKeyCode(java.lang.String name)
name
- Textual representation of the keyCopyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. Use is subject to