Overview
Wrapper for a Node that is placed inside a Grid. This provides additional control over how the Node is positioned and oriented in the Grid including alignment, span, grow, and the ability to override Resizable properties.
Profile: desktop
Variable Summary
| access | name | type | Can Read | Can Init | Can Write | Default Value | description |
|---|---|---|---|---|---|---|---|
| public-init | content | Node | ![]() | ![]() |
The content of this Cell will be constrained by the constraint variables when placed inside a Grid. |
||
| public | fill | Fill | ![]() | ![]() | ![]() |
If set, will cause the Node to take all available space in the horizontal or vertical direction.
If set, will cause the Node to take all available space in the horizontal or vertical direction. See Fill for more details. |
|
| public | hgrow | Grow | ![]() | ![]() | ![]() |
The priority for allocating unused space in the Grid.
The priority for allocating unused space in the Grid. Components with the same horizontalGrow value will receive an equal portion of the Grid. If unset this value will default to: GridConstraints.NEVER Note that extra space is first allocated to the Grid columnPercentages. |
|
| public | hpos | HPos | ![]() | ![]() | ![]() |
If set, will define how the node should be horizontally positioned within its allocated layout space. |
|
| public | hspan | Integer | ![]() | ![]() | ![]() |
The number of columns that this Node will span. |
|
| public | maxHeight | Number | ![]() | ![]() | ![]() |
Overrides the maximum height of the Node. |
|
| public | maxWidth | Number | ![]() | ![]() | ![]() |
Overrides the maximum width of the Node. |
|
| public | minHeight | Number | ![]() | ![]() | ![]() |
Overrides the minimum height of the Node. |
|
| public | minWidth | Number | ![]() | ![]() | ![]() |
Overrides the minimum width of the Node. |
|
| public | prefHeight | Number | ![]() | ![]() | ![]() |
Overrides the preferred height of the Node. |
|
| public | prefWidth | Number | ![]() | ![]() | ![]() |
Overrides the preferred width of the Node. |
|
| public | vgrow | Grow | ![]() | ![]() | ![]() |
The priority for allocating unused space in the Grid.
The priority for allocating unused space in the Grid. Components with the same verticalGrow value will receive an equal portion of the Grid. If unset this value will default to: GridConstraints.NEVER Note that extra space is first allocated to the Grid columnPercentages. |
|
| public | vpos | VPos | ![]() | ![]() | ![]() |
If set, will define how the node should be vertically positioned within its allocated layout space. |
|
| public | vspan | Integer | ![]() | ![]() | ![]() |
The number of rows that this Node will span. |
Inherited Variables
org.jfxtras.scene.layout.DefaultLayout
| access | name | type | Can Read | Can Init | Can Write | Default Value | description |
|---|---|---|---|---|---|---|---|
| public-read protected | defaultLayoutInfo | LayoutInfoBase | ![]() | subclass | subclass |
The default layout info for this Node.
The default layout info for this Node. Usually this will be initialized by the Node subclass to a static LayoutInfo for all instances. Any values set on this will override the default Constraint values. |

