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 ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access