public abstract class TableModel extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TableModel.ColumnDefinitionBuilder
A JQuery DataTables column definition builder.
|
static class |
TableModel.DetailedColumnDefinition
A column value attribute that provides a
display and sort property so that a JQuery DataTables
can use different properties to sort and display a column. |
| Constructor and Description |
|---|
TableModel() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
configureColumns(TableModel.ColumnDefinitionBuilder builder)
Configures the columns of the report table.
|
String |
getColumnsDefinition()
Returns the column definitions of the table.
|
abstract List<String> |
getHeaders()
Returns the table header labels of the table.
|
abstract String |
getId()
Returns the ID of the table.
|
abstract List<Object> |
getRows()
Returns the rows of the table.
|
abstract List<Integer> |
getWidths()
Returns the widths of the table columns.
|
public abstract String getId()
public abstract List<String> getHeaders()
public abstract List<Integer> getWidths()
public final String getColumnsDefinition()
protected abstract void configureColumns(TableModel.ColumnDefinitionBuilder builder)
builder - the columns definition builderCopyright © 2016–2019. All rights reserved.