javafx.scene.input
Class KeyCombination.Modifier
- javafx.scene.input.KeyCombination.Modifier
Enclosing class:
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 MethodsInstance MethodsConcrete Methods Modifier and Type Method and Description KeyCodegetKey()Gets the modifier key of thisModifier.KeyCombination.ModifierValuegetValue()Gets the modifier value of thisModifier.StringtoString()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
-
toString
public String toString()
Returns a string representation of the modifier.
-
© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.