Package | Description |
---|---|
com.sun.javafx.embed | |
com.sun.javafx.robot | |
com.sun.javafx.robot.impl | |
com.sun.javafx.scene.control.behavior | |
com.sun.javafx.tk | |
javafx.scene.input |
Provides the set of classes for mouse and keyboard input event handling.
|
Modifier and Type | Method and Description |
---|---|
static MouseButton |
AbstractEvents.mouseButtonToFXMouseButton(int embedButton) |
Modifier and Type | Method and Description |
---|---|
void |
FXRobot.mouseClick(MouseButton button)
Generate a mouse clicked event with click count of 1.
|
abstract void |
FXRobot.mouseClick(MouseButton button,
int clickCount)
Generate a mouse clicked event with specified click count.
|
abstract void |
FXRobot.mouseDrag(MouseButton button)
Generate a mouse dragged event.
|
void |
FXRobot.mousePress(MouseButton button)
Generate a mouse pressed event with click count of 1.
|
abstract void |
FXRobot.mousePress(MouseButton button,
int clickCount)
Generate a mouse press event with specified click count.
|
void |
FXRobot.mouseRelease(MouseButton button)
Generate a mouse pressed event with click count of 1.
|
abstract void |
FXRobot.mouseRelease(MouseButton button,
int clickCount)
Generate a mouse release event with specified click count.
|
Modifier and Type | Method and Description |
---|---|
abstract MouseEvent |
FXRobotHelper.FXRobotInputAccessor.createMouseEvent(EventType<? extends MouseEvent> eventType,
int x,
int y,
int screenX,
int screenY,
MouseButton button,
int clickCount,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean popupTrigger,
boolean primaryButtonDown,
boolean middleButtonDown,
boolean secondaryButtonDown) |
void |
BaseFXRobot.mouseClick(MouseButton button,
int clickCount) |
void |
BaseFXRobot.mouseDrag(MouseButton button) |
void |
BaseFXRobot.mousePress(MouseButton button,
int clickCount) |
void |
BaseFXRobot.mouseRelease(MouseButton button,
int clickCount) |
Modifier and Type | Method and Description |
---|---|
protected void |
TableRowBehaviorBase.doSelect(double x,
double y,
MouseButton button,
int clickCount,
boolean shiftDown,
boolean shortcutDown)
*
Private implementation *
*
|
protected void |
TableCellBehaviorBase.doSelect(double x,
double y,
MouseButton button,
int clickCount,
boolean shiftDown,
boolean shortcutDown)
*
Private implementation *
*
|
protected void |
CellBehaviorBase.doSelect(double x,
double y,
MouseButton button,
int clickCount,
boolean shiftDown,
boolean shortcutDown)
*
Private implementation *
*
|
protected void |
TreeTableRowBehavior.handleClicks(MouseButton button,
int clickCount,
boolean isAlreadySelected) |
protected void |
TreeTableCellBehavior.handleClicks(MouseButton button,
int clickCount,
boolean isAlreadySelected) |
protected void |
TreeCellBehavior.handleClicks(MouseButton button,
int clickCount,
boolean isAlreadySelected) |
protected void |
CellBehaviorBase.handleClicks(MouseButton button,
int clickCount,
boolean isAlreadySelected) |
protected void |
TableCellBehaviorBase.simpleSelect(MouseButton button,
int clickCount,
boolean shortcutDown) |
protected void |
CellBehaviorBase.simpleSelect(MouseButton button,
int clickCount,
boolean shortcutDown) |
Modifier and Type | Method and Description |
---|---|
void |
TKSceneListener.mouseEvent(EventType<MouseEvent> type,
double x,
double y,
double screenX,
double screenY,
MouseButton button,
boolean popupTrigger,
boolean synthesized,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean primaryDown,
boolean middleDown,
boolean secondaryDown)
Pass a mouse event to the scene to handle
|
Modifier and Type | Method and Description |
---|---|
MouseButton |
MouseEvent.getButton()
Which, if any, of the mouse buttons is responsible for this event.
|
static MouseButton |
MouseButton.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MouseButton[] |
MouseButton.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
MouseDragEvent(EventType<MouseDragEvent> eventType,
double x,
double y,
double screenX,
double screenY,
MouseButton button,
int clickCount,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean primaryButtonDown,
boolean middleButtonDown,
boolean secondaryButtonDown,
boolean synthesized,
boolean popupTrigger,
PickResult pickResult,
Object gestureSource)
Constructs new MouseDragEvent event with null source and target.
|
MouseDragEvent(Object source,
EventTarget target,
EventType<MouseDragEvent> eventType,
double x,
double y,
double screenX,
double screenY,
MouseButton button,
int clickCount,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean primaryButtonDown,
boolean middleButtonDown,
boolean secondaryButtonDown,
boolean synthesized,
boolean popupTrigger,
PickResult pickResult,
Object gestureSource)
Constructs new MouseDragEvent event.
|
MouseEvent(EventType<? extends MouseEvent> eventType,
double x,
double y,
double screenX,
double screenY,
MouseButton button,
int clickCount,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean primaryButtonDown,
boolean middleButtonDown,
boolean secondaryButtonDown,
boolean synthesized,
boolean popupTrigger,
boolean stillSincePress,
PickResult pickResult)
Constructs new MouseEvent event with null source and target.
|
MouseEvent(Object source,
EventTarget target,
EventType<? extends MouseEvent> eventType,
double x,
double y,
double screenX,
double screenY,
MouseButton button,
int clickCount,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean primaryButtonDown,
boolean middleButtonDown,
boolean secondaryButtonDown,
boolean synthesized,
boolean popupTrigger,
boolean stillSincePress,
PickResult pickResult)
Constructs new MouseEvent event.
|
Copyright © 2020. All rights reserved.