Interface FxRobotInterface
- All Known Implementing Classes:
ApplicationExtension, ApplicationRule, ApplicationTest, ApplicationTest, 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 a
PointQuery, a Predicate,
or a Matcher.-
Method Summary
Modifier and TypeMethodDescriptionbounds(double minX, double minY, double width, double height) NOT YET IMPLEMENTED<T extends javafx.scene.Node>
BoundsQueryNOT YET IMPLEMENTEDbounds(javafx.geometry.Bounds bounds) Creates aBoundsQuerythat returns the given boundsbounds(javafx.geometry.Point2D point) bounds(javafx.scene.Node node) bounds(javafx.scene.Scene scene) CallsBoundsQueryUtils.boundsOnScreen(Bounds, Scene)with given scene's boundsbounds(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(javafx.geometry.Bounds bounds) Returns aCapturethat supplies a screenshot using the given bounds.capture(javafx.geometry.Rectangle2D screenRegion) Returns aCapturethat supplies a screenshot using the given rectangle's bounds.capture(javafx.scene.image.Image image) Convenience method: Returns aCapturethat supplies the givenImage.capture(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.Convenience method: Moves mouse using the givenmotion(see:Motionto the given coordinates, clicks the given buttons, and returns itself for method chaining.default FxRobotInterfaceConvenience method: Moves mouse directly to the point returned frompoint(String), clicks the given buttons, and returns itself for method chaining.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>
FxRobotInterfaceConvenience 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>
FxRobotInterfaceConvenience 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.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.Convenience method: Moves mouse using the givenmotion(see:Motionto the given point, clicks the given buttons, and returns itself for method chaining.clickOn(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.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.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.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>
FxRobotInterfaceConvenience 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.clickOn(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.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.default FxRobotInterfacedoubleClickOn(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(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(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: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.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.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.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(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.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.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.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.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.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.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.doubleClickOn(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons) CallsClickRobot.doubleClickOn(PointQuery, Motion, MouseButton...)and returns itself for method chaining.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.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>
FxRobotInterfaceConvenience method: Moves mouse to the point returned frompoint(Predicate), presses the given buttons, and returns itself for method chaining.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(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(javafx.scene.input.MouseButton... buttons) CallsDragRobot.drag(MouseButton...)and returns itself for more method chaining.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(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(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.drag(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons) CallsDragRobot.drag(PointQuery, MouseButton...)and returns itself for more method chaining.drop()CallsDragRobot.drop()and returns itself for more method chaining.dropBy(double x, double y) CallsDragRobot.dropBy(double, double)and returns itself for more method chaining.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.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>
FxRobotInterfaceConvenience 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.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(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(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(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(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.dropTo(PointQuery pointQuery) CallsDragRobot.dropTo(PointQuery)and returns itself for more method chaining.eraseText(int characters) Convenience method: CallsTypeRobot.type(KeyCode, int)withKeyCode.BACK_SPACEand returns itself for more method chaining.from(Collection<javafx.scene.Node> parentNodes) CallsNodeFinder.from(Collection)and returns itself for method chaining.from(javafx.scene.Node... parentNodes) CallsNodeFinder.from(Node...)and returns itself for method chaining.Convenience method: CallsNodeFinder.from(NodeQuery)and returns itself for method chaining.fromAll()CallsNodeFinder.fromAll()and returns itself for method chaining.Calls a runnable on the FX application thread and waits for it and consecutive events to execute.<T> FxRobotInterfaceCalls a callable on the FX application thread and waits for it and consecutive events to execute.interactNoWait(Runnable runnable) Calls a runnable on the FX application thread and waits for it to execute.<T> FxRobotInterfaceinteractNoWait(Callable<T> callable) Calls a callable on the FX application thread and waits for it to execute.CallsWaitForAsyncUtils.waitForFxEvents()and returns itself for method chaining.interrupt(int attemptsCount) CallsWaitForAsyncUtils.waitForFxEvents(int)and returns itself for method chaining.List<javafx.stage.Window> CallsWindowFinder.listTargetWindows()and returns itself for method chaining.List<javafx.stage.Window> CallsWindowFinder.listWindows()()} and returns itself for method chaining.Convenience method: CallsNodeFinder.lookup(String)and returns itself for method chaining.<T extends javafx.scene.Node>
NodeQueryConvenience 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.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.Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(double, double)and returns itself for method chaining.default FxRobotInterfaceConvenience method: Moves mouse directly to the point returned frompoint(String)and returns itself for method chaining.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>
FxRobotInterfaceConvenience method: Moves mouse directly to the point returned frompoint(Predicate)and returns itself for method chaining.<T extends javafx.scene.Node>
FxRobotInterfaceConvenience 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.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.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.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.default FxRobotInterfaceConvenience 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.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.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>
FxRobotInterfaceConvenience 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.moveTo(PointQuery pointQuery, Motion motion) CallsMoveRobot.moveTo(PointQuery, Motion)and returns itself for more method chaining.Convenience method: Callspoint(String)and sets the query's offset by the given offset values.default PointQueryConvenience 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>
PointQueryConvenience method: Callspoint(Predicate)and sets the query's offset by the given offset values.default <T extends javafx.scene.Node>
PointQueryConvenience 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).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 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).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 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).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 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).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 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.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 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).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 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).point(double x, double y) CallsPointLocator.point(Point2D)usingnew Point2D(x, y)and sets thePointQuery'sPointQuery.getPosition()toFxRobotContext.getPointPosition().Convenience method: Tries to find a given node vialookup(String)before callingpoint(Node), throwing aFxRobotExceptionif no node is found.<T extends javafx.scene.Node>
PointQueryConvenience method: Tries to find a given node vialookup(Predicate)before callingpoint(Node), throwing aFxRobotExceptionif no node is found.point(javafx.geometry.Bounds bounds) CallsPointLocator.point(Bounds)and sets thePointQuery'sPointQuery.getPosition()toFxRobotContext.getPointPosition().point(javafx.geometry.Point2D point) CallsPointLocator.point(Point2D)and sets thePointQuery'sPointQuery.getPosition()toFxRobotContext.getPointPosition().point(javafx.scene.Node node) CallsPointLocator.point(Node)and sets thePointQuery'sPointQuery.getPosition()toFxRobotContext.getPointPosition().point(javafx.scene.Scene scene) CallsPointLocator.point(Scene)and sets thePointQuery'sPointQuery.getPosition()toFxRobotContext.getPointPosition().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 aFxRobotExceptionif no node is found.press(javafx.scene.input.KeyCode... keys) CallsKeyboardRobot.press(KeyCode...)and returns itself for method chaining.press(javafx.scene.input.MouseButton... buttons) Presses and holds mouse buttons.push(javafx.scene.input.KeyCode... combination) CallsTypeRobot.push(KeyCode...)and returns itself for more method chaining.push(javafx.scene.input.KeyCodeCombination combination) CallsTypeRobot.push(KeyCodeCombination)and returns itself for more method chaining.release(javafx.scene.input.KeyCode... keys) CallsKeyboardRobot.press(KeyCode...)and returns itself for method chaining.release(javafx.scene.input.MouseButton... buttons) Releases pressed mouse buttons.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.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.default FxRobotInterfacerightClickOn(String query) Convenience method: Moves mouse directly to the point returned frompoint(String), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining.rightClickOn(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(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(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.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.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.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.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.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.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.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.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.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.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.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.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.scroll(int amount) CallsScrollRobot.scroll(int)and returns itself for more method chaining.scroll(int amount, javafx.geometry.HorizontalDirection direction) CallsScrollRobot.scroll(int, HorizontalDirection)and returns itself for more method chaining.scroll(int amount, javafx.geometry.VerticalDirection direction) CallsScrollRobot.scroll(int, VerticalDirection)and returns itself for more method chaining.scroll(javafx.geometry.HorizontalDirection direction) CallsScrollRobot.scroll(int, VerticalDirection)with arguments1anddirectionand returns itself for more method chaining.scroll(javafx.geometry.VerticalDirection direction) CallsScrollRobot.scroll(int, VerticalDirection)with arguments1anddirectionand returns itself for more method chaining.sleep(long milliseconds) CallsSleepRobot.sleep(long)and returns itself for more method chaining.CallsSleepRobot.sleep(long, TimeUnit)and returns itself for more method chaining.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.WindowCallsWindowFinder.targetWindow()and returns itself for method chaining.targetWindow(int windowIndex) Convenience method: CallsWindowFinder.targetWindow(int)and returns itself for method chaining.targetWindow(String stageTitleRegex) Convenience method: CallsWindowFinder.targetWindow(String)and returns itself for method chaining.targetWindow(Predicate<javafx.stage.Window> predicate) CallsWindowFinder.targetWindow(Predicate)and returns itself for method chaining.targetWindow(Pattern stageTitlePattern) Convenience method: CallsWindowFinder.targetWindow(Pattern)and returns itself for method chaining.targetWindow(javafx.scene.Node node) Convenience method: CallsWindowFinder.targetWindow(Node)and returns itself for method chaining.targetWindow(javafx.scene.Scene scene) Convenience method: CallsWindowFinder.targetWindow(Scene)and returns itself for method chaining.targetWindow(javafx.stage.Window window) CallsWindowFinder.targetWindow(Window)and returns itself for method chaining.type(javafx.scene.input.KeyCode... keys) CallsTypeRobot.type(KeyCode...)and returns itself for more method chaining.type(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.WindowConvenience method: CallsWindowFinder.window(String)and returns itself for method chaining.javafx.stage.WindowCallsWindowFinder.window(Predicate)and returns itself for method chaining.javafx.stage.WindowConvenience 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.write(char character) CallsWriteRobot.write(char)and returns itself for more method chaining.CallsWriteRobot.write(String)and returns itself for more method chaining.CallsWriteRobot.write(String, int)and returns itself for more method chaining.
-
Method Details
-
targetWindow
javafx.stage.Window targetWindow()CallsWindowFinder.targetWindow()and returns itself for method chaining. -
targetWindow
CallsWindowFinder.targetWindow(Window)and returns itself for method chaining. -
targetWindow
CallsWindowFinder.targetWindow(Predicate)and returns itself for method chaining. -
targetWindow
Convenience method: CallsWindowFinder.targetWindow(int)and returns itself for method chaining. -
targetWindow
Convenience method: CallsWindowFinder.targetWindow(String)and returns itself for method chaining. -
targetWindow
Convenience method: CallsWindowFinder.targetWindow(Pattern)and returns itself for method chaining. -
targetWindow
Convenience method: CallsWindowFinder.targetWindow(Scene)and returns itself for method chaining. -
targetWindow
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
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
Convenience method: CallsWindowFinder.window(String)and returns itself for method chaining. -
window
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
CallsNodeFinder.from(Node...)and returns itself for method chaining. -
from
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
Convenience method: CallsNodeFinder.lookup(String)and returns itself for method chaining. -
lookup
Convenience method: CallsNodeFinder.lookup(Matcher)and returns itself for method chaining. -
lookup
Convenience method: CallsNodeFinder.lookup(Predicate)and returns itself for method chaining. -
from
Convenience method: CallsNodeFinder.from(NodeQuery)and returns itself for method chaining. -
bounds
-
bounds
-
bounds
Creates aBoundsQuerythat returns the given bounds -
bounds
-
bounds
CallsBoundsQueryUtils.boundsOnScreen(Bounds, Scene)with given scene's bounds -
bounds
CallsBoundsQueryUtils.boundsOnScreen(Bounds, Window)with the given window's bounds -
bounds
NOT YET IMPLEMENTED -
bounds
NOT YET IMPLEMENTED -
bounds
NOT YET IMPLEMENTED -
targetPos
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
CallsPointLocator.point(Point2D)usingnew Point2D(x, y)and sets thePointQuery'sPointQuery.getPosition()toFxRobotContext.getPointPosition(). -
point
CallsPointLocator.point(Point2D)and sets thePointQuery'sPointQuery.getPosition()toFxRobotContext.getPointPosition(). -
point
CallsPointLocator.point(Bounds)and sets thePointQuery'sPointQuery.getPosition()toFxRobotContext.getPointPosition(). -
point
CallsPointLocator.point(Node)and sets thePointQuery'sPointQuery.getPosition()toFxRobotContext.getPointPosition(). -
point
CallsPointLocator.point(Scene)and sets thePointQuery'sPointQuery.getPosition()toFxRobotContext.getPointPosition(). -
point
CallsPointLocator.point(Window)and sets thePointQuery'sPointQuery.getPosition()toFxRobotContext.getPointPosition(). -
point
Convenience method: Tries to find a given node vialookup(String)before callingpoint(Node), throwing aFxRobotExceptionif no node is found. -
point
Convenience method: Tries to find a given node vialookup(Matcher)before callingpoint(Node), throwing aFxRobotExceptionif no node is found. -
point
Convenience method: Tries to find a given node vialookup(Predicate)before callingpoint(Node), throwing aFxRobotExceptionif no node is found. -
offset
Convenience method: Callspoint(Point2D)and sets the query's offset by the given offset values. -
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
Convenience method: Callspoint(Bounds)and sets the query's offset by the given offset values. -
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
Convenience method: Callspoint(Node)and sets the query's offset by the given offset values. -
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
Convenience method: Callspoint(Scene)and sets the query's offset by the given offset values. -
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
Convenience method: Callspoint(Window)and sets the query's offset by the given offset values. -
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
Convenience method: Callspoint(String)and sets the query's offset by the given offset values. -
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
-
capture
-
capture
-
capture
-
interact
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
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
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
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
CallsWaitForAsyncUtils.waitForFxEvents(int)and returns itself for method chaining. -
sleep
CallsSleepRobot.sleep(long)and returns itself for more method chaining. -
sleep
CallsSleepRobot.sleep(long, TimeUnit)and returns itself for more method chaining. -
clickOn
CallsClickRobot.clickOn(MouseButton...)and returns itself for more method chaining. -
clickOn
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
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
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
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
Convenience method: Moves mouse directly to the point returned frompoint(String), clicks the given buttons, and returns itself for method chaining. -
clickOn
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(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: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
Convenience method: Moves mouse directly to the point returned fromPointQuery.query(), clicks theMouseButton.SECONDARYbutton and returns itself for method chaining. -
rightClickOn
Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned fromPointQuery.query(), clicks theMouseButton.SECONDARYbutton and returns itself for method chaining. -
rightClickOn
Convenience method: Moves mouse directly to the given coordinates, clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. -
rightClickOn
Convenience method: Moves mouse using the givenmotion(see:Motionto the given coordinates, clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. -
rightClickOn
Convenience method: Moves mouse to the point returned frompoint(Point2D), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. -
rightClickOn
Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Point2D), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. -
rightClickOn
Convenience method: Moves mouse directly to the point returned frompoint(Bounds), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. -
rightClickOn
Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Bounds), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. -
rightClickOn
Convenience method: Moves mouse directly to the point returned frompoint(Node), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. -
rightClickOn
Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Node), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. -
rightClickOn
Convenience method: Moves mouse directly to the point returned frompoint(Scene), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. -
rightClickOn
Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Scene), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. -
rightClickOn
Convenience method: Moves mouse directly to the point returned frompoint(Window), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. -
rightClickOn
Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Window), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. -
rightClickOn
Convenience method: Moves mouse directly to the point returned frompoint(String), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. -
rightClickOn
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
Convenience method: Moves mouse directly to the point returned frompoint(Predicate), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. -
rightClickOn
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
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: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(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:Motionto the point returned frompoint(Predicate), double clicks the given buttons, and returns itself for method chaining. -
drag
CallsDragRobot.drag(MouseButton...)and returns itself for more method chaining. -
drag
CallsDragRobot.drag(PointQuery, MouseButton...)and returns itself for more method chaining. -
drop
FxRobotInterface drop()CallsDragRobot.drop()and returns itself for more method chaining. -
dropTo
CallsDragRobot.dropTo(PointQuery)and returns itself for more method chaining. -
dropBy
CallsDragRobot.dropBy(double, double)and returns itself for more method chaining. -
drag
Convenience method: Moves mouse to the point returned frompoint(double, double), presses the given buttons, and returns itself for method chaining. -
drag
Convenience method: Moves mouse to the point returned frompoint(Point2D), presses the given buttons, and returns itself for method chaining. -
drag
Convenience method: Moves mouse to the point returned frompoint(Bounds), presses the given buttons, and returns itself for method chaining. -
drag
Convenience method: Moves mouse to the point returned frompoint(Node), presses the given buttons, and returns itself for method chaining. -
drag
Convenience method: Moves mouse to the point returned frompoint(Scene), presses the given buttons, and returns itself for method chaining. -
drag
Convenience method: Moves mouse to the point returned frompoint(Window), presses the given buttons, and returns itself for method chaining. -
drag
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
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
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
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
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
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
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
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
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
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
CallsKeyboardRobot.press(KeyCode...)and returns itself for method chaining. -
release
CallsKeyboardRobot.press(KeyCode...)and returns itself for method chaining. -
press
Presses and holds mouse buttons.- Parameters:
buttons- mouse buttons to press, defaults to primary mouse button.
-
release
Releases pressed mouse buttons.- Parameters:
buttons- mouse buttons to release, defaults to all pressed mouse buttons.
-
moveTo
CallsMoveRobot.moveTo(PointQuery)and returns itself for more method chaining. -
moveTo
CallsMoveRobot.moveTo(PointQuery, Motion)and returns itself for more method chaining. -
moveBy
CallsMoveRobot.moveBy(double, double)and returns itself for more method chaining. -
moveBy
CallsMoveRobot.moveBy(double, double, Motion)and returns itself for more method chaining. -
moveTo
Convenience method: Moves mouse directly to the point returned frompoint(double, double)and returns itself for method chaining. -
moveTo
Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(double, double)and returns itself for method chaining. -
moveTo
Convenience method: Moves mouse directly to the point returned frompoint(Point2D)and returns itself for method chaining. -
moveTo
Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Point2D)and returns itself for method chaining. -
moveTo
Convenience method: Moves mouse directly to the center of the givenBoundsand returns itself for method chaining. -
moveTo
Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Bounds)and returns itself for method chaining. -
moveTo
Convenience method: Moves mouse directly to the center of the givenNodeand returns itself for method chaining. -
moveTo
Convenience method: Moves mouse using the givenmotion(see:Motionto the center of the givenNodeand returns itself for method chaining. -
moveTo
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
Convenience method: Moves mouse directly to the center of the givenSceneand returns itself for method chaining. -
moveTo
Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Scene)and returns itself for method chaining. -
moveTo
Convenience method: Moves mouse directly to the center of the givenWindowand returns itself for method chaining. -
moveTo
Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Window)and returns itself for method chaining. -
moveTo
Convenience method: Moves mouse directly to the point returned frompoint(String)and returns itself for method chaining. -
moveTo
Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(String)and returns itself for method chaining. -
moveTo
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
Convenience method: Moves mouse directly to the point returned frompoint(Predicate)and returns itself for method chaining. -
moveTo
Convenience method: Moves mouse using the givenmotion(see:Motionto the point returned frompoint(Predicate)and returns itself for method chaining. -
scroll
CallsScrollRobot.scroll(int)and returns itself for more method chaining. -
scroll
CallsScrollRobot.scroll(int, VerticalDirection)and returns itself for more method chaining. -
scroll
CallsScrollRobot.scroll(int, VerticalDirection)with arguments1anddirectionand returns itself for more method chaining. -
scroll
CallsScrollRobot.scroll(int, HorizontalDirection)and returns itself for more method chaining. -
scroll
CallsScrollRobot.scroll(int, VerticalDirection)with arguments1anddirectionand returns itself for more method chaining. -
push
CallsTypeRobot.push(KeyCode...)and returns itself for more method chaining. -
push
CallsTypeRobot.push(KeyCodeCombination)and returns itself for more method chaining. -
type
CallsTypeRobot.type(KeyCode...)and returns itself for more method chaining. -
type
CallsTypeRobot.type(KeyCode, int)and returns itself for more method chaining. -
eraseText
Convenience method: CallsTypeRobot.type(KeyCode, int)withKeyCode.BACK_SPACEand returns itself for more method chaining. -
write
CallsWriteRobot.write(char)and returns itself for more method chaining. -
write
CallsWriteRobot.write(String)and returns itself for more method chaining. -
write
CallsWriteRobot.write(String, int)and returns itself for more method chaining.
-