@Unstable public class PointLocatorImpl extends Object implements PointLocator
Constructor and Description |
---|
PointLocatorImpl(BoundsLocator boundsLocator) |
Modifier and Type | Method and Description |
---|---|
PointQuery |
point(Bounds bounds) |
PointQuery |
point(Node node) |
PointQuery |
point(Point2D point) |
PointQuery |
point(Scene scene) |
PointQuery |
point(Window window) |
public PointLocatorImpl(BoundsLocator boundsLocator)
public PointQuery point(Bounds bounds)
point
in interface PointLocator
bounds
- the initial bounds with which to construct a PointQuery
PointQuery
with the given bounds as the initial boundspublic PointQuery point(Point2D point)
point
in interface PointLocator
point
- to convert into a Bounds
object.PointQuery
whose bounds x and y values are the given point and whose width/height = 0public PointQuery point(Node node)
point
in interface PointLocator
node
- the nodePointQuery
with the node's bounds (in terms of the screen) as the initial boundspublic PointQuery point(Scene scene)
point
in interface PointLocator
scene
- the scenePointQuery
with the scene's bounds (in terms of the screen) as the initial boundspublic PointQuery point(Window window)
point
in interface PointLocator
window
- the windowPointQuery
with the window's bounds (in terms of the screen) as the initial bounds