Package | Description |
---|---|
javafx.scene.input |
Provides the set of classes for mouse and keyboard input event handling.
|
Modifier and Type | Field and Description |
---|---|
static KeyCombination.Modifier |
KeyCombination.ALT_ANY
Modifier which specifies that the
alt key can be either up or
down. |
static KeyCombination.Modifier |
KeyCombination.ALT_DOWN
Modifier which specifies that the
alt key must be down. |
static KeyCombination.Modifier |
KeyCombination.CONTROL_ANY
Modifier which specifies that the
control key can be either up or
down. |
static KeyCombination.Modifier |
KeyCombination.CONTROL_DOWN
Modifier which specifies that the
control key must be down. |
static KeyCombination.Modifier |
KeyCombination.META_ANY
Modifier which specifies that the
meta key can be either up or
down. |
static KeyCombination.Modifier |
KeyCombination.META_DOWN
Modifier which specifies that the
meta key must be down. |
static KeyCombination.Modifier |
KeyCombination.SHIFT_ANY
Modifier which specifies that the
shift key can be either up or
down. |
static KeyCombination.Modifier |
KeyCombination.SHIFT_DOWN
Modifier which specifies that the
shift key must be down. |
static KeyCombination.Modifier |
KeyCombination.SHORTCUT_ANY
Modifier which specifies that the
shortcut key can be either up
or down. |
static KeyCombination.Modifier |
KeyCombination.SHORTCUT_DOWN
Modifier which specifies that the
shortcut key must be down. |
Constructor and Description |
---|
KeyCharacterCombination(String character,
KeyCombination.Modifier... modifiers)
Constructs a
KeyCharacterCombination for the specified main key
character and the specified list of modifiers. |
KeyCodeCombination(KeyCode code,
KeyCombination.Modifier... modifiers)
Constructs a
KeyCodeCombination for the specified main key and
with the specified list of modifiers. |
KeyCombination(KeyCombination.Modifier... modifiers)
Constructs a
KeyCombination with the specified list of modifiers. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.