Uses of Interface
org.testfx.service.query.PointQuery
Packages that use PointQuery
Package
Description
-
Uses of PointQuery in org.testfx.api
Methods in org.testfx.api that return PointQueryModifier and TypeMethodDescription<T extends javafx.scene.Node>
PointQueryFxRobot.offset
(javafx.geometry.Bounds bounds, double offsetX, double offsetY) FxRobot.offset
(javafx.geometry.Point2D point, double offsetX, double offsetY) FxRobot.offset
(javafx.scene.Node node, double offsetX, double offsetY) FxRobot.offset
(javafx.scene.Node node, javafx.geometry.Pos offsetReferencePos, double offsetX, double offsetY) FxRobot.offset
(javafx.scene.Scene scene, double offsetX, double offsetY) FxRobot.offset
(javafx.stage.Window window, double offsetX, double offsetY) <T extends javafx.scene.Node>
PointQueryFxRobot.offset
(org.hamcrest.Matcher<T> matcher, double offsetX, double offsetY) Convenience method: CallsFxRobotInterface.point(String)
and sets the query's offset by the given offset values.default PointQuery
Convenience method: CallsFxRobotInterface.point(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: CallsFxRobotInterface.point(Predicate)
and sets the query's offset by the given offset values.default <T extends javafx.scene.Node>
PointQueryConvenience method: CallsFxRobotInterface.point(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).FxRobotInterface.offset
(javafx.geometry.Bounds bounds, double offsetX, double offsetY) Convenience method: CallsFxRobotInterface.point(Bounds)
and sets the query's offset by the given offset values.default PointQuery
FxRobotInterface.offset
(javafx.geometry.Bounds bounds, javafx.geometry.Point2D offset) Convenience method: CallsFxRobotInterface.point(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).FxRobotInterface.offset
(javafx.geometry.Point2D point, double offsetX, double offsetY) Convenience method: CallsFxRobotInterface.point(Point2D)
and sets the query's offset by the given offset values.default PointQuery
FxRobotInterface.offset
(javafx.geometry.Point2D point, javafx.geometry.Point2D offset) Convenience method: CallsFxRobotInterface.point(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).FxRobotInterface.offset
(javafx.scene.Node node, double offsetX, double offsetY) Convenience method: CallsFxRobotInterface.point(Node)
and sets the query's offset by the given offset values.default PointQuery
FxRobotInterface.offset
(javafx.scene.Node node, javafx.geometry.Point2D offset) Convenience method: CallsFxRobotInterface.point(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).FxRobotInterface.offset
(javafx.scene.Node node, javafx.geometry.Pos offsetReferencePos, double offsetX, double offsetY) Convenience method: CallsFxRobotInterface.point(Node)
and sets the query's offset by the given offset values where the offset is computed with respect to the given offset reference position.default PointQuery
FxRobotInterface.offset
(javafx.scene.Node node, javafx.geometry.Pos offsetReferencePos, javafx.geometry.Point2D offset) Convenience method: CallsFxRobotInterface.point(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.FxRobotInterface.offset
(javafx.scene.Scene scene, double offsetX, double offsetY) Convenience method: CallsFxRobotInterface.point(Scene)
and sets the query's offset by the given offset values.default PointQuery
FxRobotInterface.offset
(javafx.scene.Scene scene, javafx.geometry.Point2D offset) Convenience method: CallsFxRobotInterface.point(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).FxRobotInterface.offset
(javafx.stage.Window window, double offsetX, double offsetY) Convenience method: CallsFxRobotInterface.point(Window)
and sets the query's offset by the given offset values.default PointQuery
FxRobotInterface.offset
(javafx.stage.Window window, javafx.geometry.Point2D offset) Convenience method: CallsFxRobotInterface.point(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>
PointQueryFxRobotInterface.offset
(org.hamcrest.Matcher<T> matcher, double offsetX, double offsetY) Convenience method: CallsFxRobotInterface.point(Matcher)
and sets the query's offset by the given offset values.default <T extends javafx.scene.Node>
PointQueryFxRobotInterface.offset
(org.hamcrest.Matcher<T> matcher, javafx.geometry.Point2D offset) Convenience method: CallsFxRobotInterface.point(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).FxRobot.point
(double x, double y) <T extends javafx.scene.Node>
PointQueryFxRobot.point
(javafx.geometry.Bounds bounds) FxRobot.point
(javafx.geometry.Point2D point) FxRobot.point
(javafx.scene.Node node) FxRobot.point
(javafx.scene.Scene scene) FxRobot.point
(javafx.stage.Window window) <T extends javafx.scene.Node>
PointQueryFxRobot.point
(org.hamcrest.Matcher<T> matcher) FxRobotInterface.point
(double x, double y) CallsPointLocator.point(Point2D)
usingnew Point2D(x, y)
and sets thePointQuery
'sgetPosition()
toFxRobotContext.getPointPosition()
.Convenience method: Tries to find a given node viaFxRobotInterface.lookup(String)
before callingFxRobotInterface.point(Node)
, throwing aFxRobotException
if no node is found.<T extends javafx.scene.Node>
PointQueryConvenience method: Tries to find a given node viaFxRobotInterface.lookup(Predicate)
before callingFxRobotInterface.point(Node)
, throwing aFxRobotException
if no node is found.FxRobotInterface.point
(javafx.geometry.Bounds bounds) CallsPointLocator.point(Bounds)
and sets thePointQuery
'sgetPosition()
toFxRobotContext.getPointPosition()
.FxRobotInterface.point
(javafx.geometry.Point2D point) CallsPointLocator.point(Point2D)
and sets thePointQuery
'sgetPosition()
toFxRobotContext.getPointPosition()
.FxRobotInterface.point
(javafx.scene.Node node) CallsPointLocator.point(Node)
and sets thePointQuery
'sgetPosition()
toFxRobotContext.getPointPosition()
.FxRobotInterface.point
(javafx.scene.Scene scene) CallsPointLocator.point(Scene)
and sets thePointQuery
'sgetPosition()
toFxRobotContext.getPointPosition()
.FxRobotInterface.point
(javafx.stage.Window window) CallsPointLocator.point(Window)
and sets thePointQuery
'sgetPosition()
toFxRobotContext.getPointPosition()
.<T extends javafx.scene.Node>
PointQueryFxRobotInterface.point
(org.hamcrest.Matcher<T> matcher) Convenience method: Tries to find a given node viaFxRobotInterface.lookup(Matcher)
before callingFxRobotInterface.point(Node)
, throwing aFxRobotException
if no node is found.private PointQuery
FxRobot.pointOfVisibleNode
(String query) private <T extends javafx.scene.Node>
PointQueryFxRobot.pointOfVisibleNode
(Predicate<T> predicate) private <T extends javafx.scene.Node>
PointQueryFxRobot.pointOfVisibleNode
(org.hamcrest.Matcher<T> matcher) Methods in org.testfx.api with parameters of type PointQueryModifier and TypeMethodDescriptionFxRobot.clickOn
(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons) 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.FxRobot.doubleClickOn
(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons) 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.FxRobot.drag
(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons) FxRobotInterface.drag
(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons) CallsDragRobot.drag(PointQuery, MouseButton...)
and returns itself for more method chaining.FxRobot.dropTo
(PointQuery pointQuery) FxRobotInterface.dropTo
(PointQuery pointQuery) CallsDragRobot.dropTo(PointQuery)
and returns itself for more method chaining.FxRobot.moveTo
(PointQuery pointQuery, Motion motion) 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.FxRobot.rightClickOn
(PointQuery pointQuery, Motion motion) default FxRobotInterface
FxRobotInterface.rightClickOn
(PointQuery pointQuery) Convenience method: Moves mouse directly to the point returned fromquery()
, clicks theMouseButton.SECONDARY
button and returns itself for method chaining.FxRobotInterface.rightClickOn
(PointQuery pointQuery, Motion motion) -
Uses of PointQuery in org.testfx.robot
Methods in org.testfx.robot with parameters of type PointQueryModifier and TypeMethodDescriptiondefault void
ClickRobot.clickOn
(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons) Moves the mouse directly to the location specified by the givenquery()
and clicks whatever is under it.void
ClickRobot.clickOn
(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons) default void
ClickRobot.doubleClickOn
(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons) Moves the mouse directly to the location specified by the givenquery()
and double-clicks whatever is under it.void
ClickRobot.doubleClickOn
(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons) void
DragRobot.drag
(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons) Moves the mouse to the location specified by the givenquery()
and then presses the given mouse button(s) on whatever is under the mouse's new location.void
DragRobot.dropTo
(PointQuery pointQuery) Moves the mouse to the location specified by the givenquery()
and then releases the mouse.default void
MoveRobot.moveTo
(PointQuery pointQuery) Moves the mouse directly to the (x,y) position specified by the givenquery()
.void
MoveRobot.moveTo
(PointQuery pointQuery, Motion motion) -
Uses of PointQuery in org.testfx.robot.impl
Methods in org.testfx.robot.impl with parameters of type PointQueryModifier and TypeMethodDescriptionvoid
ClickRobotImpl.clickOn
(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons) void
ClickRobotImpl.doubleClickOn
(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons) void
DragRobotImpl.drag
(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons) void
DragRobotImpl.dropTo
(PointQuery pointQuery) void
MoveRobotImpl.moveTo
(PointQuery pointQuery, Motion motion) -
Uses of PointQuery in org.testfx.service.locator
Methods in org.testfx.service.locator that return PointQueryModifier and TypeMethodDescriptionPointLocator.point
(javafx.geometry.Bounds bounds) PointLocator.point
(javafx.geometry.Point2D point) PointLocator.point
(javafx.scene.Node node) Returns the center of the givenNode
in screen coordinates.PointLocator.point
(javafx.scene.Scene scene) PointLocator.point
(javafx.stage.Window window) -
Uses of PointQuery in org.testfx.service.locator.impl
Methods in org.testfx.service.locator.impl that return PointQuery -
Uses of PointQuery in org.testfx.service.query
Methods in org.testfx.service.query that return PointQueryModifier and TypeMethodDescriptionPointQuery.atOffset
(double offsetX, double offsetY) UpdatesgetOffset()
by the combination of the currentoffset
'sx
value andoffsetX
and itsy
value andoffsetY
.PointQuery.atOffset
(javafx.geometry.Point2D offset) UpdatesgetOffset()
to benew Point2D(this.offset.getX() + offset.getX(), this.offset.getY() + offset.getY())
.PointQuery.atPosition
(double positionX, double positionY) UpdatesgetPosition()
to the newposition
.PointQuery.atPosition
(javafx.geometry.Point2D position) UpdatesgetPosition()
to the newposition
.PointQuery.atPosition
(javafx.geometry.Pos position) UpdatesgetPosition()
to a new one based on the givenposition
.PointQuery.onNode
(javafx.scene.Node node) -
Uses of PointQuery in org.testfx.service.query.impl
Classes in org.testfx.service.query.impl that implement PointQueryModifier and TypeClassDescriptionclass
This point query implements a PointQuery within the bounds of an object.class
class
Methods in org.testfx.service.query.impl that return PointQueryModifier and TypeMethodDescriptionPointQueryBase.atOffset
(double offsetX, double offsetY) PointQueryBase.atOffset
(javafx.geometry.Point2D offset) PointQueryBase.atPosition
(double positionX, double positionY) PointQueryBase.atPosition
(javafx.geometry.Point2D position) PointQueryBase.atPosition
(javafx.geometry.Pos position) PointQueryBase.onNode
(javafx.scene.Node node)