Package | Description |
---|---|
com.sun.glass.ui.mac | |
com.sun.javafx.robot | |
com.sun.javafx.robot.impl | |
com.sun.javafx.scene.control.behavior | |
com.sun.javafx.scene.control.skin | |
com.sun.javafx.scene.input | |
com.sun.javafx.tk | |
com.sun.javafx.tk.quantum | |
com.sun.javafx.webkit | |
com.sun.javafx.webkit.drt | |
javafx.scene.input |
Provides the set of classes for mouse and keyboard input event handling.
|
Modifier and Type | Method and Description |
---|---|
private int |
MacAccessible.getMenuItemCmdGlyph(KeyCode code) |
private boolean |
MacAccessible.isCmdCharBased(KeyCode code) |
Modifier and Type | Method and Description |
---|---|
abstract void |
FXRobot.keyPress(KeyCode code)
Generate a key pressed event.
|
abstract void |
FXRobot.keyRelease(KeyCode code)
Generate a key released event.
|
abstract void |
FXRobot.keyType(KeyCode code,
java.lang.String keyChar)
Generate a key typed event.
|
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<KeyCode,java.lang.String> |
BaseFXRobot.keyTextMap |
Modifier and Type | Method and Description |
---|---|
abstract KeyCode |
FXRobotHelper.FXRobotInputAccessor.getKeyCodeForCode(int code) |
Modifier and Type | Method and Description |
---|---|
abstract KeyEvent |
FXRobotHelper.FXRobotInputAccessor.createKeyEvent(EventType<? extends KeyEvent> eventType,
KeyCode keyCode,
java.lang.String keyChar,
java.lang.String keyText,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown) |
private void |
BaseFXRobot.doKeyEvent(EventType<KeyEvent> eventType,
KeyCode keyCode,
java.lang.String character) |
abstract int |
FXRobotHelper.FXRobotInputAccessor.getCodeForKeyCode(KeyCode keyCode) |
private static java.lang.String |
BaseFXRobot.getKeyText(KeyCode keyCode) |
void |
BaseFXRobot.keyPress(KeyCode keyCode) |
void |
BaseFXRobot.keyRelease(KeyCode keyCode) |
void |
BaseFXRobot.keyType(KeyCode keyCode,
java.lang.String keyChar) |
Modifier and Type | Field and Description |
---|---|
private KeyCode |
KeyBinding.code |
Modifier and Type | Method and Description |
---|---|
KeyCode |
KeyBinding.getCode() |
Constructor and Description |
---|
KeyBinding(KeyCode code,
EventType<KeyEvent> type,
java.lang.String action) |
KeyBinding(KeyCode code,
java.lang.String action) |
ListViewKeyBinding(KeyCode code,
EventType<KeyEvent> type,
java.lang.String action) |
ListViewKeyBinding(KeyCode code,
java.lang.String action) |
OrientedKeyBinding(KeyCode code,
EventType<KeyEvent> type,
java.lang.String action) |
OrientedKeyBinding(KeyCode code,
java.lang.String action) |
ScrollBarKeyBinding(KeyCode code,
EventType<KeyEvent> type,
java.lang.String action) |
ScrollBarKeyBinding(KeyCode code,
java.lang.String action) |
SliderKeyBinding(KeyCode code,
EventType<KeyEvent> type,
java.lang.String action) |
SliderKeyBinding(KeyCode code,
java.lang.String action) |
Modifier and Type | Field and Description |
---|---|
private KeyCode |
FXVKSkin.KeyCodeKey.code |
Constructor and Description |
---|
KeyCodeKey(java.lang.String letter,
java.lang.String c,
KeyCode code) |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.Integer,KeyCode> |
KeyCodeMap.charMap |
Modifier and Type | Method and Description |
---|---|
static KeyCode |
KeyCodeMap.valueOf(int code) |
Modifier and Type | Method and Description |
---|---|
KeyCode |
DummyToolkit.getPlatformShortcutKey() |
KeyCode |
Toolkit.getPlatformShortcutKey()
Returns the key code for the key which is commonly used on the
corresponding platform as a modifier key in shortcuts.
|
Modifier and Type | Field and Description |
---|---|
private KeyCode |
GlassViewEventHandler.KeyEventNotification.lastKeyCode |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<KeyCode,KeyCodeMap.Entry> |
KeyCodeMap.MAP |
Modifier and Type | Method and Description |
---|---|
static KeyCodeMap.Entry |
KeyCodeMap.lookup(KeyCode keyCode)
Returns an
KeyCodeMap.Entry object containing the Windows
virtual key code and the key identifier associated with
a given KeyCode . |
private static void |
KeyCodeMap.put(java.util.Map<KeyCode,KeyCodeMap.Entry> map,
KeyCode keyCode,
int windowsVirtualKeyCode) |
private static void |
KeyCodeMap.put(java.util.Map<KeyCode,KeyCodeMap.Entry> map,
KeyCode keyCode,
int windowsVirtualKeyCode,
java.lang.String keyIdentifier) |
Modifier and Type | Method and Description |
---|---|
private static void |
KeyCodeMap.put(java.util.Map<KeyCode,KeyCodeMap.Entry> map,
KeyCode keyCode,
int windowsVirtualKeyCode) |
private static void |
KeyCodeMap.put(java.util.Map<KeyCode,KeyCodeMap.Entry> map,
KeyCode keyCode,
int windowsVirtualKeyCode,
java.lang.String keyIdentifier) |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.Object,KeyCode> |
EventSender.MAP |
Modifier and Type | Field and Description |
---|---|
private KeyCode |
KeyCodeCombination.code
The key code associated with this key combination.
|
private KeyCode |
KeyEvent.code
The integer key code associated with the key in this key
pressed or key released event.
|
private KeyCode |
KeyCodeCombinationBuilder.code
Deprecated.
|
private KeyCode |
KeyCombination.Modifier.key |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,KeyCode> |
KeyCode.nameMap |
Modifier and Type | Method and Description |
---|---|
KeyCode |
KeyCodeCombination.getCode()
Gets the key code associated with this key combination.
|
KeyCode |
KeyEvent.getCode()
The key code associated with the key in this key pressed or key released
event.
|
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.
|
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)
Deprecated.
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 char |
KeyCodeCombination.getSingleChar(KeyCode code)
Compute a single suitable char summarizing the code, if any, and 0 otherwise.
|
private static boolean |
KeyCombination.test(KeyCode testedModifierKey,
KeyCombination.ModifierValue testedModifierValue,
KeyCode shortcutModifierKey,
KeyCombination.ModifierValue shortcutModifierValue,
boolean isKeyDown) |
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. |
KeyEvent(EventType<KeyEvent> eventType,
java.lang.String character,
java.lang.String text,
KeyCode code,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown)
Constructs new KeyEvent event with null source and target and KeyCode object directly specified.
|
KeyEvent(java.lang.Object source,
EventTarget target,
EventType<KeyEvent> eventType,
java.lang.String character,
java.lang.String text,
KeyCode code,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown)
Constructs new KeyEvent event with null source and target and KeyCode object directly specified.
|
Modifier(KeyCode key,
KeyCombination.ModifierValue value) |