com.vaadin.ui
Interface Table.ColumnGenerator
- All Superinterfaces:
- Serializable
- Enclosing class:
- Table
public static interface Table.ColumnGenerator
- extends Serializable
Used to create "generated columns"; columns that exist only in the Table,
not in the underlying Container. Implement this interface and pass it to
Table.addGeneratedColumn along with an id for the column to be generated.
generateCell
Component generateCell(Table source,
Object itemId,
Object columnId)
- Called by Table when a cell in a generated column needs to be
generated.
- Parameters:
source
- the source TableitemId
- the itemId (aka rowId) for the of the cell to be generatedcolumnId
- the id for the generated column (as specified in
addGeneratedColumn)
- Returns:
Copyright © 2000-2010 IT Mill Ltd. All Rights Reserved.