public final class AnchorPanes
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
anchorFor(javafx.scene.Node target,
double value)
Apply the
AnchorPane.setTopAnchor(Node, Double) (and others) to the given target |
static javafx.scene.layout.AnchorPane |
wrapWithAnchor(javafx.scene.Node node)
Wrap the given
Node with an AnchorPane and apply 0.0 as anchor value |
static javafx.scene.layout.AnchorPane |
wrapWithAnchor(javafx.scene.Node node,
double anchorValue)
Wrap the given
Node with an AnchorPane and apply the specified anchor value |
static void |
zeroAnchorFor(javafx.scene.Node target)
Same as
anchorFor(Node, double) but with 0.0 as anchor value |
public static javafx.scene.layout.AnchorPane wrapWithAnchor(javafx.scene.Node node,
double anchorValue)
Node with an AnchorPane and apply the specified anchor valuenode - the node to wrapanchorValue - the anchor value to apply to the nodepublic static javafx.scene.layout.AnchorPane wrapWithAnchor(javafx.scene.Node node)
Node with an AnchorPane and apply 0.0 as anchor valuenode - the node to wrappublic static void zeroAnchorFor(javafx.scene.Node target)
anchorFor(Node, double) but with 0.0 as anchor valuetarget - the node to wrappublic static void anchorFor(javafx.scene.Node target,
double value)
AnchorPane.setTopAnchor(Node, Double) (and others) to the given targettarget - the node to wrapvalue - the anchor value to use