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 asBiglistbox- Author:
- jumperchen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringrenderCell(org.zkoss.zk.ui.Component owner, T data, int rowIndex, int colIndex)Renders the content of the cell as HTML result.java.lang.StringrenderHeader(org.zkoss.zk.ui.Component owner, T data, int rowIndex, int colIndex)Renders the content of the header as HTML result.
-
-
-
Method Detail
-
renderCell
java.lang.String renderCell(org.zkoss.zk.ui.Component owner, T data, int rowIndex, int colIndex) throws java.lang.ExceptionRenders 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:
java.lang.Exception
-
renderHeader
java.lang.String renderHeader(org.zkoss.zk.ui.Component owner, T data, int rowIndex, int colIndex) throws java.lang.ExceptionRenders 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:
java.lang.Exception
-
-