Uses of Interface
org.testfx.api.FxRobotInterface
Packages that use FxRobotInterface
-
Uses of FxRobotInterface in org.testfx.api
Classes in org.testfx.api that implement FxRobotInterfaceMethods in org.testfx.api that return FxRobotInterfaceModifier and TypeMethodDescriptiondefault FxRobotInterface
FxRobotInterface.clickOn
(double x, double y, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse directly to the given coordinates, clicks the given buttons, and returns itself for method chaining.FxRobotInterface.clickOn
(double x, double y, Motion motion, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the given coordinates, clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
Convenience 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:Motion
to 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>
FxRobotInterfaceFxRobotInterface.clickOn
(Predicate<T> predicate, Motion motion, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Predicate)
, clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.clickOn
(javafx.geometry.Bounds bounds, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse directly to the point returned frompoint(Bounds)
, clicks the given buttons, and returns itself for method chaining.FxRobotInterface.clickOn
(javafx.geometry.Bounds bounds, Motion motion, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Bounds)
, clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.clickOn
(javafx.geometry.Point2D point, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse directly to the given point, clicks the given buttons, and returns itself for method chaining.FxRobotInterface.clickOn
(javafx.geometry.Point2D point, Motion motion, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the given point, clicks the given buttons, and returns itself for method chaining.FxRobotInterface.clickOn
(javafx.scene.input.MouseButton... buttons) CallsClickRobot.clickOn(MouseButton...)
and returns itself for more method chaining.default FxRobotInterface
FxRobotInterface.clickOn
(javafx.scene.Node node, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse directly to the point returned frompoint(Node)
, clicks the given buttons, and returns itself for method chaining.FxRobotInterface.clickOn
(javafx.scene.Node node, Motion motion, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Node)
, clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.clickOn
(javafx.scene.Scene scene, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse directly to the point returned frompoint(Scene)
, clicks the given buttons, and returns itself for method chaining.FxRobotInterface.clickOn
(javafx.scene.Scene scene, Motion motion, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Scene)
, clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.clickOn
(javafx.stage.Window window, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse directly to the point returned frompoint(Window)
, clicks the given buttons, and returns itself for method chaining.FxRobotInterface.clickOn
(javafx.stage.Window window, Motion motion, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Window)
, clicks the given buttons, and returns itself for method chaining.default <T extends javafx.scene.Node>
FxRobotInterfaceFxRobotInterface.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.<T extends javafx.scene.Node>
FxRobotInterfaceFxRobotInterface.clickOn
(org.hamcrest.Matcher<T> matcher, Motion motion, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Matcher)
, clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.clickOn
(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons) CallsClickRobot.clickOn(PointQuery, Motion, MouseButton...)
and returns itself for more method chaining.FxRobotInterface.clickOn
(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons) CallsClickRobot.clickOn(PointQuery, MouseButton...)
and returns itself for more method chaining.default FxRobotInterface
FxRobotInterface.doubleClickOn
(double x, double y, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse directly to the point returned frompoint(double, double)
, double clicks the given buttons, and returns itself for method chaining.FxRobotInterface.doubleClickOn
(double x, double y, Motion motion, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(double, double)
, double clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.doubleClickOn
(String query, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse directly to the point returned frompoint(String)
, double clicks the given buttons, and returns itself for method chaining.FxRobotInterface.doubleClickOn
(String query, Motion motion, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(String)
, double clicks the given buttons, and returns itself for method chaining.default <T extends javafx.scene.Node>
FxRobotInterfaceFxRobotInterface.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.<T extends javafx.scene.Node>
FxRobotInterfaceFxRobotInterface.doubleClickOn
(Predicate<T> predicate, Motion motion, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Predicate)
, double clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.doubleClickOn
(javafx.geometry.Bounds bounds, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse directly to the point returned frompoint(Bounds)
, double clicks the given buttons, and returns itself for method chaining.FxRobotInterface.doubleClickOn
(javafx.geometry.Bounds bounds, Motion motion, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Bounds)
, double clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.doubleClickOn
(javafx.geometry.Point2D point, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse directly to the point returned frompoint(Point2D)
, double clicks the given buttons, and returns itself for method chaining.FxRobotInterface.doubleClickOn
(javafx.geometry.Point2D point, Motion motion, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Point2D)
, double clicks the given buttons, and returns itself for method chaining.FxRobotInterface.doubleClickOn
(javafx.scene.input.MouseButton... buttons) CallsClickRobot.doubleClickOn(MouseButton...)
and returns itself for more method chaining.default FxRobotInterface
FxRobotInterface.doubleClickOn
(javafx.scene.Node node, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse directly to the point returned frompoint(Node)
, double clicks the given buttons, and returns itself for method chaining.FxRobotInterface.doubleClickOn
(javafx.scene.Node node, Motion motion, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Node)
, double clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.doubleClickOn
(javafx.scene.Scene scene, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse directly to the point returned frompoint(Scene)
, double clicks the given buttons, and returns itself for method chaining.FxRobotInterface.doubleClickOn
(javafx.scene.Scene scene, Motion motion, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Scene)
, double clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.doubleClickOn
(javafx.stage.Window window, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse directly to the point returned frompoint(Window)
, double clicks the given buttons, and returns itself for method chaining.FxRobotInterface.doubleClickOn
(javafx.stage.Window window, Motion motion, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Window)
, double clicks the given buttons, and returns itself for method chaining.default <T extends javafx.scene.Node>
FxRobotInterfaceFxRobotInterface.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.<T extends javafx.scene.Node>
FxRobotInterfaceFxRobotInterface.doubleClickOn
(org.hamcrest.Matcher<T> matcher, Motion motion, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Matcher)
, double clicks the given buttons, and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.doubleClickOn
(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons) CallsClickRobot.doubleClickOn(PointQuery, Motion, MouseButton...)
and returns itself for method chaining.FxRobotInterface.doubleClickOn
(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons) CallsClickRobot.doubleClickOn(PointQuery, Motion, MouseButton...)
and returns itself for method chaining.FxRobotInterface.drag
(double x, double y, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse to the point returned frompoint(double, double)
, presses the given buttons, and returns itself for method chaining.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.FxRobotInterface.drag
(javafx.geometry.Bounds bounds, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse to the point returned frompoint(Bounds)
, presses the given buttons, and returns itself for method chaining.FxRobotInterface.drag
(javafx.geometry.Point2D point, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse to the point returned frompoint(Point2D)
, presses the given buttons, and returns itself for method chaining.FxRobotInterface.drag
(javafx.scene.input.MouseButton... buttons) CallsDragRobot.drag(MouseButton...)
and returns itself for more method chaining.FxRobotInterface.drag
(javafx.scene.Node node, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse to the point returned frompoint(Node)
, presses the given buttons, and returns itself for method chaining.FxRobotInterface.drag
(javafx.scene.Scene scene, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse to the point returned frompoint(Scene)
, presses the given buttons, and returns itself for method chaining.FxRobotInterface.drag
(javafx.stage.Window window, javafx.scene.input.MouseButton... buttons) Convenience method: Moves mouse to the point returned frompoint(Window)
, presses the given buttons, and returns itself for method chaining.<T extends javafx.scene.Node>
FxRobotInterfaceFxRobotInterface.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.FxRobotInterface.drag
(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons) CallsDragRobot.drag(PointQuery, MouseButton...)
and returns itself for more method chaining.FxRobotInterface.drop()
CallsDragRobot.drop()
and returns itself for more method chaining.FxRobotInterface.dropBy
(double x, double y) CallsDragRobot.dropBy(double, double)
and returns itself for more method chaining.FxRobotInterface.dropTo
(double x, double y) Convenience method: Moves mouse to the point returned frompoint(double, double)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.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.FxRobotInterface.dropTo
(javafx.geometry.Bounds bounds) Convenience method: Moves mouse to the point returned frompoint(Bounds)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.FxRobotInterface.dropTo
(javafx.geometry.Point2D point) Convenience method: Moves mouse to the point returned frompoint(Point2D)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.FxRobotInterface.dropTo
(javafx.scene.Node node) Convenience method: Moves mouse to the point returned frompoint(Node)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.FxRobotInterface.dropTo
(javafx.scene.Scene scene) Convenience method: Moves mouse to the point returned frompoint(Scene)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.FxRobotInterface.dropTo
(javafx.stage.Window window) Convenience method: Moves mouse to the point returned frompoint(Window)
, releases the buttons that were pressed indrag(MouseButton...)
- orpress(MouseButton...)
-related methods, and returns itself for method chaining.<T extends javafx.scene.Node>
FxRobotInterfaceFxRobotInterface.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.FxRobotInterface.dropTo
(PointQuery pointQuery) CallsDragRobot.dropTo(PointQuery)
and returns itself for more method chaining.FxRobotInterface.eraseText
(int characters) Convenience method: CallsTypeRobot.type(KeyCode, int)
withKeyCode.BACK_SPACE
and returns itself for more method chaining.Calls a runnable on the FX application thread and waits for it and consecutive events to execute.<T> FxRobotInterface
Calls a callable on the FX application thread and waits for it and consecutive events to execute.FxRobotInterface.interactNoWait
(Runnable runnable) Calls a runnable on the FX application thread and waits for it to execute.<T> FxRobotInterface
FxRobotInterface.interactNoWait
(Callable<T> callable) Calls a callable on the FX application thread and waits for it to execute.FxRobotInterface.interrupt()
CallsWaitForAsyncUtils.waitForFxEvents()
and returns itself for method chaining.FxRobotInterface.interrupt
(int attemptsCount) CallsWaitForAsyncUtils.waitForFxEvents(int)
and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.moveBy
(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 FxRobotInterface
FxRobotInterface.moveTo
(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:Motion
to the point returned frompoint(double, double)
and returns itself for method chaining.default FxRobotInterface
Convenience method: Moves mouse directly to the point returned frompoint(String)
and returns itself for method chaining.Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(String)
and returns itself for method chaining.default <T extends javafx.scene.Node>
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:Motion
to the point returned frompoint(Predicate)
and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.moveTo
(javafx.geometry.Bounds bounds) Convenience method: Moves mouse directly to the center of the givenBounds
and returns itself for method chaining.Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Bounds)
and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.moveTo
(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:Motion
to the point returned frompoint(Point2D)
and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.moveTo
(javafx.scene.Node node) Convenience method: Moves mouse directly to the center of the givenNode
and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.moveTo
(javafx.scene.Node node, javafx.geometry.Point2D offset) Convenience method: Moves mouse directly to the point returned frompoint(Node)
, with the given offset from the center of the givenNode
, and returns itself for method chaining.FxRobotInterface.moveTo
(javafx.scene.Node node, javafx.geometry.Pos offsetReferencePos, javafx.geometry.Point2D offset, Motion motion) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Node)
, with the given offset (from theoffsetReferencePos
, and returns itself for method chaining.default FxRobotInterface
Convenience method: Moves mouse using the givenmotion
(see:Motion
to the center of the givenNode
and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.moveTo
(javafx.scene.Scene scene) Convenience method: Moves mouse directly to the center of the givenScene
and returns itself for method chaining.Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Scene)
and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.moveTo
(javafx.stage.Window window) Convenience method: Moves mouse directly to the center of the givenWindow
and returns itself for method chaining.Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Window)
and returns itself for method chaining.default <T extends javafx.scene.Node>
FxRobotInterfaceFxRobotInterface.moveTo
(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:Motion
to the point returned frompoint(Matcher)
and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.moveTo
(PointQuery pointQuery) CallsMoveRobot.moveTo(PointQuery)
and returns itself for more method chaining.FxRobotInterface.moveTo
(PointQuery pointQuery, Motion motion) CallsMoveRobot.moveTo(PointQuery, Motion)
and returns itself for more method chaining.FxRobotInterface.press
(javafx.scene.input.KeyCode... keys) CallsKeyboardRobot.press(KeyCode...)
and returns itself for method chaining.FxRobotInterface.press
(javafx.scene.input.MouseButton... buttons) Presses and holds mouse buttons.FxRobotInterface.push
(javafx.scene.input.KeyCode... combination) CallsTypeRobot.push(KeyCode...)
and returns itself for more method chaining.FxRobotInterface.push
(javafx.scene.input.KeyCodeCombination combination) CallsTypeRobot.push(KeyCodeCombination)
and returns itself for more method chaining.FxRobotInterface.release
(javafx.scene.input.KeyCode... keys) CallsKeyboardRobot.press(KeyCode...)
and returns itself for method chaining.FxRobotInterface.release
(javafx.scene.input.MouseButton... buttons) Releases pressed mouse buttons.FxRobotInterface.rightClickOn()
Convenience method: Clicks theMouseButton.SECONDARY
button and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.rightClickOn
(double x, double y) Convenience method: Moves mouse directly to the given coordinates, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.FxRobotInterface.rightClickOn
(double x, double y, Motion motion) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the given coordinates, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.rightClickOn
(String query) Convenience method: Moves mouse directly to the point returned frompoint(String)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.FxRobotInterface.rightClickOn
(String query, Motion motion) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(String)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.default <T extends javafx.scene.Node>
FxRobotInterfaceFxRobotInterface.rightClickOn
(Predicate<T> predicate) Convenience method: Moves mouse directly to the point returned frompoint(Predicate)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.<T extends javafx.scene.Node>
FxRobotInterfaceFxRobotInterface.rightClickOn
(Predicate<T> predicate, Motion motion) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Predicate)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.rightClickOn
(javafx.geometry.Bounds bounds) Convenience method: Moves mouse directly to the point returned frompoint(Bounds)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.FxRobotInterface.rightClickOn
(javafx.geometry.Bounds bounds, Motion motion) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Bounds)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.rightClickOn
(javafx.geometry.Point2D point) Convenience method: Moves mouse to the point returned frompoint(Point2D)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.FxRobotInterface.rightClickOn
(javafx.geometry.Point2D point, Motion motion) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Point2D)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.rightClickOn
(javafx.scene.Node node) Convenience method: Moves mouse directly to the point returned frompoint(Node)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.FxRobotInterface.rightClickOn
(javafx.scene.Node node, Motion motion) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Node)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.rightClickOn
(javafx.scene.Scene scene) Convenience method: Moves mouse directly to the point returned frompoint(Scene)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.FxRobotInterface.rightClickOn
(javafx.scene.Scene scene, Motion motion) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Scene)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.rightClickOn
(javafx.stage.Window window) Convenience method: Moves mouse directly to the point returned frompoint(Window)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.FxRobotInterface.rightClickOn
(javafx.stage.Window window, Motion motion) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Window)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.default <T extends javafx.scene.Node>
FxRobotInterfaceFxRobotInterface.rightClickOn
(org.hamcrest.Matcher<T> matcher) Convenience method: Moves mouse directly to the point returned frompoint(Matcher)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.<T extends javafx.scene.Node>
FxRobotInterfaceFxRobotInterface.rightClickOn
(org.hamcrest.Matcher<T> matcher, Motion motion) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned frompoint(Matcher)
, clicks theMouseButton.SECONDARY
button, and returns itself for method chaining.default FxRobotInterface
FxRobotInterface.rightClickOn
(PointQuery pointQuery) Convenience method: Moves mouse directly to the point returned fromPointQuery.query()
, clicks theMouseButton.SECONDARY
button and returns itself for method chaining.FxRobotInterface.rightClickOn
(PointQuery pointQuery, Motion motion) Convenience method: Moves mouse using the givenmotion
(see:Motion
to the point returned fromPointQuery.query()
, clicks theMouseButton.SECONDARY
button and returns itself for method chaining.FxRobotInterface.scroll
(int amount) CallsScrollRobot.scroll(int)
and returns itself for more method chaining.FxRobotInterface.scroll
(int amount, javafx.geometry.HorizontalDirection direction) CallsScrollRobot.scroll(int, HorizontalDirection)
and returns itself for more method chaining.FxRobotInterface.scroll
(int amount, javafx.geometry.VerticalDirection direction) CallsScrollRobot.scroll(int, VerticalDirection)
and returns itself for more method chaining.FxRobotInterface.scroll
(javafx.geometry.HorizontalDirection direction) CallsScrollRobot.scroll(int, VerticalDirection)
with arguments1
anddirection
and returns itself for more method chaining.FxRobotInterface.scroll
(javafx.geometry.VerticalDirection direction) CallsScrollRobot.scroll(int, VerticalDirection)
with arguments1
anddirection
and returns itself for more method chaining.FxRobotInterface.sleep
(long milliseconds) CallsSleepRobot.sleep(long)
and returns itself for more method chaining.CallsSleepRobot.sleep(long, TimeUnit)
and returns itself for more method chaining.FxRobotInterface.targetPos
(javafx.geometry.Pos pointPosition) Stores the given position as the position to be used in allpoint()
-related methods such aspoint(Node)
andpoint(Point2D)
, and returns itself for method chaining.FxRobotInterface.targetWindow
(int windowIndex) Convenience method: CallsWindowFinder.targetWindow(int)
and returns itself for method chaining.FxRobotInterface.targetWindow
(String stageTitleRegex) Convenience method: CallsWindowFinder.targetWindow(String)
and returns itself for method chaining.FxRobotInterface.targetWindow
(Predicate<javafx.stage.Window> predicate) CallsWindowFinder.targetWindow(Predicate)
and returns itself for method chaining.FxRobotInterface.targetWindow
(Pattern stageTitlePattern) Convenience method: CallsWindowFinder.targetWindow(Pattern)
and returns itself for method chaining.FxRobotInterface.targetWindow
(javafx.scene.Node node) Convenience method: CallsWindowFinder.targetWindow(Node)
and returns itself for method chaining.FxRobotInterface.targetWindow
(javafx.scene.Scene scene) Convenience method: CallsWindowFinder.targetWindow(Scene)
and returns itself for method chaining.FxRobotInterface.targetWindow
(javafx.stage.Window window) CallsWindowFinder.targetWindow(Window)
and returns itself for method chaining.FxRobotInterface.type
(javafx.scene.input.KeyCode... keys) CallsTypeRobot.type(KeyCode...)
and returns itself for more method chaining.FxRobotInterface.type
(javafx.scene.input.KeyCode key, int times) CallsTypeRobot.type(KeyCode, int)
and returns itself for more method chaining.FxRobotInterface.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. -
Uses of FxRobotInterface in org.testfx.framework.junit
Classes in org.testfx.framework.junit that implement FxRobotInterfaceModifier and TypeClassDescriptionclass
class
The base class that your JUnit test classes should extend from that interact with and/or verify the state of a JavaFX UI. -
Uses of FxRobotInterface in org.testfx.framework.junit5
Classes in org.testfx.framework.junit5 that implement FxRobotInterface