Uses of Class
javafx.scene.input.KeyCombination.ModifierValue
Package | Description |
---|---|
javafx.scene.input |
Provides the set of classes for mouse and keyboard input event handling.
|
-
Uses of KeyCombination.ModifierValue in javafx.scene.input
Methods in javafx.scene.input that return KeyCombination.ModifierValue Modifier and Type Method Description KeyCombination.ModifierValue
KeyCombination. getAlt()
The state of thealt
key in this key combination.KeyCombination.ModifierValue
KeyCombination. getControl()
The state of thecontrol
key in this key combination.KeyCombination.ModifierValue
KeyCombination. getMeta()
The state of themeta
key in this key combination.KeyCombination.ModifierValue
KeyCombination. getShift()
The state of theshift
key in this key combination.KeyCombination.ModifierValue
KeyCombination. getShortcut()
The state of theshortcut
key in this key combination.KeyCombination.ModifierValue
KeyCombination.Modifier. getValue()
Gets the modifier value of thisModifier
.static KeyCombination.ModifierValue
KeyCombination.ModifierValue. valueOf(String name)
Returns the enum constant of this type with the specified name.static KeyCombination.ModifierValue[]
KeyCombination.ModifierValue. values()
Returns an array containing the constants of this enum type, in the order they are declared.Constructors in javafx.scene.input with parameters of type KeyCombination.ModifierValue Constructor Description KeyCharacterCombination(String character, KeyCombination.ModifierValue shift, KeyCombination.ModifierValue control, KeyCombination.ModifierValue alt, KeyCombination.ModifierValue meta, KeyCombination.ModifierValue shortcut)
Constructs aKeyCharacterCombination
for the specified main key character and with an explicit specification of all modifier keys.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.KeyCombination(KeyCombination.ModifierValue shift, KeyCombination.ModifierValue control, KeyCombination.ModifierValue alt, KeyCombination.ModifierValue meta, KeyCombination.ModifierValue shortcut)
Constructs aKeyCombination
with an explicit specification of all modifier keys.