public class DefaultAnchorUtilities extends Object implements AnchorUtilities
RegionRectangleCircleEllipseArcText| Constructor and Description |
|---|
DefaultAnchorUtilities() |
| Modifier and Type | Method and Description |
|---|---|
double |
getHeight(javafx.scene.Node node)
Return the height of a Node.
|
javafx.beans.binding.DoubleExpression |
getHeightProperty(javafx.scene.Node node)
Return the height property of a Node.
|
double |
getWidth(javafx.scene.Node node)
Return the width of a Node.
|
javafx.beans.binding.DoubleExpression |
getWidthProperty(javafx.scene.Node node)
Return the width property of a Node.
|
double |
getX(javafx.scene.Node node)
Return the X position of a Node.
|
javafx.beans.binding.DoubleExpression |
getXProperty(javafx.scene.Node node)
Return the X property of a Node.
|
double |
getY(javafx.scene.Node node)
Return the Y position of a Node.
|
javafx.beans.binding.DoubleExpression |
getYProperty(javafx.scene.Node node)
Return the Y property of a Node.
|
void |
setHeight(javafx.scene.Node node,
double value)
Set the height of a Node.
|
void |
setWidth(javafx.scene.Node node,
double value)
Set the width of a Node.
|
void |
setX(javafx.scene.Node node,
double value)
Set the X position of a Node.
|
void |
setY(javafx.scene.Node node,
double value)
Set the Y position of a Node.
|
public double getY(javafx.scene.Node node)
getY in interface AnchorUtilitiesnode - the Nodepublic double getX(javafx.scene.Node node)
getX in interface AnchorUtilitiesnode - the Nodepublic void setX(javafx.scene.Node node,
double value)
setX in interface AnchorUtilitiesnode - the Nodevalue - the X positionpublic void setY(javafx.scene.Node node,
double value)
setY in interface AnchorUtilitiesnode - the Nodevalue - the Y positionpublic void setHeight(javafx.scene.Node node,
double value)
setHeight in interface AnchorUtilitiesnode - the Nodevalue - the heightpublic double getHeight(javafx.scene.Node node)
getHeight in interface AnchorUtilitiesnode - the Nodepublic void setWidth(javafx.scene.Node node,
double value)
setWidth in interface AnchorUtilitiesnode - the Nodevalue - the widthpublic double getWidth(javafx.scene.Node node)
getWidth in interface AnchorUtilitiesnode - the Nodepublic javafx.beans.binding.DoubleExpression getXProperty(javafx.scene.Node node)
getXProperty in interface AnchorUtilitiesnode - the Nodepublic javafx.beans.binding.DoubleExpression getYProperty(javafx.scene.Node node)
getYProperty in interface AnchorUtilitiesnode - the Nodepublic javafx.beans.binding.DoubleExpression getHeightProperty(javafx.scene.Node node)
getHeightProperty in interface AnchorUtilitiesnode - the Nodepublic javafx.beans.binding.DoubleExpression getWidthProperty(javafx.scene.Node node)
getWidthProperty in interface AnchorUtilitiesnode - the Node