| Package | Description |
|---|---|
| com.holonplatform.vaadin.components | |
| com.holonplatform.vaadin.components.builders |
| Modifier and Type | Method and Description |
|---|---|
static GridLayoutBuilder |
Components.gridLayout()
Gets a builder to create
FormLayouts. |
static GridLayoutBuilder |
Components.gridLayout(int columns,
int rows)
Gets a builder to create
GridLayouts. |
| Modifier and Type | Method and Description |
|---|---|
GridLayoutBuilder |
GridLayoutBuilder.add(com.vaadin.ui.Component component,
int column,
int row)
Adds the component to the grid in cells column1,row1 (NortWest corner of the area.)
|
GridLayoutBuilder |
GridLayoutBuilder.add(com.vaadin.ui.Component component,
int column1,
int row1,
int column2,
int row2)
Adds a component to the grid in the specified area.
|
GridLayoutBuilder |
GridLayoutBuilder.columnExpandRatio(int columnIndex,
float ratio)
Sets the expand ratio of given column.
|
GridLayoutBuilder |
GridLayoutBuilder.columns(int columns)
Set the number of columns of the grid
|
GridLayoutBuilder |
GridLayoutBuilder.hideEmptyRowsAndColumns()
Empty rows and columns will be considered as non-existent when rendering the grid, i.e. the spacing between
multiple empty columns (or rows) will be collapsed.
|
GridLayoutBuilder |
GridLayoutBuilder.newLine()
Forces the next component to be added at the beginning of the next line.
|
GridLayoutBuilder |
GridLayoutBuilder.rowExpandRatio(int rowIndex,
float ratio)
Sets the expand ratio of given row.
|
GridLayoutBuilder |
GridLayoutBuilder.rows(int rows)
Set the number of rows of the grid
|
GridLayoutBuilder |
GridLayoutBuilder.skip()
Moves the cursor forward by one.
|
Copyright © 2019 The Holon Platform. All rights reserved.