public enum WlKeyboardKeyState extends Enum<WlKeyboardKeyState>
Describes the physical state of a key that produced the key event.
| Enum Constant and Description |
|---|
PRESSED
key is pressed
|
RELEASED
key is not pressed
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
static WlKeyboardKeyState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WlKeyboardKeyState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WlKeyboardKeyState RELEASED
public static final WlKeyboardKeyState PRESSED
public static WlKeyboardKeyState[] values()
for (WlKeyboardKeyState c : WlKeyboardKeyState.values()) System.out.println(c);
public static WlKeyboardKeyState 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 © 2016. All rights reserved.