Package heronarts.glx.event
Class KeyEvent
java.lang.Object
heronarts.glx.event.Event
heronarts.glx.event.KeyEvent
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionfinal KeyEvent.Action
final int
final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
char
int
int
boolean
boolean
isCommand
(int keyCode) boolean
isDelete()
boolean
isDigit()
boolean
isEnter()
boolean
isRepeat()
boolean
isShiftDown
(int keyCode) void
setKeyChar
(char keyChar) toString()
Methods inherited from class heronarts.glx.event.Event
consume, getModifiers, getTime, hasModifier, isAltDown, isCommand, isConsumed, isControlDown, isMetaDown, isMultiSelect, isRangeSelect, isShiftDown
-
Field Details
-
VK_UNKNOWN
public static final int VK_UNKNOWN- See Also:
-
VK_SPACE
public static final int VK_SPACE- See Also:
-
VK_APOSTROPHE
public static final int VK_APOSTROPHE- See Also:
-
VK_COMMA
public static final int VK_COMMA- See Also:
-
VK_MINUS
public static final int VK_MINUS- See Also:
-
VK_PERIOD
public static final int VK_PERIOD- See Also:
-
VK_SLASH
public static final int VK_SLASH- See Also:
-
VK_0
public static final int VK_0- See Also:
-
VK_1
public static final int VK_1- See Also:
-
VK_2
public static final int VK_2- See Also:
-
VK_3
public static final int VK_3- See Also:
-
VK_4
public static final int VK_4- See Also:
-
VK_5
public static final int VK_5- See Also:
-
VK_6
public static final int VK_6- See Also:
-
VK_7
public static final int VK_7- See Also:
-
VK_8
public static final int VK_8- See Also:
-
VK_9
public static final int VK_9- See Also:
-
VK_SEMICOLON
public static final int VK_SEMICOLON- See Also:
-
VK_EQUAL
public static final int VK_EQUAL- See Also:
-
VK_A
public static final int VK_A- See Also:
-
VK_B
public static final int VK_B- See Also:
-
VK_C
public static final int VK_C- See Also:
-
VK_D
public static final int VK_D- See Also:
-
VK_E
public static final int VK_E- See Also:
-
VK_F
public static final int VK_F- See Also:
-
VK_G
public static final int VK_G- See Also:
-
VK_H
public static final int VK_H- See Also:
-
VK_I
public static final int VK_I- See Also:
-
VK_J
public static final int VK_J- See Also:
-
VK_K
public static final int VK_K- See Also:
-
VK_L
public static final int VK_L- See Also:
-
VK_M
public static final int VK_M- See Also:
-
VK_N
public static final int VK_N- See Also:
-
VK_O
public static final int VK_O- See Also:
-
VK_P
public static final int VK_P- See Also:
-
VK_Q
public static final int VK_Q- See Also:
-
VK_R
public static final int VK_R- See Also:
-
VK_S
public static final int VK_S- See Also:
-
VK_T
public static final int VK_T- See Also:
-
VK_U
public static final int VK_U- See Also:
-
VK_V
public static final int VK_V- See Also:
-
VK_W
public static final int VK_W- See Also:
-
VK_X
public static final int VK_X- See Also:
-
VK_Y
public static final int VK_Y- See Also:
-
VK_Z
public static final int VK_Z- See Also:
-
VK_LEFT_BRACKET
public static final int VK_LEFT_BRACKET- See Also:
-
VK_BACKSLASH
public static final int VK_BACKSLASH- See Also:
-
VK_RIGHT_BRACKET
public static final int VK_RIGHT_BRACKET- See Also:
-
VK_GRAVE_ACCENT
public static final int VK_GRAVE_ACCENT- See Also:
-
VK_WORLD_1
public static final int VK_WORLD_1- See Also:
-
VK_WORLD_2
public static final int VK_WORLD_2- See Also:
-
VK_ESCAPE
public static final int VK_ESCAPE- See Also:
-
VK_ENTER
public static final int VK_ENTER- See Also:
-
VK_TAB
public static final int VK_TAB- See Also:
-
VK_BACKSPACE
public static final int VK_BACKSPACE- See Also:
-
VK_INSERT
public static final int VK_INSERT- See Also:
-
VK_DELETE
public static final int VK_DELETE- See Also:
-
VK_RIGHT
public static final int VK_RIGHT- See Also:
-
VK_LEFT
public static final int VK_LEFT- See Also:
-
VK_DOWN
public static final int VK_DOWN- See Also:
-
VK_UP
public static final int VK_UP- See Also:
-
VK_PAGE_UP
public static final int VK_PAGE_UP- See Also:
-
VK_PAGE_DOWN
public static final int VK_PAGE_DOWN- See Also:
-
VK_HOME
public static final int VK_HOME- See Also:
-
VK_END
public static final int VK_END- See Also:
-
VK_CAPS_LOCK
public static final int VK_CAPS_LOCK- See Also:
-
VK_SCROLL_LOCK
public static final int VK_SCROLL_LOCK- See Also:
-
VK_NUM_LOCK
public static final int VK_NUM_LOCK- See Also:
-
VK_PRINT_SCREEN
public static final int VK_PRINT_SCREEN- See Also:
-
VK_PAUSE
public static final int VK_PAUSE- See Also:
-
VK_F1
public static final int VK_F1- See Also:
-
VK_F2
public static final int VK_F2- See Also:
-
VK_F3
public static final int VK_F3- See Also:
-
VK_F4
public static final int VK_F4- See Also:
-
VK_F5
public static final int VK_F5- See Also:
-
VK_F6
public static final int VK_F6- See Also:
-
VK_F7
public static final int VK_F7- See Also:
-
VK_F8
public static final int VK_F8- See Also:
-
VK_F9
public static final int VK_F9- See Also:
-
VK_F10
public static final int VK_F10- See Also:
-
VK_F11
public static final int VK_F11- See Also:
-
VK_F12
public static final int VK_F12- See Also:
-
VK_F13
public static final int VK_F13- See Also:
-
VK_F14
public static final int VK_F14- See Also:
-
VK_F15
public static final int VK_F15- See Also:
-
VK_F16
public static final int VK_F16- See Also:
-
VK_F17
public static final int VK_F17- See Also:
-
VK_F18
public static final int VK_F18- See Also:
-
VK_F19
public static final int VK_F19- See Also:
-
VK_F20
public static final int VK_F20- See Also:
-
VK_F21
public static final int VK_F21- See Also:
-
VK_F22
public static final int VK_F22- See Also:
-
VK_F23
public static final int VK_F23- See Also:
-
VK_F24
public static final int VK_F24- See Also:
-
VK_F25
public static final int VK_F25- See Also:
-
VK_KP_0
public static final int VK_KP_0- See Also:
-
VK_KP_1
public static final int VK_KP_1- See Also:
-
VK_KP_2
public static final int VK_KP_2- See Also:
-
VK_KP_3
public static final int VK_KP_3- See Also:
-
VK_KP_4
public static final int VK_KP_4- See Also:
-
VK_KP_5
public static final int VK_KP_5- See Also:
-
VK_KP_6
public static final int VK_KP_6- See Also:
-
VK_KP_7
public static final int VK_KP_7- See Also:
-
VK_KP_8
public static final int VK_KP_8- See Also:
-
VK_KP_9
public static final int VK_KP_9- See Also:
-
VK_KP_DECIMAL
public static final int VK_KP_DECIMAL- See Also:
-
VK_KP_DIVIDE
public static final int VK_KP_DIVIDE- See Also:
-
VK_KP_MULTIPLY
public static final int VK_KP_MULTIPLY- See Also:
-
VK_KP_SUBTRACT
public static final int VK_KP_SUBTRACT- See Also:
-
VK_KP_ADD
public static final int VK_KP_ADD- See Also:
-
VK_KP_ENTER
public static final int VK_KP_ENTER- See Also:
-
VK_KP_EQUAL
public static final int VK_KP_EQUAL- See Also:
-
VK_LEFT_SHIFT
public static final int VK_LEFT_SHIFT- See Also:
-
VK_LEFT_CONTROL
public static final int VK_LEFT_CONTROL- See Also:
-
VK_LEFT_ALT
public static final int VK_LEFT_ALT- See Also:
-
VK_LEFT_SUPER
public static final int VK_LEFT_SUPER- See Also:
-
VK_RIGHT_SHIFT
public static final int VK_RIGHT_SHIFT- See Also:
-
VK_RIGHT_CONTROL
public static final int VK_RIGHT_CONTROL- See Also:
-
VK_RIGHT_ALT
public static final int VK_RIGHT_ALT- See Also:
-
VK_RIGHT_SUPER
public static final int VK_RIGHT_SUPER- See Also:
-
VK_MENU
public static final int VK_MENU- See Also:
-
action
-
keyCode
public final int keyCode -
scanCode
public final int scanCode
-
-
Constructor Details
-
KeyEvent
public KeyEvent(int keyCode, int scanCode, int action, int modifiers)
-
-
Method Details
-
getAction
-
getKeyCode
public int getKeyCode() -
setKeyChar
public void setKeyChar(char keyChar) -
consumeBlur
public void consumeBlur() -
isBlurConsumed
public boolean isBlurConsumed() -
getKeyChar
public char getKeyChar() -
getScanCode
public int getScanCode() -
isDigit
public boolean isDigit() -
isEnter
public boolean isEnter() -
isCommand
public boolean isCommand(int keyCode) -
isShiftDown
public boolean isShiftDown(int keyCode) -
isRepeat
public boolean isRepeat() -
isDelete
public boolean isDelete() -
toString
-