public class FxRobot extends java.lang.Object implements FxRobotInterface
| Constructor and Description |
|---|
FxRobot()
Constructs all robot-related implementations and sets
targetPos(Pos) to Pos.CENTER. |
| Modifier and Type | Method and Description |
|---|---|
BoundsQuery |
bounds(javafx.geometry.Bounds bounds)
Creates a
BoundsQuery that returns the given bounds |
BoundsQuery |
bounds(double minX,
double minY,
double width,
double height)
|
<T extends javafx.scene.Node> |
bounds(org.hamcrest.Matcher<T> matcher)
NOT YET IMPLEMENTED
|
BoundsQuery |
bounds(javafx.scene.Node node)
|
BoundsQuery |
bounds(javafx.geometry.Point2D point)
|
<T extends javafx.scene.Node> |
bounds(java.util.function.Predicate<T> predicate)
NOT YET IMPLEMENTED
|
BoundsQuery |
bounds(javafx.scene.Scene scene)
Calls
BoundsQueryUtils.boundsOnScreen(Bounds, Scene) with given scene's bounds |
BoundsQuery |
bounds(java.lang.String query)
NOT YET IMPLEMENTED
|
BoundsQuery |
bounds(javafx.stage.Window window)
Calls
BoundsQueryUtils.boundsOnScreen(Bounds, Window) with the given window's bounds |
Capture |
capture(javafx.geometry.Bounds bounds)
Returns a
Capture that supplies a screenshot using the given bounds. |
Capture |
capture(javafx.scene.image.Image image)
Convenience method: Returns a
Capture that supplies the given Image. |
Capture |
capture(javafx.scene.Node node)
Returns a
Capture that supplies a screenshot using the given node's bounds. |
Capture |
capture(java.nio.file.Path path)
Convenience method: Returns a
Capture that supplies the Image from the image file of the
given Path. |
Capture |
capture(javafx.geometry.Rectangle2D screenRegion)
Returns a
Capture that supplies a screenshot using the given rectangle's bounds. |
Capture |
capture(java.net.URL url)
|
FxRobot |
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 |
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> |
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 |
clickOn(javafx.scene.input.MouseButton... buttons)
Calls
ClickRobot.clickOn(MouseButton...) and returns itself for more method chaining. |
FxRobot |
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 |
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 |
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> |
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 |
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 |
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 |
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 |
closeCurrentWindow()
Deprecated.
The implementation of this method simply pushes the keys ALT+F4 which
does not close the current window on all platforms.
|
FxRobot |
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 |
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> |
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 |
doubleClickOn(javafx.scene.input.MouseButton... buttons)
Calls
ClickRobot.doubleClickOn(MouseButton...) and returns itself for more method
chaining. |
FxRobot |
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 |
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 |
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> |
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 |
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 |
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 |
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 |
drag(javafx.geometry.Bounds bounds,
javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Bounds), presses the given
buttons, and returns itself for method chaining. |
FxRobot |
drag(double x,
double y,
javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(double, double), presses the given
buttons, and returns itself for method chaining. |
<T extends javafx.scene.Node> |
drag(org.hamcrest.Matcher<T> matcher,
javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Matcher), presses the given
buttons, and returns itself for method chaining. |
FxRobot |
drag(javafx.scene.input.MouseButton... buttons)
Calls
DragRobot.drag(MouseButton...) and returns itself for more method chaining. |
FxRobot |
drag(javafx.scene.Node node,
javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Node), presses the given
buttons, and returns itself for method chaining. |
FxRobot |
drag(javafx.geometry.Point2D point,
javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Point2D), presses the given
buttons, and returns itself for method chaining. |
FxRobot |
drag(PointQuery pointQuery,
javafx.scene.input.MouseButton... buttons)
Calls
DragRobot.drag(PointQuery, MouseButton...) and returns itself for more method
chaining. |
<T extends javafx.scene.Node> |
drag(java.util.function.Predicate<T> predicate,
javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Predicate), presses the given
buttons, and returns itself for method chaining. |
FxRobot |
drag(javafx.scene.Scene scene,
javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Scene), presses the given
buttons, and returns itself for method chaining. |
FxRobot |
drag(java.lang.String query,
javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(String), presses the given
buttons, and returns itself for method chaining. |
FxRobot |
drag(javafx.stage.Window window,
javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Window), presses the given
buttons, and returns itself for method chaining. |
FxRobot |
drop()
Calls
DragRobot.drop() and returns itself for more method chaining. |
FxRobot |
dropBy(double x,
double y)
Calls
DragRobot.dropBy(double, double) and returns itself for more method chaining. |
FxRobot |
dropTo(javafx.geometry.Bounds bounds)
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Bounds), releases the buttons
that were pressed in FxRobotInterface.drag(MouseButton...)- or FxRobotInterface.press(MouseButton...)-related methods,
and returns itself for method chaining. |
FxRobot |
dropTo(double x,
double y)
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(double, double), releases the buttons
that were pressed in FxRobotInterface.drag(MouseButton...)- or FxRobotInterface.press(MouseButton...)-related methods,
and returns itself for method chaining. |
<T extends javafx.scene.Node> |
dropTo(org.hamcrest.Matcher<T> matcher)
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Matcher), releases the buttons
that were pressed in FxRobotInterface.drag(MouseButton...)- or FxRobotInterface.press(MouseButton...)-related methods,
and returns itself for method chaining. |
FxRobot |
dropTo(javafx.scene.Node node)
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Node), releases the buttons
that were pressed in FxRobotInterface.drag(MouseButton...)- or FxRobotInterface.press(MouseButton...)-related methods,
and returns itself for method chaining. |
FxRobot |
dropTo(javafx.geometry.Point2D point)
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Point2D), releases the buttons
that were pressed in FxRobotInterface.drag(MouseButton...)- or FxRobotInterface.press(MouseButton...)-related methods,
and returns itself for method chaining. |
FxRobot |
dropTo(PointQuery pointQuery)
Calls
DragRobot.dropTo(PointQuery) and returns itself for more method chaining. |
<T extends javafx.scene.Node> |
dropTo(java.util.function.Predicate<T> predicate)
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Predicate), releases the buttons
that were pressed in FxRobotInterface.drag(MouseButton...)- or FxRobotInterface.press(MouseButton...)-related methods,
and returns itself for method chaining. |
FxRobot |
dropTo(javafx.scene.Scene scene)
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Scene), releases the buttons
that were pressed in FxRobotInterface.drag(MouseButton...)- or FxRobotInterface.press(MouseButton...)-related methods,
and returns itself for method chaining. |
FxRobot |
dropTo(java.lang.String query)
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(String), releases the buttons
that were pressed in FxRobotInterface.drag(MouseButton...)- or FxRobotInterface.press(MouseButton...)-related methods,
and returns itself for method chaining. |
FxRobot |
dropTo(javafx.stage.Window window)
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Window), releases the buttons
that were pressed in FxRobotInterface.drag(MouseButton...)- or FxRobotInterface.press(MouseButton...)-related methods,
and returns itself for method chaining. |
FxRobot |
eraseText(int amount)
Convenience method: Calls
TypeRobot.type(KeyCode, int) with KeyCode.BACK_SPACE
and returns itself for more method chaining. |
NodeQuery |
from(java.util.Collection<javafx.scene.Node> parentNodes)
Calls
NodeFinder.from(Collection) and returns itself for method chaining. |
NodeQuery |
from(javafx.scene.Node... parentNodes)
Calls
NodeFinder.from(Node...) and returns itself for method chaining. |
NodeQuery |
from(NodeQuery nodeQuery)
Convenience method: Calls
NodeFinder.from(NodeQuery) and returns itself for method chaining. |
NodeQuery |
fromAll()
Calls
NodeFinder.fromAll() and returns itself for method chaining. |
<T> FxRobot |
interact(java.util.concurrent.Callable<T> callable)
Calls a callable on the FX application thread and waits for it and
consecutive events to execute.
|
FxRobot |
interact(java.lang.Runnable runnable)
Calls a runnable on the FX application thread and waits for it and
consecutive events to execute.
|
<T> FxRobot |
interactNoWait(java.util.concurrent.Callable<T> callable)
Calls a callable on the FX application thread and waits for it to
execute.
|
FxRobot |
interactNoWait(java.lang.Runnable runnable)
Calls a runnable on the FX application thread and waits for it to
execute.
|
FxRobot |
interrupt()
Calls
WaitForAsyncUtils.waitForFxEvents() and returns itself for method chaining. |
FxRobot |
interrupt(int attemptsCount)
Calls
WaitForAsyncUtils.waitForFxEvents(int) and returns itself for method chaining. |
java.util.List<javafx.stage.Window> |
listTargetWindows()
Calls
WindowFinder.listTargetWindows() and returns itself for method chaining. |
java.util.List<javafx.stage.Window> |
listWindows()
Calls
WindowFinder.listWindows() ()} and returns itself for method chaining. |
<T extends javafx.scene.Node> |
lookup(org.hamcrest.Matcher<T> matcher)
Convenience method: Calls
NodeFinder.lookup(Matcher) and returns itself for method chaining. |
<T extends javafx.scene.Node> |
lookup(java.util.function.Predicate<T> predicate)
Convenience method: Calls
NodeFinder.lookup(Predicate) and returns itself for method chaining. |
NodeQuery |
lookup(java.lang.String query)
Convenience method: Calls
NodeFinder.lookup(String) and returns itself for method chaining. |
FxRobot |
moveBy(double x,
double y,
Motion motion)
Calls
MoveRobot.moveBy(double, double, Motion) and returns itself for more method
chaining. |
FxRobot |
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 |
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> |
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 |
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 |
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 |
moveTo(PointQuery pointQuery,
Motion motion)
Calls
MoveRobot.moveTo(PointQuery, Motion) and returns itself for more method chaining. |
<T extends javafx.scene.Node> |
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 |
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 |
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 |
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. |
PointQuery |
offset(javafx.geometry.Bounds bounds,
double offsetX,
double offsetY)
Convenience method: Calls
FxRobotInterface.point(Bounds) and sets the query's offset by the given offset values. |
<T extends javafx.scene.Node> |
offset(org.hamcrest.Matcher<T> matcher,
double offsetX,
double offsetY)
Convenience method: Calls
FxRobotInterface.point(Matcher) and sets the query's offset by the given offset values. |
PointQuery |
offset(javafx.scene.Node node,
double offsetX,
double offsetY)
Convenience method: Calls
FxRobotInterface.point(Node) and sets the query's offset by the given offset values. |
PointQuery |
offset(javafx.scene.Node node,
javafx.geometry.Pos offsetReferencePos,
double offsetX,
double offsetY)
Convenience method: Calls
FxRobotInterface.point(Node) and sets the query's offset by the given offset values
where the offset is computed with respect to the given offset reference position. |
PointQuery |
offset(javafx.geometry.Point2D point,
double offsetX,
double offsetY)
Convenience method: Calls
FxRobotInterface.point(Point2D) and sets the query's offset by the given offset values. |
<T extends javafx.scene.Node> |
offset(java.util.function.Predicate<T> predicate,
double offsetX,
double offsetY)
Convenience method: Calls
FxRobotInterface.point(Predicate) and sets the query's offset by the given offset values. |
PointQuery |
offset(javafx.scene.Scene scene,
double offsetX,
double offsetY)
Convenience method: Calls
FxRobotInterface.point(Scene) and sets the query's offset by the given offset values. |
PointQuery |
offset(java.lang.String query,
double offsetX,
double offsetY)
Convenience method: Calls
FxRobotInterface.point(String) and sets the query's offset by the given offset values. |
PointQuery |
offset(javafx.stage.Window window,
double offsetX,
double offsetY)
Convenience method: Calls
FxRobotInterface.point(Window) and sets the query's offset by the given offset values. |
PointQuery |
point(javafx.geometry.Bounds bounds)
Calls
PointLocator.point(Bounds) and sets the PointQuery's
PointQuery.getPosition() to FxRobotContext.getPointPosition(). |
PointQuery |
point(double x,
double y)
Calls
PointLocator.point(Point2D) using new Point2D(x, y) and sets
the PointQuery's PointQuery.getPosition() to FxRobotContext.getPointPosition(). |
<T extends javafx.scene.Node> |
point(org.hamcrest.Matcher<T> matcher)
Convenience method: Tries to find a given node via
FxRobotInterface.lookup(Matcher) before calling FxRobotInterface.point(Node),
throwing a FxRobotException if no node is found. |
PointQuery |
point(javafx.scene.Node node)
Calls
PointLocator.point(Node) and sets the PointQuery's
PointQuery.getPosition() to FxRobotContext.getPointPosition(). |
PointQuery |
point(javafx.geometry.Point2D point)
Calls
PointLocator.point(Point2D) and sets the PointQuery's
PointQuery.getPosition() to FxRobotContext.getPointPosition(). |
<T extends javafx.scene.Node> |
point(java.util.function.Predicate<T> predicate)
Convenience method: Tries to find a given node via
FxRobotInterface.lookup(Predicate) before calling
FxRobotInterface.point(Node), throwing a FxRobotException if no node is found. |
PointQuery |
point(javafx.scene.Scene scene)
Calls
PointLocator.point(Scene) and sets the PointQuery's
PointQuery.getPosition() to FxRobotContext.getPointPosition(). |
PointQuery |
point(java.lang.String query)
Convenience method: Tries to find a given node via
FxRobotInterface.lookup(String) before calling FxRobotInterface.point(Node),
throwing a FxRobotException if no node is found. |
PointQuery |
point(javafx.stage.Window window)
Calls
PointLocator.point(Window) and sets the PointQuery's
PointQuery.getPosition() to FxRobotContext.getPointPosition(). |
FxRobot |
press(javafx.scene.input.KeyCode... keys)
Calls
KeyboardRobot.press(KeyCode...) and returns itself for method chaining. |
FxRobot |
press(javafx.scene.input.MouseButton... buttons)
Presses and holds mouse buttons.
|
FxRobot |
push(javafx.scene.input.KeyCode... combination)
Calls
TypeRobot.push(KeyCode...) and returns itself for more method chaining. |
FxRobot |
push(javafx.scene.input.KeyCodeCombination combination)
Calls
TypeRobot.push(KeyCodeCombination) and returns itself for more method chaining. |
FxRobot |
release(javafx.scene.input.KeyCode... keys)
Calls
KeyboardRobot.press(KeyCode...) and returns itself for method chaining. |
FxRobot |
release(javafx.scene.input.MouseButton... buttons)
Releases pressed mouse buttons.
|
FxRobot |
rightClickOn()
Convenience method: Clicks the
MouseButton.SECONDARY button and returns itself for method chaining. |
FxRobot |
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 |
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> |
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 |
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 |
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 |
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> |
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 |
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 |
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 |
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. |
FxRobotContext |
robotContext()
Returns the internal context.
|
javafx.scene.Node |
rootNode(javafx.scene.Node node)
Calls
NodeFinder.rootNode(Node) and returns itself for method chaining. |
javafx.scene.Node |
rootNode(javafx.scene.Scene scene)
Calls
NodeFinder.rootNode(Scene) and returns itself for method chaining. |
javafx.scene.Node |
rootNode(javafx.stage.Window window)
Calls
NodeFinder.rootNode(Window) and returns itself for method chaining. |
FxRobot |
scroll(javafx.geometry.HorizontalDirection direction)
Calls
ScrollRobot.scroll(int, VerticalDirection) with arguments 1 and
direction and returns itself for more method chaining. |
FxRobot |
scroll(int amount)
Deprecated.
|
FxRobot |
scroll(int amount,
javafx.geometry.HorizontalDirection direction)
Calls
ScrollRobot.scroll(int, HorizontalDirection) and returns itself for more method
chaining. |
FxRobot |
scroll(int amount,
javafx.geometry.VerticalDirection direction)
Calls
ScrollRobot.scroll(int, VerticalDirection) and returns itself for more method
chaining. |
FxRobot |
scroll(javafx.geometry.VerticalDirection direction)
Calls
ScrollRobot.scroll(int, VerticalDirection) with arguments 1 and
direction and returns itself for more method chaining. |
FxRobot |
sleep(long milliseconds)
Calls
SleepRobot.sleep(long) and returns itself for more method chaining. |
FxRobot |
sleep(long duration,
java.util.concurrent.TimeUnit timeUnit)
Calls
SleepRobot.sleep(long, TimeUnit) and returns itself for more method chaining. |
FxRobot |
targetPos(javafx.geometry.Pos pointPosition)
Stores the given position as the position to be used in all
point()-related methods
such as FxRobotInterface.point(Node) and FxRobotInterface.point(Point2D), and returns itself for method chaining. |
javafx.stage.Window |
targetWindow()
Calls
WindowFinder.targetWindow() and returns itself for method chaining. |
FxRobot |
targetWindow(int windowNumber)
Convenience method: Calls
WindowFinder.targetWindow(int) and returns itself for method chaining. |
FxRobot |
targetWindow(javafx.scene.Node node)
Convenience method: Calls
WindowFinder.targetWindow(Node) and returns itself for method chaining. |
FxRobot |
targetWindow(java.util.regex.Pattern stageTitlePattern)
Convenience method: Calls
WindowFinder.targetWindow(Pattern) and returns itself for method chaining. |
FxRobot |
targetWindow(java.util.function.Predicate<javafx.stage.Window> predicate)
Calls
WindowFinder.targetWindow(Predicate) and returns itself for method chaining. |
FxRobot |
targetWindow(javafx.scene.Scene scene)
Convenience method: Calls
WindowFinder.targetWindow(Scene) and returns itself for method chaining. |
FxRobot |
targetWindow(java.lang.String stageTitleRegex)
Convenience method: Calls
WindowFinder.targetWindow(String) and returns itself for method chaining. |
FxRobot |
targetWindow(javafx.stage.Window window)
Calls
WindowFinder.targetWindow(Window) and returns itself for method chaining. |
FxRobot |
type(javafx.scene.input.KeyCode... keyCodes)
Calls
TypeRobot.type(KeyCode...) and returns itself for more method chaining. |
FxRobot |
type(javafx.scene.input.KeyCode keyCode,
int times)
Calls
TypeRobot.type(KeyCode, int) and returns itself for more method chaining. |
javafx.stage.Window |
window(int windowIndex)
Convenience method: Calls
WindowFinder.window(int) and returns itself for method chaining. |
javafx.stage.Window |
window(javafx.scene.Node node)
Convenience method: Calls
WindowFinder.window(Node) and returns itself for method chaining. |
javafx.stage.Window |
window(java.util.regex.Pattern stageTitlePattern)
Convenience method: Calls
WindowFinder.window(Pattern) and returns itself for method chaining. |
javafx.stage.Window |
window(java.util.function.Predicate<javafx.stage.Window> predicate)
Calls
WindowFinder.window(Predicate) and returns itself for method chaining. |
javafx.stage.Window |
window(javafx.scene.Scene scene)
Convenience method: Calls
WindowFinder.window(Scene) and returns itself for method chaining. |
javafx.stage.Window |
window(java.lang.String stageTitleRegex)
Convenience method: Calls
WindowFinder.window(String) and returns itself for method chaining. |
FxRobot |
write(char character)
Calls
WriteRobot.write(char) and returns itself for more method chaining. |
FxRobot |
write(java.lang.String text)
Calls
WriteRobot.write(String) and returns itself for more method chaining. |
FxRobot |
write(java.lang.String text,
int sleepMillis)
Calls
WriteRobot.write(String, int) and returns itself for more method chaining. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclickOn, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, moveBy, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, offset, offset, offset, offset, offset, offset, offset, offset, offset, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOnpublic FxRobot()
targetPos(Pos) to Pos.CENTER.public FxRobotContext robotContext()
public javafx.stage.Window targetWindow()
FxRobotInterfaceWindowFinder.targetWindow() and returns itself for method chaining.targetWindow in interface FxRobotInterfacepublic FxRobot targetWindow(javafx.stage.Window window)
FxRobotInterfaceWindowFinder.targetWindow(Window) and returns itself for method chaining.targetWindow in interface FxRobotInterfacepublic FxRobot targetWindow(java.util.function.Predicate<javafx.stage.Window> predicate)
FxRobotInterfaceWindowFinder.targetWindow(Predicate) and returns itself for method chaining.targetWindow in interface FxRobotInterfacepublic FxRobot targetWindow(int windowNumber)
FxRobotInterfaceWindowFinder.targetWindow(int) and returns itself for method chaining.targetWindow in interface FxRobotInterfacepublic FxRobot targetWindow(java.lang.String stageTitleRegex)
FxRobotInterfaceWindowFinder.targetWindow(String) and returns itself for method chaining.targetWindow in interface FxRobotInterfacepublic FxRobot targetWindow(java.util.regex.Pattern stageTitlePattern)
FxRobotInterfaceWindowFinder.targetWindow(Pattern) and returns itself for method chaining.targetWindow in interface FxRobotInterfacepublic FxRobot targetWindow(javafx.scene.Scene scene)
FxRobotInterfaceWindowFinder.targetWindow(Scene) and returns itself for method chaining.targetWindow in interface FxRobotInterfacepublic FxRobot targetWindow(javafx.scene.Node node)
FxRobotInterfaceWindowFinder.targetWindow(Node) and returns itself for method chaining.targetWindow in interface FxRobotInterfacepublic java.util.List<javafx.stage.Window> listWindows()
FxRobotInterfaceWindowFinder.listWindows() ()} and returns itself for method chaining.listWindows in interface FxRobotInterfacepublic java.util.List<javafx.stage.Window> listTargetWindows()
FxRobotInterfaceWindowFinder.listTargetWindows() and returns itself for method chaining.listTargetWindows in interface FxRobotInterfacepublic javafx.stage.Window window(java.util.function.Predicate<javafx.stage.Window> predicate)
FxRobotInterfaceWindowFinder.window(Predicate) and returns itself for method chaining.window in interface FxRobotInterfacepublic javafx.stage.Window window(int windowIndex)
FxRobotInterfaceWindowFinder.window(int) and returns itself for method chaining.window in interface FxRobotInterfacepublic javafx.stage.Window window(java.lang.String stageTitleRegex)
FxRobotInterfaceWindowFinder.window(String) and returns itself for method chaining.window in interface FxRobotInterfacepublic javafx.stage.Window window(java.util.regex.Pattern stageTitlePattern)
FxRobotInterfaceWindowFinder.window(Pattern) and returns itself for method chaining.window in interface FxRobotInterfacepublic javafx.stage.Window window(javafx.scene.Scene scene)
FxRobotInterfaceWindowFinder.window(Scene) and returns itself for method chaining.window in interface FxRobotInterfacepublic javafx.stage.Window window(javafx.scene.Node node)
FxRobotInterfaceWindowFinder.window(Node) and returns itself for method chaining.window in interface FxRobotInterfacepublic NodeQuery fromAll()
FxRobotInterfaceNodeFinder.fromAll() and returns itself for method chaining.fromAll in interface FxRobotInterfacepublic NodeQuery from(javafx.scene.Node... parentNodes)
FxRobotInterfaceNodeFinder.from(Node...) and returns itself for method chaining.from in interface FxRobotInterfacepublic NodeQuery from(java.util.Collection<javafx.scene.Node> parentNodes)
FxRobotInterfaceNodeFinder.from(Collection) and returns itself for method chaining.from in interface FxRobotInterfacepublic NodeQuery from(NodeQuery nodeQuery)
FxRobotInterfaceNodeFinder.from(NodeQuery) and returns itself for method chaining.from in interface FxRobotInterfacepublic NodeQuery lookup(java.lang.String query)
FxRobotInterfaceNodeFinder.lookup(String) and returns itself for method chaining.lookup in interface FxRobotInterfacepublic <T extends javafx.scene.Node> NodeQuery lookup(org.hamcrest.Matcher<T> matcher)
FxRobotInterfaceNodeFinder.lookup(Matcher) and returns itself for method chaining.lookup in interface FxRobotInterfacepublic <T extends javafx.scene.Node> NodeQuery lookup(java.util.function.Predicate<T> predicate)
FxRobotInterfaceNodeFinder.lookup(Predicate) and returns itself for method chaining.lookup in interface FxRobotInterfacepublic javafx.scene.Node rootNode(javafx.stage.Window window)
FxRobotInterfaceNodeFinder.rootNode(Window) and returns itself for method chaining.rootNode in interface FxRobotInterfacepublic javafx.scene.Node rootNode(javafx.scene.Scene scene)
FxRobotInterfaceNodeFinder.rootNode(Scene) and returns itself for method chaining.rootNode in interface FxRobotInterfacepublic javafx.scene.Node rootNode(javafx.scene.Node node)
FxRobotInterfaceNodeFinder.rootNode(Node) and returns itself for method chaining.rootNode in interface FxRobotInterfacepublic BoundsQuery bounds(double minX, double minY, double width, double height)
FxRobotInterfacebounds in interface FxRobotInterfacepublic BoundsQuery bounds(javafx.geometry.Point2D point)
FxRobotInterfacebounds in interface FxRobotInterfacepublic BoundsQuery bounds(javafx.geometry.Bounds bounds)
FxRobotInterfaceBoundsQuery that returns the given boundsbounds in interface FxRobotInterfacepublic BoundsQuery bounds(javafx.scene.Node node)
FxRobotInterfacebounds in interface FxRobotInterfacepublic BoundsQuery bounds(javafx.scene.Scene scene)
FxRobotInterfaceBoundsQueryUtils.boundsOnScreen(Bounds, Scene) with given scene's boundsbounds in interface FxRobotInterfacepublic BoundsQuery bounds(javafx.stage.Window window)
FxRobotInterfaceBoundsQueryUtils.boundsOnScreen(Bounds, Window) with the given window's boundsbounds in interface FxRobotInterfacepublic BoundsQuery bounds(java.lang.String query)
FxRobotInterfacebounds in interface FxRobotInterfacepublic <T extends javafx.scene.Node> BoundsQuery bounds(org.hamcrest.Matcher<T> matcher)
FxRobotInterfacebounds in interface FxRobotInterfacepublic <T extends javafx.scene.Node> BoundsQuery bounds(java.util.function.Predicate<T> predicate)
FxRobotInterfacebounds in interface FxRobotInterfacepublic FxRobot targetPos(javafx.geometry.Pos pointPosition)
FxRobotInterfacepoint()-related methods
such as FxRobotInterface.point(Node) and FxRobotInterface.point(Point2D), and returns itself for method chaining.
The default value is Pos.CENTERtargetPos in interface FxRobotInterfacepublic PointQuery point(double x, double y)
FxRobotInterfacePointLocator.point(Point2D) using new Point2D(x, y) and sets
the PointQuery's PointQuery.getPosition() to FxRobotContext.getPointPosition().point in interface FxRobotInterfacepublic PointQuery point(javafx.geometry.Point2D point)
FxRobotInterfacePointLocator.point(Point2D) and sets the PointQuery's
PointQuery.getPosition() to FxRobotContext.getPointPosition().point in interface FxRobotInterfacepublic PointQuery point(javafx.geometry.Bounds bounds)
FxRobotInterfacePointLocator.point(Bounds) and sets the PointQuery's
PointQuery.getPosition() to FxRobotContext.getPointPosition().point in interface FxRobotInterfacepublic PointQuery point(javafx.scene.Node node)
FxRobotInterfacePointLocator.point(Node) and sets the PointQuery's
PointQuery.getPosition() to FxRobotContext.getPointPosition().point in interface FxRobotInterfacepublic PointQuery point(javafx.scene.Scene scene)
FxRobotInterfacePointLocator.point(Scene) and sets the PointQuery's
PointQuery.getPosition() to FxRobotContext.getPointPosition().point in interface FxRobotInterfacepublic PointQuery point(javafx.stage.Window window)
FxRobotInterfacePointLocator.point(Window) and sets the PointQuery's
PointQuery.getPosition() to FxRobotContext.getPointPosition().point in interface FxRobotInterfacepublic PointQuery point(java.lang.String query)
FxRobotInterfaceFxRobotInterface.lookup(String) before calling FxRobotInterface.point(Node),
throwing a FxRobotException if no node is found.point in interface FxRobotInterfacepublic <T extends javafx.scene.Node> PointQuery point(org.hamcrest.Matcher<T> matcher)
FxRobotInterfaceFxRobotInterface.lookup(Matcher) before calling FxRobotInterface.point(Node),
throwing a FxRobotException if no node is found.point in interface FxRobotInterfacepublic <T extends javafx.scene.Node> PointQuery point(java.util.function.Predicate<T> predicate)
FxRobotInterfaceFxRobotInterface.lookup(Predicate) before calling
FxRobotInterface.point(Node), throwing a FxRobotException if no node is found.point in interface FxRobotInterfacepublic PointQuery offset(javafx.geometry.Point2D point, double offsetX, double offsetY)
FxRobotInterfaceFxRobotInterface.point(Point2D) and sets the query's offset by the given offset values.offset in interface FxRobotInterfacepublic PointQuery offset(javafx.geometry.Bounds bounds, double offsetX, double offsetY)
FxRobotInterfaceFxRobotInterface.point(Bounds) and sets the query's offset by the given offset values.offset in interface FxRobotInterfacepublic PointQuery offset(javafx.scene.Node node, double offsetX, double offsetY)
FxRobotInterfaceFxRobotInterface.point(Node) and sets the query's offset by the given offset values.offset in interface FxRobotInterfacepublic PointQuery offset(javafx.scene.Node node, javafx.geometry.Pos offsetReferencePos, double offsetX, double offsetY)
FxRobotInterfaceFxRobotInterface.point(Node) and sets the query's offset by the given offset values
where the offset is computed with respect to the given offset reference position.offset in interface FxRobotInterfacepublic PointQuery offset(javafx.scene.Scene scene, double offsetX, double offsetY)
FxRobotInterfaceFxRobotInterface.point(Scene) and sets the query's offset by the given offset values.offset in interface FxRobotInterfacepublic PointQuery offset(javafx.stage.Window window, double offsetX, double offsetY)
FxRobotInterfaceFxRobotInterface.point(Window) and sets the query's offset by the given offset values.offset in interface FxRobotInterfacepublic PointQuery offset(java.lang.String query, double offsetX, double offsetY)
FxRobotInterfaceFxRobotInterface.point(String) and sets the query's offset by the given offset values.offset in interface FxRobotInterfacepublic <T extends javafx.scene.Node> PointQuery offset(org.hamcrest.Matcher<T> matcher, double offsetX, double offsetY)
FxRobotInterfaceFxRobotInterface.point(Matcher) and sets the query's offset by the given offset values.offset in interface FxRobotInterfacepublic <T extends javafx.scene.Node> PointQuery offset(java.util.function.Predicate<T> predicate, double offsetX, double offsetY)
FxRobotInterfaceFxRobotInterface.point(Predicate) and sets the query's offset by the given offset values.offset in interface FxRobotInterfacepublic Capture capture(javafx.geometry.Rectangle2D screenRegion)
FxRobotInterfaceCapture that supplies a screenshot using the given rectangle's bounds.capture in interface FxRobotInterfacepublic Capture capture(javafx.geometry.Bounds bounds)
FxRobotInterfaceCapture that supplies a screenshot using the given bounds.capture in interface FxRobotInterfacepublic Capture capture(javafx.scene.Node node)
FxRobotInterfaceCapture that supplies a screenshot using the given node's bounds.capture in interface FxRobotInterfacepublic Capture capture(javafx.scene.image.Image image)
FxRobotInterfaceCapture that supplies the given Image.capture in interface FxRobotInterfacepublic Capture capture(java.nio.file.Path path)
FxRobotInterfaceCapture that supplies the Image from the image file of the
given Path.capture in interface FxRobotInterfacepublic Capture capture(java.net.URL url)
FxRobotInterfacecapture in interface FxRobotInterfacepublic FxRobot interact(java.lang.Runnable runnable)
FxRobotInterfaceinteract in interface FxRobotInterfacerunnable - the runnablepublic <T> FxRobot interact(java.util.concurrent.Callable<T> callable)
FxRobotInterfaceinteract in interface FxRobotInterfacecallable - the callablepublic FxRobot interactNoWait(java.lang.Runnable runnable)
FxRobotInterfaceinteractNoWait in interface FxRobotInterfacerunnable - the runnablepublic <T> FxRobot interactNoWait(java.util.concurrent.Callable<T> callable)
FxRobotInterfaceinteractNoWait in interface FxRobotInterfacecallable - the callablepublic FxRobot interrupt()
FxRobotInterfaceWaitForAsyncUtils.waitForFxEvents() and returns itself for method chaining.interrupt in interface FxRobotInterfacepublic FxRobot interrupt(int attemptsCount)
FxRobotInterfaceWaitForAsyncUtils.waitForFxEvents(int) and returns itself for method chaining.interrupt in interface FxRobotInterfacepublic FxRobot push(javafx.scene.input.KeyCode... combination)
FxRobotInterfaceTypeRobot.push(KeyCode...) and returns itself for more method chaining.push in interface FxRobotInterfacepublic FxRobot push(javafx.scene.input.KeyCodeCombination combination)
FxRobotInterfaceTypeRobot.push(KeyCodeCombination) and returns itself for more method chaining.push in interface FxRobotInterfacepublic FxRobot type(javafx.scene.input.KeyCode... keyCodes)
FxRobotInterfaceTypeRobot.type(KeyCode...) and returns itself for more method chaining.type in interface FxRobotInterfacepublic FxRobot type(javafx.scene.input.KeyCode keyCode, int times)
FxRobotInterfaceTypeRobot.type(KeyCode, int) and returns itself for more method chaining.type in interface FxRobotInterfacepublic FxRobot eraseText(int amount)
FxRobotInterfaceTypeRobot.type(KeyCode, int) with KeyCode.BACK_SPACE
and returns itself for more method chaining.eraseText in interface FxRobotInterface@Deprecated public FxRobot closeCurrentWindow()
public FxRobot write(char character)
FxRobotInterfaceWriteRobot.write(char) and returns itself for more method chaining.write in interface FxRobotInterfacepublic FxRobot write(java.lang.String text)
FxRobotInterfaceWriteRobot.write(String) and returns itself for more method chaining.write in interface FxRobotInterfacepublic FxRobot write(java.lang.String text, int sleepMillis)
FxRobotInterfaceWriteRobot.write(String, int) and returns itself for more method chaining.write in interface FxRobotInterfacepublic FxRobot sleep(long milliseconds)
FxRobotInterfaceSleepRobot.sleep(long) and returns itself for more method chaining.sleep in interface FxRobotInterfacepublic FxRobot sleep(long duration, java.util.concurrent.TimeUnit timeUnit)
FxRobotInterfaceSleepRobot.sleep(long, TimeUnit) and returns itself for more method chaining.sleep in interface FxRobotInterface@Deprecated public FxRobot scroll(int amount)
FxRobotInterfaceScrollRobot.scroll(int) and returns itself for more method chaining.scroll in interface FxRobotInterfacepublic FxRobot scroll(int amount, javafx.geometry.VerticalDirection direction)
FxRobotInterfaceScrollRobot.scroll(int, VerticalDirection) and returns itself for more method
chaining.scroll in interface FxRobotInterfacepublic FxRobot scroll(javafx.geometry.VerticalDirection direction)
FxRobotInterfaceScrollRobot.scroll(int, VerticalDirection) with arguments 1 and
direction and returns itself for more method chaining.scroll in interface FxRobotInterfacepublic FxRobot scroll(int amount, javafx.geometry.HorizontalDirection direction)
FxRobotInterfaceScrollRobot.scroll(int, HorizontalDirection) and returns itself for more method
chaining.scroll in interface FxRobotInterfacepublic FxRobot scroll(javafx.geometry.HorizontalDirection direction)
FxRobotInterfaceScrollRobot.scroll(int, VerticalDirection) with arguments 1 and
direction and returns itself for more method chaining.scroll in interface FxRobotInterfacepublic FxRobot press(javafx.scene.input.KeyCode... keys)
FxRobotInterfaceKeyboardRobot.press(KeyCode...) and returns itself for method chaining.press in interface FxRobotInterfacepublic FxRobot release(javafx.scene.input.KeyCode... keys)
FxRobotInterfaceKeyboardRobot.press(KeyCode...) and returns itself for method chaining.release in interface FxRobotInterfacepublic FxRobot press(javafx.scene.input.MouseButton... buttons)
FxRobotInterfacepress in interface FxRobotInterfacebuttons - mouse buttons to press, defaults to primary mouse button.public FxRobot release(javafx.scene.input.MouseButton... buttons)
FxRobotInterfacerelease in interface FxRobotInterfacebuttons - mouse buttons to release, defaults to all pressed mouse buttons.public FxRobot clickOn(javafx.scene.input.MouseButton... buttons)
FxRobotInterfaceClickRobot.clickOn(MouseButton...) and returns itself for more method chaining.clickOn in interface FxRobotInterfacepublic FxRobot clickOn(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobotInterfaceClickRobot.clickOn(PointQuery, MouseButton...) and returns itself for more method
chaining.clickOn in interface FxRobotInterfacepublic FxRobot doubleClickOn(javafx.scene.input.MouseButton... buttons)
FxRobotInterfaceClickRobot.doubleClickOn(MouseButton...) and returns itself for more method
chaining.doubleClickOn in interface FxRobotInterfacepublic FxRobot doubleClickOn(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobotInterfaceClickRobot.doubleClickOn(PointQuery, Motion, MouseButton...) and returns itself
for method chaining.doubleClickOn in interface FxRobotInterfacepublic FxRobot clickOn(double x, double y, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobotInterfacemotion (see: Motion to the given coordinates,
clicks the given buttons, and returns itself for method chaining.clickOn in interface FxRobotInterfacepublic FxRobot clickOn(javafx.geometry.Point2D point, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobotInterfacemotion (see: Motion to the given point, clicks
the given buttons, and returns itself for method chaining.clickOn in interface FxRobotInterfacepublic FxRobot clickOn(javafx.geometry.Bounds bounds, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobotInterfacemotion (see: Motion to the point returned
from FxRobotInterface.point(Bounds), clicks the given buttons, and returns itself for method chaining.clickOn in interface FxRobotInterfacepublic FxRobot clickOn(javafx.scene.Node node, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Node), clicks the given buttons, and returns itself for method chaining.clickOn in interface FxRobotInterfacepublic FxRobot clickOn(javafx.scene.Scene scene, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Scene), clicks the given buttons, and returns itself for method chaining.clickOn in interface FxRobotInterfacepublic FxRobot clickOn(javafx.stage.Window window, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Window), clicks the given buttons, and returns itself for method chaining.clickOn in interface FxRobotInterfacepublic FxRobot clickOn(java.lang.String query, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(String), clicks the given buttons, and returns itself for method chaining.clickOn in interface FxRobotInterfacepublic <T extends javafx.scene.Node> FxRobot clickOn(org.hamcrest.Matcher<T> matcher, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Matcher), clicks the given buttons, and returns itself for method chaining.clickOn in interface FxRobotInterfacepublic <T extends javafx.scene.Node> FxRobot clickOn(java.util.function.Predicate<T> predicate, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Predicate), clicks the given buttons, and returns itself for method chaining.clickOn in interface FxRobotInterfacepublic FxRobot rightClickOn()
FxRobotInterfaceMouseButton.SECONDARY button and returns itself for method chaining.rightClickOn in interface FxRobotInterfacepublic FxRobot rightClickOn(PointQuery pointQuery, Motion motion)
FxRobotInterfacemotion (see: Motion to the point returned from
PointQuery.query(), clicks the MouseButton.SECONDARY button and returns itself for method
chaining.rightClickOn in interface FxRobotInterfacepublic FxRobot rightClickOn(double x, double y, Motion motion)
FxRobotInterfacemotion (see: Motion to the given coordinates,
clicks the MouseButton.SECONDARY button, and returns itself for method chaining.rightClickOn in interface FxRobotInterfacepublic FxRobot rightClickOn(javafx.geometry.Point2D point, Motion motion)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Point2D), clicks the MouseButton.SECONDARY button, and returns itself for method
chaining.rightClickOn in interface FxRobotInterfacepublic FxRobot rightClickOn(javafx.geometry.Bounds bounds, Motion motion)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Bounds), clicks the MouseButton.SECONDARY button, and returns itself for method chaining.rightClickOn in interface FxRobotInterfacepublic FxRobot rightClickOn(javafx.scene.Node node, Motion motion)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Node), clicks the MouseButton.SECONDARY button, and returns itself for method chaining.rightClickOn in interface FxRobotInterfacepublic FxRobot rightClickOn(javafx.scene.Scene scene, Motion motion)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Scene), clicks the MouseButton.SECONDARY button, and returns itself for method chaining.rightClickOn in interface FxRobotInterfacepublic FxRobot rightClickOn(javafx.stage.Window window, Motion motion)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Window), clicks the MouseButton.SECONDARY button, and returns itself for method chaining.rightClickOn in interface FxRobotInterfacepublic FxRobot rightClickOn(java.lang.String query, Motion motion)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(String), clicks the MouseButton.SECONDARY button, and returns itself for method chaining.rightClickOn in interface FxRobotInterfacepublic <T extends javafx.scene.Node> FxRobot rightClickOn(org.hamcrest.Matcher<T> matcher, Motion motion)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Matcher), clicks the MouseButton.SECONDARY button, and returns itself for method
chaining.rightClickOn in interface FxRobotInterfacepublic <T extends javafx.scene.Node> FxRobot rightClickOn(java.util.function.Predicate<T> predicate, Motion motion)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Predicate), clicks the MouseButton.SECONDARY button, and returns itself for method
chaining.rightClickOn in interface FxRobotInterfacepublic FxRobot doubleClickOn(double x, double y, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(double, double), double clicks the given buttons, and returns itself for method chaining.doubleClickOn in interface FxRobotInterfacepublic FxRobot doubleClickOn(javafx.geometry.Point2D point, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Point2D), double clicks the given buttons, and returns itself for method chaining.doubleClickOn in interface FxRobotInterfacepublic FxRobot doubleClickOn(javafx.geometry.Bounds bounds, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Bounds), double clicks the given buttons, and returns itself for method chaining.doubleClickOn in interface FxRobotInterfacepublic FxRobot doubleClickOn(javafx.scene.Node node, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Node), double clicks the given buttons, and returns itself for method chaining.doubleClickOn in interface FxRobotInterfacepublic FxRobot doubleClickOn(javafx.scene.Scene scene, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Scene), double clicks the given buttons, and returns itself for method chaining.doubleClickOn in interface FxRobotInterfacepublic FxRobot doubleClickOn(javafx.stage.Window window, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Window), double clicks the given buttons, and returns itself for method chaining.doubleClickOn in interface FxRobotInterfacepublic FxRobot doubleClickOn(java.lang.String query, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(String), double clicks the given buttons, and returns itself for method chaining.doubleClickOn in interface FxRobotInterfacepublic <T extends javafx.scene.Node> FxRobot doubleClickOn(org.hamcrest.Matcher<T> matcher, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Matcher), double clicks the given buttons, and returns itself for method chaining.doubleClickOn in interface FxRobotInterfacepublic <T extends javafx.scene.Node> FxRobot doubleClickOn(java.util.function.Predicate<T> predicate, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Predicate), double clicks the given buttons, and returns itself for method chaining.doubleClickOn in interface FxRobotInterfacepublic FxRobot drag(javafx.scene.input.MouseButton... buttons)
FxRobotInterfaceDragRobot.drag(MouseButton...) and returns itself for more method chaining.drag in interface FxRobotInterfacepublic FxRobot drag(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons)
FxRobotInterfaceDragRobot.drag(PointQuery, MouseButton...) and returns itself for more method
chaining.drag in interface FxRobotInterfacepublic FxRobot drop()
FxRobotInterfaceDragRobot.drop() and returns itself for more method chaining.drop in interface FxRobotInterfacepublic FxRobot dropTo(PointQuery pointQuery)
FxRobotInterfaceDragRobot.dropTo(PointQuery) and returns itself for more method chaining.dropTo in interface FxRobotInterfacepublic FxRobot dropBy(double x, double y)
FxRobotInterfaceDragRobot.dropBy(double, double) and returns itself for more method chaining.dropBy in interface FxRobotInterfacepublic FxRobot drag(double x, double y, javafx.scene.input.MouseButton... buttons)
FxRobotInterfaceFxRobotInterface.point(double, double), presses the given
buttons, and returns itself for method chaining.drag in interface FxRobotInterfacepublic FxRobot drag(javafx.geometry.Point2D point, javafx.scene.input.MouseButton... buttons)
FxRobotInterfaceFxRobotInterface.point(Point2D), presses the given
buttons, and returns itself for method chaining.drag in interface FxRobotInterfacepublic FxRobot drag(javafx.geometry.Bounds bounds, javafx.scene.input.MouseButton... buttons)
FxRobotInterfaceFxRobotInterface.point(Bounds), presses the given
buttons, and returns itself for method chaining.drag in interface FxRobotInterfacepublic FxRobot drag(javafx.scene.Node node, javafx.scene.input.MouseButton... buttons)
FxRobotInterfaceFxRobotInterface.point(Node), presses the given
buttons, and returns itself for method chaining.drag in interface FxRobotInterfacepublic FxRobot drag(javafx.scene.Scene scene, javafx.scene.input.MouseButton... buttons)
FxRobotInterfaceFxRobotInterface.point(Scene), presses the given
buttons, and returns itself for method chaining.drag in interface FxRobotInterfacepublic FxRobot drag(javafx.stage.Window window, javafx.scene.input.MouseButton... buttons)
FxRobotInterfaceFxRobotInterface.point(Window), presses the given
buttons, and returns itself for method chaining.drag in interface FxRobotInterfacepublic FxRobot drag(java.lang.String query, javafx.scene.input.MouseButton... buttons)
FxRobotInterfaceFxRobotInterface.point(String), presses the given
buttons, and returns itself for method chaining.drag in interface FxRobotInterfacepublic <T extends javafx.scene.Node> FxRobot drag(org.hamcrest.Matcher<T> matcher, javafx.scene.input.MouseButton... buttons)
FxRobotInterfaceFxRobotInterface.point(Matcher), presses the given
buttons, and returns itself for method chaining.drag in interface FxRobotInterfacepublic <T extends javafx.scene.Node> FxRobot drag(java.util.function.Predicate<T> predicate, javafx.scene.input.MouseButton... buttons)
FxRobotInterfaceFxRobotInterface.point(Predicate), presses the given
buttons, and returns itself for method chaining.drag in interface FxRobotInterfacepublic FxRobot dropTo(double x, double y)
FxRobotInterfaceFxRobotInterface.point(double, double), releases the buttons
that were pressed in FxRobotInterface.drag(MouseButton...)- or FxRobotInterface.press(MouseButton...)-related methods,
and returns itself for method chaining.dropTo in interface FxRobotInterfacepublic FxRobot dropTo(javafx.geometry.Point2D point)
FxRobotInterfaceFxRobotInterface.point(Point2D), releases the buttons
that were pressed in FxRobotInterface.drag(MouseButton...)- or FxRobotInterface.press(MouseButton...)-related methods,
and returns itself for method chaining.dropTo in interface FxRobotInterfacepublic FxRobot dropTo(javafx.geometry.Bounds bounds)
FxRobotInterfaceFxRobotInterface.point(Bounds), releases the buttons
that were pressed in FxRobotInterface.drag(MouseButton...)- or FxRobotInterface.press(MouseButton...)-related methods,
and returns itself for method chaining.dropTo in interface FxRobotInterfacepublic FxRobot dropTo(javafx.scene.Node node)
FxRobotInterfaceFxRobotInterface.point(Node), releases the buttons
that were pressed in FxRobotInterface.drag(MouseButton...)- or FxRobotInterface.press(MouseButton...)-related methods,
and returns itself for method chaining.dropTo in interface FxRobotInterfacepublic FxRobot dropTo(javafx.scene.Scene scene)
FxRobotInterfaceFxRobotInterface.point(Scene), releases the buttons
that were pressed in FxRobotInterface.drag(MouseButton...)- or FxRobotInterface.press(MouseButton...)-related methods,
and returns itself for method chaining.dropTo in interface FxRobotInterfacepublic FxRobot dropTo(javafx.stage.Window window)
FxRobotInterfaceFxRobotInterface.point(Window), releases the buttons
that were pressed in FxRobotInterface.drag(MouseButton...)- or FxRobotInterface.press(MouseButton...)-related methods,
and returns itself for method chaining.dropTo in interface FxRobotInterfacepublic FxRobot dropTo(java.lang.String query)
FxRobotInterfaceFxRobotInterface.point(String), releases the buttons
that were pressed in FxRobotInterface.drag(MouseButton...)- or FxRobotInterface.press(MouseButton...)-related methods,
and returns itself for method chaining.dropTo in interface FxRobotInterfacepublic <T extends javafx.scene.Node> FxRobot dropTo(org.hamcrest.Matcher<T> matcher)
FxRobotInterfaceFxRobotInterface.point(Matcher), releases the buttons
that were pressed in FxRobotInterface.drag(MouseButton...)- or FxRobotInterface.press(MouseButton...)-related methods,
and returns itself for method chaining.dropTo in interface FxRobotInterfacepublic <T extends javafx.scene.Node> FxRobot dropTo(java.util.function.Predicate<T> predicate)
FxRobotInterfaceFxRobotInterface.point(Predicate), releases the buttons
that were pressed in FxRobotInterface.drag(MouseButton...)- or FxRobotInterface.press(MouseButton...)-related methods,
and returns itself for method chaining.dropTo in interface FxRobotInterfacepublic FxRobot moveTo(PointQuery pointQuery, Motion motion)
FxRobotInterfaceMoveRobot.moveTo(PointQuery, Motion) and returns itself for more method chaining.moveTo in interface FxRobotInterfacepublic FxRobot moveBy(double x, double y, Motion motion)
FxRobotInterfaceMoveRobot.moveBy(double, double, Motion) and returns itself for more method
chaining.moveBy in interface FxRobotInterfacepublic FxRobot moveTo(double x, double y, Motion motion)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(double, double) and returns itself for method chaining.moveTo in interface FxRobotInterfacepublic FxRobot moveTo(javafx.geometry.Point2D point, Motion motion)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Point2D) and returns itself for method chaining.moveTo in interface FxRobotInterfacepublic FxRobot moveTo(javafx.geometry.Bounds bounds, Motion motion)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Bounds) and returns itself for method chaining.moveTo in interface FxRobotInterfacepublic FxRobot moveTo(javafx.scene.Node node, javafx.geometry.Pos offsetReferencePos, javafx.geometry.Point2D offset, Motion motion)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Node), with the given offset (from the offsetReferencePos, and returns itself for
method chaining.moveTo in interface FxRobotInterfacepublic FxRobot moveTo(javafx.scene.Scene scene, Motion motion)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Scene) and returns itself for method chaining.moveTo in interface FxRobotInterfacepublic FxRobot moveTo(javafx.stage.Window window, Motion motion)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Window) and returns itself for method chaining.moveTo in interface FxRobotInterfacepublic FxRobot moveTo(java.lang.String query, Motion motion)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(String) and returns itself for method chaining.moveTo in interface FxRobotInterfacepublic <T extends javafx.scene.Node> FxRobot moveTo(org.hamcrest.Matcher<T> matcher, Motion motion)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Matcher) and returns itself for method chaining.moveTo in interface FxRobotInterfacepublic <T extends javafx.scene.Node> FxRobot moveTo(java.util.function.Predicate<T> predicate, Motion motion)
FxRobotInterfacemotion (see: Motion to the point returned from
FxRobotInterface.point(Predicate) and returns itself for method chaining.moveTo in interface FxRobotInterface