public enum KeyCode extends Enum<KeyCode>
Modifier and Type | Method and Description |
---|---|
static KeyCode |
asKeyCode(String code) |
String |
getKeyCode() |
boolean |
isEnterKey() |
static KeyCode |
valueOf(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 NO_CODE
public static final KeyCode AGAIN
public static final KeyCode ALT_LEFT
public static final KeyCode ALT_RIGHT
public static final KeyCode ARROW_DOWN
public static final KeyCode ARROW_LEFT
public static final KeyCode ARROW_RIGHT
public static final KeyCode ARROW_UP
public static final KeyCode BACKQUOTE
public static final KeyCode BACKSLASH
public static final KeyCode BACKSPACE
public static final KeyCode BRACKET_LEFT
public static final KeyCode BRACKET_RIGHT
public static final KeyCode BROWSER_BACK
public static final KeyCode BROWSER_FAVORITES
public static final KeyCode BROWSER_FORWARD
public static final KeyCode BROWSER_HOME
public static final KeyCode BROWSER_REFRESH
public static final KeyCode BROWSER_SEARCH
public static final KeyCode BROWSER_STOP
public static final KeyCode CANCEL
public static final KeyCode CAPS_LOCK
public static final KeyCode COMMA
public static final KeyCode CONTEXT_MENU
public static final KeyCode CONTROL_LEFT
public static final KeyCode CONTROL_RIGHT
public static final KeyCode CONVERT
public static final KeyCode COPY
public static final KeyCode CUT
public static final KeyCode DELETE
public static final KeyCode DIGIT_0
public static final KeyCode DIGIT_1
public static final KeyCode DIGIT_2
public static final KeyCode DIGIT_3
public static final KeyCode DIGIT_4
public static final KeyCode DIGIT_5
public static final KeyCode DIGIT_6
public static final KeyCode DIGIT_7
public static final KeyCode DIGIT_8
public static final KeyCode DIGIT_9
public static final KeyCode EJECT
public static final KeyCode END
public static final KeyCode ENTER
public static final KeyCode EQUAL
public static final KeyCode ESCAPE
public static final KeyCode F1
public static final KeyCode F10
public static final KeyCode F11
public static final KeyCode F12
public static final KeyCode F13
public static final KeyCode F14
public static final KeyCode F15
public static final KeyCode F16
public static final KeyCode F17
public static final KeyCode F18
public static final KeyCode F19
public static final KeyCode F2
public static final KeyCode F20
public static final KeyCode F21
public static final KeyCode F22
public static final KeyCode F23
public static final KeyCode F24
public static final KeyCode F3
public static final KeyCode F4
public static final KeyCode F5
public static final KeyCode F6
public static final KeyCode F7
public static final KeyCode F8
public static final KeyCode F9
public static final KeyCode FIND
public static final KeyCode FN
public static final KeyCode HANGUL_MODE
public static final KeyCode HANJA
public static final KeyCode HELP
public static final KeyCode HOME
public static final KeyCode INSERT
public static final KeyCode INTL_BACKSLASH
public static final KeyCode INTL_RO
public static final KeyCode INTL_YEN
public static final KeyCode KANA_MODE
public static final KeyCode KEY_A
public static final KeyCode KEY_B
public static final KeyCode KEY_C
public static final KeyCode KEY_D
public static final KeyCode KEY_E
public static final KeyCode KEY_F
public static final KeyCode KEY_G
public static final KeyCode KEY_H
public static final KeyCode KEY_I
public static final KeyCode KEY_J
public static final KeyCode KEY_K
public static final KeyCode KEY_L
public static final KeyCode KEY_M
public static final KeyCode KEY_N
public static final KeyCode KEY_O
public static final KeyCode KEY_P
public static final KeyCode KEY_Q
public static final KeyCode KEY_R
public static final KeyCode KEY_S
public static final KeyCode KEY_T
public static final KeyCode KEY_U
public static final KeyCode KEY_V
public static final KeyCode KEY_W
public static final KeyCode KEY_X
public static final KeyCode KEY_Y
public static final KeyCode KEY_Z
public static final KeyCode LANG_1
public static final KeyCode LANG_2
public static final KeyCode LAUNCH_APP_1
public static final KeyCode LAUNCH_APP_2
public static final KeyCode LAUNCH_MAIL
public static final KeyCode MEDIA_PLAY_PAUSE
public static final KeyCode MEDIA_SELECT
public static final KeyCode MEDIA_STOP
public static final KeyCode MEDIA_TRACK_NEXT
public static final KeyCode MEDIA_TRACK_PREVIOUS
public static final KeyCode META_LEFT
public static final KeyCode META_RIGHT
public static final KeyCode MINUS
public static final KeyCode NON_CONVERT
public static final KeyCode NUM_LOCK
public static final KeyCode NUMPAD_0
public static final KeyCode NUMPAD_1
public static final KeyCode NUMPAD_2
public static final KeyCode NUMPAD_3
public static final KeyCode NUMPAD_4
public static final KeyCode NUMPAD_5
public static final KeyCode NUMPAD_6
public static final KeyCode NUMPAD_7
public static final KeyCode NUMPAD_8
public static final KeyCode NUMPAD_9
public static final KeyCode NUMPAD_ADD
public static final KeyCode NUMPAD_CHANGE_SIGN
public static final KeyCode NUMPAD_COMMA
public static final KeyCode NUMPAD_DECIMAL
public static final KeyCode NUMPAD_DIVIDE
public static final KeyCode NUMPAD_ENTER
public static final KeyCode NUMPAD_EQUAL
public static final KeyCode NUMPAD_MULTIPLY
public static final KeyCode NUMPAD_PAREN_LEFT
public static final KeyCode NUMPAD_PAREN_RIGHT
public static final KeyCode NUMPAD_SUBTRACT
public static final KeyCode OPEN
public static final KeyCode OS_LEFT
public static final KeyCode OS_RIGHT
public static final KeyCode PAGE_DOWN
public static final KeyCode PAGE_UP
public static final KeyCode PASTE
public static final KeyCode PAUSE
public static final KeyCode PERIOD
public static final KeyCode POWER
public static final KeyCode PRINT_SCREEN
public static final KeyCode PROPS
public static final KeyCode QUOTE
public static final KeyCode SCROLL_LOCK
public static final KeyCode SELECT
public static final KeyCode SEMICOLON
public static final KeyCode SHIFT_LEFT
public static final KeyCode SHIFT_RIGHT
public static final KeyCode SLASH
public static final KeyCode SLEEP
public static final KeyCode SPACE
public static final KeyCode TAB
public static final KeyCode UNDO
public static final KeyCode VOLUME_DOWN
public static final KeyCode VOLUME_MUTE
public static final KeyCode VOLUME_UP
public static final KeyCode WAKE_UP
public static final KeyCode UNKNOWN
public static KeyCode[] values()
for (KeyCode c : KeyCode.values()) System.out.println(c);
public static KeyCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getKeyCode()
public boolean isEnterKey()
Copyright © 2018 Xalys. All rights reserved.