Uses of Enum
javafx.scene.input.KeyCode
-
Uses of KeyCode in com.sun.javafx.scene.control.behavior
ModifierConstructorDescriptionKeyBinding
(KeyCode code, String action) KeyBinding
(KeyCode code, EventType<KeyEvent> type, String action) -
Uses of KeyCode in javafx.scene.input
Modifier and TypeMethodDescriptionfinal KeyCode
KeyCodeCombination.getCode()
Gets the key code associated with this key combination.final KeyCode
KeyEvent.getCode()
The key code associated with the key in this key pressed or key released event.KeyCombination.Modifier.getKey()
Gets the modifier key of thisModifier
.static KeyCode
KeyCode.getKeyCode
(String name) Parses textual representation of a key.static KeyCode
Returns the enum constant of this type with the specified name.static KeyCode[]
KeyCode.values()
Returns an array containing the constants of this enum type, in the order they are declared.ModifierConstructorDescriptionKeyCodeCombination
(KeyCode code, KeyCombination.Modifier... modifiers) Constructs aKeyCodeCombination
for the specified main key and with the specified list of modifiers.KeyCodeCombination
(KeyCode code, KeyCombination.ModifierValue shift, KeyCombination.ModifierValue control, KeyCombination.ModifierValue alt, KeyCombination.ModifierValue meta, KeyCombination.ModifierValue shortcut) Constructs aKeyCodeCombination
for the specified main key and with an explicit specification of all modifier keys.KeyEvent
(Object source, EventTarget target, EventType<KeyEvent> eventType, String character, String text, KeyCode code, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown) Constructs new KeyEvent event with null source and target and KeyCode object directly specified.KeyEvent
(EventType<KeyEvent> eventType, String character, String text, KeyCode code, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown) Constructs new KeyEvent event with null source and target and KeyCode object directly specified.