|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
T - the row data typepublic interface CellTableBuilder<T>
Builder used to construct a CellTable.
The default implementation used by cell widths is
DefaultCellTableBuilder.
| Method Summary | |
|---|---|
void |
buildRow(T rowValue,
int absRowIndex)
Build zero or more table rows for the specified row value. |
TableSectionBuilder |
finish()
Finish the building of rows and return the table section builder. |
HasCell<T,?> |
getColumn(Cell.Context context,
T rowValue,
Element elem)
Return the column containing an element. |
java.util.Collection<HasCell<T,?>> |
getColumns()
Return all the columns that this table builder has rendered. |
int |
getRowValueIndex(TableRowElement row)
Get the index of the primary row from the associated TableRowElement (an TR element). |
int |
getSubrowValueIndex(TableRowElement row)
Get the index of the subrow value from the associated TableRowElement (an TR element). |
boolean |
isColumn(Element elem)
Return if an element contains a cell. |
void |
start(boolean isRebuildingAllRows)
Start building rows. |
| Method Detail |
|---|
void buildRow(T rowValue,
int absRowIndex)
rowValue - the value for the row to renderabsRowIndex - the absolute row indexTableSectionBuilder finish()
HtmlTableSectionBuilder and
its subclasses are supported.
HasCell<T,?> getColumn(Cell.Context context,
T rowValue,
Element elem)
context - the context for the elementrowValue - the value for the row corresponding to the elementelem - the elm that the column contains
java.util.Collection<HasCell<T,?>> getColumns()
int getRowValueIndex(TableRowElement row)
TableRowElement (an TR element).
row - the row element
int getSubrowValueIndex(TableRowElement row)
TableRowElement (an TR element). The sub row value starts at 0 for
the first row that represents a row value.
row - the row element
boolean isColumn(Element elem)
#getColumn(Context, Object, Element).
elem - the element of interestvoid start(boolean isRebuildingAllRows)
isRebuildingAllRows - is this start intended for rebuilding all rows
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||