Table |
Table.cell(Cell cell) |
Adds a specified cell to the current row.
|
Table |
Table.cell(Object value,
CellOption... options) |
Adds a new cell to the current row with the given value content
|
Table |
Table.clearCellClasses() |
|
Table |
Table.header() |
Sets the current row or cell to be a header.
|
Table |
Table.header(List<Object> values) |
Creates a new header row and populates it with the given cell values
|
Table |
Table.htmlCell(Object value) |
Adds a new HTML cell to the current row
|
Table |
Table.row() |
Starts a new row in the table
|
Table |
Table.row(List<Object> values,
CellOption... options) |
Creates a new (non-header) row and populates it with the given cell values.
|
Table |
Table.rows(List<Object> rowData,
CellOption... cellOptions) |
Accepts a set of row data and adds it to the output table.
|
Table |
Table.setColumnCellOptions(int column,
CellOption... options) |
To be used after populating the table: applies the given CellOption modifications
to the cells at the given column index in each row.
|
Table |
Table.setColumnStyle(int column,
String style) |
To be used after populating the table: sets the given style to the
cells at the given column in each row.
|
Table |
Table.setExtraColumnStyle(int column,
String style) |
To be used after populating the table: appends the given style to the
cells at the given column in each row.
|
Table |
Table.setRowCellOptions(int row,
CellOption... options) |
To be used after populating the table: sets the given style to the given
row, indexed starting from zero, including the header row.
|
Table |
Table.setRowStyle(int row,
String style) |
To be used after populating the table: sets the given style to the given
row, indexed starting from zero, including the header row.
|
Table |
Table.width(int value) |
Sets the table width to the given value, in percent
|
Table |
Table.withCellClasses(String... classes) |
All future cells will have the given classes appended.
|
Table |
Table.withCellOptions(CellOption... options) |
Applies the given set of cell options to either the current cell or the
current row.
|
Table |
Table.withCellOptions(List<CellOption> options) |
Applies the given set of cell options to the current object.
|
Table |
Table.withClass(String... cssClasses) |
Adds the given CSS class to the current object
|
Table |
Table.withHeaderRow(CellOption... options) |
Resets the first row to be a header row, which will have its header flag
set and any given options applied to all cells in the row.
|
Table |
Table.withStyle(String style) |
Sets the style of the current item to the given value.
|