Package | Description |
---|---|
javafx.scene.input |
Provides the set of classes for mouse and keyboard input event handling.
|
Modifier and Type | Method and Description |
---|---|
KeyCombination.ModifierValue |
KeyCombination.getAlt()
The state of the
alt key in this key combination. |
KeyCombination.ModifierValue |
KeyCombination.getControl()
The state of the
control key in this key combination. |
KeyCombination.ModifierValue |
KeyCombination.getMeta()
The state of the
meta key in this key combination. |
KeyCombination.ModifierValue |
KeyCombination.getShift()
The state of the
shift key in this key combination. |
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 type with the specified name.
|
static KeyCombination.ModifierValue[] |
KeyCombination.ModifierValue.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and 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. |
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. |
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.