Overview
Simple layout that stacks the contents on top of each other. For regular nodes this behaves identically to Group; however, for Nodes that implement Resizable this will try to grow the width and height to the size of the Deck, based on the Node's constraints.
Since all Nodes are rendered, this layout is ideally suited to work with shaped or transparent components where the other children would be visible underneath.
Profile: desktop
Variable Summary
| access | name | type | Can Read | Can Init | Can Write | Default Value | description |
|---|---|---|---|---|---|---|---|
| public | nodeHPos | HPos | ![]() | ![]() | ![]() | HPos.CENTER |
The horizontal position of each node within the Deck's width.
The horizontal position of each node within the Deck's width. This may be overridden for individual nodes by setting the hpos variable on the node's layoutInfo variable. HPos.CENTER |
| public | nodeVPos | VPos | ![]() | ![]() | ![]() | VPos.CENTER |
The vertical position of each node within the Deck's height.
The vertical position of each node within the Deck's height. This may be overridden for individual nodes by setting the vpos variable on the node's layoutInfo variable. VPos.CENTER |
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. |

