Package javafx.scene.input
Enum Class KeyCode
- All Implemented Interfaces:
Serializable,Comparable<KeyCode>,Constable
Stub for the KeyCode enum. The values must be the same as in the real KeyCode enum.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
-
Enum Constant Details
-
ENTER
-
BACK_SPACE
-
TAB
-
CANCEL
-
CLEAR
-
SHIFT
-
CONTROL
-
ALT
-
PAUSE
-
CAPS
-
ESCAPE
-
SPACE
-
PAGE_UP
-
PAGE_DOWN
-
END
-
HOME
-
LEFT
-
UP
-
RIGHT
-
DOWN
-
COMMA
-
MINUS
-
PERIOD
-
SLASH
-
DIGIT0
-
DIGIT1
-
DIGIT2
-
DIGIT3
-
DIGIT4
-
DIGIT5
-
DIGIT6
-
DIGIT7
-
DIGIT8
-
DIGIT9
-
SEMICOLON
-
EQUALS
-
A
-
B
-
C
-
D
-
E
-
F
-
G
-
H
-
I
-
J
-
K
-
L
-
M
-
N
-
O
-
P
-
Q
-
R
-
S
-
T
-
U
-
V
-
W
-
X
-
Y
-
Z
-
OPEN_BRACKET
-
BACK_SLASH
-
CLOSE_BRACKET
-
NUMPAD0
-
NUMPAD1
-
NUMPAD2
-
NUMPAD3
-
NUMPAD4
-
NUMPAD5
-
NUMPAD6
-
NUMPAD7
-
NUMPAD8
-
NUMPAD9
-
MULTIPLY
-
ADD
-
SEPARATOR
-
SUBTRACT
-
DECIMAL
-
DIVIDE
-
DELETE
-
NUM_LOCK
-
SCROLL_LOCK
-
F1
-
F2
-
F3
-
F4
-
F5
-
F6
-
F7
-
F8
-
F9
-
F10
-
F11
-
F12
-
F13
-
F14
-
F15
-
F16
-
F17
-
F18
-
F19
-
F20
-
F21
-
F22
-
F23
-
F24
-
PRINTSCREEN
-
INSERT
-
HELP
-
META
-
BACK_QUOTE
-
QUOTE
-
KP_UP
-
KP_DOWN
-
KP_LEFT
-
KP_RIGHT
-
DEAD_GRAVE
-
DEAD_ACUTE
-
DEAD_CIRCUMFLEX
-
DEAD_TILDE
-
DEAD_MACRON
-
DEAD_BREVE
-
DEAD_ABOVEDOT
-
DEAD_DIAERESIS
-
DEAD_ABOVERING
-
DEAD_DOUBLEACUTE
-
DEAD_CARON
-
DEAD_CEDILLA
-
DEAD_OGONEK
-
DEAD_IOTA
-
DEAD_VOICED_SOUND
-
DEAD_SEMIVOICED_SOUND
-
AMPERSAND
-
ASTERISK
-
QUOTEDBL
-
LESS
-
GREATER
-
BRACELEFT
-
BRACERIGHT
-
AT
-
COLON
-
CIRCUMFLEX
-
DOLLAR
-
EURO_SIGN
-
EXCLAMATION_MARK
-
INVERTED_EXCLAMATION_MARK
-
LEFT_PARENTHESIS
-
NUMBER_SIGN
-
PLUS
-
RIGHT_PARENTHESIS
-
UNDERSCORE
-
WINDOWS
-
CONTEXT_MENU
-
FINAL
-
CONVERT
-
NONCONVERT
-
ACCEPT
-
MODECHANGE
-
KANA
-
KANJI
-
ALPHANUMERIC
-
KATAKANA
-
HIRAGANA
-
FULL_WIDTH
-
HALF_WIDTH
-
ROMAN_CHARACTERS
-
ALL_CANDIDATES
-
PREVIOUS_CANDIDATE
-
CODE_INPUT
-
JAPANESE_KATAKANA
-
JAPANESE_HIRAGANA
-
JAPANESE_ROMAN
-
KANA_LOCK
-
INPUT_METHOD_ON_OFF
-
CUT
-
COPY
-
PASTE
-
UNDO
-
AGAIN
-
FIND
-
PROPS
-
STOP
-
COMPOSE
-
ALT_GRAPH
-
BEGIN
-
UNDEFINED
-
SOFTKEY_0
-
SOFTKEY_1
-
SOFTKEY_2
-
SOFTKEY_3
-
SOFTKEY_4
-
SOFTKEY_5
-
SOFTKEY_6
-
SOFTKEY_7
-
SOFTKEY_8
-
SOFTKEY_9
-
GAME_A
-
GAME_B
-
GAME_C
-
GAME_D
-
STAR
-
POUND
-
POWER
-
INFO
-
COLORED_KEY_0
-
COLORED_KEY_1
-
COLORED_KEY_2
-
COLORED_KEY_3
-
EJECT_TOGGLE
-
PLAY
-
RECORD
-
FAST_FWD
-
REWIND
-
TRACK_PREV
-
TRACK_NEXT
-
CHANNEL_UP
-
CHANNEL_DOWN
-
VOLUME_UP
-
VOLUME_DOWN
-
MUTE
-
COMMAND
-
SHORTCUT
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-