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 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 Boundsobject that is calculated via PointQuery.getPosition() by PointQuery.getOffset() amount.