Package org.testfx.service.query.impl
Class BoundsPointQuery
java.lang.Object
org.testfx.service.query.impl.PointQueryBase
org.testfx.service.query.impl.BoundsPointQuery
- All Implemented Interfaces:
PointQuery
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
FieldsFields inherited from class org.testfx.service.query.impl.PointQueryBase
node
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.testfx.service.query.impl.PointQueryBase
atOffset, atOffset, atPosition, atPosition, atPosition, getOffset, getPosition, onNode, queryMotion, toString
-
Field Details
-
bounds
private javafx.geometry.Bounds bounds
-
-
Constructor Details
-
BoundsPointQuery
public BoundsPointQuery(javafx.geometry.Bounds bounds)
-
-
Method Details
-
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.
-