public enum Key extends Enum<Key>
Game.getKeyState(bwapi.Key)
Modifier and Type | Method and Description |
---|---|
static Key |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Key[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Key K_LBUTTON
public static final Key K_RBUTTON
public static final Key K_CANCEL
public static final Key K_MBUTTON
public static final Key K_XBUTTON1
public static final Key K_XBUTTON2
public static final Key __UNDEFINED_7
public static final Key K_BACK
public static final Key K_TAB
public static final Key __RESERVED_A
public static final Key __RESERVED_B
public static final Key K_CLEAR
public static final Key K_RETURN
public static final Key __UNDEFINED_E
public static final Key __UNDEFINED_F
public static final Key K_SHIFT
public static final Key K_CONTROL
public static final Key K_MENU
public static final Key K_PAUSE
public static final Key K_CAPITAL
public static final Key K_KANA
public static final Key K_UNDEFINED_16
public static final Key K_JUNJA
public static final Key K_FINAL
public static final Key K_KANJI
public static final Key __UNDEFINED_1A
public static final Key K_ESCAPE
public static final Key K_CONVERT
public static final Key K_NONCONVERT
public static final Key K_ACCEPT
public static final Key K_MODECHANGE
public static final Key K_SPACE
public static final Key K_PRIOR
public static final Key K_NEXT
public static final Key K_END
public static final Key K_HOME
public static final Key K_LEFT
public static final Key K_UP
public static final Key K_RIGHT
public static final Key K_DOWN
public static final Key K_SELECT
public static final Key K_PRINT
public static final Key K_EXECUTE
public static final Key K_SNAPSHOT
public static final Key K_INSERT
public static final Key K_DELETE
public static final Key K_HELP
public static final Key K_0
public static final Key K_1
public static final Key K_2
public static final Key K_3
public static final Key K_4
public static final Key K_5
public static final Key K_6
public static final Key K_7
public static final Key K_8
public static final Key K_9
public static final Key __UNDEFINED_3A
public static final Key __UNDEFINED_3B
public static final Key __UNDEFINED_3C
public static final Key __UNDEFINED_3D
public static final Key __UNDEFINED_3E
public static final Key __UNDEFINED_3F
public static final Key __UNDEFINED_40
public static final Key K_A
public static final Key K_B
public static final Key K_C
public static final Key K_D
public static final Key K_E
public static final Key K_F
public static final Key K_G
public static final Key K_H
public static final Key K_I
public static final Key K_J
public static final Key K_K
public static final Key K_L
public static final Key K_M
public static final Key K_N
public static final Key K_O
public static final Key K_P
public static final Key K_Q
public static final Key K_R
public static final Key K_S
public static final Key K_T
public static final Key K_U
public static final Key K_V
public static final Key K_W
public static final Key K_X
public static final Key K_Y
public static final Key K_Z
public static final Key K_LWIN
public static final Key K_RWIN
public static final Key K_APPS
public static final Key __RESERVED_5E
public static final Key K_SLEEP
public static final Key K_NUMPAD0
public static final Key K_NUMPAD1
public static final Key K_NUMPAD2
public static final Key K_NUMPAD3
public static final Key K_NUMPAD4
public static final Key K_NUMPAD5
public static final Key K_NUMPAD6
public static final Key K_NUMPAD7
public static final Key K_NUMPAD8
public static final Key K_NUMPAD9
public static final Key K_MULTIPLY
public static final Key K_ADD
public static final Key K_SEPARATOR
public static final Key K_SUBTRACT
public static final Key K_DECIMAL
public static final Key K_DIVIDE
public static final Key K_F1
public static final Key K_F2
public static final Key K_F3
public static final Key K_F4
public static final Key K_F5
public static final Key K_F6
public static final Key K_F7
public static final Key K_F8
public static final Key K_F9
public static final Key K_F10
public static final Key K_F11
public static final Key K_F12
public static final Key K_F13
public static final Key K_F14
public static final Key K_F15
public static final Key K_F16
public static final Key K_F17
public static final Key K_F18
public static final Key K_F19
public static final Key K_F20
public static final Key K_F21
public static final Key K_F22
public static final Key K_F23
public static final Key K_F24
public static final Key __UNASSIGNED_88
public static final Key __UNASSIGNED_89
public static final Key __UNASSIGNED_8A
public static final Key __UNASSIGNED_8B
public static final Key __UNASSIGNED_8C
public static final Key __UNASSIGNED_8D
public static final Key __UNASSIGNED_8E
public static final Key __UNASSIGNED_8F
public static final Key K_NUMLOCK
public static final Key K_SCROLL
public static final Key K_OEM_NEC_EQUAL
public static final Key K_OEM_FJ_JISHO
public static final Key K_OEM_FJ_MASSHOU
public static final Key K_OEM_FJ_TOUROKU
public static final Key K_OEM_FJ_LOYA
public static final Key __UNASSIGNED_97
public static final Key __UNASSIGNED_98
public static final Key __UNASSIGNED_99
public static final Key __UNASSIGNED_9A
public static final Key __UNASSIGNED_9B
public static final Key __UNASSIGNED_9C
public static final Key __UNASSIGNED_9D
public static final Key __UNASSIGNED_9E
public static final Key __UNASSIGNED_9F
public static final Key K_LSHIFT
public static final Key K_RSHIFT
public static final Key K_LCONTROL
public static final Key K_RCONTROL
public static final Key K_LMENU
public static final Key K_RMENU
public static final Key K_BROWSER_BACK
public static final Key K_BROWSER_FORWARD
public static final Key K_BROWSER_REFRESH
public static final Key K_BROWSER_STOP
public static final Key K_BROWSER_SEARCH
public static final Key K_BROWSER_FAVORITES
public static final Key K_BROWSER_HOME
public static final Key K_VOLUME_MUTE
public static final Key K_VOLUME_DOWN
public static final Key K_VOLUME_UP
public static final Key K_MEDIA_NEXT_TRACK
public static final Key K_MEDIA_PREV_TRACK
public static final Key K_MEDIA_STOP
public static final Key K_MEDIA_PLAY_PAUSE
public static final Key K_LAUNCH_MAIL
public static final Key K_LAUNCH_MEDIA_SELECT
public static final Key K_LAUNCH_APP1
public static final Key K_LAUNCH_APP2
public static final Key __RESERVED_B8
public static final Key __RESERVED_B9
public static final Key K_OEM_1
public static final Key K_OEM_PLUS
public static final Key K_OEM_COMMA
public static final Key K_OEM_MINUS
public static final Key K_OEM_PERIOD
public static final Key K_OEM_2
public static final Key K_OEM_3
public static final Key K_OEM_4
public static final Key K_OEM_5
public static final Key K_OEM_6
public static final Key K_OEM_7
public static final Key K_OEM_8
public static final Key __RESERVED_E0
public static final Key K_OEM_AX
public static final Key K_OEM_102
public static final Key K_ICO_HELP
public static final Key K_ICO_00
public static final Key K_PROCESSKEY
public static final Key K_ICO_CLEAR
public static final Key K_PACKET
public static final Key __UNASSIGNED_E8
public static final Key K_OEM_RESET
public static final Key K_OEM_JUMP
public static final Key K_OEM_PA1
public static final Key K_OEM_PA2
public static final Key K_OEM_PA3
public static final Key K_OEM_WSCTRL
public static final Key K_OEM_CUSEL
public static final Key K_OEM_ATTN
public static final Key K_OEM_FINISH
public static final Key K_OEM_COPY
public static final Key K_OEM_AUTO
public static final Key K_OEM_ENLW
public static final Key K_OEM_BACKTAB
public static final Key K_ATTN
public static final Key K_CRSEL
public static final Key K_EXSEL
public static final Key K_EREOF
public static final Key K_PLAY
public static final Key K_ZOOM
public static final Key K_NONAME
public static final Key K_PA1
public static final Key K_OEM_CLEAR
public static Key[] values()
for (Key c : Key.values()) System.out.println(c);
public static Key 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 nullCopyright © 2022. All rights reserved.