| Modifier and Type | Field and Description |
|---|---|
Key |
Keyboard.KeyEvent.key
The key that triggered this event, e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static Key |
Key.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Key[] |
Key.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Function<Keyboard.Event,Keyboard.KeyEvent> |
Keyboard.isKey(Key key)
Returns a collector function for key events for
key. |
static Keyboard.KeyEvent |
Keyboard.isKey(Key key,
Keyboard.Event event)
A collector function for key events for
key. |
| Constructor and Description |
|---|
KeyEvent(int flags,
double time,
Key key,
boolean down) |
Copyright © 2018. All Rights Reserved.