-
- All Implemented Interfaces:
public final class KeybindA class that describes the relation between a KeyCode and an Action.
-
-
Field Summary
Fields Modifier and Type Field Description private ActionFromKeyactionprivate final ObjectProperty<ActionFromKey>actionPropertyprivate KeyCodekeyprivate final ObjectProperty<KeyCode>keyProperty
-
Constructor Summary
Constructors Constructor Description Keybind(ActionFromKey action, KeyCode key)
-
Method Summary
Modifier and Type Method Description final ActionFromKeygetAction()The action. final UnitsetAction(ActionFromKey action)The action. final ObjectProperty<ActionFromKey>getActionProperty()The property of the action. final KeyCodegetKey()The key. final UnitsetKey(KeyCode key)The key. final ObjectProperty<KeyCode>getKeyProperty()The property of the key. -
-
Constructor Detail
-
Keybind
Keybind(ActionFromKey action, KeyCode key)
-
-
Method Detail
-
getAction
final ActionFromKey getAction()
The action.
-
setAction
final Unit setAction(ActionFromKey action)
The action.
-
getActionProperty
final ObjectProperty<ActionFromKey> getActionProperty()
The property of the action.
-
getKey
final KeyCode getKey()
The key.
-
getKeyProperty
final ObjectProperty<KeyCode> getKeyProperty()
The property of the key.
-
-
-
-