Example usage for Java javafx.scene.input KeyCodeCombination fields, constructors, methods, implement or subclass
The text is from its open source code.
KeyCodeCombination(final @NamedArg("code") KeyCode code, final @NamedArg("modifiers") Modifier... modifiers) Constructs a KeyCodeCombination for the specified main key and with the specified list of modifiers. | |
KeyCodeCombination(final @NamedArg("code") KeyCode code, final @NamedArg("shift") ModifierValue shift, final @NamedArg("control") ModifierValue control, final @NamedArg("alt") ModifierValue alt, final @NamedArg("meta") ModifierValue meta, final @NamedArg("shortcut") ModifierValue shortcut) Constructs a KeyCodeCombination for the specified main key and with an explicit specification of all modifier keys. |
ModifierValue | getAlt() The state of the alt key in this key combination. |
KeyCode | getCode() Gets the key code associated with this key combination. |
String | getName() Returns a string representation of this KeyCodeCombination . |
ModifierValue | getShift() The state of the shift key in this key combination. |
ModifierValue | getShortcut() The state of the shortcut key in this key combination. |