Package org.zkoss.zkmax.zul

## 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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `renderCell​(Component owner, T data, int rowIndex, int colIndex)` | Renders the content of the cell as HTML result.
    `java.lang.String` | `renderHeader​(Component owner, T data, int rowIndex, int colIndex)` | Renders the content of the header as HTML result.

- - ### Method Detail

    - #### renderCell

          java.lang.String renderCell​(Component owner,
                                      T data,
                                      int rowIndex,
                                      int colIndex)
                               throws java.lang.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:
        `java.lang.Exception`

    - #### renderHeader

          java.lang.String renderHeader​(Component owner,
                                        T data,
                                        int rowIndex,
                                        int colIndex)
                                 throws java.lang.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:
        `java.lang.Exception`