# Uses of Enum Class
javafx.scene.input.KeyCombination.ModifierValue

Packages that use 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
`final KeyCombination.ModifierValue`
KeyCombination.`getAlt()`
The state of the `alt` key in this key combination.
`final KeyCombination.ModifierValue`
KeyCombination.`getControl()`
The state of the `control` key in this key combination.
`final KeyCombination.ModifierValue`
KeyCombination.`getMeta()`
The state of the `meta` key in this key combination.
`final KeyCombination.ModifierValue`
KeyCombination.`getShift()`
The state of the `shift` key in this key combination.
`final KeyCombination.ModifierValue`
KeyCombination.`getShortcut()`
The state of the `shortcut` key in this key combination.
`KeyCombination.ModifierValue`
KeyCombination.Modifier.`getValue()`
Gets the modifier value of this `Modifier`.
`static KeyCombination.ModifierValue`
KeyCombination.ModifierValue.`valueOf(String name)`
Returns the enum constant of this class with the specified name.
`static KeyCombination.ModifierValue[]`
KeyCombination.ModifierValue.`values()`
Returns an array containing the constants of this enum class, in the order they are declared.
Constructors in javafx.scene.input with parameters of type KeyCombination.ModifierValue
Modifier
Constructor
Description
``
`KeyCharacterCombination(String character, KeyCombination.ModifierValue shift, KeyCombination.ModifierValue control, KeyCombination.ModifierValue alt, KeyCombination.ModifierValue meta, KeyCombination.ModifierValue shortcut)`
Constructs a `KeyCharacterCombination` 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 a `KeyCodeCombination` for the specified main key and with an explicit specification of all modifier keys.
`protected`
`KeyCombination(KeyCombination.ModifierValue shift, KeyCombination.ModifierValue control, KeyCombination.ModifierValue alt, KeyCombination.ModifierValue meta, KeyCombination.ModifierValue shortcut)`
Constructs a `KeyCombination` with an explicit specification of all modifier keys.