@Component(value="cuba_DeclarativeColumnGenerator") @Scope(value="prototype") public class DeclarativeColumnGenerator extends java.lang.Object implements Table.ColumnGenerator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Constructor and Description |
---|
DeclarativeColumnGenerator(Table table,
java.lang.String methodName) |
Modifier and Type | Method and Description |
---|---|
Component |
generateCell(Entity entity)
Called by
Table when rendering a column for which the generator was created. |
public static final java.lang.String NAME
public DeclarativeColumnGenerator(Table table, java.lang.String methodName)
public Component generateCell(Entity entity)
Table.ColumnGenerator
Table
when rendering a column for which the generator was created.generateCell
in interface Table.ColumnGenerator
entity
- an entity instance represented by the current row