Package | Description |
---|---|
org.testfx.api | |
org.testfx.robot | |
org.testfx.robot.impl | |
org.testfx.service.query | |
org.testfx.service.query.impl |
Modifier and Type | Method and Description |
---|---|
FxRobot |
FxRobot.clickOn(Bounds bounds,
Motion motion,
MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.clickOn(Bounds bounds,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned
from FxRobotInterface.point(Bounds) , clicks the given buttons, and returns itself for method chaining. |
FxRobot |
FxRobot.clickOn(double x,
double y,
Motion motion,
MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.clickOn(double x,
double y,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the given coordinates,
clicks the given buttons, and returns itself for method chaining. |
<T extends Node> |
FxRobot.clickOn(org.hamcrest.Matcher<T> matcher,
Motion motion,
MouseButton... buttons) |
<T extends Node> |
FxRobotInterface.clickOn(org.hamcrest.Matcher<T> matcher,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Matcher) , clicks the given buttons, and returns itself for method chaining. |
FxRobot |
FxRobot.clickOn(Node node,
Motion motion,
MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.clickOn(Node node,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Node) , clicks the given buttons, and returns itself for method chaining. |
FxRobot |
FxRobot.clickOn(Point2D point,
Motion motion,
MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.clickOn(Point2D point,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the given point, clicks
the given buttons, and returns itself for method chaining. |
FxRobot |
FxRobot.clickOn(PointQuery pointQuery,
Motion motion,
MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.clickOn(PointQuery pointQuery,
Motion motion,
MouseButton... buttons)
Calls
ClickRobot.clickOn(PointQuery, MouseButton...) and returns itself for more method
chaining. |
<T extends Node> |
FxRobot.clickOn(Predicate<T> predicate,
Motion motion,
MouseButton... buttons) |
<T extends Node> |
FxRobotInterface.clickOn(Predicate<T> predicate,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Predicate) , clicks the given buttons, and returns itself for method chaining. |
FxRobot |
FxRobot.clickOn(Scene scene,
Motion motion,
MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.clickOn(Scene scene,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Scene) , clicks the given buttons, and returns itself for method chaining. |
FxRobot |
FxRobot.clickOn(String query,
Motion motion,
MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.clickOn(String query,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(String) , clicks the given buttons, and returns itself for method chaining. |
FxRobot |
FxRobot.clickOn(Window window,
Motion motion,
MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.clickOn(Window window,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Window) , clicks the given buttons, and returns itself for method chaining. |
FxRobot |
FxRobot.doubleClickOn(Bounds bounds,
Motion motion,
MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.doubleClickOn(Bounds bounds,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Bounds) , double clicks the given buttons, and returns itself for method chaining. |
FxRobot |
FxRobot.doubleClickOn(double x,
double y,
Motion motion,
MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.doubleClickOn(double x,
double y,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(double, double) , double clicks the given buttons, and returns itself for method chaining. |
<T extends Node> |
FxRobot.doubleClickOn(org.hamcrest.Matcher<T> matcher,
Motion motion,
MouseButton... buttons) |
<T extends Node> |
FxRobotInterface.doubleClickOn(org.hamcrest.Matcher<T> matcher,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Matcher) , double clicks the given buttons, and returns itself for method chaining. |
FxRobot |
FxRobot.doubleClickOn(Node node,
Motion motion,
MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.doubleClickOn(Node node,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Node) , double clicks the given buttons, and returns itself for method chaining. |
FxRobot |
FxRobot.doubleClickOn(Point2D point,
Motion motion,
MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.doubleClickOn(Point2D point,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Point2D) , double clicks the given buttons, and returns itself for method chaining. |
FxRobot |
FxRobot.doubleClickOn(PointQuery pointQuery,
Motion motion,
MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.doubleClickOn(PointQuery pointQuery,
Motion motion,
MouseButton... buttons)
Calls
ClickRobot.doubleClickOn(PointQuery, Motion, MouseButton...) and returns itself
for method chaining. |
<T extends Node> |
FxRobot.doubleClickOn(Predicate<T> predicate,
Motion motion,
MouseButton... buttons) |
<T extends Node> |
FxRobotInterface.doubleClickOn(Predicate<T> predicate,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Predicate) , double clicks the given buttons, and returns itself for method chaining. |
FxRobot |
FxRobot.doubleClickOn(Scene scene,
Motion motion,
MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.doubleClickOn(Scene scene,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Scene) , double clicks the given buttons, and returns itself for method chaining. |
FxRobot |
FxRobot.doubleClickOn(String query,
Motion motion,
MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.doubleClickOn(String query,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(String) , double clicks the given buttons, and returns itself for method chaining. |
FxRobot |
FxRobot.doubleClickOn(Window window,
Motion motion,
MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.doubleClickOn(Window window,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Window) , double clicks the given buttons, and returns itself for method chaining. |
FxRobot |
FxRobot.moveBy(double x,
double y,
Motion motion) |
FxRobotInterface |
FxRobotInterface.moveBy(double x,
double y,
Motion motion)
Calls
MoveRobot.moveBy(double, double, Motion) and returns itself for more method
chaining. |
FxRobot |
FxRobot.moveTo(Bounds bounds,
Motion motion) |
FxRobotInterface |
FxRobotInterface.moveTo(Bounds bounds,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Bounds) and returns itself for method chaining. |
FxRobot |
FxRobot.moveTo(double x,
double y,
Motion motion) |
FxRobotInterface |
FxRobotInterface.moveTo(double x,
double y,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(double, double) and returns itself for method chaining. |
<T extends Node> |
FxRobot.moveTo(org.hamcrest.Matcher<T> matcher,
Motion motion) |
<T extends Node> |
FxRobotInterface.moveTo(org.hamcrest.Matcher<T> matcher,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Matcher) and returns itself for method chaining. |
FxRobot |
FxRobot.moveTo(Node node,
Motion motion) |
FxRobotInterface |
FxRobotInterface.moveTo(Node node,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Node) and returns itself for method chaining. |
FxRobot |
FxRobot.moveTo(Point2D point,
Motion motion) |
FxRobotInterface |
FxRobotInterface.moveTo(Point2D point,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Point2D) and returns itself for method chaining. |
FxRobot |
FxRobot.moveTo(PointQuery pointQuery,
Motion motion) |
FxRobotInterface |
FxRobotInterface.moveTo(PointQuery pointQuery,
Motion motion)
Calls
MoveRobot.moveTo(PointQuery, Motion) and returns itself for more method chaining. |
<T extends Node> |
FxRobot.moveTo(Predicate<T> predicate,
Motion motion) |
<T extends Node> |
FxRobotInterface.moveTo(Predicate<T> predicate,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Predicate) and returns itself for method chaining. |
FxRobot |
FxRobot.moveTo(Scene scene,
Motion motion) |
FxRobotInterface |
FxRobotInterface.moveTo(Scene scene,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Scene) and returns itself for method chaining. |
FxRobot |
FxRobot.moveTo(String query,
Motion motion) |
FxRobotInterface |
FxRobotInterface.moveTo(String query,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(String) and returns itself for method chaining. |
FxRobot |
FxRobot.moveTo(Window window,
Motion motion) |
FxRobotInterface |
FxRobotInterface.moveTo(Window window,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Window) and returns itself for method chaining. |
FxRobot |
FxRobot.rightClickOn(Bounds bounds,
Motion motion) |
FxRobotInterface |
FxRobotInterface.rightClickOn(Bounds bounds,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Bounds) , clicks the MouseButton.SECONDARY button, and returns itself for method chaining. |
FxRobot |
FxRobot.rightClickOn(double x,
double y,
Motion motion) |
FxRobotInterface |
FxRobotInterface.rightClickOn(double x,
double y,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the given coordinates,
clicks the MouseButton.SECONDARY button, and returns itself for method chaining. |
<T extends Node> |
FxRobot.rightClickOn(org.hamcrest.Matcher<T> matcher,
Motion motion) |
<T extends Node> |
FxRobotInterface.rightClickOn(org.hamcrest.Matcher<T> matcher,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Matcher) , clicks the MouseButton.SECONDARY button, and returns itself for method
chaining. |
FxRobot |
FxRobot.rightClickOn(Node node,
Motion motion) |
FxRobotInterface |
FxRobotInterface.rightClickOn(Node node,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Node) , clicks the MouseButton.SECONDARY button, and returns itself for method chaining. |
FxRobot |
FxRobot.rightClickOn(Point2D point,
Motion motion) |
FxRobotInterface |
FxRobotInterface.rightClickOn(Point2D point,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Point2D) , clicks the MouseButton.SECONDARY button, and returns itself for method
chaining. |
FxRobot |
FxRobot.rightClickOn(PointQuery pointQuery,
Motion motion) |
FxRobotInterface |
FxRobotInterface.rightClickOn(PointQuery pointQuery,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
PointQuery.query() , clicks the MouseButton.SECONDARY button and returns itself for method
chaining. |
<T extends Node> |
FxRobot.rightClickOn(Predicate<T> predicate,
Motion motion) |
<T extends Node> |
FxRobotInterface.rightClickOn(Predicate<T> predicate,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Predicate) , clicks the MouseButton.SECONDARY button, and returns itself for method
chaining. |
FxRobot |
FxRobot.rightClickOn(Scene scene,
Motion motion) |
FxRobotInterface |
FxRobotInterface.rightClickOn(Scene scene,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Scene) , clicks the MouseButton.SECONDARY button, and returns itself for method chaining. |
FxRobot |
FxRobot.rightClickOn(String query,
Motion motion) |
FxRobotInterface |
FxRobotInterface.rightClickOn(String query,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(String) , clicks the MouseButton.SECONDARY button, and returns itself for method chaining. |
FxRobot |
FxRobot.rightClickOn(Window window,
Motion motion) |
FxRobotInterface |
FxRobotInterface.rightClickOn(Window window,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Window) , clicks the MouseButton.SECONDARY button, and returns itself for method chaining. |
Modifier and Type | Method and Description |
---|---|
static Motion |
Motion.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Motion[] |
Motion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ClickRobot.clickOn(PointQuery pointQuery,
Motion motion,
MouseButton... buttons)
Moves mouse to
PointQuery.query() using the specified motion
(see: Motion ) and clicks whatever is under it. |
void |
ClickRobot.doubleClickOn(PointQuery pointQuery,
Motion motion,
MouseButton... buttons)
Moves mouse to
PointQuery.query() using the specified motion
(see: Motion and double-clicks whatever is under it. |
void |
MoveRobot.moveBy(double x,
double y,
Motion motion)
Moves mouse from current location to new location by
x using the given
motion (see: Motion on the horizontal axis and by y on
the vertical axis. |
void |
MoveRobot.moveTo(PointQuery pointQuery,
Motion motion)
Moves mouse to
PointQuery.query() using the specified motion
(see: Motion ) and clicks whatever is under it. |
Modifier and Type | Method and Description |
---|---|
void |
ClickRobotImpl.clickOn(PointQuery pointQuery,
Motion motion,
MouseButton... buttons) |
void |
ClickRobotImpl.doubleClickOn(PointQuery pointQuery,
Motion motion,
MouseButton... buttons) |
void |
MoveRobotImpl.moveBy(double x,
double y,
Motion motion) |
void |
MoveRobotImpl.moveTo(PointQuery pointQuery,
Motion motion) |
Modifier and Type | Method and Description |
---|---|
Optional<Motion> |
PointQuery.queryMotion() |
Modifier and Type | Method and Description |
---|---|
Optional<Motion> |
PointQueryBase.queryMotion() |