- java.lang.Object
-
- javafx.scene.input.KeyCombination.Modifier
-
- Enclosing class:
- KeyCombination
public static final class KeyCombination.Modifier extends Object
This class represents a pair of modifier key and its value.- Since:
- JavaFX 2.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyCode
getKey()
Gets the modifier key of thisModifier
.KeyCombination.ModifierValue
getValue()
Gets the modifier value of thisModifier
.String
toString()
Returns a string representation of the modifier.
-
-
-
Method Detail
-
getKey
public KeyCode getKey()
Gets the modifier key of thisModifier
.- Returns:
- the modifier key
-
getValue
public KeyCombination.ModifierValue getValue()
Gets the modifier value of thisModifier
.- Returns:
- the modifier value
-
-