@Unstable(reason="interface was recently added") public interface FxRobotInterface
PointQuery
, a Predicate
,
or a Matcher
.Modifier and Type | Method and Description |
---|---|
BoundsQuery |
bounds(Bounds bounds)
Creates a
BoundsQuery that returns the given bounds |
BoundsQuery |
bounds(double minX,
double minY,
double width,
double height)
|
<T extends Node> |
bounds(org.hamcrest.Matcher<T> matcher)
NOT YET IMPLEMENTED
|
BoundsQuery |
bounds(Node node)
|
BoundsQuery |
bounds(Point2D point)
|
<T extends Node> |
bounds(Predicate<T> predicate)
NOT YET IMPLEMENTED
|
BoundsQuery |
bounds(Scene scene)
Calls
BoundsQueryUtils.boundsOnScreen(Bounds, Scene) with given scene's bounds |
BoundsQuery |
bounds(String query)
NOT YET IMPLEMENTED
|
BoundsQuery |
bounds(Window window)
Calls
BoundsQueryUtils.boundsOnScreen(Bounds, Window) with the given window's bounds |
Capture |
capture(Bounds bounds)
Returns a
Capture that supplies a screenshot using the given bounds. |
Capture |
capture(Image image)
|
Capture |
capture(Node node)
Returns a
Capture that supplies a screenshot using the given node's bounds. |
Capture |
capture(Path path)
|
Capture |
capture(Rectangle2D screenRegion)
Returns a
Capture that supplies a screenshot using the given rectangle's bounds. |
Capture |
capture(URL url)
|
FxRobotInterface |
clickOn(Bounds bounds,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned
from point(Bounds) , clicks the given buttons, and returns itself for method chaining. |
default FxRobotInterface |
clickOn(Bounds bounds,
MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned from
point(Bounds) , clicks the given
buttons, and returns itself for method chaining. |
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. |
default FxRobotInterface |
clickOn(double x,
double y,
MouseButton... buttons)
Convenience method: Moves mouse directly to the given coordinates, clicks the given buttons, and returns itself
for method chaining.
|
<T extends Node> |
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
point(Matcher) , clicks the given buttons, and returns itself for method chaining. |
default <T extends Node> |
clickOn(org.hamcrest.Matcher<T> matcher,
MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned from
point(Matcher) , clicks the given
buttons, and returns itself for method chaining. |
FxRobotInterface |
clickOn(MouseButton... buttons)
Calls
ClickRobot.clickOn(MouseButton...) and returns itself for more method chaining. |
FxRobotInterface |
clickOn(Node node,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Node) , clicks the given buttons, and returns itself for method chaining. |
default FxRobotInterface |
clickOn(Node node,
MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned from
point(Node) , clicks the given
buttons, and returns itself for method chaining. |
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. |
default FxRobotInterface |
clickOn(Point2D point,
MouseButton... buttons)
Convenience method: Moves mouse directly to the given point, clicks the given buttons, and returns itself for
method chaining.
|
FxRobotInterface |
clickOn(PointQuery pointQuery,
Motion motion,
MouseButton... buttons)
Calls
ClickRobot.clickOn(PointQuery, MouseButton...) and returns itself for more method
chaining. |
default FxRobotInterface |
clickOn(PointQuery pointQuery,
MouseButton... buttons)
Calls
ClickRobot.clickOn(PointQuery, Motion, MouseButton...) and returns itself for
more method chaining. |
<T extends Node> |
clickOn(Predicate<T> predicate,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Predicate) , clicks the given buttons, and returns itself for method chaining. |
default <T extends Node> |
clickOn(Predicate<T> predicate,
MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned from
point(Predicate) , clicks the given
buttons, and returns itself for method chaining. |
FxRobotInterface |
clickOn(Scene scene,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Scene) , clicks the given buttons, and returns itself for method chaining. |
default FxRobotInterface |
clickOn(Scene scene,
MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned from
point(Scene) , clicks the given
buttons, and returns itself for method chaining. |
FxRobotInterface |
clickOn(String query,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(String) , clicks the given buttons, and returns itself for method chaining. |
default FxRobotInterface |
clickOn(String query,
MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned from
point(String) , clicks the given
buttons, and returns itself for method chaining. |
FxRobotInterface |
clickOn(Window window,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Window) , clicks the given buttons, and returns itself for method chaining. |
default FxRobotInterface |
clickOn(Window window,
MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned from
point(Window) , clicks the given
buttons, and returns itself for method chaining. |
FxRobotInterface |
doubleClickOn(Bounds bounds,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Bounds) , double clicks the given buttons, and returns itself for method chaining. |
default FxRobotInterface |
doubleClickOn(Bounds bounds,
MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned from
point(Bounds) , double
clicks the given buttons, and returns itself for method chaining. |
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
point(double, double) , double clicks the given buttons, and returns itself for method chaining. |
default FxRobotInterface |
doubleClickOn(double x,
double y,
MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned from
point(double, double) , double
clicks the given buttons, and returns itself for method chaining. |
<T extends Node> |
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
point(Matcher) , double clicks the given buttons, and returns itself for method chaining. |
default <T extends Node> |
doubleClickOn(org.hamcrest.Matcher<T> matcher,
MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned from
point(Matcher) , double
clicks the given buttons, and returns itself for method chaining. |
FxRobotInterface |
doubleClickOn(MouseButton... buttons)
Calls
ClickRobot.doubleClickOn(MouseButton...) and returns itself for more method
chaining. |
FxRobotInterface |
doubleClickOn(Node node,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Node) , double clicks the given buttons, and returns itself for method chaining. |
default FxRobotInterface |
doubleClickOn(Node node,
MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned from
point(Node) , double
clicks the given buttons, and returns itself for method chaining. |
FxRobotInterface |
doubleClickOn(Point2D point,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Point2D) , double clicks the given buttons, and returns itself for method chaining. |
default FxRobotInterface |
doubleClickOn(Point2D point,
MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned from
point(Point2D) , double
clicks the given buttons, and returns itself for method chaining. |
FxRobotInterface |
doubleClickOn(PointQuery pointQuery,
Motion motion,
MouseButton... buttons)
Calls
ClickRobot.doubleClickOn(PointQuery, Motion, MouseButton...) and returns itself
for method chaining. |
default FxRobotInterface |
doubleClickOn(PointQuery pointQuery,
MouseButton... buttons)
Calls
ClickRobot.doubleClickOn(PointQuery, Motion, MouseButton...) and returns itself
for method chaining. |
<T extends Node> |
doubleClickOn(Predicate<T> predicate,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Predicate) , double clicks the given buttons, and returns itself for method chaining. |
default <T extends Node> |
doubleClickOn(Predicate<T> predicate,
MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned from
point(Predicate) , double
clicks the given buttons, and returns itself for method chaining. |
FxRobotInterface |
doubleClickOn(Scene scene,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Scene) , double clicks the given buttons, and returns itself for method chaining. |
default FxRobotInterface |
doubleClickOn(Scene scene,
MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned from
point(Scene) , double
clicks the given buttons, and returns itself for method chaining. |
FxRobotInterface |
doubleClickOn(String query,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(String) , double clicks the given buttons, and returns itself for method chaining. |
default FxRobotInterface |
doubleClickOn(String query,
MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned from
point(String) , double
clicks the given buttons, and returns itself for method chaining. |
FxRobotInterface |
doubleClickOn(Window window,
Motion motion,
MouseButton... buttons)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Window) , double clicks the given buttons, and returns itself for method chaining. |
default FxRobotInterface |
doubleClickOn(Window window,
MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned from
point(Window) , double
clicks the given buttons, and returns itself for method chaining. |
FxRobotInterface |
drag(Bounds bounds,
MouseButton... buttons)
Convenience method: Moves mouse to the point returned from
point(Bounds) , presses the given
buttons, and returns itself for method chaining. |
FxRobotInterface |
drag(double x,
double y,
MouseButton... buttons)
Convenience method: Moves mouse to the point returned from
point(double, double) , presses the given
buttons, and returns itself for method chaining. |
<T extends Node> |
drag(org.hamcrest.Matcher<T> matcher,
MouseButton... buttons)
Convenience method: Moves mouse to the point returned from
point(Matcher) , presses the given
buttons, and returns itself for method chaining. |
FxRobotInterface |
drag(MouseButton... buttons)
Calls
DragRobot.drag(MouseButton...) and returns itself for more method chaining. |
FxRobotInterface |
drag(Node node,
MouseButton... buttons)
Convenience method: Moves mouse to the point returned from
point(Node) , presses the given
buttons, and returns itself for method chaining. |
FxRobotInterface |
drag(Point2D point,
MouseButton... buttons)
Convenience method: Moves mouse to the point returned from
point(Point2D) , presses the given
buttons, and returns itself for method chaining. |
FxRobotInterface |
drag(PointQuery pointQuery,
MouseButton... buttons)
Calls
DragRobot.drag(PointQuery, MouseButton...) and returns itself for more method
chaining. |
<T extends Node> |
drag(Predicate<T> predicate,
MouseButton... buttons)
Convenience method: Moves mouse to the point returned from
point(Predicate) , presses the given
buttons, and returns itself for method chaining. |
FxRobotInterface |
drag(Scene scene,
MouseButton... buttons)
Convenience method: Moves mouse to the point returned from
point(Scene) , presses the given
buttons, and returns itself for method chaining. |
FxRobotInterface |
drag(String query,
MouseButton... buttons)
Convenience method: Moves mouse to the point returned from
point(String) , presses the given
buttons, and returns itself for method chaining. |
FxRobotInterface |
drag(Window window,
MouseButton... buttons)
Convenience method: Moves mouse to the point returned from
point(Window) , presses the given
buttons, and returns itself for method chaining. |
FxRobotInterface |
drop()
Calls
DragRobot.drop() and returns itself for more method chaining. |
FxRobotInterface |
dropBy(double x,
double y)
Calls
DragRobot.dropBy(double, double) and returns itself for more method chaining. |
FxRobotInterface |
dropTo(Bounds bounds)
Convenience method: Moves mouse to the point returned from
point(Bounds) , releases the buttons
that were pressed in drag(MouseButton...) - or press(MouseButton...) -related methods,
and returns itself for method chaining. |
FxRobotInterface |
dropTo(double x,
double y)
Convenience method: Moves mouse to the point returned from
point(double, double) , releases the buttons
that were pressed in drag(MouseButton...) - or press(MouseButton...) -related methods,
and returns itself for method chaining. |
<T extends Node> |
dropTo(org.hamcrest.Matcher<T> matcher)
Convenience method: Moves mouse to the point returned from
point(Matcher) , releases the buttons
that were pressed in drag(MouseButton...) - or press(MouseButton...) -related methods,
and returns itself for method chaining. |
FxRobotInterface |
dropTo(Node node)
Convenience method: Moves mouse to the point returned from
point(Node) , releases the buttons
that were pressed in drag(MouseButton...) - or press(MouseButton...) -related methods,
and returns itself for method chaining. |
FxRobotInterface |
dropTo(Point2D point)
Convenience method: Moves mouse to the point returned from
point(Point2D) , releases the buttons
that were pressed in drag(MouseButton...) - or press(MouseButton...) -related methods,
and returns itself for method chaining. |
FxRobotInterface |
dropTo(PointQuery pointQuery)
Calls
DragRobot.dropTo(PointQuery) and returns itself for more method chaining. |
<T extends Node> |
dropTo(Predicate<T> predicate)
Convenience method: Moves mouse to the point returned from
point(Predicate) , releases the buttons
that were pressed in drag(MouseButton...) - or press(MouseButton...) -related methods,
and returns itself for method chaining. |
FxRobotInterface |
dropTo(Scene scene)
Convenience method: Moves mouse to the point returned from
point(Scene) , releases the buttons
that were pressed in drag(MouseButton...) - or press(MouseButton...) -related methods,
and returns itself for method chaining. |
FxRobotInterface |
dropTo(String query)
Convenience method: Moves mouse to the point returned from
point(String) , releases the buttons
that were pressed in drag(MouseButton...) - or press(MouseButton...) -related methods,
and returns itself for method chaining. |
FxRobotInterface |
dropTo(Window window)
Convenience method: Moves mouse to the point returned from
point(Window) , releases the buttons
that were pressed in drag(MouseButton...) - or press(MouseButton...) -related methods,
and returns itself for method chaining. |
FxRobotInterface |
eraseText(int characters)
Convenience method: Calls
TypeRobot.type(KeyCode, int) with KeyCode.BACK_SPACE
and returns itself for more method chaining. |
NodeQuery |
from(Collection<Node> parentNodes)
Calls
NodeFinder.from(Collection) and returns itself for method chaining. |
NodeQuery |
from(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> FxRobotInterface |
interact(Callable<T> callable)
Calls a callable on the FX application thread and waits for it and
consecutive events to execute.
|
FxRobotInterface |
interact(Runnable runnable)
Calls a runnable on the FX application thread and waits for it and
consecutive events to execute.
|
<T> FxRobotInterface |
interactNoWait(Callable<T> callable)
Calls a callable on the FX application thread and waits for it to
execute.
|
FxRobotInterface |
interactNoWait(Runnable runnable)
Calls a runnable on the FX application thread and waits for it to
execute.
|
FxRobotInterface |
interrupt()
Calls
WaitForAsyncUtils.waitForFxEvents() and returns itself for method chaining. |
FxRobotInterface |
interrupt(int attemptsCount)
Calls
WaitForAsyncUtils.waitForFxEvents(int) and returns itself for method chaining. |
List<Window> |
listTargetWindows()
Calls
WindowFinder.listTargetWindows() and returns itself for method chaining. |
List<Window> |
listWindows()
Calls
WindowFinder.listWindows() ()} and returns itself for method chaining. |
<T extends Node> |
lookup(org.hamcrest.Matcher<T> matcher)
Convenience method: Calls
NodeFinder.lookup(Matcher) and returns itself for method chaining. |
<T extends Node> |
lookup(Predicate<T> predicate)
Convenience method: Calls
NodeFinder.lookup(Predicate) and returns itself for method chaining. |
NodeQuery |
lookup(String query)
Convenience method: Calls
NodeFinder.lookup(String) and returns itself for method chaining. |
default FxRobotInterface |
moveBy(double x,
double y)
Calls
MoveRobot.moveBy(double, double) and returns itself for more method chaining. |
FxRobotInterface |
moveBy(double x,
double y,
Motion motion)
Calls
MoveRobot.moveBy(double, double, Motion) and returns itself for more method
chaining. |
default FxRobotInterface |
moveTo(Bounds bounds)
Convenience method: Moves mouse directly to the point returned from
point(Bounds) and returns itself
for method chaining. |
FxRobotInterface |
moveTo(Bounds bounds,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Bounds) and returns itself for method chaining. |
default FxRobotInterface |
moveTo(double x,
double y)
Convenience method: Moves mouse directly to the point returned from
point(double, double) and returns
itself for method chaining. |
FxRobotInterface |
moveTo(double x,
double y,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(double, double) and returns itself for method chaining. |
default <T extends Node> |
moveTo(org.hamcrest.Matcher<T> matcher)
Convenience method: Moves mouse directly to the point returned from
point(Matcher) and returns itself
for method chaining. |
<T extends Node> |
moveTo(org.hamcrest.Matcher<T> matcher,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Matcher) and returns itself for method chaining. |
default FxRobotInterface |
moveTo(Node node)
Convenience method: Moves mouse directly to the point returned from
point(Node) and returns itself
for method chaining. |
FxRobotInterface |
moveTo(Node node,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Node) and returns itself for method chaining. |
default FxRobotInterface |
moveTo(Point2D point)
Convenience method: Moves mouse directly to the point returned from
point(Point2D) and returns itself
for method chaining. |
FxRobotInterface |
moveTo(Point2D point,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Point2D) and returns itself for method chaining. |
default FxRobotInterface |
moveTo(PointQuery pointQuery)
Calls
MoveRobot.moveTo(PointQuery) and returns itself for more method chaining. |
FxRobotInterface |
moveTo(PointQuery pointQuery,
Motion motion)
Calls
MoveRobot.moveTo(PointQuery, Motion) and returns itself for more method chaining. |
default <T extends Node> |
moveTo(Predicate<T> predicate)
Convenience method: Moves mouse directly to the point returned from
point(Predicate) and returns itself
for method chaining. |
<T extends Node> |
moveTo(Predicate<T> predicate,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Predicate) and returns itself for method chaining. |
default FxRobotInterface |
moveTo(Scene scene)
Convenience method: Moves mouse directly to the point returned from
point(Scene) and returns itself
for method chaining. |
FxRobotInterface |
moveTo(Scene scene,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Scene) and returns itself for method chaining. |
default FxRobotInterface |
moveTo(String query)
Convenience method: Moves mouse directly to the point returned from
point(String) and returns itself
for method chaining. |
FxRobotInterface |
moveTo(String query,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(String) and returns itself for method chaining. |
default FxRobotInterface |
moveTo(Window window)
Convenience method: Moves mouse directly to the point returned from
point(Window) and returns itself
for method chaining. |
FxRobotInterface |
moveTo(Window window,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Window) and returns itself for method chaining. |
PointQuery |
offset(Bounds bounds,
double offsetX,
double offsetY)
Convenience method: Calls
point(Bounds) and sets the query's offset by the given offset values. |
<T extends Node> |
offset(org.hamcrest.Matcher<T> matcher,
double offsetX,
double offsetY)
Convenience method: Calls
point(Matcher) and sets the query's offset by the given offset values. |
PointQuery |
offset(Node node,
double offsetX,
double offsetY)
Convenience method: Calls
point(Node) and sets the query's offset by the given offset values. |
PointQuery |
offset(Point2D point,
double offsetX,
double offsetY)
Convenience method: Calls
point(Point2D) and sets the query's offset by the given offset values. |
<T extends Node> |
offset(Predicate<T> predicate,
double offsetX,
double offsetY)
Convenience method: Calls
point(Predicate) and sets the query's offset by the given offset values. |
PointQuery |
offset(Scene scene,
double offsetX,
double offsetY)
Convenience method: Calls
point(Scene) and sets the query's offset by the given offset values. |
PointQuery |
offset(String query,
double offsetX,
double offsetY)
Convenience method: Calls
point(String) and sets the query's offset by the given offset values. |
PointQuery |
offset(Window window,
double offsetX,
double offsetY)
Convenience method: Calls
point(Window) and sets the query's offset by the given offset values. |
PointQuery |
point(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 Node> |
point(org.hamcrest.Matcher<T> matcher)
Convenience method: Tries to find a given node via
lookup(Matcher) before calling point(Node) ,
throwing a FxRobotException if no node is found. |
PointQuery |
point(Node node)
Calls
PointLocator.point(Node) and sets the PointQuery 's
PointQuery.getPosition() to FxRobotContext.getPointPosition() . |
PointQuery |
point(Point2D point)
Calls
PointLocator.point(Point2D) and sets the PointQuery 's
PointQuery.getPosition() to FxRobotContext.getPointPosition() . |
<T extends Node> |
point(Predicate<T> predicate)
Convenience method: Tries to find a given node via
lookup(Predicate) before calling
point(Node) , throwing a FxRobotException if no node is found. |
PointQuery |
point(Scene scene)
Calls
PointLocator.point(Scene) and sets the PointQuery 's
PointQuery.getPosition() to FxRobotContext.getPointPosition() . |
PointQuery |
point(String query)
Convenience method: Tries to find a given node via
lookup(String) before calling point(Node) ,
throwing a FxRobotException if no node is found. |
PointQuery |
point(Window window)
Calls
PointLocator.point(Window) and sets the PointQuery 's
PointQuery.getPosition() to FxRobotContext.getPointPosition() . |
FxRobotInterface |
press(KeyCode... keys)
Calls
KeyboardRobot.press(KeyCode...) and returns itself for method chaining. |
FxRobotInterface |
press(MouseButton... buttons)
Presses and holds mouse buttons.
|
FxRobotInterface |
push(KeyCode... combination)
Calls
TypeRobot.push(KeyCode...) and returns itself for more method chaining. |
FxRobotInterface |
push(KeyCodeCombination combination)
Calls
TypeRobot.push(KeyCodeCombination) and returns itself for more method chaining. |
FxRobotInterface |
release(KeyCode... keys)
Calls
KeyboardRobot.press(KeyCode...) and returns itself for method chaining. |
FxRobotInterface |
release(MouseButton... buttons)
Releases pressed mouse buttons.
|
FxRobotInterface |
rightClickOn()
Convenience method: Clicks the
MouseButton.SECONDARY button and returns itself for method chaining. |
default FxRobotInterface |
rightClickOn(Bounds bounds)
Convenience method: Moves mouse directly to the point returned from
point(Bounds) , clicks
the MouseButton.SECONDARY button, and returns itself for method chaining. |
FxRobotInterface |
rightClickOn(Bounds bounds,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Bounds) , clicks the MouseButton.SECONDARY button, and returns itself for method chaining. |
default FxRobotInterface |
rightClickOn(double x,
double y)
Convenience method: Moves mouse directly to the given coordinates, clicks the
MouseButton.SECONDARY
button, and returns itself for method chaining. |
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. |
default <T extends Node> |
rightClickOn(org.hamcrest.Matcher<T> matcher)
Convenience method: Moves mouse directly to the point returned from
point(Matcher) , clicks
the MouseButton.SECONDARY button, and returns itself for method chaining. |
<T extends Node> |
rightClickOn(org.hamcrest.Matcher<T> matcher,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Matcher) , clicks the MouseButton.SECONDARY button, and returns itself for method
chaining. |
default FxRobotInterface |
rightClickOn(Node node)
Convenience method: Moves mouse directly to the point returned from
point(Node) , clicks
the MouseButton.SECONDARY button, and returns itself for method chaining. |
FxRobotInterface |
rightClickOn(Node node,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Node) , clicks the MouseButton.SECONDARY button, and returns itself for method chaining. |
default FxRobotInterface |
rightClickOn(Point2D point)
Convenience method: Moves mouse to the point returned from
point(Point2D) , clicks
the MouseButton.SECONDARY button, and returns itself for method chaining. |
FxRobotInterface |
rightClickOn(Point2D point,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Point2D) , clicks the MouseButton.SECONDARY button, and returns itself for method
chaining. |
default FxRobotInterface |
rightClickOn(PointQuery pointQuery)
Convenience method: Moves mouse directly to the point returned from
PointQuery.query() , clicks
the MouseButton.SECONDARY button and returns itself for method chaining. |
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. |
default <T extends Node> |
rightClickOn(Predicate<T> predicate)
Convenience method: Moves mouse directly to the point returned from
point(Predicate) , clicks
the MouseButton.SECONDARY button, and returns itself for method chaining. |
<T extends Node> |
rightClickOn(Predicate<T> predicate,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Predicate) , clicks the MouseButton.SECONDARY button, and returns itself for method
chaining. |
default FxRobotInterface |
rightClickOn(Scene scene)
Convenience method: Moves mouse directly to the point returned from
point(Scene) , clicks
the MouseButton.SECONDARY button, and returns itself for method chaining. |
FxRobotInterface |
rightClickOn(Scene scene,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Scene) , clicks the MouseButton.SECONDARY button, and returns itself for method chaining. |
default FxRobotInterface |
rightClickOn(String query)
Convenience method: Moves mouse directly to the point returned from
point(String) , clicks
the MouseButton.SECONDARY button, and returns itself for method chaining. |
FxRobotInterface |
rightClickOn(String query,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(String) , clicks the MouseButton.SECONDARY button, and returns itself for method chaining. |
default FxRobotInterface |
rightClickOn(Window window)
Convenience method: Moves mouse directly to the point returned from
point(Window) , clicks
the MouseButton.SECONDARY button, and returns itself for method chaining. |
FxRobotInterface |
rightClickOn(Window window,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
point(Window) , clicks the MouseButton.SECONDARY button, and returns itself for method chaining. |
Node |
rootNode(Node node)
Calls
NodeFinder.rootNode(Node) and returns itself for method chaining. |
Node |
rootNode(Scene scene)
Calls
NodeFinder.rootNode(Scene) and returns itself for method chaining. |
Node |
rootNode(Window window)
Calls
NodeFinder.rootNode(Window) and returns itself for method chaining. |
FxRobotInterface |
scroll(HorizontalDirection direction)
Calls
ScrollRobot.scroll(int, VerticalDirection) with arguments 1 and
direction and returns itself for more method chaining. |
FxRobotInterface |
scroll(int amount)
Calls
ScrollRobot.scroll(int) and returns itself for more method chaining. |
FxRobotInterface |
scroll(int amount,
HorizontalDirection direction)
Calls
ScrollRobot.scroll(int, HorizontalDirection) and returns itself for more method
chaining. |
FxRobotInterface |
scroll(int amount,
VerticalDirection direction)
Calls
ScrollRobot.scroll(int, VerticalDirection) and returns itself for more method
chaining. |
FxRobotInterface |
scroll(VerticalDirection direction)
Calls
ScrollRobot.scroll(int, VerticalDirection) with arguments 1 and
direction and returns itself for more method chaining. |
FxRobotInterface |
sleep(long milliseconds)
Calls
SleepRobot.sleep(long) and returns itself for more method chaining. |
FxRobotInterface |
sleep(long duration,
TimeUnit timeUnit)
Calls
SleepRobot.sleep(long, TimeUnit) and returns itself for more method chaining. |
FxRobotInterface |
targetPos(Pos pointPosition)
Stores the given position as the position to be used in all
point() -related methods
such as point(Node) and point(Point2D) , and returns itself for method chaining. |
Window |
targetWindow()
Calls
WindowFinder.targetWindow() and returns itself for method chaining. |
FxRobotInterface |
targetWindow(int windowIndex)
Convenience method: Calls
WindowFinder.targetWindow(int) and returns itself for method chaining. |
FxRobotInterface |
targetWindow(Node node)
Convenience method: Calls
WindowFinder.targetWindow(Node) and returns itself for method chaining. |
FxRobotInterface |
targetWindow(Pattern stageTitlePattern)
Convenience method: Calls
WindowFinder.targetWindow(Pattern) and returns itself for method chaining. |
FxRobotInterface |
targetWindow(Predicate<Window> predicate)
Calls
WindowFinder.targetWindow(Predicate) and returns itself for method chaining. |
FxRobotInterface |
targetWindow(Scene scene)
Convenience method: Calls
WindowFinder.targetWindow(Scene) and returns itself for method chaining. |
FxRobotInterface |
targetWindow(String stageTitleRegex)
Convenience method: Calls
WindowFinder.targetWindow(String) and returns itself for method chaining. |
FxRobotInterface |
targetWindow(Window window)
Calls
WindowFinder.targetWindow(Window) and returns itself for method chaining. |
FxRobotInterface |
type(KeyCode... keys)
Calls
TypeRobot.type(KeyCode...) and returns itself for more method chaining. |
FxRobotInterface |
type(KeyCode key,
int times)
Calls
TypeRobot.type(KeyCode, int) and returns itself for more method chaining. |
Window |
window(int windowIndex)
Convenience method: Calls
WindowFinder.window(int) and returns itself for method chaining. |
Window |
window(Node node)
Convenience method: Calls
WindowFinder.window(Node) and returns itself for method chaining. |
Window |
window(Pattern stageTitlePattern)
Convenience method: Calls
WindowFinder.window(Pattern) and returns itself for method chaining. |
Window |
window(Predicate<Window> predicate)
Calls
WindowFinder.window(Predicate) and returns itself for method chaining. |
Window |
window(Scene scene)
Convenience method: Calls
WindowFinder.window(Scene) and returns itself for method chaining. |
Window |
window(String stageTitleRegex)
Convenience method: Calls
WindowFinder.window(String) and returns itself for method chaining. |
FxRobotInterface |
write(char character)
Calls
WriteRobot.write(char) and returns itself for more method chaining. |
FxRobotInterface |
write(String text)
Calls
WriteRobot.write(String) and returns itself for more method chaining. |
Window targetWindow()
WindowFinder.targetWindow()
and returns itself for method chaining.FxRobotInterface targetWindow(Window window)
WindowFinder.targetWindow(Window)
and returns itself for method chaining.FxRobotInterface targetWindow(Predicate<Window> predicate)
WindowFinder.targetWindow(Predicate)
and returns itself for method chaining.FxRobotInterface targetWindow(int windowIndex)
WindowFinder.targetWindow(int)
and returns itself for method chaining.FxRobotInterface targetWindow(String stageTitleRegex)
WindowFinder.targetWindow(String)
and returns itself for method chaining.FxRobotInterface targetWindow(Pattern stageTitlePattern)
WindowFinder.targetWindow(Pattern)
and returns itself for method chaining.FxRobotInterface targetWindow(Scene scene)
WindowFinder.targetWindow(Scene)
and returns itself for method chaining.FxRobotInterface targetWindow(Node node)
WindowFinder.targetWindow(Node)
and returns itself for method chaining.List<Window> listWindows()
WindowFinder.listWindows()
()} and returns itself for method chaining.List<Window> listTargetWindows()
WindowFinder.listTargetWindows()
and returns itself for method chaining.Window window(Predicate<Window> predicate)
WindowFinder.window(Predicate)
and returns itself for method chaining.Window window(int windowIndex)
WindowFinder.window(int)
and returns itself for method chaining.Window window(String stageTitleRegex)
WindowFinder.window(String)
and returns itself for method chaining.Window window(Pattern stageTitlePattern)
WindowFinder.window(Pattern)
and returns itself for method chaining.Window window(Scene scene)
WindowFinder.window(Scene)
and returns itself for method chaining.Window window(Node node)
WindowFinder.window(Node)
and returns itself for method chaining.NodeQuery fromAll()
NodeFinder.fromAll()
and returns itself for method chaining.NodeQuery from(Node... parentNodes)
NodeFinder.from(Node...)
and returns itself for method chaining.NodeQuery from(Collection<Node> parentNodes)
NodeFinder.from(Collection)
and returns itself for method chaining.Node rootNode(Window window)
NodeFinder.rootNode(Window)
and returns itself for method chaining.Node rootNode(Scene scene)
NodeFinder.rootNode(Scene)
and returns itself for method chaining.Node rootNode(Node node)
NodeFinder.rootNode(Node)
and returns itself for method chaining.NodeQuery lookup(String query)
NodeFinder.lookup(String)
and returns itself for method chaining.<T extends Node> NodeQuery lookup(org.hamcrest.Matcher<T> matcher)
NodeFinder.lookup(Matcher)
and returns itself for method chaining.<T extends Node> NodeQuery lookup(Predicate<T> predicate)
NodeFinder.lookup(Predicate)
and returns itself for method chaining.NodeQuery from(NodeQuery nodeQuery)
NodeFinder.from(NodeQuery)
and returns itself for method chaining.BoundsQuery bounds(double minX, double minY, double width, double height)
BoundsQuery bounds(Point2D point)
BoundsQuery bounds(Bounds bounds)
BoundsQuery
that returns the given boundsBoundsQuery bounds(Node node)
BoundsQuery bounds(Scene scene)
BoundsQueryUtils.boundsOnScreen(Bounds, Scene)
with given scene's boundsBoundsQuery bounds(Window window)
BoundsQueryUtils.boundsOnScreen(Bounds, Window)
with the given window's boundsBoundsQuery bounds(String query)
<T extends Node> BoundsQuery bounds(org.hamcrest.Matcher<T> matcher)
<T extends Node> BoundsQuery bounds(Predicate<T> predicate)
FxRobotInterface targetPos(Pos pointPosition)
point()
-related methods
such as point(Node)
and point(Point2D)
, and returns itself for method chaining.
The default value is Pos.CENTER
PointQuery point(double x, double y)
PointLocator.point(Point2D)
using new Point2D(x, y)
and sets
the PointQuery
's PointQuery.getPosition()
to FxRobotContext.getPointPosition()
.PointQuery point(Point2D point)
PointLocator.point(Point2D)
and sets the PointQuery
's
PointQuery.getPosition()
to FxRobotContext.getPointPosition()
.PointQuery point(Bounds bounds)
PointLocator.point(Bounds)
and sets the PointQuery
's
PointQuery.getPosition()
to FxRobotContext.getPointPosition()
.PointQuery point(Node node)
PointLocator.point(Node)
and sets the PointQuery
's
PointQuery.getPosition()
to FxRobotContext.getPointPosition()
.PointQuery point(Scene scene)
PointLocator.point(Scene)
and sets the PointQuery
's
PointQuery.getPosition()
to FxRobotContext.getPointPosition()
.PointQuery point(Window window)
PointLocator.point(Window)
and sets the PointQuery
's
PointQuery.getPosition()
to FxRobotContext.getPointPosition()
.PointQuery point(String query)
lookup(String)
before calling point(Node)
,
throwing a FxRobotException
if no node is found.<T extends Node> PointQuery point(org.hamcrest.Matcher<T> matcher)
lookup(Matcher)
before calling point(Node)
,
throwing a FxRobotException
if no node is found.<T extends Node> PointQuery point(Predicate<T> predicate)
lookup(Predicate)
before calling
point(Node)
, throwing a FxRobotException
if no node is found.PointQuery offset(Point2D point, double offsetX, double offsetY)
point(Point2D)
and sets the query's offset by the given offset values.PointQuery offset(Bounds bounds, double offsetX, double offsetY)
point(Bounds)
and sets the query's offset by the given offset values.PointQuery offset(Node node, double offsetX, double offsetY)
point(Node)
and sets the query's offset by the given offset values.PointQuery offset(Scene scene, double offsetX, double offsetY)
point(Scene)
and sets the query's offset by the given offset values.PointQuery offset(Window window, double offsetX, double offsetY)
point(Window)
and sets the query's offset by the given offset values.PointQuery offset(String query, double offsetX, double offsetY)
point(String)
and sets the query's offset by the given offset values.<T extends Node> PointQuery offset(org.hamcrest.Matcher<T> matcher, double offsetX, double offsetY)
point(Matcher)
and sets the query's offset by the given offset values.<T extends Node> PointQuery offset(Predicate<T> predicate, double offsetX, double offsetY)
point(Predicate)
and sets the query's offset by the given offset values.Capture capture(Rectangle2D screenRegion)
Capture
that supplies a screenshot using the given rectangle's bounds.Capture capture(Bounds bounds)
Capture
that supplies a screenshot using the given bounds.Capture capture(Node node)
Capture
that supplies a screenshot using the given node's bounds.FxRobotInterface interact(Runnable runnable)
runnable
- the runnable<T> FxRobotInterface interact(Callable<T> callable)
callable
- the callableFxRobotInterface interactNoWait(Runnable runnable)
runnable
- the runnable<T> FxRobotInterface interactNoWait(Callable<T> callable)
callable
- the callableFxRobotInterface interrupt()
WaitForAsyncUtils.waitForFxEvents()
and returns itself for method chaining.FxRobotInterface interrupt(int attemptsCount)
WaitForAsyncUtils.waitForFxEvents(int)
and returns itself for method chaining.FxRobotInterface sleep(long milliseconds)
SleepRobot.sleep(long)
and returns itself for more method chaining.FxRobotInterface sleep(long duration, TimeUnit timeUnit)
SleepRobot.sleep(long, TimeUnit)
and returns itself for more method chaining.FxRobotInterface clickOn(MouseButton... buttons)
ClickRobot.clickOn(MouseButton...)
and returns itself for more method chaining.default FxRobotInterface clickOn(PointQuery pointQuery, MouseButton... buttons)
ClickRobot.clickOn(PointQuery, Motion, MouseButton...)
and returns itself for
more method chaining.FxRobotInterface clickOn(PointQuery pointQuery, Motion motion, MouseButton... buttons)
ClickRobot.clickOn(PointQuery, MouseButton...)
and returns itself for more method
chaining.FxRobotInterface doubleClickOn(MouseButton... buttons)
ClickRobot.doubleClickOn(MouseButton...)
and returns itself for more method
chaining.default FxRobotInterface doubleClickOn(PointQuery pointQuery, MouseButton... buttons)
ClickRobot.doubleClickOn(PointQuery, Motion, MouseButton...)
and returns itself
for method chaining.FxRobotInterface doubleClickOn(PointQuery pointQuery, Motion motion, MouseButton... buttons)
ClickRobot.doubleClickOn(PointQuery, Motion, MouseButton...)
and returns itself
for method chaining.default FxRobotInterface clickOn(double x, double y, MouseButton... buttons)
FxRobotInterface clickOn(double x, double y, Motion motion, MouseButton... buttons)
motion
(see: Motion
to the given coordinates,
clicks the given buttons, and returns itself for method chaining.default FxRobotInterface clickOn(Point2D point, MouseButton... buttons)
FxRobotInterface clickOn(Point2D point, Motion motion, MouseButton... buttons)
motion
(see: Motion
to the given point, clicks
the given buttons, and returns itself for method chaining.default FxRobotInterface clickOn(Bounds bounds, MouseButton... buttons)
point(Bounds)
, clicks the given
buttons, and returns itself for method chaining.FxRobotInterface clickOn(Bounds bounds, Motion motion, MouseButton... buttons)
motion
(see: Motion
to the point returned
from point(Bounds)
, clicks the given buttons, and returns itself for method chaining.default FxRobotInterface clickOn(Node node, MouseButton... buttons)
point(Node)
, clicks the given
buttons, and returns itself for method chaining.FxRobotInterface clickOn(Node node, Motion motion, MouseButton... buttons)
motion
(see: Motion
to the point returned from
point(Node)
, clicks the given buttons, and returns itself for method chaining.default FxRobotInterface clickOn(Scene scene, MouseButton... buttons)
point(Scene)
, clicks the given
buttons, and returns itself for method chaining.FxRobotInterface clickOn(Scene scene, Motion motion, MouseButton... buttons)
motion
(see: Motion
to the point returned from
point(Scene)
, clicks the given buttons, and returns itself for method chaining.default FxRobotInterface clickOn(Window window, MouseButton... buttons)
point(Window)
, clicks the given
buttons, and returns itself for method chaining.FxRobotInterface clickOn(Window window, Motion motion, MouseButton... buttons)
motion
(see: Motion
to the point returned from
point(Window)
, clicks the given buttons, and returns itself for method chaining.default FxRobotInterface clickOn(String query, MouseButton... buttons)
point(String)
, clicks the given
buttons, and returns itself for method chaining.FxRobotInterface clickOn(String query, Motion motion, MouseButton... buttons)
motion
(see: Motion
to the point returned from
point(String)
, clicks the given buttons, and returns itself for method chaining.default <T extends Node> FxRobotInterface clickOn(org.hamcrest.Matcher<T> matcher, MouseButton... buttons)
point(Matcher)
, clicks the given
buttons, and returns itself for method chaining.<T extends Node> FxRobotInterface clickOn(org.hamcrest.Matcher<T> matcher, Motion motion, MouseButton... buttons)
motion
(see: Motion
to the point returned from
point(Matcher)
, clicks the given buttons, and returns itself for method chaining.default <T extends Node> FxRobotInterface clickOn(Predicate<T> predicate, MouseButton... buttons)
point(Predicate)
, clicks the given
buttons, and returns itself for method chaining.<T extends Node> FxRobotInterface clickOn(Predicate<T> predicate, Motion motion, MouseButton... buttons)
motion
(see: Motion
to the point returned from
point(Predicate)
, clicks the given buttons, and returns itself for method chaining.FxRobotInterface rightClickOn()
MouseButton.SECONDARY
button and returns itself for method chaining.default FxRobotInterface rightClickOn(PointQuery pointQuery)
PointQuery.query()
, clicks
the MouseButton.SECONDARY
button and returns itself for method chaining.FxRobotInterface rightClickOn(PointQuery pointQuery, Motion motion)
motion
(see: Motion
to the point returned from
PointQuery.query()
, clicks the MouseButton.SECONDARY
button and returns itself for method
chaining.default FxRobotInterface rightClickOn(double x, double y)
MouseButton.SECONDARY
button, and returns itself for method chaining.FxRobotInterface rightClickOn(double x, double y, Motion motion)
motion
(see: Motion
to the given coordinates,
clicks the MouseButton.SECONDARY
button, and returns itself for method chaining.default FxRobotInterface rightClickOn(Point2D point)
point(Point2D)
, clicks
the MouseButton.SECONDARY
button, and returns itself for method chaining.FxRobotInterface rightClickOn(Point2D point, Motion motion)
motion
(see: Motion
to the point returned from
point(Point2D)
, clicks the MouseButton.SECONDARY
button, and returns itself for method
chaining.default FxRobotInterface rightClickOn(Bounds bounds)
point(Bounds)
, clicks
the MouseButton.SECONDARY
button, and returns itself for method chaining.FxRobotInterface rightClickOn(Bounds bounds, Motion motion)
motion
(see: Motion
to the point returned from
point(Bounds)
, clicks the MouseButton.SECONDARY
button, and returns itself for method chaining.default FxRobotInterface rightClickOn(Node node)
point(Node)
, clicks
the MouseButton.SECONDARY
button, and returns itself for method chaining.FxRobotInterface rightClickOn(Node node, Motion motion)
motion
(see: Motion
to the point returned from
point(Node)
, clicks the MouseButton.SECONDARY
button, and returns itself for method chaining.default FxRobotInterface rightClickOn(Scene scene)
point(Scene)
, clicks
the MouseButton.SECONDARY
button, and returns itself for method chaining.FxRobotInterface rightClickOn(Scene scene, Motion motion)
motion
(see: Motion
to the point returned from
point(Scene)
, clicks the MouseButton.SECONDARY
button, and returns itself for method chaining.default FxRobotInterface rightClickOn(Window window)
point(Window)
, clicks
the MouseButton.SECONDARY
button, and returns itself for method chaining.FxRobotInterface rightClickOn(Window window, Motion motion)
motion
(see: Motion
to the point returned from
point(Window)
, clicks the MouseButton.SECONDARY
button, and returns itself for method chaining.default FxRobotInterface rightClickOn(String query)
point(String)
, clicks
the MouseButton.SECONDARY
button, and returns itself for method chaining.FxRobotInterface rightClickOn(String query, Motion motion)
motion
(see: Motion
to the point returned from
point(String)
, clicks the MouseButton.SECONDARY
button, and returns itself for method chaining.default <T extends Node> FxRobotInterface rightClickOn(org.hamcrest.Matcher<T> matcher)
point(Matcher)
, clicks
the MouseButton.SECONDARY
button, and returns itself for method chaining.<T extends Node> FxRobotInterface rightClickOn(org.hamcrest.Matcher<T> matcher, Motion motion)
motion
(see: Motion
to the point returned from
point(Matcher)
, clicks the MouseButton.SECONDARY
button, and returns itself for method
chaining.default <T extends Node> FxRobotInterface rightClickOn(Predicate<T> predicate)
point(Predicate)
, clicks
the MouseButton.SECONDARY
button, and returns itself for method chaining.<T extends Node> FxRobotInterface rightClickOn(Predicate<T> predicate, Motion motion)
motion
(see: Motion
to the point returned from
point(Predicate)
, clicks the MouseButton.SECONDARY
button, and returns itself for method
chaining.default FxRobotInterface doubleClickOn(double x, double y, MouseButton... buttons)
point(double, double)
, double
clicks the given buttons, and returns itself for method chaining.FxRobotInterface doubleClickOn(double x, double y, Motion motion, MouseButton... buttons)
motion
(see: Motion
to the point returned from
point(double, double)
, double clicks the given buttons, and returns itself for method chaining.default FxRobotInterface doubleClickOn(Point2D point, MouseButton... buttons)
point(Point2D)
, double
clicks the given buttons, and returns itself for method chaining.FxRobotInterface doubleClickOn(Point2D point, Motion motion, MouseButton... buttons)
motion
(see: Motion
to the point returned from
point(Point2D)
, double clicks the given buttons, and returns itself for method chaining.default FxRobotInterface doubleClickOn(Bounds bounds, MouseButton... buttons)
point(Bounds)
, double
clicks the given buttons, and returns itself for method chaining.FxRobotInterface doubleClickOn(Bounds bounds, Motion motion, MouseButton... buttons)
motion
(see: Motion
to the point returned from
point(Bounds)
, double clicks the given buttons, and returns itself for method chaining.default FxRobotInterface doubleClickOn(Node node, MouseButton... buttons)
point(Node)
, double
clicks the given buttons, and returns itself for method chaining.FxRobotInterface doubleClickOn(Node node, Motion motion, MouseButton... buttons)
motion
(see: Motion
to the point returned from
point(Node)
, double clicks the given buttons, and returns itself for method chaining.default FxRobotInterface doubleClickOn(Scene scene, MouseButton... buttons)
point(Scene)
, double
clicks the given buttons, and returns itself for method chaining.FxRobotInterface doubleClickOn(Scene scene, Motion motion, MouseButton... buttons)
motion
(see: Motion
to the point returned from
point(Scene)
, double clicks the given buttons, and returns itself for method chaining.default FxRobotInterface doubleClickOn(Window window, MouseButton... buttons)
point(Window)
, double
clicks the given buttons, and returns itself for method chaining.FxRobotInterface doubleClickOn(Window window, Motion motion, MouseButton... buttons)
motion
(see: Motion
to the point returned from
point(Window)
, double clicks the given buttons, and returns itself for method chaining.default FxRobotInterface doubleClickOn(String query, MouseButton... buttons)
point(String)
, double
clicks the given buttons, and returns itself for method chaining.FxRobotInterface doubleClickOn(String query, Motion motion, MouseButton... buttons)
motion
(see: Motion
to the point returned from
point(String)
, double clicks the given buttons, and returns itself for method chaining.default <T extends Node> FxRobotInterface doubleClickOn(org.hamcrest.Matcher<T> matcher, MouseButton... buttons)
point(Matcher)
, double
clicks the given buttons, and returns itself for method chaining.<T extends Node> FxRobotInterface doubleClickOn(org.hamcrest.Matcher<T> matcher, Motion motion, MouseButton... buttons)
motion
(see: Motion
to the point returned from
point(Matcher)
, double clicks the given buttons, and returns itself for method chaining.default <T extends Node> FxRobotInterface doubleClickOn(Predicate<T> predicate, MouseButton... buttons)
point(Predicate)
, double
clicks the given buttons, and returns itself for method chaining.<T extends Node> FxRobotInterface doubleClickOn(Predicate<T> predicate, Motion motion, MouseButton... buttons)
motion
(see: Motion
to the point returned from
point(Predicate)
, double clicks the given buttons, and returns itself for method chaining.FxRobotInterface drag(MouseButton... buttons)
DragRobot.drag(MouseButton...)
and returns itself for more method chaining.FxRobotInterface drag(PointQuery pointQuery, MouseButton... buttons)
DragRobot.drag(PointQuery, MouseButton...)
and returns itself for more method
chaining.FxRobotInterface drop()
DragRobot.drop()
and returns itself for more method chaining.FxRobotInterface dropTo(PointQuery pointQuery)
DragRobot.dropTo(PointQuery)
and returns itself for more method chaining.FxRobotInterface dropBy(double x, double y)
DragRobot.dropBy(double, double)
and returns itself for more method chaining.FxRobotInterface drag(double x, double y, MouseButton... buttons)
point(double, double)
, presses the given
buttons, and returns itself for method chaining.FxRobotInterface drag(Point2D point, MouseButton... buttons)
point(Point2D)
, presses the given
buttons, and returns itself for method chaining.FxRobotInterface drag(Bounds bounds, MouseButton... buttons)
point(Bounds)
, presses the given
buttons, and returns itself for method chaining.FxRobotInterface drag(Node node, MouseButton... buttons)
point(Node)
, presses the given
buttons, and returns itself for method chaining.FxRobotInterface drag(Scene scene, MouseButton... buttons)
point(Scene)
, presses the given
buttons, and returns itself for method chaining.FxRobotInterface drag(Window window, MouseButton... buttons)
point(Window)
, presses the given
buttons, and returns itself for method chaining.FxRobotInterface drag(String query, MouseButton... buttons)
point(String)
, presses the given
buttons, and returns itself for method chaining.<T extends Node> FxRobotInterface drag(org.hamcrest.Matcher<T> matcher, MouseButton... buttons)
point(Matcher)
, presses the given
buttons, and returns itself for method chaining.<T extends Node> FxRobotInterface drag(Predicate<T> predicate, MouseButton... buttons)
point(Predicate)
, presses the given
buttons, and returns itself for method chaining.FxRobotInterface dropTo(double x, double y)
point(double, double)
, releases the buttons
that were pressed in drag(MouseButton...)
- or press(MouseButton...)
-related methods,
and returns itself for method chaining.FxRobotInterface dropTo(Point2D point)
point(Point2D)
, releases the buttons
that were pressed in drag(MouseButton...)
- or press(MouseButton...)
-related methods,
and returns itself for method chaining.FxRobotInterface dropTo(Bounds bounds)
point(Bounds)
, releases the buttons
that were pressed in drag(MouseButton...)
- or press(MouseButton...)
-related methods,
and returns itself for method chaining.FxRobotInterface dropTo(Node node)
point(Node)
, releases the buttons
that were pressed in drag(MouseButton...)
- or press(MouseButton...)
-related methods,
and returns itself for method chaining.FxRobotInterface dropTo(Scene scene)
point(Scene)
, releases the buttons
that were pressed in drag(MouseButton...)
- or press(MouseButton...)
-related methods,
and returns itself for method chaining.FxRobotInterface dropTo(Window window)
point(Window)
, releases the buttons
that were pressed in drag(MouseButton...)
- or press(MouseButton...)
-related methods,
and returns itself for method chaining.FxRobotInterface dropTo(String query)
point(String)
, releases the buttons
that were pressed in drag(MouseButton...)
- or press(MouseButton...)
-related methods,
and returns itself for method chaining.<T extends Node> FxRobotInterface dropTo(org.hamcrest.Matcher<T> matcher)
point(Matcher)
, releases the buttons
that were pressed in drag(MouseButton...)
- or press(MouseButton...)
-related methods,
and returns itself for method chaining.<T extends Node> FxRobotInterface dropTo(Predicate<T> predicate)
point(Predicate)
, releases the buttons
that were pressed in drag(MouseButton...)
- or press(MouseButton...)
-related methods,
and returns itself for method chaining.FxRobotInterface press(KeyCode... keys)
KeyboardRobot.press(KeyCode...)
and returns itself for method chaining.FxRobotInterface release(KeyCode... keys)
KeyboardRobot.press(KeyCode...)
and returns itself for method chaining.FxRobotInterface press(MouseButton... buttons)
buttons
- mouse buttons to press, defaults to primary mouse button.FxRobotInterface release(MouseButton... buttons)
buttons
- mouse buttons to release, defaults to all pressed mouse buttons.default FxRobotInterface moveTo(PointQuery pointQuery)
MoveRobot.moveTo(PointQuery)
and returns itself for more method chaining.FxRobotInterface moveTo(PointQuery pointQuery, Motion motion)
MoveRobot.moveTo(PointQuery, Motion)
and returns itself for more method chaining.default FxRobotInterface moveBy(double x, double y)
MoveRobot.moveBy(double, double)
and returns itself for more method chaining.FxRobotInterface moveBy(double x, double y, Motion motion)
MoveRobot.moveBy(double, double, Motion)
and returns itself for more method
chaining.default FxRobotInterface moveTo(double x, double y)
point(double, double)
and returns
itself for method chaining.FxRobotInterface moveTo(double x, double y, Motion motion)
motion
(see: Motion
to the point returned from
point(double, double)
and returns itself for method chaining.default FxRobotInterface moveTo(Point2D point)
point(Point2D)
and returns itself
for method chaining.FxRobotInterface moveTo(Point2D point, Motion motion)
motion
(see: Motion
to the point returned from
point(Point2D)
and returns itself for method chaining.default FxRobotInterface moveTo(Bounds bounds)
point(Bounds)
and returns itself
for method chaining.FxRobotInterface moveTo(Bounds bounds, Motion motion)
motion
(see: Motion
to the point returned from
point(Bounds)
and returns itself for method chaining.default FxRobotInterface moveTo(Node node)
point(Node)
and returns itself
for method chaining.FxRobotInterface moveTo(Node node, Motion motion)
motion
(see: Motion
to the point returned from
point(Node)
and returns itself for method chaining.default FxRobotInterface moveTo(Scene scene)
point(Scene)
and returns itself
for method chaining.FxRobotInterface moveTo(Scene scene, Motion motion)
motion
(see: Motion
to the point returned from
point(Scene)
and returns itself for method chaining.default FxRobotInterface moveTo(Window window)
point(Window)
and returns itself
for method chaining.FxRobotInterface moveTo(Window window, Motion motion)
motion
(see: Motion
to the point returned from
point(Window)
and returns itself for method chaining.default FxRobotInterface moveTo(String query)
point(String)
and returns itself
for method chaining.FxRobotInterface moveTo(String query, Motion motion)
motion
(see: Motion
to the point returned from
point(String)
and returns itself for method chaining.default <T extends Node> FxRobotInterface moveTo(org.hamcrest.Matcher<T> matcher)
point(Matcher)
and returns itself
for method chaining.<T extends Node> FxRobotInterface moveTo(org.hamcrest.Matcher<T> matcher, Motion motion)
motion
(see: Motion
to the point returned from
point(Matcher)
and returns itself for method chaining.default <T extends Node> FxRobotInterface moveTo(Predicate<T> predicate)
point(Predicate)
and returns itself
for method chaining.<T extends Node> FxRobotInterface moveTo(Predicate<T> predicate, Motion motion)
motion
(see: Motion
to the point returned from
point(Predicate)
and returns itself for method chaining.FxRobotInterface scroll(int amount)
ScrollRobot.scroll(int)
and returns itself for more method chaining.FxRobotInterface scroll(int amount, VerticalDirection direction)
ScrollRobot.scroll(int, VerticalDirection)
and returns itself for more method
chaining.FxRobotInterface scroll(VerticalDirection direction)
ScrollRobot.scroll(int, VerticalDirection)
with arguments 1
and
direction
and returns itself for more method chaining.FxRobotInterface scroll(int amount, HorizontalDirection direction)
ScrollRobot.scroll(int, HorizontalDirection)
and returns itself for more method
chaining.FxRobotInterface scroll(HorizontalDirection direction)
ScrollRobot.scroll(int, VerticalDirection)
with arguments 1
and
direction
and returns itself for more method chaining.FxRobotInterface push(KeyCode... combination)
TypeRobot.push(KeyCode...)
and returns itself for more method chaining.FxRobotInterface push(KeyCodeCombination combination)
TypeRobot.push(KeyCodeCombination)
and returns itself for more method chaining.FxRobotInterface type(KeyCode... keys)
TypeRobot.type(KeyCode...)
and returns itself for more method chaining.FxRobotInterface type(KeyCode key, int times)
TypeRobot.type(KeyCode, int)
and returns itself for more method chaining.FxRobotInterface eraseText(int characters)
TypeRobot.type(KeyCode, int)
with KeyCode.BACK_SPACE
and returns itself for more method chaining.FxRobotInterface write(char character)
WriteRobot.write(char)
and returns itself for more method chaining.FxRobotInterface write(String text)
WriteRobot.write(String)
and returns itself for more method chaining.