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.
  • Constructor Details

    • DefaultCellTableBuilder

      public DefaultCellTableBuilder(AbstractCellTable<T> cellTable)
  • Method Details

    • 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 class AbstractCellTableBuilder<T>
      Parameters:
      rowValue - the value for the row to render
      absRowIndex - 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