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
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 Modifier and Type Field Description private javafx.geometry.Boundsbounds-
Fields inherited from class org.testfx.service.query.impl.PointQueryBase
node
-
-
Constructor Summary
Constructors Constructor Description BoundsPointQuery(javafx.geometry.Bounds bounds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javafx.geometry.BoundsgetBounds()javafx.geometry.Point2Dquery()voidsetBounds(javafx.geometry.Bounds bounds)-
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
Boundsobject that is calculated viaPointQuery.getPosition()byPointQuery.getOffset()amount.
-
-