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
Modifier and TypeMethodDescriptionrenderCell(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 rendererdata- a matrix data for cellrowIndex- the index of the rowcolIndex- 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 rendererdata- a matrix data for headerrowIndex- the index of the rowcolIndex- the index of the column- Throws:
Exception
-