public class TableBuilder extends Object
Modifier and Type | Field and Description |
---|---|
protected ValueBuilder<Row> |
rowBuilder |
protected ValueBuilder<Table> |
tableBuilder |
protected ValueBuilderFactory |
vbf |
Constructor and Description |
---|
TableBuilder(ValueBuilderFactory vbf) |
TableBuilder(ValueBuilderFactory vbf,
Map<String,org.apache.polygene.library.rest.common.table.TableBuilderFactory.Column> columns,
TableQuery tableQuery) |
Modifier and Type | Method and Description |
---|---|
void |
abortRow() |
TableBuilder |
cell(Object v,
String f) |
TableBuilder |
column(String id,
String label,
String type) |
TableBuilder |
endRow() |
Table |
newTable() |
TableBuilder |
orderBy() |
TableBuilder |
paging() |
TableBuilder |
row() |
TableBuilder |
rows(Iterable<?> rowObjects) |
protected ValueBuilderFactory vbf
protected ValueBuilder<Table> tableBuilder
protected ValueBuilder<Row> rowBuilder
public TableBuilder(ValueBuilderFactory vbf)
public TableBuilder(ValueBuilderFactory vbf, Map<String,org.apache.polygene.library.rest.common.table.TableBuilderFactory.Column> columns, TableQuery tableQuery)
public TableBuilder column(String id, String label, String type)
public TableBuilder rows(Iterable<?> rowObjects)
public TableBuilder row()
public TableBuilder endRow()
public TableBuilder cell(Object v, String f)
public TableBuilder orderBy()
public TableBuilder paging()
public Table newTable()
public void abortRow()