| 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(javafx.geometry.Bounds bounds,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.clickOn(javafx.geometry.Bounds bounds,
Motion motion,
javafx.scene.input.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,
javafx.scene.input.MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.clickOn(double x,
double y,
Motion motion,
javafx.scene.input.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 javafx.scene.Node> |
FxRobot.clickOn(org.hamcrest.Matcher<T> matcher,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
<T extends javafx.scene.Node> |
FxRobotInterface.clickOn(org.hamcrest.Matcher<T> matcher,
Motion motion,
javafx.scene.input.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(javafx.scene.Node node,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.clickOn(javafx.scene.Node node,
Motion motion,
javafx.scene.input.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(javafx.geometry.Point2D point,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.clickOn(javafx.geometry.Point2D point,
Motion motion,
javafx.scene.input.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,
javafx.scene.input.MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.clickOn(PointQuery pointQuery,
Motion motion,
javafx.scene.input.MouseButton... buttons)
Calls
ClickRobot.clickOn(PointQuery, MouseButton...) and returns itself for more method
chaining. |
<T extends javafx.scene.Node> |
FxRobot.clickOn(java.util.function.Predicate<T> predicate,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
<T extends javafx.scene.Node> |
FxRobotInterface.clickOn(java.util.function.Predicate<T> predicate,
Motion motion,
javafx.scene.input.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(javafx.scene.Scene scene,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.clickOn(javafx.scene.Scene scene,
Motion motion,
javafx.scene.input.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(java.lang.String query,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.clickOn(java.lang.String query,
Motion motion,
javafx.scene.input.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(javafx.stage.Window window,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.clickOn(javafx.stage.Window window,
Motion motion,
javafx.scene.input.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(javafx.geometry.Bounds bounds,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.doubleClickOn(javafx.geometry.Bounds bounds,
Motion motion,
javafx.scene.input.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,
javafx.scene.input.MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.doubleClickOn(double x,
double y,
Motion motion,
javafx.scene.input.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 javafx.scene.Node> |
FxRobot.doubleClickOn(org.hamcrest.Matcher<T> matcher,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
<T extends javafx.scene.Node> |
FxRobotInterface.doubleClickOn(org.hamcrest.Matcher<T> matcher,
Motion motion,
javafx.scene.input.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(javafx.scene.Node node,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.doubleClickOn(javafx.scene.Node node,
Motion motion,
javafx.scene.input.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(javafx.geometry.Point2D point,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.doubleClickOn(javafx.geometry.Point2D point,
Motion motion,
javafx.scene.input.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,
javafx.scene.input.MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.doubleClickOn(PointQuery pointQuery,
Motion motion,
javafx.scene.input.MouseButton... buttons)
Calls
ClickRobot.doubleClickOn(PointQuery, Motion, MouseButton...) and returns itself
for method chaining. |
<T extends javafx.scene.Node> |
FxRobot.doubleClickOn(java.util.function.Predicate<T> predicate,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
<T extends javafx.scene.Node> |
FxRobotInterface.doubleClickOn(java.util.function.Predicate<T> predicate,
Motion motion,
javafx.scene.input.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(javafx.scene.Scene scene,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.doubleClickOn(javafx.scene.Scene scene,
Motion motion,
javafx.scene.input.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(java.lang.String query,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.doubleClickOn(java.lang.String query,
Motion motion,
javafx.scene.input.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(javafx.stage.Window window,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.doubleClickOn(javafx.stage.Window window,
Motion motion,
javafx.scene.input.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(javafx.geometry.Bounds bounds,
Motion motion) |
FxRobotInterface |
FxRobotInterface.moveTo(javafx.geometry.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 javafx.scene.Node> |
FxRobot.moveTo(org.hamcrest.Matcher<T> matcher,
Motion motion) |
<T extends javafx.scene.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. |
default FxRobotInterface |
FxRobotInterface.moveTo(javafx.scene.Node node,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the center of the
given Node and returns itself for method chaining. |
FxRobot |
FxRobot.moveTo(javafx.scene.Node node,
javafx.geometry.Pos offsetReferencePos,
javafx.geometry.Point2D offset,
Motion motion) |
FxRobotInterface |
FxRobotInterface.moveTo(javafx.scene.Node node,
javafx.geometry.Pos offsetReferencePos,
javafx.geometry.Point2D offset,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
FxRobotInterface.point(Node), with the given offset (from the offsetReferencePos, and returns itself for
method chaining. |
FxRobot |
FxRobot.moveTo(javafx.geometry.Point2D point,
Motion motion) |
FxRobotInterface |
FxRobotInterface.moveTo(javafx.geometry.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 javafx.scene.Node> |
FxRobot.moveTo(java.util.function.Predicate<T> predicate,
Motion motion) |
<T extends javafx.scene.Node> |
FxRobotInterface.moveTo(java.util.function.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(javafx.scene.Scene scene,
Motion motion) |
FxRobotInterface |
FxRobotInterface.moveTo(javafx.scene.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(java.lang.String query,
Motion motion) |
FxRobotInterface |
FxRobotInterface.moveTo(java.lang.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(javafx.stage.Window window,
Motion motion) |
FxRobotInterface |
FxRobotInterface.moveTo(javafx.stage.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(javafx.geometry.Bounds bounds,
Motion motion) |
FxRobotInterface |
FxRobotInterface.rightClickOn(javafx.geometry.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 javafx.scene.Node> |
FxRobot.rightClickOn(org.hamcrest.Matcher<T> matcher,
Motion motion) |
<T extends javafx.scene.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(javafx.scene.Node node,
Motion motion) |
FxRobotInterface |
FxRobotInterface.rightClickOn(javafx.scene.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(javafx.geometry.Point2D point,
Motion motion) |
FxRobotInterface |
FxRobotInterface.rightClickOn(javafx.geometry.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 javafx.scene.Node> |
FxRobot.rightClickOn(java.util.function.Predicate<T> predicate,
Motion motion) |
<T extends javafx.scene.Node> |
FxRobotInterface.rightClickOn(java.util.function.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(javafx.scene.Scene scene,
Motion motion) |
FxRobotInterface |
FxRobotInterface.rightClickOn(javafx.scene.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(java.lang.String query,
Motion motion) |
FxRobotInterface |
FxRobotInterface.rightClickOn(java.lang.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(javafx.stage.Window window,
Motion motion) |
FxRobotInterface |
FxRobotInterface.rightClickOn(javafx.stage.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(java.lang.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,
javafx.scene.input.MouseButton... buttons)
Moves the mouse to the location specified by the given
PointQuery.query() using
the specified motion (see: Motion) and clicks whatever is under it. |
void |
ClickRobot.doubleClickOn(PointQuery pointQuery,
Motion motion,
javafx.scene.input.MouseButton... buttons)
Moves the mouse to the location specified by the given
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 the mouse from the current location to the given (
x, y) location. |
void |
MoveRobot.moveTo(PointQuery pointQuery,
Motion motion)
Moves the mouse to the (x,y) position specified by the given
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,
javafx.scene.input.MouseButton... buttons) |
void |
ClickRobotImpl.doubleClickOn(PointQuery pointQuery,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
void |
MoveRobotImpl.moveBy(double x,
double y,
Motion motion) |
void |
MoveRobotImpl.moveTo(PointQuery pointQuery,
Motion motion) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<Motion> |
PointQuery.queryMotion() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<Motion> |
PointQueryBase.queryMotion() |