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.

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
public-init packagecolumnSpanInteger

Replaced with hspan

public-initcontentNode

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

public-init packagehalignHorizontalAlignment

Specifies the horizontal alignment of the contents of this cell.

Specifies the horizontal alignment of the contents of this cell.

This value is initially unset, and if not specified will first pick up its value from the DefaultCell for this component, which if also unspecified will default to: GridConstraints.LEFT

See Also:
HorizontalAlignment

 
public-init packagehgrowGrow

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 inherit from the DefaultCell for this component, which if also unspecified will default to: GridConstraints.NEVER

Note that extra space is first allocated to the Grid columnPercentages.

 
public-init packagehorizontalAlignmentHorizontalAlignment

Replaced with halign

public-init packagehorizontalGrowGrow

Replaced with hgrow

public-init packagehspanInteger

The number of columns that this Cell will span.

public-init packagemaximumHeightNumber

Overrides the maximum height of the content.

public-init packagemaximumWidthNumber

Overrides the maximum width of the content.

public-init packageminimumHeightNumber

Overrides the minimum height of the content.

public-init packageminimumWidthNumber

Overrides the minimum width of the content.

public-init packagepreferredHeightNumber

Overrides the preferred height of the content.

public-init packagepreferredWidthNumber

Overrides the preferred width of the content.

public-init packagevalignVerticalAlignment

Specifies the vertical alignment of the contents of this cell.

Specifies the vertical alignment of the contents of this cell.

This value is initially unset, and if not specified will first pick up its value from the DefaultCell for this component, which if also unspecified will default to: GridConstraints.MIDDLE

See Also:
VerticalAlignment

 
public-init packageverticalAlignmentVerticalAlignment

Replaced with valign

public-init packageverticalGrowGrow

Replaced with vgrow

public-init packagevgrowGrow

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 inherit from the DefaultCell for this component, which if also unspecified will default to: GridConstraints.NEVER

Note that extra space is first allocated to the Grid columnPercentages.

 

Inherited Variables

Inherited Functions