Package | Description |
---|---|
com.sun.javafx.robot | |
com.sun.javafx.robot.impl | |
com.sun.javafx.scene.control.behavior | |
com.sun.javafx.scene.input | |
com.sun.javafx.tk | |
com.sun.javafx.webkit | |
javafx.scene.input |
Provides the set of classes for mouse and keyboard input event handling.
|
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,
String keyChar)
Generate a key typed event.
|
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,
String keyChar,
String keyText,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown) |
abstract int |
FXRobotHelper.FXRobotInputAccessor.getCodeForKeyCode(KeyCode keyCode) |
void |
BaseFXRobot.keyPress(KeyCode keyCode) |
void |
BaseFXRobot.keyRelease(KeyCode keyCode) |
void |
BaseFXRobot.keyType(KeyCode keyCode,
String keyChar) |
Modifier and Type | Method and Description |
---|---|
KeyCode |
KeyBinding.getCode() |
Constructor and Description |
---|
KeyBinding(KeyCode code,
EventType<KeyEvent> type,
String action) |
KeyBinding(KeyCode code,
String action) |
OrientedKeyBinding(KeyCode code,
EventType<KeyEvent> type,
String action) |
OrientedKeyBinding(KeyCode code,
String action) |
ScrollBarKeyBinding(KeyCode code,
EventType<KeyEvent> type,
String action) |
ScrollBarKeyBinding(KeyCode code,
String action) |
SliderKeyBinding(KeyCode code,
EventType<KeyEvent> type,
String action) |
SliderKeyBinding(KeyCode code,
String action) |
Modifier and Type | Method and Description |
---|---|
static KeyCode |
KeyCodeMap.valueOf(int code) |
Modifier and Type | Method and Description |
---|---|
KeyCode |
Toolkit.getPlatformShortcutKey()
Returns the key code for the key which is commonly used on the
corresponding platform as a modifier key in shortcuts.
|
KeyCode |
DummyToolkit.getPlatformShortcutKey() |
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 . |
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(String name)
Parses textual representation of a key.
|
static KeyCode |
KeyCode.valueOf(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 |
---|---|
KeyCodeCombinationBuilder |
KeyCodeCombinationBuilder.code(KeyCode x)
Deprecated.
Set the value of the
code property for the instance constructed by this builder. |
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,
String character,
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(Object source,
EventTarget target,
EventType<KeyEvent> eventType,
String character,
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.
|
Copyright © 2020. All rights reserved.