Package org.testfx.api
Interface FxRobotInterface
-
- All Known Implementing Classes:
ApplicationExtension,ApplicationRule,ApplicationTest,ApplicationTest,FxRobot
public interface FxRobotInterfaceWrapper-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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BoundsQuerybounds(double minX, double minY, double width, double height)BoundsQuerybounds(java.lang.String query)NOT YET IMPLEMENTED<T extends javafx.scene.Node>
BoundsQuerybounds(java.util.function.Predicate<T> predicate)NOT YET IMPLEMENTEDBoundsQuerybounds(javafx.geometry.Bounds bounds)Creates aBoundsQuerythat returns the given boundsBoundsQuerybounds(javafx.geometry.Point2D point)BoundsQuerybounds(javafx.scene.Node node)BoundsQuerybounds(javafx.scene.Scene scene)CallsBoundsQueryUtils.boundsOnScreen(Bounds, Scene)with given scene's boundsBoundsQuerybounds(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 IMPLEMENTEDCapturecapture(java.net.URL url)Capturecapture(java.nio.file.Path path)Convenience method: Returns aCapturethat supplies theImagefrom the image file of the givenPath.Capturecapture(javafx.geometry.Bounds bounds)Returns aCapturethat supplies a screenshot using the given bounds.Capturecapture(javafx.geometry.Rectangle2D screenRegion)Returns aCapturethat supplies a screenshot using the given rectangle's bounds.Capturecapture(javafx.scene.image.Image image)Convenience method: Returns aCapturethat supplies the givenImage.Capturecapture(javafx.scene.Node node)Returns aCapturethat supplies a screenshot using the given node's bounds.default FxRobotInterfaceclickOn(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.FxRobotInterfaceclickOn(double x, double y, Motion motion, javafx.scene.input.MouseButton... buttons)Convenience method: Moves mouse using the givenmotion(see:Motionto the given coordinates, clicks the given buttons, and returns itself for method chaining.default FxRobotInterfaceclickOn(java.lang.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.FxRobotInterfaceclickOn(java.lang.String query, Motion motion, javafx.scene.input.MouseButton... buttons)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(String), clicks the given buttons, and returns itself for method chaining.default <T extends javafx.scene.Node>
FxRobotInterfaceclickOn(java.util.function.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(java.util.function.Predicate<T> predicate, Motion motion, javafx.scene.input.MouseButton... buttons)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Predicate), clicks the given buttons, and returns itself for method chaining.default FxRobotInterfaceclickOn(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.FxRobotInterfaceclickOn(javafx.geometry.Bounds bounds, Motion motion, javafx.scene.input.MouseButton... buttons)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Bounds), clicks the given buttons, and returns itself for method chaining.default FxRobotInterfaceclickOn(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.FxRobotInterfaceclickOn(javafx.geometry.Point2D point, Motion motion, javafx.scene.input.MouseButton... buttons)Convenience method: Moves mouse using the givenmotion(see:Motionto the given point, clicks the given buttons, and returns itself for method chaining.FxRobotInterfaceclickOn(javafx.scene.input.MouseButton... buttons)CallsClickRobot.clickOn(MouseButton...)and returns itself for more method chaining.default FxRobotInterfaceclickOn(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.FxRobotInterfaceclickOn(javafx.scene.Node node, Motion motion, javafx.scene.input.MouseButton... buttons)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Node), clicks the given buttons, and returns itself for method chaining.default FxRobotInterfaceclickOn(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.FxRobotInterfaceclickOn(javafx.scene.Scene scene, Motion motion, javafx.scene.input.MouseButton... buttons)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Scene), clicks the given buttons, and returns itself for method chaining.default FxRobotInterfaceclickOn(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.FxRobotInterfaceclickOn(javafx.stage.Window window, Motion motion, javafx.scene.input.MouseButton... buttons)Convenience method: Moves mouse using the givenmotion(see:Motionto 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:Motionto the point returned frompoint(Matcher), clicks the given buttons, and returns itself for method chaining.default FxRobotInterfaceclickOn(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons)CallsClickRobot.clickOn(PointQuery, Motion, MouseButton...)and returns itself for more method chaining.FxRobotInterfaceclickOn(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons)CallsClickRobot.clickOn(PointQuery, MouseButton...)and returns itself for more method chaining.default FxRobotInterfacedoubleClickOn(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.FxRobotInterfacedoubleClickOn(double x, double y, Motion motion, javafx.scene.input.MouseButton... buttons)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(double, double), double clicks the given buttons, and returns itself for method chaining.default FxRobotInterfacedoubleClickOn(java.lang.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.FxRobotInterfacedoubleClickOn(java.lang.String query, Motion motion, javafx.scene.input.MouseButton... buttons)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(String), double clicks the given buttons, and returns itself for method chaining.default <T extends javafx.scene.Node>
FxRobotInterfacedoubleClickOn(java.util.function.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(java.util.function.Predicate<T> predicate, Motion motion, javafx.scene.input.MouseButton... buttons)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Predicate), double clicks the given buttons, and returns itself for method chaining.default FxRobotInterfacedoubleClickOn(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.FxRobotInterfacedoubleClickOn(javafx.geometry.Bounds bounds, Motion motion, javafx.scene.input.MouseButton... buttons)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Bounds), double clicks the given buttons, and returns itself for method chaining.default FxRobotInterfacedoubleClickOn(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.FxRobotInterfacedoubleClickOn(javafx.geometry.Point2D point, Motion motion, javafx.scene.input.MouseButton... buttons)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Point2D), double clicks the given buttons, and returns itself for method chaining.FxRobotInterfacedoubleClickOn(javafx.scene.input.MouseButton... buttons)CallsClickRobot.doubleClickOn(MouseButton...)and returns itself for more method chaining.default FxRobotInterfacedoubleClickOn(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.FxRobotInterfacedoubleClickOn(javafx.scene.Node node, Motion motion, javafx.scene.input.MouseButton... buttons)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Node), double clicks the given buttons, and returns itself for method chaining.default FxRobotInterfacedoubleClickOn(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.FxRobotInterfacedoubleClickOn(javafx.scene.Scene scene, Motion motion, javafx.scene.input.MouseButton... buttons)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Scene), double clicks the given buttons, and returns itself for method chaining.default FxRobotInterfacedoubleClickOn(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.FxRobotInterfacedoubleClickOn(javafx.stage.Window window, Motion motion, javafx.scene.input.MouseButton... buttons)Convenience method: Moves mouse using the givenmotion(see:Motionto 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:Motionto the point returned frompoint(Matcher), double clicks the given buttons, and returns itself for method chaining.default FxRobotInterfacedoubleClickOn(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons)CallsClickRobot.doubleClickOn(PointQuery, Motion, MouseButton...)and returns itself for method chaining.FxRobotInterfacedoubleClickOn(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons)CallsClickRobot.doubleClickOn(PointQuery, Motion, MouseButton...)and returns itself for method chaining.FxRobotInterfacedrag(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.FxRobotInterfacedrag(java.lang.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(java.util.function.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.FxRobotInterfacedrag(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.FxRobotInterfacedrag(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.FxRobotInterfacedrag(javafx.scene.input.MouseButton... buttons)CallsDragRobot.drag(MouseButton...)and returns itself for more method chaining.FxRobotInterfacedrag(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.FxRobotInterfacedrag(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.FxRobotInterfacedrag(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.FxRobotInterfacedrag(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons)CallsDragRobot.drag(PointQuery, MouseButton...)and returns itself for more method chaining.FxRobotInterfacedrop()CallsDragRobot.drop()and returns itself for more method chaining.FxRobotInterfacedropBy(double x, double y)CallsDragRobot.dropBy(double, double)and returns itself for more method chaining.FxRobotInterfacedropTo(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.FxRobotInterfacedropTo(java.lang.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(java.util.function.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.FxRobotInterfacedropTo(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.FxRobotInterfacedropTo(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.FxRobotInterfacedropTo(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.FxRobotInterfacedropTo(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.FxRobotInterfacedropTo(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.FxRobotInterfacedropTo(PointQuery pointQuery)CallsDragRobot.dropTo(PointQuery)and returns itself for more method chaining.FxRobotInterfaceeraseText(int characters)Convenience method: CallsTypeRobot.type(KeyCode, int)withKeyCode.BACK_SPACEand returns itself for more method chaining.NodeQueryfrom(java.util.Collection<javafx.scene.Node> parentNodes)CallsNodeFinder.from(Collection)and returns itself for method chaining.NodeQueryfrom(javafx.scene.Node... parentNodes)CallsNodeFinder.from(Node...)and returns itself for method chaining.NodeQueryfrom(NodeQuery nodeQuery)Convenience method: CallsNodeFinder.from(NodeQuery)and returns itself for method chaining.NodeQueryfromAll()CallsNodeFinder.fromAll()and returns itself for method chaining.FxRobotInterfaceinteract(java.lang.Runnable runnable)Calls a runnable on the FX application thread and waits for it and consecutive events to execute.<T> FxRobotInterfaceinteract(java.util.concurrent.Callable<T> callable)Calls a callable on the FX application thread and waits for it and consecutive events to execute.FxRobotInterfaceinteractNoWait(java.lang.Runnable runnable)Calls a runnable on the FX application thread and waits for it to execute.<T> FxRobotInterfaceinteractNoWait(java.util.concurrent.Callable<T> callable)Calls a callable on the FX application thread and waits for it to execute.FxRobotInterfaceinterrupt()CallsWaitForAsyncUtils.waitForFxEvents()and returns itself for method chaining.FxRobotInterfaceinterrupt(int attemptsCount)CallsWaitForAsyncUtils.waitForFxEvents(int)and returns itself for method chaining.java.util.List<javafx.stage.Window>listTargetWindows()CallsWindowFinder.listTargetWindows()and returns itself for method chaining.java.util.List<javafx.stage.Window>listWindows()CallsWindowFinder.listWindows()()} and returns itself for method chaining.NodeQuerylookup(java.lang.String query)Convenience method: CallsNodeFinder.lookup(String)and returns itself for method chaining.<T extends javafx.scene.Node>
NodeQuerylookup(java.util.function.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 FxRobotInterfacemoveBy(double x, double y)CallsMoveRobot.moveBy(double, double)and returns itself for more method chaining.FxRobotInterfacemoveBy(double x, double y, Motion motion)CallsMoveRobot.moveBy(double, double, Motion)and returns itself for more method chaining.default FxRobotInterfacemoveTo(double x, double y)Convenience method: Moves mouse directly to the point returned frompoint(double, double)and returns itself for method chaining.FxRobotInterfacemoveTo(double x, double y, Motion motion)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(double, double)and returns itself for method chaining.default FxRobotInterfacemoveTo(java.lang.String query)Convenience method: Moves mouse directly to the point returned frompoint(String)and returns itself for method chaining.FxRobotInterfacemoveTo(java.lang.String query, Motion motion)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(String)and returns itself for method chaining.default <T extends javafx.scene.Node>
FxRobotInterfacemoveTo(java.util.function.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(java.util.function.Predicate<T> predicate, Motion motion)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Predicate)and returns itself for method chaining.default FxRobotInterfacemoveTo(javafx.geometry.Bounds bounds)Convenience method: Moves mouse directly to the center of the givenBoundsand returns itself for method chaining.FxRobotInterfacemoveTo(javafx.geometry.Bounds bounds, Motion motion)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Bounds)and returns itself for method chaining.default FxRobotInterfacemoveTo(javafx.geometry.Point2D point)Convenience method: Moves mouse directly to the point returned frompoint(Point2D)and returns itself for method chaining.FxRobotInterfacemoveTo(javafx.geometry.Point2D point, Motion motion)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Point2D)and returns itself for method chaining.default FxRobotInterfacemoveTo(javafx.scene.Node node)Convenience method: Moves mouse directly to the center of the givenNodeand returns itself for method chaining.default FxRobotInterfacemoveTo(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.FxRobotInterfacemoveTo(javafx.scene.Node node, javafx.geometry.Pos offsetReferencePos, javafx.geometry.Point2D offset, Motion motion)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Node), with the given offset (from theoffsetReferencePos, and returns itself for method chaining.default FxRobotInterfacemoveTo(javafx.scene.Node node, Motion motion)Convenience method: Moves mouse using the givenmotion(see:Motionto the center of the givenNodeand returns itself for method chaining.default FxRobotInterfacemoveTo(javafx.scene.Scene scene)Convenience method: Moves mouse directly to the center of the givenSceneand returns itself for method chaining.FxRobotInterfacemoveTo(javafx.scene.Scene scene, Motion motion)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Scene)and returns itself for method chaining.default FxRobotInterfacemoveTo(javafx.stage.Window window)Convenience method: Moves mouse directly to the center of the givenWindowand returns itself for method chaining.FxRobotInterfacemoveTo(javafx.stage.Window window, Motion motion)Convenience method: Moves mouse using the givenmotion(see:Motionto 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:Motionto the point returned frompoint(Matcher)and returns itself for method chaining.default FxRobotInterfacemoveTo(PointQuery pointQuery)CallsMoveRobot.moveTo(PointQuery)and returns itself for more method chaining.FxRobotInterfacemoveTo(PointQuery pointQuery, Motion motion)CallsMoveRobot.moveTo(PointQuery, Motion)and returns itself for more method chaining.PointQueryoffset(java.lang.String query, double offsetX, double offsetY)Convenience method: Callspoint(String)and sets the query's offset by the given offset values.default PointQueryoffset(java.lang.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(java.util.function.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(java.util.function.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).PointQueryoffset(javafx.geometry.Bounds bounds, double offsetX, double offsetY)Convenience method: Callspoint(Bounds)and sets the query's offset by the given offset values.default PointQueryoffset(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).PointQueryoffset(javafx.geometry.Point2D point, double offsetX, double offsetY)Convenience method: Callspoint(Point2D)and sets the query's offset by the given offset values.default PointQueryoffset(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).PointQueryoffset(javafx.scene.Node node, double offsetX, double offsetY)Convenience method: Callspoint(Node)and sets the query's offset by the given offset values.default PointQueryoffset(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).PointQueryoffset(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 PointQueryoffset(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.PointQueryoffset(javafx.scene.Scene scene, double offsetX, double offsetY)Convenience method: Callspoint(Scene)and sets the query's offset by the given offset values.default PointQueryoffset(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).PointQueryoffset(javafx.stage.Window window, double offsetX, double offsetY)Convenience method: Callspoint(Window)and sets the query's offset by the given offset values.default PointQueryoffset(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).PointQuerypoint(double x, double y)CallsPointLocator.point(Point2D)usingnew Point2D(x, y)and sets thePointQuery'sPointQuery.getPosition()toFxRobotContext.getPointPosition().PointQuerypoint(java.lang.String query)Convenience method: Tries to find a given node vialookup(String)before callingpoint(Node), throwing aFxRobotExceptionif no node is found.<T extends javafx.scene.Node>
PointQuerypoint(java.util.function.Predicate<T> predicate)Convenience method: Tries to find a given node vialookup(Predicate)before callingpoint(Node), throwing aFxRobotExceptionif no node is found.PointQuerypoint(javafx.geometry.Bounds bounds)CallsPointLocator.point(Bounds)and sets thePointQuery'sPointQuery.getPosition()toFxRobotContext.getPointPosition().PointQuerypoint(javafx.geometry.Point2D point)CallsPointLocator.point(Point2D)and sets thePointQuery'sPointQuery.getPosition()toFxRobotContext.getPointPosition().PointQuerypoint(javafx.scene.Node node)CallsPointLocator.point(Node)and sets thePointQuery'sPointQuery.getPosition()toFxRobotContext.getPointPosition().PointQuerypoint(javafx.scene.Scene scene)CallsPointLocator.point(Scene)and sets thePointQuery'sPointQuery.getPosition()toFxRobotContext.getPointPosition().PointQuerypoint(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 aFxRobotExceptionif no node is found.FxRobotInterfacepress(javafx.scene.input.KeyCode... keys)CallsKeyboardRobot.press(KeyCode...)and returns itself for method chaining.FxRobotInterfacepress(javafx.scene.input.MouseButton... buttons)Presses and holds mouse buttons.FxRobotInterfacepush(javafx.scene.input.KeyCode... combination)CallsTypeRobot.push(KeyCode...)and returns itself for more method chaining.FxRobotInterfacepush(javafx.scene.input.KeyCodeCombination combination)CallsTypeRobot.push(KeyCodeCombination)and returns itself for more method chaining.FxRobotInterfacerelease(javafx.scene.input.KeyCode... keys)CallsKeyboardRobot.press(KeyCode...)and returns itself for method chaining.FxRobotInterfacerelease(javafx.scene.input.MouseButton... buttons)Releases pressed mouse buttons.FxRobotInterfacerightClickOn()Convenience method: Clicks theMouseButton.SECONDARYbutton and returns itself for method chaining.default FxRobotInterfacerightClickOn(double x, double y)Convenience method: Moves mouse directly to the given coordinates, clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining.FxRobotInterfacerightClickOn(double x, double y, Motion motion)Convenience method: Moves mouse using the givenmotion(see:Motionto the given coordinates, clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining.default FxRobotInterfacerightClickOn(java.lang.String query)Convenience method: Moves mouse directly to the point returned frompoint(String), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining.FxRobotInterfacerightClickOn(java.lang.String query, Motion motion)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(String), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining.default <T extends javafx.scene.Node>
FxRobotInterfacerightClickOn(java.util.function.Predicate<T> predicate)Convenience method: Moves mouse directly to the point returned frompoint(Predicate), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining.<T extends javafx.scene.Node>
FxRobotInterfacerightClickOn(java.util.function.Predicate<T> predicate, Motion motion)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Predicate), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining.default FxRobotInterfacerightClickOn(javafx.geometry.Bounds bounds)Convenience method: Moves mouse directly to the point returned frompoint(Bounds), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining.FxRobotInterfacerightClickOn(javafx.geometry.Bounds bounds, Motion motion)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Bounds), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining.default FxRobotInterfacerightClickOn(javafx.geometry.Point2D point)Convenience method: Moves mouse to the point returned frompoint(Point2D), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining.FxRobotInterfacerightClickOn(javafx.geometry.Point2D point, Motion motion)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Point2D), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining.default FxRobotInterfacerightClickOn(javafx.scene.Node node)Convenience method: Moves mouse directly to the point returned frompoint(Node), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining.FxRobotInterfacerightClickOn(javafx.scene.Node node, Motion motion)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Node), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining.default FxRobotInterfacerightClickOn(javafx.scene.Scene scene)Convenience method: Moves mouse directly to the point returned frompoint(Scene), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining.FxRobotInterfacerightClickOn(javafx.scene.Scene scene, Motion motion)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Scene), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining.default FxRobotInterfacerightClickOn(javafx.stage.Window window)Convenience method: Moves mouse directly to the point returned frompoint(Window), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining.FxRobotInterfacerightClickOn(javafx.stage.Window window, Motion motion)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Window), clicks theMouseButton.SECONDARYbutton, 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.SECONDARYbutton, 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:Motionto the point returned frompoint(Matcher), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining.default FxRobotInterfacerightClickOn(PointQuery pointQuery)Convenience method: Moves mouse directly to the point returned fromPointQuery.query(), clicks theMouseButton.SECONDARYbutton and returns itself for method chaining.FxRobotInterfacerightClickOn(PointQuery pointQuery, Motion motion)Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned fromPointQuery.query(), clicks theMouseButton.SECONDARYbutton and returns itself for method chaining.javafx.scene.NoderootNode(javafx.scene.Node node)CallsNodeFinder.rootNode(Node)and returns itself for method chaining.javafx.scene.NoderootNode(javafx.scene.Scene scene)CallsNodeFinder.rootNode(Scene)and returns itself for method chaining.javafx.scene.NoderootNode(javafx.stage.Window window)CallsNodeFinder.rootNode(Window)and returns itself for method chaining.FxRobotInterfacescroll(int amount)CallsScrollRobot.scroll(int)and returns itself for more method chaining.FxRobotInterfacescroll(int amount, javafx.geometry.HorizontalDirection direction)CallsScrollRobot.scroll(int, HorizontalDirection)and returns itself for more method chaining.FxRobotInterfacescroll(int amount, javafx.geometry.VerticalDirection direction)CallsScrollRobot.scroll(int, VerticalDirection)and returns itself for more method chaining.FxRobotInterfacescroll(javafx.geometry.HorizontalDirection direction)CallsScrollRobot.scroll(int, VerticalDirection)with arguments1anddirectionand returns itself for more method chaining.FxRobotInterfacescroll(javafx.geometry.VerticalDirection direction)CallsScrollRobot.scroll(int, VerticalDirection)with arguments1anddirectionand returns itself for more method chaining.FxRobotInterfacesleep(long milliseconds)CallsSleepRobot.sleep(long)and returns itself for more method chaining.FxRobotInterfacesleep(long duration, java.util.concurrent.TimeUnit timeUnit)CallsSleepRobot.sleep(long, TimeUnit)and returns itself for more method chaining.FxRobotInterfacetargetPos(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.WindowtargetWindow()CallsWindowFinder.targetWindow()and returns itself for method chaining.FxRobotInterfacetargetWindow(int windowIndex)Convenience method: CallsWindowFinder.targetWindow(int)and returns itself for method chaining.FxRobotInterfacetargetWindow(java.lang.String stageTitleRegex)Convenience method: CallsWindowFinder.targetWindow(String)and returns itself for method chaining.FxRobotInterfacetargetWindow(java.util.function.Predicate<javafx.stage.Window> predicate)CallsWindowFinder.targetWindow(Predicate)and returns itself for method chaining.FxRobotInterfacetargetWindow(java.util.regex.Pattern stageTitlePattern)Convenience method: CallsWindowFinder.targetWindow(Pattern)and returns itself for method chaining.FxRobotInterfacetargetWindow(javafx.scene.Node node)Convenience method: CallsWindowFinder.targetWindow(Node)and returns itself for method chaining.FxRobotInterfacetargetWindow(javafx.scene.Scene scene)Convenience method: CallsWindowFinder.targetWindow(Scene)and returns itself for method chaining.FxRobotInterfacetargetWindow(javafx.stage.Window window)CallsWindowFinder.targetWindow(Window)and returns itself for method chaining.FxRobotInterfacetype(javafx.scene.input.KeyCode... keys)CallsTypeRobot.type(KeyCode...)and returns itself for more method chaining.FxRobotInterfacetype(javafx.scene.input.KeyCode key, int times)CallsTypeRobot.type(KeyCode, int)and returns itself for more method chaining.javafx.stage.Windowwindow(int windowIndex)Convenience method: CallsWindowFinder.window(int)and returns itself for method chaining.javafx.stage.Windowwindow(java.lang.String stageTitleRegex)Convenience method: CallsWindowFinder.window(String)and returns itself for method chaining.javafx.stage.Windowwindow(java.util.function.Predicate<javafx.stage.Window> predicate)CallsWindowFinder.window(Predicate)and returns itself for method chaining.javafx.stage.Windowwindow(java.util.regex.Pattern stageTitlePattern)Convenience method: CallsWindowFinder.window(Pattern)and returns itself for method chaining.javafx.stage.Windowwindow(javafx.scene.Node node)Convenience method: CallsWindowFinder.window(Node)and returns itself for method chaining.javafx.stage.Windowwindow(javafx.scene.Scene scene)Convenience method: CallsWindowFinder.window(Scene)and returns itself for method chaining.FxRobotInterfacewrite(char character)CallsWriteRobot.write(char)and returns itself for more method chaining.FxRobotInterfacewrite(java.lang.String text)CallsWriteRobot.write(String)and returns itself for more method chaining.FxRobotInterfacewrite(java.lang.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(java.util.function.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(java.lang.String stageTitleRegex)
Convenience method: CallsWindowFinder.targetWindow(String)and returns itself for method chaining.
-
targetWindow
FxRobotInterface targetWindow(java.util.regex.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
java.util.List<javafx.stage.Window> listWindows()
CallsWindowFinder.listWindows()()} and returns itself for method chaining.
-
listTargetWindows
java.util.List<javafx.stage.Window> listTargetWindows()
CallsWindowFinder.listTargetWindows()and returns itself for method chaining.
-
window
javafx.stage.Window window(java.util.function.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(java.lang.String stageTitleRegex)
Convenience method: CallsWindowFinder.window(String)and returns itself for method chaining.
-
window
javafx.stage.Window window(java.util.regex.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(java.util.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(java.lang.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(java.util.function.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 aBoundsQuerythat 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(java.lang.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(java.util.function.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(java.lang.String query)
Convenience method: Tries to find a given node vialookup(String)before callingpoint(Node), throwing aFxRobotExceptionif 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 aFxRobotExceptionif no node is found.
-
point
<T extends javafx.scene.Node> PointQuery point(java.util.function.Predicate<T> predicate)
Convenience method: Tries to find a given node vialookup(Predicate)before callingpoint(Node), throwing aFxRobotExceptionif 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(java.lang.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(java.lang.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(java.util.function.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(java.util.function.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 aCapturethat supplies a screenshot using the given rectangle's bounds.
-
capture
Capture capture(javafx.geometry.Bounds bounds)
Returns aCapturethat supplies a screenshot using the given bounds.
-
capture
Capture capture(javafx.scene.Node node)
Returns aCapturethat supplies a screenshot using the given node's bounds.
-
capture
Capture capture(javafx.scene.image.Image image)
Convenience method: Returns aCapturethat supplies the givenImage.
-
capture
Capture capture(java.nio.file.Path path)
Convenience method: Returns aCapturethat supplies theImagefrom the image file of the givenPath.
-
capture
Capture capture(java.net.URL url)
-
interact
FxRobotInterface interact(java.lang.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(java.util.concurrent.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(java.lang.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(java.util.concurrent.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, java.util.concurrent.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:Motionto 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:Motionto 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:Motionto 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:Motionto 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:Motionto 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:Motionto the point returned frompoint(Window), clicks the given buttons, and returns itself for method chaining.
-
clickOn
default FxRobotInterface clickOn(java.lang.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(java.lang.String query, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion(see:Motionto 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:Motionto the point returned frompoint(Matcher), clicks the given buttons, and returns itself for method chaining.
-
clickOn
default <T extends javafx.scene.Node> FxRobotInterface clickOn(java.util.function.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(java.util.function.Predicate<T> predicate, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Predicate), clicks the given buttons, and returns itself for method chaining.
-
rightClickOn
FxRobotInterface rightClickOn()
Convenience method: Clicks theMouseButton.SECONDARYbutton 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.SECONDARYbutton and returns itself for method chaining.
-
rightClickOn
FxRobotInterface rightClickOn(PointQuery pointQuery, Motion motion)
Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned fromPointQuery.query(), clicks theMouseButton.SECONDARYbutton 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.SECONDARYbutton, and returns itself for method chaining.
-
rightClickOn
FxRobotInterface rightClickOn(double x, double y, Motion motion)
Convenience method: Moves mouse using the givenmotion(see:Motionto the given coordinates, clicks theMouseButton.SECONDARYbutton, 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.SECONDARYbutton, and returns itself for method chaining.
-
rightClickOn
FxRobotInterface rightClickOn(javafx.geometry.Point2D point, Motion motion)
Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Point2D), clicks theMouseButton.SECONDARYbutton, 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.SECONDARYbutton, and returns itself for method chaining.
-
rightClickOn
FxRobotInterface rightClickOn(javafx.geometry.Bounds bounds, Motion motion)
Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Bounds), clicks theMouseButton.SECONDARYbutton, 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.SECONDARYbutton, and returns itself for method chaining.
-
rightClickOn
FxRobotInterface rightClickOn(javafx.scene.Node node, Motion motion)
Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Node), clicks theMouseButton.SECONDARYbutton, 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.SECONDARYbutton, and returns itself for method chaining.
-
rightClickOn
FxRobotInterface rightClickOn(javafx.scene.Scene scene, Motion motion)
Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Scene), clicks theMouseButton.SECONDARYbutton, 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.SECONDARYbutton, and returns itself for method chaining.
-
rightClickOn
FxRobotInterface rightClickOn(javafx.stage.Window window, Motion motion)
Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Window), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining.
-
rightClickOn
default FxRobotInterface rightClickOn(java.lang.String query)
Convenience method: Moves mouse directly to the point returned frompoint(String), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining.
-
rightClickOn
FxRobotInterface rightClickOn(java.lang.String query, Motion motion)
Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(String), clicks theMouseButton.SECONDARYbutton, 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.SECONDARYbutton, 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:Motionto the point returned frompoint(Matcher), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining.
-
rightClickOn
default <T extends javafx.scene.Node> FxRobotInterface rightClickOn(java.util.function.Predicate<T> predicate)
Convenience method: Moves mouse directly to the point returned frompoint(Predicate), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining.
-
rightClickOn
<T extends javafx.scene.Node> FxRobotInterface rightClickOn(java.util.function.Predicate<T> predicate, Motion motion)
Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Predicate), clicks theMouseButton.SECONDARYbutton, 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:Motionto 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:Motionto 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:Motionto 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:Motionto 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:Motionto 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:Motionto the point returned frompoint(Window), double clicks the given buttons, and returns itself for method chaining.
-
doubleClickOn
default FxRobotInterface doubleClickOn(java.lang.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(java.lang.String query, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion(see:Motionto 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:Motionto 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(java.util.function.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(java.util.function.Predicate<T> predicate, Motion motion, javafx.scene.input.MouseButton... buttons)
Convenience method: Moves mouse using the givenmotion(see:Motionto 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(java.lang.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(java.util.function.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(java.lang.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(java.util.function.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:Motionto 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:Motionto 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 givenBoundsand returns itself for method chaining.
-
moveTo
FxRobotInterface moveTo(javafx.geometry.Bounds bounds, Motion motion)
Convenience method: Moves mouse using the givenmotion(see:Motionto 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 givenNodeand returns itself for method chaining.
-
moveTo
default FxRobotInterface moveTo(javafx.scene.Node node, Motion motion)
Convenience method: Moves mouse using the givenmotion(see:Motionto the center of the givenNodeand 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:Motionto 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 givenSceneand returns itself for method chaining.
-
moveTo
FxRobotInterface moveTo(javafx.scene.Scene scene, Motion motion)
Convenience method: Moves mouse using the givenmotion(see:Motionto 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 givenWindowand returns itself for method chaining.
-
moveTo
FxRobotInterface moveTo(javafx.stage.Window window, Motion motion)
Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Window)and returns itself for method chaining.
-
moveTo
default FxRobotInterface moveTo(java.lang.String query)
Convenience method: Moves mouse directly to the point returned frompoint(String)and returns itself for method chaining.
-
moveTo
FxRobotInterface moveTo(java.lang.String query, Motion motion)
Convenience method: Moves mouse using the givenmotion(see:Motionto 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:Motionto the point returned frompoint(Matcher)and returns itself for method chaining.
-
moveTo
default <T extends javafx.scene.Node> FxRobotInterface moveTo(java.util.function.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(java.util.function.Predicate<T> predicate, Motion motion)
Convenience method: Moves mouse using the givenmotion(see:Motionto 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 arguments1anddirectionand 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 arguments1anddirectionand 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_SPACEand returns itself for more method chaining.
-
write
FxRobotInterface write(char character)
CallsWriteRobot.write(char)and returns itself for more method chaining.
-
write
FxRobotInterface write(java.lang.String text)
CallsWriteRobot.write(String)and returns itself for more method chaining.
-
write
FxRobotInterface write(java.lang.String text, int sleepMillis)
CallsWriteRobot.write(String, int)and returns itself for more method chaining.
-
-