Class DefaultCellTableBuilder<T>
- java.lang.Object
-
- com.google.gwt.user.cellview.client.AbstractCellTableBuilder<T>
-
- com.google.gwt.user.cellview.client.DefaultCellTableBuilder<T>
-
- Type Parameters:
T
- the data type of the rows.
- All Implemented Interfaces:
CellTableBuilder<T>
public class DefaultCellTableBuilder<T> extends AbstractCellTableBuilder<T>
Default cell table builder that renders row values into a grid of columns.
-
-
Field Summary
-
Fields inherited from class com.google.gwt.user.cellview.client.AbstractCellTableBuilder
cellTable
-
-
Constructor Summary
Constructors Constructor Description DefaultCellTableBuilder(AbstractCellTable<T> cellTable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addCellAttributes(TableCellBuilder cell)
Hook for subclasses to add their own attributes to each cell in the table.void
buildRowImpl(T rowValue, int absRowIndex)
Build zero or more table rows for the specified row value.-
Methods inherited from class com.google.gwt.user.cellview.client.AbstractCellTableBuilder
addRowAttributes, addRowAttributes, buildRow, createContext, finish, getColumn, getColumns, getRowValueIndex, getSubrowValueIndex, isColumn, renderCell, start, startRow, startRow
-
-
-
-
Constructor Detail
-
DefaultCellTableBuilder
public DefaultCellTableBuilder(AbstractCellTable<T> cellTable)
-
-
Method Detail
-
buildRowImpl
public void buildRowImpl(T rowValue, int absRowIndex)
Description copied from class:AbstractCellTableBuilder
Build zero or more table rows for the specified row value.- Specified by:
buildRowImpl
in classAbstractCellTableBuilder<T>
- Parameters:
rowValue
- the value for the row to renderabsRowIndex
- the absolute row index
-
addCellAttributes
protected void addCellAttributes(TableCellBuilder cell)
Hook for subclasses to add their own attributes to each cell in the table. The default does nothing.- Parameters:
cell
- the cell element
-
-