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 Type
    Method
    Description
    void
    render(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

      void render(TableModel model, int colIndex, int rowIndex, org.zkoss.zk.ui.Component parent)
      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 rendered
      colIndex - zero based column index of the cell to be rendered
      rowIndex - zero based row index of the cell to be rendered
      parent - the parent component that will contain the view components created by the renderer