Interface MatrixRenderer<T>


public interface MatrixRenderer<T>
Used to generated the HTML fragment for the data associated with a matrix component, such as Biglistbox
Author:
jumperchen
  • Method Summary

    Modifier and Type
    Method
    Description
    renderCell(org.zkoss.zk.ui.Component owner, T data, int rowIndex, int colIndex)
    Renders the content of the cell as HTML result.
    renderHeader(org.zkoss.zk.ui.Component owner, T data, int rowIndex, int colIndex)
    Renders the content of the header as HTML result.
  • Method Details

    • renderCell

      String renderCell(org.zkoss.zk.ui.Component owner, T data, int rowIndex, int colIndex) throws Exception
      Renders the content of the cell as HTML result.
      Parameters:
      owner - the rendering component that owns the renderer
      data - a matrix data for cell
      rowIndex - the index of the row
      colIndex - the index of column
      Throws:
      Exception
    • renderHeader

      String renderHeader(org.zkoss.zk.ui.Component owner, T data, int rowIndex, int colIndex) throws Exception
      Renders the content of the header as HTML result.
      Parameters:
      owner - the rendering component that owns the renderer
      data - a matrix data for header
      rowIndex - the index of the row
      colIndex - the index of the column
      Throws:
      Exception