Modifier and Type | Interface and Description |
---|---|
static class |
KeyTyped.Builder
A builder of
KeyTyped . |
Modifier and Type | Method and Description |
---|---|
default char |
keyChar()
Returns the character corresponding to the typed key.
|
default KeyCode |
keyCode()
Returns the code of the key.
|
default KeyLocation |
keyLocation()
Returns the location of the key on the keyboard.
|
default KeyModifiers |
keyModifiers()
Returns the keyboard modifiers applied.
|
static KeyTyped.Builder |
newBuilder(KeyCode keyCode)
Creates a new
KeyTyped builder with the given required parameters. |
static KeyTyped.Builder newBuilder(KeyCode keyCode)
KeyTyped
builder with the given required parameters.keyCode
- the code of the keyKeyTyped.Builder
instancedefault KeyCode keyCode()
KeyEvent
default KeyModifiers keyModifiers()
KeyEvent
keyModifiers
in interface KeyEvent
default KeyLocation keyLocation()
KeyEvent
keyLocation
in interface KeyEvent
default char keyChar()