Modifier and Type | Method and Description |
---|---|
Grid |
build() |
Grid.GridBuilder |
columns(int columns)
The number of columns in the grid.
|
Grid.GridBuilder |
rowOrder(Grid.RowOrder rowOrder) |
Grid.GridBuilder |
rows(int rows)
The number of rows in the grid.
|
Grid.GridBuilder |
xGap(double xGap)
Horizontal space between grid cells, expressed as a fraction of the total width available to one cell.
|
Grid.GridBuilder |
yGap(double yGap)
Vertical space between grid cells, expressed as a fraction of the total height available to one cell.
|
public Grid.GridBuilder rows(int rows)
rows
- an integer greater than or equal to 1public Grid.GridBuilder columns(int columns)
columns
- an integer greater than or equal to 1public Grid.GridBuilder xGap(double xGap)
xGap
- a double >= 0 && <= 1public Grid.GridBuilder yGap(double yGap)
yGap
- a double >= 0 && <= 1public Grid.GridBuilder rowOrder(Grid.RowOrder rowOrder)
public Grid build()
Copyright © 2019. All rights reserved.