Spec-Zone .ru
спецификации, руководства, описания, API
|
Package | Description |
---|---|
javafx.scene.input |
Provides the set of classes for mouse and keyboard input event handling.
|
Modifier and Type | Field and Description |
---|---|
private KeyCode |
KeyEvent.code
The integer key code associated with the key in this key
pressed or key released event.
|
private KeyCode |
KeyCodeCombination.code
The key code associated with this key combination.
|
private KeyCode |
KeyCodeCombinationBuilder.code |
private KeyCode |
KeyCombination.Modifier.key |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.Integer,KeyCode> |
KeyCode.charMap |
private static java.util.Map<java.lang.String,KeyCode> |
KeyCode.nameMap |
Modifier and Type | Method and Description |
---|---|
KeyCode |
KeyEvent.getCode()
The key code associated with the key in this key pressed or key released
event.
|
KeyCode |
KeyCodeCombination.getCode()
Gets the key code associated with this key combination.
|
KeyCode |
KeyCombination.Modifier.getKey()
Gets the modifier key of this
Modifier . |
static KeyCode |
KeyCode.getKeyCode(java.lang.String name)
Parses textual representation of a key.
|
(package private) static KeyCode |
KeyCode.impl_valueOf(int code)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
static KeyCode |
KeyCode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyCode[] |
KeyCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private static void |
KeyCombination.addModifierIntoString(java.lang.StringBuilder sb,
KeyCode modifierKey,
KeyCombination.ModifierValue modifierValue) |
KeyCodeCombinationBuilder |
KeyCodeCombinationBuilder.code(KeyCode x)
Set the value of the
code property for the instance constructed by this builder. |
private static KeyCombination.ModifierValue |
KeyCombination.getModifierValue(KeyCombination.Modifier[] modifiers,
KeyCode modifierKey) |
private static boolean |
KeyCombination.test(KeyCode testedModifierKey,
KeyCombination.ModifierValue testedModifierValue,
KeyCode shortcutModifierKey,
KeyCombination.ModifierValue shortcutModifierValue,
boolean isKeyDown) |
(package private) static KeyEvent |
KeyEvent.testKeyEvent(EventTarget target,
java.lang.String character,
KeyCode code,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown)
For use by unit testing
|
private static void |
KeyCodeCombination.validateKeyCode(KeyCode keyCode) |
Constructor and Description |
---|
KeyCodeCombination(KeyCode code,
KeyCombination.Modifier... modifiers)
Constructs a
KeyCodeCombination for the specified main key and
with the specified list of modifiers. |
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.Modifier(KeyCode key,
KeyCombination.ModifierValue value) |
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to