public class BoundsLocatorImpl extends java.lang.Object implements BoundsLocator
| Constructor and Description |
|---|
BoundsLocatorImpl() |
| Modifier and Type | Method and Description |
|---|---|
javafx.geometry.Bounds |
boundsInSceneFor(javafx.scene.Node node) |
javafx.geometry.Bounds |
boundsInWindowFor(javafx.geometry.Bounds boundsInScene,
javafx.scene.Scene scene) |
javafx.geometry.Bounds |
boundsInWindowFor(javafx.scene.Scene scene) |
javafx.geometry.Bounds |
boundsOnScreenFor(javafx.geometry.Bounds boundsInScene,
javafx.scene.Scene scene) |
javafx.geometry.Bounds |
boundsOnScreenFor(javafx.scene.Node node) |
javafx.geometry.Bounds |
boundsOnScreenFor(javafx.scene.Scene scene) |
javafx.geometry.Bounds |
boundsOnScreenFor(javafx.stage.Window window) |
public javafx.geometry.Bounds boundsInSceneFor(javafx.scene.Node node)
boundsInSceneFor in interface BoundsLocatornode - the nodeScene. If the node's bounds extend beyond the Scene's bounds, the excess will be removed.public javafx.geometry.Bounds boundsInWindowFor(javafx.scene.Scene scene)
boundsInWindowFor in interface BoundsLocatorscene - the scenepublic javafx.geometry.Bounds boundsInWindowFor(javafx.geometry.Bounds boundsInScene,
javafx.scene.Scene scene)
boundsInWindowFor in interface BoundsLocatorboundsInScene - the bounds, which may extend beyond the scene's boundsscene - the scene used to set the bounds limitsboundsInScene, which is limited
by the bounds of the given Scene. If the former extends beyond the latter, the excess will be removedpublic javafx.geometry.Bounds boundsOnScreenFor(javafx.scene.Node node)
boundsOnScreenFor in interface BoundsLocatornode - the node.Scene's
bounds and secondly by its Scene's Window's boundspublic javafx.geometry.Bounds boundsOnScreenFor(javafx.scene.Scene scene)
boundsOnScreenFor in interface BoundsLocatorscene - the scenepublic javafx.geometry.Bounds boundsOnScreenFor(javafx.stage.Window window)
boundsOnScreenFor in interface BoundsLocatorwindow - the windowpublic javafx.geometry.Bounds boundsOnScreenFor(javafx.geometry.Bounds boundsInScene,
javafx.scene.Scene scene)
boundsOnScreenFor in interface BoundsLocatorboundsInScene - the initial bounds to convert to screen boundsscene - the scene that limits the boundsInSceneboundsInScene, which is limited by the
given Scene's bounds.