Interface CellRenderer
- All Known Subinterfaces:
ActionCellRenderer
- All Known Implementing Classes:
BooleanCellRenderer,CmsComponentStatusActionCellRenderer,CmsComponentTextCellRenderer,ConstraintGroupCellRenderer,ConstraintSeverityCellRenderer,DefaultActionCellRenderer,DefaultDecimalPriceCellRenderer,DefaultProductPriceCellRenderer,DefaultSingleColumnConfiguration.SingleColumnCellRenderer,DefaultTextCellRenderer,ImageCellRenderer,InlineItemRenderer,PriceRowRenderer,TaskCellRenderer,WorkflowStatusImageCellRenderer
public interface CellRenderer
A cell renderer is responsible for rendering cell content.
-
Method Summary
Modifier and TypeMethodDescriptionvoidrender(TableModel model, int colIndex, int rowIndex, org.zkoss.zk.ui.Component parent) Renders the cell content of the cell at position (colIndex,rowIndex).
-
Method Details
-
render
Renders the cell content of the cell at position (colIndex,rowIndex).- Parameters:
model- the underlying table model containing information about the cell that is to be renderedcolIndex- zero based column index of the cell to be renderedrowIndex- zero based row index of the cell to be renderedparent- the parent component that will contain the view components created by the renderer
-