Overview
JFXtras extension of Container that provides versions of all the static helper functions that respect ExtendedLayoutInfo.grow and DefaultLayout.
Inherited Variables
Script Function Summary
- public getManaged(content: javafx.scene.Node[]) : java.lang.Object[]
- public getNodeFill(node: javafx.scene.Node) : org.jfxtras.scene.layout.Fill
- public getNodeHGrow(node: javafx.scene.Node) : org.jfxtras.scene.layout.Grow
- public getNodeHPos(node: javafx.scene.Node) : javafx.geometry.HPos
-
Utility function which returns the horizontal layout position of the Node which defines how the node should be horizontally aligned within its layout space if the width of the layout space is greater than the layout bounds width of the node.
Utility function which returns the horizontal layout position of the Node which defines how the node should be horizontally aligned within its layout space if the width of the layout space is greater than the layout bounds width of the node.
This version has no user default and will rely on class defaults instead.
-
Parameters
- node
-
Returns
- HPos
- public getNodeHPos(node: javafx.scene.Node, fallback: javafx.geometry.HPos) : javafx.geometry.HPos
-
Utility function which returns the horizontal layout position of the Node which defines how the node should be horizontally aligned within its layout space if the width of the layout space is greater than the layout bounds width of the node.
Utility function which returns the horizontal layout position of the Node which defines how the node should be horizontally aligned within its layout space if the width of the layout space is greater than the layout bounds width of the node.
-
Parameters
- node
- fallback
-
Returns
- HPos
- public getNodeHSpan(node: javafx.scene.Node) : Integer
- public getNodeMaxHeight(node: javafx.scene.Node) : Number
- public getNodeMaxWidth(node: javafx.scene.Node) : Number
- public getNodeMinHeight(node: javafx.scene.Node) : Number
- public getNodeMinWidth(node: javafx.scene.Node) : Number
- public getNodePrefHeight(node: javafx.scene.Node) : Number
- public getNodePrefHeight(node: javafx.scene.Node, width: Number) : Number
- public getNodePrefWidth(node: javafx.scene.Node) : Number
- public getNodePrefWidth(node: javafx.scene.Node, height: Number) : Number
- public getNodeVGrow(node: javafx.scene.Node) : org.jfxtras.scene.layout.Grow
- public getNodeVPos(node: javafx.scene.Node) : javafx.geometry.VPos
-
Utility function which returns the vertical layout position of the Node which defines how the node should be vertically aligned within its layout space if the height of the layout space is greater than the layout bounds height of the node.
Utility function which returns the vertical layout position of the Node which defines how the node should be vertically aligned within its layout space if the height of the layout space is greater than the layout bounds height of the node.
This version has no user default and will rely on class defaults instead.
-
Parameters
- node
-
Returns
- VPos
- public getNodeVPos(node: javafx.scene.Node, fallback: javafx.geometry.VPos) : javafx.geometry.VPos
-
Utility function which returns the vertical layout position of the Node which defines how the node should be vertically aligned within its layout space if the height of the layout space is greater than the layout bounds height of the node.
Utility function which returns the vertical layout position of the Node which defines how the node should be vertically aligned within its layout space if the height of the layout space is greater than the layout bounds height of the node.
-
Parameters
- node
- fallback
-
Returns
- VPos
- public getNodeVSpan(node: javafx.scene.Node) : Integer
- public layoutNode(node: javafx.scene.Node, areaX: Number, areaY: Number, areaW: Number, areaH: Number, hposIn: javafx.geometry.HPos, vposIn: javafx.geometry.VPos) : Boolean
-
Utility function which Lays out the node relative to the specified layout area defined by areaX, areaY, areaW x areaH.
Utility function which Lays out the node relative to the specified layout area defined by areaX, areaY, areaW x areaH.
This differs from Container.layoutNode, because it also takes into account ExtendedLayoutInfo.fill, and will attempt to constrain the node to fit the bounding box.
-
Parameters
- node
- areaX
- areaY
- areaW
- areaH
- hposIn
- vposIn
-
Returns
- Boolean
- public managed(node: javafx.scene.Node) : Boolean