JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

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

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
public-initcontentNode

The content of this Cell will be constrained by the constraint variables when placed inside a Grid.

publicfillFill

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.

 
publichgrowGrow

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.

 
publichposHPos

If set, will define how the node should be horizontally positioned within its allocated layout space.

publichspanInteger

The number of columns that this Node will span.

publicmaxHeightNumber

Overrides the maximum height of the Node.

publicmaxWidthNumber

Overrides the maximum width of the Node.

publicminHeightNumber

Overrides the minimum height of the Node.

publicminWidthNumber

Overrides the minimum width of the Node.

publicprefHeightNumber

Overrides the preferred height of the Node.

publicprefWidthNumber

Overrides the preferred width of the Node.

publicvgrowGrow

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.

 
publicvposVPos

If set, will define how the node should be vertically positioned within its allocated layout space.

publicvspanInteger

The number of rows that this Node will span.

Inherited Variables

org.jfxtras.scene.layout.DefaultLayout

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
public-read protecteddefaultLayoutInfoLayoutInfoBasesubclasssubclass

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.

 

Inherited Functions