O'Reilly logo

Learn JavaFX 8: Building User Experience and Interfaces with Java 8 by Kishori Sharan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Table 10-9. List of Constraints That Can Be Set for the Children in a GridPane

Constraint

Type

Description

columnIndex

Integer

It is the column index where the layout area of the child node starts. The first column has the index 0. The default value is 0.

rowIndex

Integer

It is the row index where the layout area of the child node starts. The first row has the index 0. The default value is 0.

columnSpan

Integer

It is the number of columns the layout area of a child node spans. The default is 1.

rowSpan

Integer

It is the number of columns the layout area of a child node spans. The default is 1.

halignment

HPos

It specifies the horizontal alignment of the child node within its layout area.

valignment

VPos

It specifies the vertical alignment of the child node within ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required