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