- java.lang.Object
-
- org.testfx.service.query.impl.PointQueryBase
-
- org.testfx.service.query.impl.BoundsPointQuery
-
- All Implemented Interfaces:
PointQuery
public class BoundsPointQuery extends PointQueryBase
This point query implements a PointQuery within the bounds of an object.The
position
(Pos
) can be set to a value within the bounds.
-
-
Field Summary
-
Fields inherited from class org.testfx.service.query.impl.PointQueryBase
node
-
-
Constructor Summary
Constructors Constructor Description BoundsPointQuery(javafx.geometry.Bounds bounds)
-
Method Summary
-
Methods inherited from class org.testfx.service.query.impl.PointQueryBase
atOffset, atOffset, atPosition, atPosition, atPosition, getOffset, getPosition, onNode, queryMotion, toString
-
-
-
-
Method Detail
-
getBounds
public javafx.geometry.Bounds getBounds()
-
setBounds
public void setBounds(javafx.geometry.Bounds bounds)
-
query
public javafx.geometry.Point2D query()
- Returns:
- a position that offsets the relative position within the initial
Bounds
object that is calculated viaPointQuery.getPosition()
byPointQuery.getOffset()
amount.
-
-