-
- All Known Implementing Classes:
FxRobot
public interface FxRobotInterface
Wrapper-like interface that makes it easier to chain together multiple robot methods while adding a number of convenience methods, such as finding a given node, scene or window via aPointQuery
, aPredicate
, or aMatcher
.
-
-
Method Summary
Modifier and Type Method Description BoundsQuery
bounds(double minX, double minY, double width, double height)
BoundsQuery
bounds(String query)
NOT YET IMPLEMENTED<T extends javafx.scene.Node>
BoundsQuerybounds(Predicate<T> predicate)
NOT YET IMPLEMENTEDBoundsQuery
bounds(javafx.geometry.Bounds bounds)
Creates aBoundsQuery
that returns the given boundsBoundsQuery
bounds(javafx.geometry.Point2D point)
BoundsQuery
bounds(javafx.scene.Node node)
BoundsQuery
bounds(javafx.scene.Scene scene)
CallsBoundsQueryUtils.boundsOnScreen(Bounds, Scene)
with given scene's boundsBoundsQuery
bounds(javafx.stage.Window window)
CallsBoundsQueryUtils.boundsOnScreen(Bounds, Window)
with the given window's bounds<T extends javafx.scene.Node>
BoundsQuerybounds(org.hamcrest.Matcher<T> matcher)
NOT YET IMPLEMENTEDCapture
capture(URL url)
Capture
capture(Path path)
Capture
capture(javafx.geometry.Bounds bounds)
Returns aCapture
that supplies a screenshot using the given bounds.Capture
capture(javafx.geometry.Rectangle2D screenRegion)
Returns aCapture
that supplies a screenshot using the given rectangle's bounds.Capture
capture(javafx.scene.image.Image image)
Convenience method: Returns aCapture
that supplies the givenImage
.Capture
capture(javafx.scene.Node node)
Returns aCapture
that supplies a screenshot using the given node's bounds.default FxRobotInterface
clickOn(double x, double y, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the given coordinates, clicks the given buttons, and returns itself for method chaining.FxRobotInterface
clickOn(double x, double y, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the given coordinates, clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
clickOn(String query, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(String)
, clicks the given buttons, and returns itself for method chaining.FxRobotInterface
clickOn(String query, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(String)
, clicks the given buttons, and returns itself for method chaining.default <T extends javafx.scene.Node>
FxRobotInterfaceclickOn(Predicate<T> predicate, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Predicate)
, clicks the given buttons, and returns itself for method chaining.<T extends javafx.scene.Node>
FxRobotInterfaceclickOn(Predicate<T> predicate, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Predicate)
, clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
clickOn(javafx.geometry.Bounds bounds, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Bounds)
, clicks the given buttons, and returns itself for method chaining.FxRobotInterface
clickOn(javafx.geometry.Bounds bounds, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Bounds)
, clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
clickOn(javafx.geometry.Point2D point, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the given point, clicks the given buttons, and returns itself for method chaining.FxRobotInterface
clickOn(javafx.geometry.Point2D point, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the given point, clicks the given buttons, and returns itself for method chaining.FxRobotInterface
clickOn(javafx.scene.input.MouseButton... buttons)
CallsClickRobot.clickOn(MouseButton...)
and returns itself for more method chaining.default FxRobotInterface
clickOn(javafx.scene.Node node, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Node)
, clicks the given buttons, and returns itself for method chaining.FxRobotInterface
clickOn(javafx.scene.Node node, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Node)
, clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
clickOn(javafx.scene.Scene scene, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Scene)
, clicks the given buttons, and returns itself for method chaining.FxRobotInterface
clickOn(javafx.scene.Scene scene, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Scene)
, clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
clickOn(javafx.stage.Window window, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Window)
, clicks the given buttons, and returns itself for method chaining.FxRobotInterface
clickOn(javafx.stage.Window window, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Window)
, clicks the given buttons, and returns itself for method chaining.default <T extends javafx.scene.Node>
FxRobotInterfaceclickOn(org.hamcrest.Matcher<T> matcher, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Matcher)
, clicks the given buttons, and returns itself for method chaining.<T extends javafx.scene.Node>
FxRobotInterfaceclickOn(org.hamcrest.Matcher<T> matcher, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Matcher)
, clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
clickOn(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons)
CallsClickRobot.clickOn(PointQuery, Motion, MouseButton...)
and returns itself for more method chaining.FxRobotInterface
clickOn(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons)
CallsClickRobot.clickOn(PointQuery, MouseButton...)
and returns itself for more method chaining.default FxRobotInterface
doubleClickOn(double x, double y, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(double, double)
, double clicks the given buttons, and returns itself for method chaining.FxRobotInterface
doubleClickOn(double x, double y, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(double, double)
, double clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
doubleClickOn(String query, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(String)
, double clicks the given buttons, and returns itself for method chaining.FxRobotInterface
doubleClickOn(String query, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(String)
, double clicks the given buttons, and returns itself for method chaining.default <T extends javafx.scene.Node>
FxRobotInterfacedoubleClickOn(Predicate<T> predicate, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Predicate)
, double clicks the given buttons, and returns itself for method chaining.<T extends javafx.scene.Node>
FxRobotInterfacedoubleClickOn(Predicate<T> predicate, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Predicate)
, double clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
doubleClickOn(javafx.geometry.Bounds bounds, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Bounds)
, double clicks the given buttons, and returns itself for method chaining.FxRobotInterface
doubleClickOn(javafx.geometry.Bounds bounds, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Bounds)
, double clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
doubleClickOn(javafx.geometry.Point2D point, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Point2D)
, double clicks the given buttons, and returns itself for method chaining.FxRobotInterface
doubleClickOn(javafx.geometry.Point2D point, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Point2D)
, double clicks the given buttons, and returns itself for method chaining.FxRobotInterface
doubleClickOn(javafx.scene.input.MouseButton... buttons)
CallsClickRobot.doubleClickOn(MouseButton...)
and returns itself for more method chaining.default FxRobotInterface
doubleClickOn(javafx.scene.Node node, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Node)
, double clicks the given buttons, and returns itself for method chaining.FxRobotInterface
doubleClickOn(javafx.scene.Node node, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Node)
, double clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
doubleClickOn(javafx.scene.Scene scene, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Scene)
, double clicks the given buttons, and returns itself for method chaining.FxRobotInterface
doubleClickOn(javafx.scene.Scene scene, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Scene)
, double clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
doubleClickOn(javafx.stage.Window window, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Window)
, double clicks the given buttons, and returns itself for method chaining.FxRobotInterface
doubleClickOn(javafx.stage.Window window, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Window)
, double clicks the given buttons, and returns itself for method chaining.default <T extends javafx.scene.Node>
FxRobotInterfacedoubleClickOn(org.hamcrest.Matcher<T> matcher, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Matcher)
, double clicks the given buttons, and returns itself for method chaining.<T extends javafx.scene.Node>
FxRobotInterfacedoubleClickOn(org.hamcrest.Matcher<T> matcher, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Matcher)
, double clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
doubleClickOn(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons)
CallsClickRobot.doubleClickOn(PointQuery, Motion, MouseButton...)
and returns itself for method chaining.FxRobotInterface
doubleClickOn(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons)
CallsClickRobot.doubleClickOn(PointQuery, Motion, MouseButton...)
and returns itself for method chaining.FxRobotInterface
drag(double x, double y, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned frompoint(double, double)
, presses the given buttons, and returns itself for method chaining.FxRobotInterface
drag(String query, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned frompoint(String)
, presses the given buttons, and returns itself for method chaining.<T extends javafx.scene.Node>
FxRobotInterfacedrag(Predicate<T> predicate, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned frompoint(Predicate)
, presses the given buttons, and returns itself for method chaining.FxRobotInterface
drag(javafx.geometry.Bounds bounds, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned frompoint(Bounds)
, presses the given buttons, and returns itself for method chaining.FxRobotInterface
drag(javafx.geometry.Point2D point, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned frompoint(Point2D)
, presses the given buttons, and returns itself for method chaining.FxRobotInterface
drag(javafx.scene.input.MouseButton... buttons)
CallsDragRobot.drag(MouseButton...)
and returns itself for more method chaining.FxRobotInterface
drag(javafx.scene.Node node, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned frompoint(Node)
, presses the given buttons, and returns itself for method chaining.FxRobotInterface
drag(javafx.scene.Scene scene, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned frompoint(Scene)
, presses the given buttons, and returns itself for method chaining.FxRobotInterface
drag(javafx.stage.Window window, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned frompoint(Window)
, presses the given buttons, and returns itself for method chaining.<T extends javafx.scene.Node>
FxRobotInterfacedrag(org.hamcrest.Matcher<T> matcher, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned frompoint(Matcher)
, presses the given buttons, and returns itself for method chaining.FxRobotInterface
drag(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons)
CallsDragRobot.drag(PointQuery, MouseButton...)
and returns itself for more method chaining.FxRobotInterface
drop()
CallsDragRobot.drop()
and returns itself for more method chaining.FxRobotInterface
dropBy(double x, double y)
CallsDragRobot.dropBy(double, double)
and returns itself for more method chaining.FxRobotInterface
dropTo(double x, double y)
Convenience method: Moves mouse to the point returned frompoint(double, double)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.FxRobotInterface
dropTo(String query)
Convenience method: Moves mouse to the point returned frompoint(String)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.<T extends javafx.scene.Node>
FxRobotInterfacedropTo(Predicate<T> predicate)
Convenience method: Moves mouse to the point returned frompoint(Predicate)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.FxRobotInterface
dropTo(javafx.geometry.Bounds bounds)
Convenience method: Moves mouse to the point returned frompoint(Bounds)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.FxRobotInterface
dropTo(javafx.geometry.Point2D point)
Convenience method: Moves mouse to the point returned frompoint(Point2D)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.FxRobotInterface
dropTo(javafx.scene.Node node)
Convenience method: Moves mouse to the point returned frompoint(Node)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.FxRobotInterface
dropTo(javafx.scene.Scene scene)
Convenience method: Moves mouse to the point returned frompoint(Scene)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.FxRobotInterface
dropTo(javafx.stage.Window window)
Convenience method: Moves mouse to the point returned frompoint(Window)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.<T extends javafx.scene.Node>
FxRobotInterfacedropTo(org.hamcrest.Matcher<T> matcher)
Convenience method: Moves mouse to the point returned frompoint(Matcher)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.FxRobotInterface
dropTo(PointQuery pointQuery)
CallsDragRobot.dropTo(PointQuery)
and returns itself for more method chaining.FxRobotInterface
eraseText(int characters)
Convenience method: CallsTypeRobot.type(KeyCode, int)
withKeyCode.BACK_SPACE
and returns itself for more method chaining.NodeQuery
from(Collection<javafx.scene.Node> parentNodes)
CallsNodeFinder.from(Collection)
and returns itself for method chaining.NodeQuery
from(javafx.scene.Node... parentNodes)
CallsNodeFinder.from(Node...)
and returns itself for method chaining.NodeQuery
from(NodeQuery nodeQuery)
Convenience method: CallsNodeFinder.from(NodeQuery)
and returns itself for method chaining.NodeQuery
fromAll()
CallsNodeFinder.fromAll()
and returns itself for method chaining.FxRobotInterface
interact(Runnable runnable)
Calls a runnable on the FX application thread and waits for it and consecutive events to execute.<T> FxRobotInterface
interact(Callable<T> callable)
Calls a callable on the FX application thread and waits for it and consecutive events to execute.FxRobotInterface
interactNoWait(Runnable runnable)
Calls a runnable on the FX application thread and waits for it to execute.<T> FxRobotInterface
interactNoWait(Callable<T> callable)
Calls a callable on the FX application thread and waits for it to execute.FxRobotInterface
interrupt()
CallsWaitForAsyncUtils.waitForFxEvents()
and returns itself for method chaining.FxRobotInterface
interrupt(int attemptsCount)
CallsWaitForAsyncUtils.waitForFxEvents(int)
and returns itself for method chaining.List<javafx.stage.Window>
listTargetWindows()
CallsWindowFinder.listTargetWindows()
and returns itself for method chaining.List<javafx.stage.Window>
listWindows()
CallsWindowFinder.listWindows()
()} and returns itself for method chaining.NodeQuery
lookup(String query)
Convenience method: CallsNodeFinder.lookup(String)
and returns itself for method chaining.<T extends javafx.scene.Node>
NodeQuerylookup(Predicate<T> predicate)
Convenience method: CallsNodeFinder.lookup(Predicate)
and returns itself for method chaining.<T extends javafx.scene.Node>
NodeQuerylookup(org.hamcrest.Matcher<T> matcher)
Convenience method: CallsNodeFinder.lookup(Matcher)
and returns itself for method chaining.default FxRobotInterface
moveBy(double x, double y)
CallsMoveRobot.moveBy(double, double)
and returns itself for more method chaining.FxRobotInterface
moveBy(double x, double y, Motion motion)
CallsMoveRobot.moveBy(double, double, Motion)
and returns itself for more method chaining.default FxRobotInterface
moveTo(double x, double y)
Convenience method: Moves mouse directly to the point returned frompoint(double, double)
and returns itself for method chaining.FxRobotInterface
moveTo(double x, double y, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(double, double)
and returns itself for method chaining.default FxRobotInterface
moveTo(String query)
Convenience method: Moves mouse directly to the point returned frompoint(String)
and returns itself for method chaining.FxRobotInterface
moveTo(String query, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(String)
and returns itself for method chaining.default <T extends javafx.scene.Node>
FxRobotInterfacemoveTo(Predicate<T> predicate)
Convenience method: Moves mouse directly to the point returned frompoint(Predicate)
and returns itself for method chaining.<T extends javafx.scene.Node>
FxRobotInterfacemoveTo(Predicate<T> predicate, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Predicate)
and returns itself for method chaining.default FxRobotInterface
moveTo(javafx.geometry.Bounds bounds)
Convenience method: Moves mouse directly to the center of the givenBounds
and returns itself for method chaining.FxRobotInterface
moveTo(javafx.geometry.Bounds bounds, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Bounds)
and returns itself for method chaining.default FxRobotInterface
moveTo(javafx.geometry.Point2D point)
Convenience method: Moves mouse directly to the point returned frompoint(Point2D)
and returns itself for method chaining.FxRobotInterface
moveTo(javafx.geometry.Point2D point, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Point2D)
and returns itself for method chaining.default FxRobotInterface
moveTo(javafx.scene.Node node)
Convenience method: Moves mouse directly to the center of the givenNode
and returns itself for method chaining.default FxRobotInterface
moveTo(javafx.scene.Node node, javafx.geometry.Point2D offset)
Convenience method: Moves mouse directly to the point returned frompoint(Node)
, with the given offset from the center of the givenNode
, and returns itself for method chaining.FxRobotInterface
moveTo(javafx.scene.Node node, javafx.geometry.Pos offsetReferencePos, javafx.geometry.Point2D offset, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Node)
, with the given offset (from theoffsetReferencePos
, and returns itself for method chaining.default FxRobotInterface
moveTo(javafx.scene.Node node, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the center of the givenNode
and returns itself for method chaining.default FxRobotInterface
moveTo(javafx.scene.Scene scene)
Convenience method: Moves mouse directly to the center of the givenScene
and returns itself for method chaining.FxRobotInterface
moveTo(javafx.scene.Scene scene, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Scene)
and returns itself for method chaining.default FxRobotInterface
moveTo(javafx.stage.Window window)
Convenience method: Moves mouse directly to the center of the givenWindow
and returns itself for method chaining.FxRobotInterface
moveTo(javafx.stage.Window window, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Window)
and returns itself for method chaining.default <T extends javafx.scene.Node>
FxRobotInterfacemoveTo(org.hamcrest.Matcher<T> matcher)
Convenience method: Moves mouse directly to the point returned frompoint(Matcher)
and returns itself for method chaining.<T extends javafx.scene.Node>
FxRobotInterfacemoveTo(org.hamcrest.Matcher<T> matcher, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Matcher)
and returns itself for method chaining.default FxRobotInterface
moveTo(PointQuery pointQuery)
CallsMoveRobot.moveTo(PointQuery)
and returns itself for more method chaining.FxRobotInterface
moveTo(PointQuery pointQuery, Motion motion)
CallsMoveRobot.moveTo(PointQuery, Motion)
and returns itself for more method chaining.PointQuery
offset(String query, double offsetX, double offsetY)
Convenience method: Callspoint(String)
and sets the query's offset by the given offset values.default PointQuery
offset(String query, javafx.geometry.Point2D offset)
Convenience method: Callspoint(String)
and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY).<T extends javafx.scene.Node>
PointQueryoffset(Predicate<T> predicate, double offsetX, double offsetY)
Convenience method: Callspoint(Predicate)
and sets the query's offset by the given offset values.default <T extends javafx.scene.Node>
PointQueryoffset(Predicate<T> predicate, javafx.geometry.Point2D offset)
Convenience method: Callspoint(Predicate)
and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY).PointQuery
offset(javafx.geometry.Bounds bounds, double offsetX, double offsetY)
Convenience method: Callspoint(Bounds)
and sets the query's offset by the given offset values.default PointQuery
offset(javafx.geometry.Bounds bounds, javafx.geometry.Point2D offset)
Convenience method: Callspoint(Bounds)
and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY).PointQuery
offset(javafx.geometry.Point2D point, double offsetX, double offsetY)
Convenience method: Callspoint(Point2D)
and sets the query's offset by the given offset values.default PointQuery
offset(javafx.geometry.Point2D point, javafx.geometry.Point2D offset)
Convenience method: Callspoint(Point2D)
and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY).PointQuery
offset(javafx.scene.Node node, double offsetX, double offsetY)
Convenience method: Callspoint(Node)
and sets the query's offset by the given offset values.default PointQuery
offset(javafx.scene.Node node, javafx.geometry.Point2D offset)
Convenience method: Callspoint(Node)
and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY).PointQuery
offset(javafx.scene.Node node, javafx.geometry.Pos offsetReferencePos, double offsetX, double offsetY)
Convenience method: Callspoint(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.default PointQuery
offset(javafx.scene.Node node, javafx.geometry.Pos offsetReferencePos, javafx.geometry.Point2D offset)
Convenience method: Callspoint(Node)
and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY) where the offset is computed with respect to the given offset reference position.PointQuery
offset(javafx.scene.Scene scene, double offsetX, double offsetY)
Convenience method: Callspoint(Scene)
and sets the query's offset by the given offset values.default PointQuery
offset(javafx.scene.Scene scene, javafx.geometry.Point2D offset)
Convenience method: Callspoint(Scene)
and sets the query's offset by the given offset offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY).PointQuery
offset(javafx.stage.Window window, double offsetX, double offsetY)
Convenience method: Callspoint(Window)
and sets the query's offset by the given offset values.default PointQuery
offset(javafx.stage.Window window, javafx.geometry.Point2D offset)
Convenience method: Callspoint(Window)
and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY).<T extends javafx.scene.Node>
PointQueryoffset(org.hamcrest.Matcher<T> matcher, double offsetX, double offsetY)
Convenience method: Callspoint(Matcher)
and sets the query's offset by the given offset values.default <T extends javafx.scene.Node>
PointQueryoffset(org.hamcrest.Matcher<T> matcher, javafx.geometry.Point2D offset)
Convenience method: Callspoint(Matcher)
and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY).PointQuery
point(double x, double y)
CallsPointLocator.point(Point2D)
usingnew Point2D(x, y)
and sets thePointQuery
'sPointQuery.getPosition()
toFxRobotContext.getPointPosition()
.PointQuery
point(String query)
Convenience method: Tries to find a given node vialookup(String)
before callingpoint(Node)
, throwing aFxRobotException
if no node is found.<T extends javafx.scene.Node>
PointQuerypoint(Predicate<T> predicate)
Convenience method: Tries to find a given node vialookup(Predicate)
before callingpoint(Node)
, throwing aFxRobotException
if no node is found.PointQuery
point(javafx.geometry.Bounds bounds)
CallsPointLocator.point(Bounds)
and sets thePointQuery
'sPointQuery.getPosition()
toFxRobotContext.getPointPosition()
.PointQuery
point(javafx.geometry.Point2D point)
CallsPointLocator.point(Point2D)
and sets thePointQuery
'sPointQuery.getPosition()
toFxRobotContext.getPointPosition()
.PointQuery
point(javafx.scene.Node node)
CallsPointLocator.point(Node)
and sets thePointQuery
'sPointQuery.getPosition()
toFxRobotContext.getPointPosition()
.PointQuery
point(javafx.scene.Scene scene)
CallsPointLocator.point(Scene)
and sets thePointQuery
'sPointQuery.getPosition()
toFxRobotContext.getPointPosition()
.PointQuery
point(javafx.stage.Window window)
CallsPointLocator.point(Window)
and sets thePointQuery
'sPointQuery.getPosition()
toFxRobotContext.getPointPosition()
.<T extends javafx.scene.Node>
PointQuerypoint(org.hamcrest.Matcher<T> matcher)
Convenience method: Tries to find a given node vialookup(Matcher)
before callingpoint(Node)
, throwing aFxRobotException
if no node is found.FxRobotInterface
press(javafx.scene.input.KeyCode... keys)
CallsKeyboardRobot.press(KeyCode...)
and returns itself for method chaining.FxRobotInterface
press(javafx.scene.input.MouseButton... buttons)
Presses and holds mouse buttons.FxRobotInterface
push(javafx.scene.input.KeyCode... combination)
CallsTypeRobot.push(KeyCode...)
and returns itself for more method chaining.FxRobotInterface
push(javafx.scene.input.KeyCodeCombination combination)
CallsTypeRobot.push(KeyCodeCombination)
and returns itself for more method chaining.FxRobotInterface
release(javafx.scene.input.KeyCode... keys)
CallsKeyboardRobot.press(KeyCode...)
and returns itself for method chaining.FxRobotInterface
release(javafx.scene.input.MouseButton... buttons)
Releases pressed mouse buttons.FxRobotInterface
rightClickOn()
Convenience method: Clicks theMouseButton.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 theMouseButton.SECONDARY
button, and returns itself for method chaining.FxRobotInterface
rightClickOn(double x, double y, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the given coordinates, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.default FxRobotInterface
rightClickOn(String query)
Convenience method: Moves mouse directly to the point returned frompoint(String)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.FxRobotInterface
rightClickOn(String query, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(String)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.default <T extends javafx.scene.Node>
FxRobotInterfacerightClickOn(Predicate<T> predicate)
Convenience method: Moves mouse directly to the point returned frompoint(Predicate)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.<T extends javafx.scene.Node>
FxRobotInterfacerightClickOn(Predicate<T> predicate, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Predicate)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.default FxRobotInterface
rightClickOn(javafx.geometry.Bounds bounds)
Convenience method: Moves mouse directly to the point returned frompoint(Bounds)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.FxRobotInterface
rightClickOn(javafx.geometry.Bounds bounds, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Bounds)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.default FxRobotInterface
rightClickOn(javafx.geometry.Point2D point)
Convenience method: Moves mouse to the point returned frompoint(Point2D)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.FxRobotInterface
rightClickOn(javafx.geometry.Point2D point, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Point2D)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.default FxRobotInterface
rightClickOn(javafx.scene.Node node)
Convenience method: Moves mouse directly to the point returned frompoint(Node)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.FxRobotInterface
rightClickOn(javafx.scene.Node node, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Node)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.default FxRobotInterface
rightClickOn(javafx.scene.Scene scene)
Convenience method: Moves mouse directly to the point returned frompoint(Scene)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.FxRobotInterface
rightClickOn(javafx.scene.Scene scene, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Scene)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.default FxRobotInterface
rightClickOn(javafx.stage.Window window)
Convenience method: Moves mouse directly to the point returned frompoint(Window)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.FxRobotInterface
rightClickOn(javafx.stage.Window window, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Window)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.default <T extends javafx.scene.Node>
FxRobotInterfacerightClickOn(org.hamcrest.Matcher<T> matcher)
Convenience method: Moves mouse directly to the point returned frompoint(Matcher)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.<T extends javafx.scene.Node>
FxRobotInterfacerightClickOn(org.hamcrest.Matcher<T> matcher, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Matcher)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.default FxRobotInterface
rightClickOn(PointQuery pointQuery)
Convenience method: Moves mouse directly to the point returned fromPointQuery.query()
, clicks theMouseButton.SECONDARY
button and returns itself for method chaining.FxRobotInterface
rightClickOn(PointQuery pointQuery, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned fromPointQuery.query()
, clicks theMouseButton.SECONDARY
button and returns itself for method chaining.javafx.scene.Node
rootNode(javafx.scene.Node node)
CallsNodeFinder.rootNode(Node)
and returns itself for method chaining.javafx.scene.Node
rootNode(javafx.scene.Scene scene)
CallsNodeFinder.rootNode(Scene)
and returns itself for method chaining.javafx.scene.Node
rootNode(javafx.stage.Window window)
CallsNodeFinder.rootNode(Window)
and returns itself for method chaining.FxRobotInterface
scroll(int amount)
CallsScrollRobot.scroll(int)
and returns itself for more method chaining.FxRobotInterface
scroll(int amount, javafx.geometry.HorizontalDirection direction)
CallsScrollRobot.scroll(int, HorizontalDirection)
and returns itself for more method chaining.FxRobotInterface
scroll(int amount, javafx.geometry.VerticalDirection direction)
CallsScrollRobot.scroll(int, VerticalDirection)
and returns itself for more method chaining.FxRobotInterface
scroll(javafx.geometry.HorizontalDirection direction)
CallsScrollRobot.scroll(int, VerticalDirection)
with arguments1
anddirection
and returns itself for more method chaining.FxRobotInterface
scroll(javafx.geometry.VerticalDirection direction)
CallsScrollRobot.scroll(int, VerticalDirection)
with arguments1
anddirection
and returns itself for more method chaining.FxRobotInterface
sleep(long milliseconds)
CallsSleepRobot.sleep(long)
and returns itself for more method chaining.FxRobotInterface
sleep(long duration, TimeUnit timeUnit)
CallsSleepRobot.sleep(long, TimeUnit)
and returns itself for more method chaining.FxRobotInterface
targetPos(javafx.geometry.Pos pointPosition)
Stores the given position as the position to be used in allpoint()
-related methods such aspoint(Node)
andpoint(Point2D)
, and returns itself for method chaining.javafx.stage.Window
targetWindow()
CallsWindowFinder.targetWindow()
and returns itself for method chaining.FxRobotInterface
targetWindow(int windowIndex)
Convenience method: CallsWindowFinder.targetWindow(int)
and returns itself for method chaining.FxRobotInterface
targetWindow(String stageTitleRegex)
Convenience method: CallsWindowFinder.targetWindow(String)
and returns itself for method chaining.FxRobotInterface
targetWindow(Predicate<javafx.stage.Window> predicate)
CallsWindowFinder.targetWindow(Predicate)
and returns itself for method chaining.FxRobotInterface
targetWindow(Pattern stageTitlePattern)
Convenience method: CallsWindowFinder.targetWindow(Pattern)
and returns itself for method chaining.FxRobotInterface
targetWindow(javafx.scene.Node node)
Convenience method: CallsWindowFinder.targetWindow(Node)
and returns itself for method chaining.FxRobotInterface
targetWindow(javafx.scene.Scene scene)
Convenience method: CallsWindowFinder.targetWindow(Scene)
and returns itself for method chaining.FxRobotInterface
targetWindow(javafx.stage.Window window)
CallsWindowFinder.targetWindow(Window)
and returns itself for method chaining.FxRobotInterface
type(javafx.scene.input.KeyCode... keys)
CallsTypeRobot.type(KeyCode...)
and returns itself for more method chaining.FxRobotInterface
type(javafx.scene.input.KeyCode key, int times)
CallsTypeRobot.type(KeyCode, int)
and returns itself for more method chaining.javafx.stage.Window
window(int windowIndex)
Convenience method: CallsWindowFinder.window(int)
and returns itself for method chaining.javafx.stage.Window
window(String stageTitleRegex)
Convenience method: CallsWindowFinder.window(String)
and returns itself for method chaining.javafx.stage.Window
window(Predicate<javafx.stage.Window> predicate)
CallsWindowFinder.window(Predicate)
and returns itself for method chaining.javafx.stage.Window
window(Pattern stageTitlePattern)
Convenience method: CallsWindowFinder.window(Pattern)
and returns itself for method chaining.javafx.stage.Window
window(javafx.scene.Node node)
Convenience method: CallsWindowFinder.window(Node)
and returns itself for method chaining.javafx.stage.Window
window(javafx.scene.Scene scene)
Convenience method: CallsWindowFinder.window(Scene)
and returns itself for method chaining.FxRobotInterface
write(char character)
CallsWriteRobot.write(char)
and returns itself for more method chaining.FxRobotInterface
write(String text)
CallsWriteRobot.write(String)
and returns itself for more method chaining.FxRobotInterface
write(String text, int sleepMillis)
CallsWriteRobot.write(String, int)
and returns itself for more method chaining.
-
-
-
Method Detail
-
targetWindow
javafx.stage.Window targetWindow()
CallsWindowFinder.targetWindow()
and returns itself for method chaining.
-
targetWindow
FxRobotInterface targetWindow(javafx.stage.Window window)
CallsWindowFinder.targetWindow(Window)
and returns itself for method chaining.
-
targetWindow
FxRobotInterface targetWindow(Predicate<javafx.stage.Window> predicate)
CallsWindowFinder.targetWindow(Predicate)
and returns itself for method chaining.
-
targetWindow
FxRobotInterface targetWindow(int windowIndex)
Convenience method: CallsWindowFinder.targetWindow(int)
and returns itself for method chaining.
-
targetWindow
FxRobotInterface targetWindow(String stageTitleRegex)
Convenience method: CallsWindowFinder.targetWindow(String)
and returns itself for method chaining.
-
targetWindow
FxRobotInterface targetWindow(Pattern stageTitlePattern)
Convenience method: CallsWindowFinder.targetWindow(Pattern)
and returns itself for method chaining.
-
targetWindow
FxRobotInterface targetWindow(javafx.scene.Scene scene)
Convenience method: CallsWindowFinder.targetWindow(Scene)
and returns itself for method chaining.
-
targetWindow
FxRobotInterface targetWindow(javafx.scene.Node node)
Convenience method: CallsWindowFinder.targetWindow(Node)
and returns itself for method chaining.
-
listWindows
List<javafx.stage.Window> listWindows()
CallsWindowFinder.listWindows()
()} and returns itself for method chaining.
-
listTargetWindows
List<javafx.stage.Window> listTargetWindows()
CallsWindowFinder.listTargetWindows()
and returns itself for method chaining.
-
window
javafx.stage.Window window(Predicate<javafx.stage.Window> predicate)
CallsWindowFinder.window(Predicate)
and returns itself for method chaining.
-
window
javafx.stage.Window window(int windowIndex)
Convenience method: CallsWindowFinder.window(int)
and returns itself for method chaining.
-
window
javafx.stage.Window window(String stageTitleRegex)
Convenience method: CallsWindowFinder.window(String)
and returns itself for method chaining.
-
window
javafx.stage.Window window(Pattern stageTitlePattern)
Convenience method: CallsWindowFinder.window(Pattern)
and returns itself for method chaining.
-
window
javafx.stage.Window window(javafx.scene.Scene scene)
Convenience method: CallsWindowFinder.window(Scene)
and returns itself for method chaining.
-
window
javafx.stage.Window window(javafx.scene.Node node)
Convenience method: CallsWindowFinder.window(Node)
and returns itself for method chaining.
-
fromAll
NodeQuery fromAll()
CallsNodeFinder.fromAll()
and returns itself for method chaining.
-
from
NodeQuery from(javafx.scene.Node... parentNodes)
CallsNodeFinder.from(Node...)
and returns itself for method chaining.
-
from
NodeQuery from(Collection<javafx.scene.Node> parentNodes)
CallsNodeFinder.from(Collection)
and returns itself for method chaining.
-
rootNode
javafx.scene.Node rootNode(javafx.stage.Window window)
CallsNodeFinder.rootNode(Window)
and returns itself for method chaining.
-
rootNode
javafx.scene.Node rootNode(javafx.scene.Scene scene)
CallsNodeFinder.rootNode(Scene)
and returns itself for method chaining.
-
rootNode
javafx.scene.Node rootNode(javafx.scene.Node node)
CallsNodeFinder.rootNode(Node)
and returns itself for method chaining.
-
lookup
NodeQuery lookup(String query)
Convenience method: CallsNodeFinder.lookup(String)
and returns itself for method chaining.
-
lookup
<T extends javafx.scene.Node> NodeQuery lookup(org.hamcrest.Matcher<T> matcher)
Convenience method: CallsNodeFinder.lookup(Matcher)
and returns itself for method chaining.
-
lookup
<T extends javafx.scene.Node> NodeQuery lookup(Predicate<T> predicate)
Convenience method: CallsNodeFinder.lookup(Predicate)
and returns itself for method chaining.
-
from
NodeQuery from(NodeQuery nodeQuery)
Convenience method: CallsNodeFinder.from(NodeQuery)
and returns itself for method chaining.
-
bounds
BoundsQuery bounds(double minX, double minY, double width, double height)
-
bounds
BoundsQuery bounds(javafx.geometry.Point2D point)
-
bounds
BoundsQuery bounds(javafx.geometry.Bounds bounds)
Creates aBoundsQuery
that returns the given bounds
-
bounds
BoundsQuery bounds(javafx.scene.Node node)
-
bounds
BoundsQuery bounds(javafx.scene.Scene scene)
CallsBoundsQueryUtils.boundsOnScreen(Bounds, Scene)
with given scene's bounds
-
bounds
BoundsQuery bounds(javafx.stage.Window window)
CallsBoundsQueryUtils.boundsOnScreen(Bounds, Window)
with the given window's bounds
-
bounds
BoundsQuery bounds(String query)
NOT YET IMPLEMENTED
-
bounds
<T extends javafx.scene.Node> BoundsQuery bounds(org.hamcrest.Matcher<T> matcher)
NOT YET IMPLEMENTED
-
bounds
<T extends javafx.scene.Node> BoundsQuery bounds(Predicate<T> predicate)
NOT YET IMPLEMENTED
-
targetPos
FxRobotInterface targetPos(javafx.geometry.Pos pointPosition)
Stores the given position as the position to be used in allpoint()
-related methods such aspoint(Node)
andpoint(Point2D)
, and returns itself for method chaining. The default value isPos.CENTER
-
point
PointQuery point(double x, double y)
CallsPointLocator.point(Point2D)
usingnew Point2D(x, y)
and sets thePointQuery
'sPointQuery.getPosition()
toFxRobotContext.getPointPosition()
.
-
point
PointQuery point(javafx.geometry.Point2D point)
CallsPointLocator.point(Point2D)
and sets thePointQuery
'sPointQuery.getPosition()
toFxRobotContext.getPointPosition()
.
-
point
PointQuery point(javafx.geometry.Bounds bounds)
CallsPointLocator.point(Bounds)
and sets thePointQuery
'sPointQuery.getPosition()
toFxRobotContext.getPointPosition()
.
-
point
PointQuery point(javafx.scene.Node node)
CallsPointLocator.point(Node)
and sets thePointQuery
'sPointQuery.getPosition()
toFxRobotContext.getPointPosition()
.
-
point
PointQuery point(javafx.scene.Scene scene)
CallsPointLocator.point(Scene)
and sets thePointQuery
'sPointQuery.getPosition()
toFxRobotContext.getPointPosition()
.
-
point
PointQuery point(javafx.stage.Window window)
CallsPointLocator.point(Window)
and sets thePointQuery
'sPointQuery.getPosition()
toFxRobotContext.getPointPosition()
.
-
point
PointQuery point(String query)
Convenience method: Tries to find a given node vialookup(String)
before callingpoint(Node)
, throwing aFxRobotException
if no node is found.
-
point
<T extends javafx.scene.Node> PointQuery point(org.hamcrest.Matcher<T> matcher)
Convenience method: Tries to find a given node vialookup(Matcher)
before callingpoint(Node)
, throwing aFxRobotException
if no node is found.
-
point
<T extends javafx.scene.Node> PointQuery point(Predicate<T> predicate)
Convenience method: Tries to find a given node vialookup(Predicate)
before callingpoint(Node)
, throwing aFxRobotException
if no node is found.
-
offset
PointQuery offset(javafx.geometry.Point2D point, double offsetX, double offsetY)
Convenience method: Callspoint(Point2D)
and sets the query's offset by the given offset values.
-
offset
default PointQuery offset(javafx.geometry.Point2D point, javafx.geometry.Point2D offset)
Convenience method: Callspoint(Point2D)
and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY).
-
offset
PointQuery offset(javafx.geometry.Bounds bounds, double offsetX, double offsetY)
Convenience method: Callspoint(Bounds)
and sets the query's offset by the given offset values.
-
offset
default PointQuery offset(javafx.geometry.Bounds bounds, javafx.geometry.Point2D offset)
Convenience method: Callspoint(Bounds)
and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY).
-
offset
PointQuery offset(javafx.scene.Node node, double offsetX, double offsetY)
Convenience method: Callspoint(Node)
and sets the query's offset by the given offset values.
-
offset
default PointQuery offset(javafx.scene.Node node, javafx.geometry.Point2D offset)
Convenience method: Callspoint(Node)
and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY).
-
offset
PointQuery offset(javafx.scene.Node node, javafx.geometry.Pos offsetReferencePos, double offsetX, double offsetY)
Convenience method: Callspoint(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
default PointQuery offset(javafx.scene.Node node, javafx.geometry.Pos offsetReferencePos, javafx.geometry.Point2D offset)
Convenience method: Callspoint(Node)
and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY) where the offset is computed with respect to the given offset reference position.
-
offset
PointQuery offset(javafx.scene.Scene scene, double offsetX, double offsetY)
Convenience method: Callspoint(Scene)
and sets the query's offset by the given offset values.
-
offset
default PointQuery offset(javafx.scene.Scene scene, javafx.geometry.Point2D offset)
Convenience method: Callspoint(Scene)
and sets the query's offset by the given offset offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY).
-
offset
PointQuery offset(javafx.stage.Window window, double offsetX, double offsetY)
Convenience method: Callspoint(Window)
and sets the query's offset by the given offset values.
-
offset
default PointQuery offset(javafx.stage.Window window, javafx.geometry.Point2D offset)
Convenience method: Callspoint(Window)
and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY).
-
offset
PointQuery offset(String query, double offsetX, double offsetY)
Convenience method: Callspoint(String)
and sets the query's offset by the given offset values.
-
offset
default PointQuery offset(String query, javafx.geometry.Point2D offset)
Convenience method: Callspoint(String)
and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY).
-
offset
<T extends javafx.scene.Node> PointQuery offset(org.hamcrest.Matcher<T> matcher, double offsetX, double offsetY)
Convenience method: Callspoint(Matcher)
and sets the query's offset by the given offset values.
-
offset
default <T extends javafx.scene.Node> PointQuery offset(org.hamcrest.Matcher<T> matcher, javafx.geometry.Point2D offset)
Convenience method: Callspoint(Matcher)
and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY).
-
offset
<T extends javafx.scene.Node> PointQuery offset(Predicate<T> predicate, double offsetX, double offsetY)
Convenience method: Callspoint(Predicate)
and sets the query's offset by the given offset values.
-
offset
default <T extends javafx.scene.Node> PointQuery offset(Predicate<T> predicate, javafx.geometry.Point2D offset)
Convenience method: Callspoint(Predicate)
and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY).
-
capture
Capture capture(javafx.geometry.Rectangle2D screenRegion)
Returns aCapture
that supplies a screenshot using the given rectangle's bounds.
-
capture
Capture capture(javafx.geometry.Bounds bounds)
Returns aCapture
that supplies a screenshot using the given bounds.
-
capture
Capture capture(javafx.scene.Node node)
Returns aCapture
that supplies a screenshot using the given node's bounds.
-
capture
Capture capture(javafx.scene.image.Image image)
Convenience method: Returns aCapture
that supplies the givenImage
.
-
interact
FxRobotInterface interact(Runnable runnable)
Calls a runnable on the FX application thread and waits for it and consecutive events to execute. So changes to the gui triggered by the runnable will be performed when returned from this method.- Parameters:
runnable
- the runnable- Returns:
- this robot
-
interact
<T> FxRobotInterface interact(Callable<T> callable)
Calls a callable on the FX application thread and waits for it and consecutive events to execute. So changes to the gui triggered by the callable will be performed when returned from this method.- Parameters:
callable
- the callable- Returns:
- this robot
-
interactNoWait
FxRobotInterface interactNoWait(Runnable runnable)
Calls a runnable on the FX application thread and waits for it to execute. It does not wait for other events on the fx application thread. So changes to the gui triggered by the runnable may not be performed when returned from this method.- Parameters:
runnable
- the runnable- Returns:
- this robot
-
interactNoWait
<T> FxRobotInterface interactNoWait(Callable<T> callable)
Calls a callable on the FX application thread and waits for it to execute. It does not wait for other events on the fx application thread. So changes to the gui triggered by the callable may not be performed when returned from this method.- Parameters:
callable
- the callable- Returns:
- this robot
-
interrupt
FxRobotInterface interrupt()
CallsWaitForAsyncUtils.waitForFxEvents()
and returns itself for method chaining.
-
interrupt
FxRobotInterface interrupt(int attemptsCount)
CallsWaitForAsyncUtils.waitForFxEvents(int)
and returns itself for method chaining.
-
sleep
FxRobotInterface sleep(long milliseconds)
CallsSleepRobot.sleep(long)
and returns itself for more method chaining.
-
sleep
FxRobotInterface sleep(long duration, TimeUnit timeUnit)
CallsSleepRobot.sleep(long, TimeUnit)
and returns itself for more method chaining.
-
clickOn
FxRobotInterface clickOn(javafx.scene.input.MouseButton... buttons)
CallsClickRobot.clickOn(MouseButton...)
and returns itself for more method chaining.
-
clickOn
default FxRobotInterface clickOn(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons)
CallsClickRobot.clickOn(PointQuery, Motion, MouseButton...)
and returns itself for more method chaining.
-
clickOn
FxRobotInterface clickOn(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons)
CallsClickRobot.clickOn(PointQuery, MouseButton...)
and returns itself for more method chaining.
-
doubleClickOn
FxRobotInterface doubleClickOn(javafx.scene.input.MouseButton... buttons)
CallsClickRobot.doubleClickOn(MouseButton...)
and returns itself for more method chaining.
-
doubleClickOn
default FxRobotInterface doubleClickOn(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons)
CallsClickRobot.doubleClickOn(PointQuery, Motion, MouseButton...)
and returns itself for method chaining.
-
doubleClickOn
FxRobotInterface doubleClickOn(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons)
CallsClickRobot.doubleClickOn(PointQuery, Motion, MouseButton...)
and returns itself for method chaining.
-
clickOn
default FxRobotInterface clickOn(double x, double y, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the given coordinates, clicks the given buttons, and returns itself for method chaining.
-
clickOn
FxRobotInterface clickOn(double x, double y, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the given coordinates, clicks the given buttons, and returns itself for method chaining.
-
clickOn
default FxRobotInterface clickOn(javafx.geometry.Point2D point, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the given point, clicks the given buttons, and returns itself for method chaining.
-
clickOn
FxRobotInterface clickOn(javafx.geometry.Point2D point, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the given point, clicks the given buttons, and returns itself for method chaining.
-
clickOn
default FxRobotInterface clickOn(javafx.geometry.Bounds bounds, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Bounds)
, clicks the given buttons, and returns itself for method chaining.
-
clickOn
FxRobotInterface clickOn(javafx.geometry.Bounds bounds, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Bounds)
, clicks the given buttons, and returns itself for method chaining.
-
clickOn
default FxRobotInterface clickOn(javafx.scene.Node node, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Node)
, clicks the given buttons, and returns itself for method chaining.
-
clickOn
FxRobotInterface clickOn(javafx.scene.Node node, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Node)
, clicks the given buttons, and returns itself for method chaining.
-
clickOn
default FxRobotInterface clickOn(javafx.scene.Scene scene, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Scene)
, clicks the given buttons, and returns itself for method chaining.
-
clickOn
FxRobotInterface clickOn(javafx.scene.Scene scene, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Scene)
, clicks the given buttons, and returns itself for method chaining.
-
clickOn
default FxRobotInterface clickOn(javafx.stage.Window window, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Window)
, clicks the given buttons, and returns itself for method chaining.
-
clickOn
FxRobotInterface clickOn(javafx.stage.Window window, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Window)
, clicks the given buttons, and returns itself for method chaining.
-
clickOn
default FxRobotInterface clickOn(String query, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(String)
, clicks the given buttons, and returns itself for method chaining.
-
clickOn
FxRobotInterface clickOn(String query, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(String)
, clicks the given buttons, and returns itself for method chaining.
-
clickOn
default <T extends javafx.scene.Node> FxRobotInterface clickOn(org.hamcrest.Matcher<T> matcher, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Matcher)
, clicks the given buttons, and returns itself for method chaining.
-
clickOn
<T extends javafx.scene.Node> FxRobotInterface clickOn(org.hamcrest.Matcher<T> matcher, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Matcher)
, clicks the given buttons, and returns itself for method chaining.
-
clickOn
default <T extends javafx.scene.Node> FxRobotInterface clickOn(Predicate<T> predicate, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Predicate)
, clicks the given buttons, and returns itself for method chaining.
-
clickOn
<T extends javafx.scene.Node> FxRobotInterface clickOn(Predicate<T> predicate, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Predicate)
, clicks the given buttons, and returns itself for method chaining.
-
rightClickOn
FxRobotInterface rightClickOn()
Convenience method: Clicks theMouseButton.SECONDARY
button and returns itself for method chaining.
-
rightClickOn
default FxRobotInterface rightClickOn(PointQuery pointQuery)
Convenience method: Moves mouse directly to the point returned fromPointQuery.query()
, clicks theMouseButton.SECONDARY
button and returns itself for method chaining.
-
rightClickOn
FxRobotInterface rightClickOn(PointQuery pointQuery, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned fromPointQuery.query()
, clicks theMouseButton.SECONDARY
button and returns itself for method chaining.
-
rightClickOn
default FxRobotInterface rightClickOn(double x, double y)
Convenience method: Moves mouse directly to the given coordinates, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.
-
rightClickOn
FxRobotInterface rightClickOn(double x, double y, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the given coordinates, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.
-
rightClickOn
default FxRobotInterface rightClickOn(javafx.geometry.Point2D point)
Convenience method: Moves mouse to the point returned frompoint(Point2D)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.
-
rightClickOn
FxRobotInterface rightClickOn(javafx.geometry.Point2D point, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Point2D)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.
-
rightClickOn
default FxRobotInterface rightClickOn(javafx.geometry.Bounds bounds)
Convenience method: Moves mouse directly to the point returned frompoint(Bounds)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.
-
rightClickOn
FxRobotInterface rightClickOn(javafx.geometry.Bounds bounds, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Bounds)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.
-
rightClickOn
default FxRobotInterface rightClickOn(javafx.scene.Node node)
Convenience method: Moves mouse directly to the point returned frompoint(Node)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.
-
rightClickOn
FxRobotInterface rightClickOn(javafx.scene.Node node, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Node)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.
-
rightClickOn
default FxRobotInterface rightClickOn(javafx.scene.Scene scene)
Convenience method: Moves mouse directly to the point returned frompoint(Scene)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.
-
rightClickOn
FxRobotInterface rightClickOn(javafx.scene.Scene scene, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Scene)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.
-
rightClickOn
default FxRobotInterface rightClickOn(javafx.stage.Window window)
Convenience method: Moves mouse directly to the point returned frompoint(Window)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.
-
rightClickOn
FxRobotInterface rightClickOn(javafx.stage.Window window, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Window)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.
-
rightClickOn
default FxRobotInterface rightClickOn(String query)
Convenience method: Moves mouse directly to the point returned frompoint(String)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.
-
rightClickOn
FxRobotInterface rightClickOn(String query, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(String)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.
-
rightClickOn
default <T extends javafx.scene.Node> FxRobotInterface rightClickOn(org.hamcrest.Matcher<T> matcher)
Convenience method: Moves mouse directly to the point returned frompoint(Matcher)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.
-
rightClickOn
<T extends javafx.scene.Node> FxRobotInterface rightClickOn(org.hamcrest.Matcher<T> matcher, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Matcher)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.
-
rightClickOn
default <T extends javafx.scene.Node> FxRobotInterface rightClickOn(Predicate<T> predicate)
Convenience method: Moves mouse directly to the point returned frompoint(Predicate)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.
-
rightClickOn
<T extends javafx.scene.Node> FxRobotInterface rightClickOn(Predicate<T> predicate, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Predicate)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.
-
doubleClickOn
default FxRobotInterface doubleClickOn(double x, double y, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(double, double)
, double clicks the given buttons, and returns itself for method chaining.
-
doubleClickOn
FxRobotInterface doubleClickOn(double x, double y, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(double, double)
, double clicks the given buttons, and returns itself for method chaining.
-
doubleClickOn
default FxRobotInterface doubleClickOn(javafx.geometry.Point2D point, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Point2D)
, double clicks the given buttons, and returns itself for method chaining.
-
doubleClickOn
FxRobotInterface doubleClickOn(javafx.geometry.Point2D point, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Point2D)
, double clicks the given buttons, and returns itself for method chaining.
-
doubleClickOn
default FxRobotInterface doubleClickOn(javafx.geometry.Bounds bounds, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Bounds)
, double clicks the given buttons, and returns itself for method chaining.
-
doubleClickOn
FxRobotInterface doubleClickOn(javafx.geometry.Bounds bounds, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Bounds)
, double clicks the given buttons, and returns itself for method chaining.
-
doubleClickOn
default FxRobotInterface doubleClickOn(javafx.scene.Node node, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Node)
, double clicks the given buttons, and returns itself for method chaining.
-
doubleClickOn
FxRobotInterface doubleClickOn(javafx.scene.Node node, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Node)
, double clicks the given buttons, and returns itself for method chaining.
-
doubleClickOn
default FxRobotInterface doubleClickOn(javafx.scene.Scene scene, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Scene)
, double clicks the given buttons, and returns itself for method chaining.
-
doubleClickOn
FxRobotInterface doubleClickOn(javafx.scene.Scene scene, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Scene)
, double clicks the given buttons, and returns itself for method chaining.
-
doubleClickOn
default FxRobotInterface doubleClickOn(javafx.stage.Window window, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Window)
, double clicks the given buttons, and returns itself for method chaining.
-
doubleClickOn
FxRobotInterface doubleClickOn(javafx.stage.Window window, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Window)
, double clicks the given buttons, and returns itself for method chaining.
-
doubleClickOn
default FxRobotInterface doubleClickOn(String query, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(String)
, double clicks the given buttons, and returns itself for method chaining.
-
doubleClickOn
FxRobotInterface doubleClickOn(String query, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(String)
, double clicks the given buttons, and returns itself for method chaining.
-
doubleClickOn
default <T extends javafx.scene.Node> FxRobotInterface doubleClickOn(org.hamcrest.Matcher<T> matcher, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Matcher)
, double clicks the given buttons, and returns itself for method chaining.
-
doubleClickOn
<T extends javafx.scene.Node> FxRobotInterface doubleClickOn(org.hamcrest.Matcher<T> matcher, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Matcher)
, double clicks the given buttons, and returns itself for method chaining.
-
doubleClickOn
default <T extends javafx.scene.Node> FxRobotInterface doubleClickOn(Predicate<T> predicate, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse directly to the point returned frompoint(Predicate)
, double clicks the given buttons, and returns itself for method chaining.
-
doubleClickOn
<T extends javafx.scene.Node> FxRobotInterface doubleClickOn(Predicate<T> predicate, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Predicate)
, double clicks the given buttons, and returns itself for method chaining.
-
drag
FxRobotInterface drag(javafx.scene.input.MouseButton... buttons)
CallsDragRobot.drag(MouseButton...)
and returns itself for more method chaining.
-
drag
FxRobotInterface drag(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons)
CallsDragRobot.drag(PointQuery, MouseButton...)
and returns itself for more method chaining.
-
drop
FxRobotInterface drop()
CallsDragRobot.drop()
and returns itself for more method chaining.
-
dropTo
FxRobotInterface dropTo(PointQuery pointQuery)
CallsDragRobot.dropTo(PointQuery)
and returns itself for more method chaining.
-
dropBy
FxRobotInterface dropBy(double x, double y)
CallsDragRobot.dropBy(double, double)
and returns itself for more method chaining.
-
drag
FxRobotInterface drag(double x, double y, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned frompoint(double, double)
, presses the given buttons, and returns itself for method chaining.
-
drag
FxRobotInterface drag(javafx.geometry.Point2D point, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned frompoint(Point2D)
, presses the given buttons, and returns itself for method chaining.
-
drag
FxRobotInterface drag(javafx.geometry.Bounds bounds, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned frompoint(Bounds)
, presses the given buttons, and returns itself for method chaining.
-
drag
FxRobotInterface drag(javafx.scene.Node node, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned frompoint(Node)
, presses the given buttons, and returns itself for method chaining.
-
drag
FxRobotInterface drag(javafx.scene.Scene scene, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned frompoint(Scene)
, presses the given buttons, and returns itself for method chaining.
-
drag
FxRobotInterface drag(javafx.stage.Window window, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned frompoint(Window)
, presses the given buttons, and returns itself for method chaining.
-
drag
FxRobotInterface drag(String query, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned frompoint(String)
, presses the given buttons, and returns itself for method chaining.
-
drag
<T extends javafx.scene.Node> FxRobotInterface drag(org.hamcrest.Matcher<T> matcher, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned frompoint(Matcher)
, presses the given buttons, and returns itself for method chaining.
-
drag
<T extends javafx.scene.Node> FxRobotInterface drag(Predicate<T> predicate, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse to the point returned frompoint(Predicate)
, presses the given buttons, and returns itself for method chaining.
-
dropTo
FxRobotInterface dropTo(double x, double y)
Convenience method: Moves mouse to the point returned frompoint(double, double)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.
-
dropTo
FxRobotInterface dropTo(javafx.geometry.Point2D point)
Convenience method: Moves mouse to the point returned frompoint(Point2D)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.
-
dropTo
FxRobotInterface dropTo(javafx.geometry.Bounds bounds)
Convenience method: Moves mouse to the point returned frompoint(Bounds)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.
-
dropTo
FxRobotInterface dropTo(javafx.scene.Node node)
Convenience method: Moves mouse to the point returned frompoint(Node)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.
-
dropTo
FxRobotInterface dropTo(javafx.scene.Scene scene)
Convenience method: Moves mouse to the point returned frompoint(Scene)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.
-
dropTo
FxRobotInterface dropTo(javafx.stage.Window window)
Convenience method: Moves mouse to the point returned frompoint(Window)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.
-
dropTo
FxRobotInterface dropTo(String query)
Convenience method: Moves mouse to the point returned frompoint(String)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.
-
dropTo
<T extends javafx.scene.Node> FxRobotInterface dropTo(org.hamcrest.Matcher<T> matcher)
Convenience method: Moves mouse to the point returned frompoint(Matcher)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.
-
dropTo
<T extends javafx.scene.Node> FxRobotInterface dropTo(Predicate<T> predicate)
Convenience method: Moves mouse to the point returned frompoint(Predicate)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.
-
press
FxRobotInterface press(javafx.scene.input.KeyCode... keys)
CallsKeyboardRobot.press(KeyCode...)
and returns itself for method chaining.
-
release
FxRobotInterface release(javafx.scene.input.KeyCode... keys)
CallsKeyboardRobot.press(KeyCode...)
and returns itself for method chaining.
-
press
FxRobotInterface press(javafx.scene.input.MouseButton... buttons)
Presses and holds mouse buttons.- Parameters:
buttons
- mouse buttons to press, defaults to primary mouse button.
-
release
FxRobotInterface release(javafx.scene.input.MouseButton... buttons)
Releases pressed mouse buttons.- Parameters:
buttons
- mouse buttons to release, defaults to all pressed mouse buttons.
-
moveTo
default FxRobotInterface moveTo(PointQuery pointQuery)
CallsMoveRobot.moveTo(PointQuery)
and returns itself for more method chaining.
-
moveTo
FxRobotInterface moveTo(PointQuery pointQuery, Motion motion)
CallsMoveRobot.moveTo(PointQuery, Motion)
and returns itself for more method chaining.
-
moveBy
default FxRobotInterface moveBy(double x, double y)
CallsMoveRobot.moveBy(double, double)
and returns itself for more method chaining.
-
moveBy
FxRobotInterface moveBy(double x, double y, Motion motion)
CallsMoveRobot.moveBy(double, double, Motion)
and returns itself for more method chaining.
-
moveTo
default FxRobotInterface moveTo(double x, double y)
Convenience method: Moves mouse directly to the point returned frompoint(double, double)
and returns itself for method chaining.
-
moveTo
FxRobotInterface moveTo(double x, double y, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(double, double)
and returns itself for method chaining.
-
moveTo
default FxRobotInterface moveTo(javafx.geometry.Point2D point)
Convenience method: Moves mouse directly to the point returned frompoint(Point2D)
and returns itself for method chaining.
-
moveTo
FxRobotInterface moveTo(javafx.geometry.Point2D point, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Point2D)
and returns itself for method chaining.
-
moveTo
default FxRobotInterface moveTo(javafx.geometry.Bounds bounds)
Convenience method: Moves mouse directly to the center of the givenBounds
and returns itself for method chaining.
-
moveTo
FxRobotInterface moveTo(javafx.geometry.Bounds bounds, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Bounds)
and returns itself for method chaining.
-
moveTo
default FxRobotInterface moveTo(javafx.scene.Node node)
Convenience method: Moves mouse directly to the center of the givenNode
and returns itself for method chaining.
-
moveTo
default FxRobotInterface moveTo(javafx.scene.Node node, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the center of the givenNode
and returns itself for method chaining.
-
moveTo
default FxRobotInterface moveTo(javafx.scene.Node node, javafx.geometry.Point2D offset)
Convenience method: Moves mouse directly to the point returned frompoint(Node)
, with the given offset from the center of the givenNode
, and returns itself for method chaining.
-
moveTo
FxRobotInterface moveTo(javafx.scene.Node node, javafx.geometry.Pos offsetReferencePos, javafx.geometry.Point2D offset, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Node)
, with the given offset (from theoffsetReferencePos
, and returns itself for method chaining.
-
moveTo
default FxRobotInterface moveTo(javafx.scene.Scene scene)
Convenience method: Moves mouse directly to the center of the givenScene
and returns itself for method chaining.
-
moveTo
FxRobotInterface moveTo(javafx.scene.Scene scene, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Scene)
and returns itself for method chaining.
-
moveTo
default FxRobotInterface moveTo(javafx.stage.Window window)
Convenience method: Moves mouse directly to the center of the givenWindow
and returns itself for method chaining.
-
moveTo
FxRobotInterface moveTo(javafx.stage.Window window, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Window)
and returns itself for method chaining.
-
moveTo
default FxRobotInterface moveTo(String query)
Convenience method: Moves mouse directly to the point returned frompoint(String)
and returns itself for method chaining.
-
moveTo
FxRobotInterface moveTo(String query, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(String)
and returns itself for method chaining.
-
moveTo
default <T extends javafx.scene.Node> FxRobotInterface moveTo(org.hamcrest.Matcher<T> matcher)
Convenience method: Moves mouse directly to the point returned frompoint(Matcher)
and returns itself for method chaining.
-
moveTo
<T extends javafx.scene.Node> FxRobotInterface moveTo(org.hamcrest.Matcher<T> matcher, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Matcher)
and returns itself for method chaining.
-
moveTo
default <T extends javafx.scene.Node> FxRobotInterface moveTo(Predicate<T> predicate)
Convenience method: Moves mouse directly to the point returned frompoint(Predicate)
and returns itself for method chaining.
-
moveTo
<T extends javafx.scene.Node> FxRobotInterface moveTo(Predicate<T> predicate, Motion motion)
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Predicate)
and returns itself for method chaining.
-
scroll
FxRobotInterface scroll(int amount)
CallsScrollRobot.scroll(int)
and returns itself for more method chaining.
-
scroll
FxRobotInterface scroll(int amount, javafx.geometry.VerticalDirection direction)
CallsScrollRobot.scroll(int, VerticalDirection)
and returns itself for more method chaining.
-
scroll
FxRobotInterface scroll(javafx.geometry.VerticalDirection direction)
CallsScrollRobot.scroll(int, VerticalDirection)
with arguments1
anddirection
and returns itself for more method chaining.
-
scroll
FxRobotInterface scroll(int amount, javafx.geometry.HorizontalDirection direction)
CallsScrollRobot.scroll(int, HorizontalDirection)
and returns itself for more method chaining.
-
scroll
FxRobotInterface scroll(javafx.geometry.HorizontalDirection direction)
CallsScrollRobot.scroll(int, VerticalDirection)
with arguments1
anddirection
and returns itself for more method chaining.
-
push
FxRobotInterface push(javafx.scene.input.KeyCode... combination)
CallsTypeRobot.push(KeyCode...)
and returns itself for more method chaining.
-
push
FxRobotInterface push(javafx.scene.input.KeyCodeCombination combination)
CallsTypeRobot.push(KeyCodeCombination)
and returns itself for more method chaining.
-
type
FxRobotInterface type(javafx.scene.input.KeyCode... keys)
CallsTypeRobot.type(KeyCode...)
and returns itself for more method chaining.
-
type
FxRobotInterface type(javafx.scene.input.KeyCode key, int times)
CallsTypeRobot.type(KeyCode, int)
and returns itself for more method chaining.
-
eraseText
FxRobotInterface eraseText(int characters)
Convenience method: CallsTypeRobot.type(KeyCode, int)
withKeyCode.BACK_SPACE
and returns itself for more method chaining.
-
write
FxRobotInterface write(char character)
CallsWriteRobot.write(char)
and returns itself for more method chaining.
-
write
FxRobotInterface write(String text)
CallsWriteRobot.write(String)
and returns itself for more method chaining.
-
write
FxRobotInterface write(String text, int sleepMillis)
CallsWriteRobot.write(String, int)
and returns itself for more method chaining.
-
-