Interface Table.ColumnGenerator<E>

All Known Subinterfaces:
Table.PrintableColumnGenerator<E,P>
All Known Implementing Classes:
DeclarativeColumnGenerator
Enclosing interface:
Table<E>

public static interface Table.ColumnGenerator<E>
Allows rendering of an arbitrary Component inside a table cell.
  • Method Summary

    Modifier and Type
    Method
    Description
    generateCell(E entity)
    Called by Table when rendering a column for which the generator was created.
  • Method Details

    • generateCell

      @Nullable Component generateCell(E entity)
      Called by Table when rendering a column for which the generator was created.
      Parameters:
      entity - an entity instance represented by the current row
      Returns:
      a component to be rendered inside of the cell