public interface ItemRenderer<T>
Selectbox
.Modifier and Type | Method and Description |
---|---|
String |
render(org.zkoss.zk.ui.Component owner,
T data,
int index)
Renders the data to the corresponding HTML fragment, and returns
the HTML fragment.
|
String render(org.zkoss.zk.ui.Component owner, T data, int index) throws Exception
owner
- the component that this renderer belongs to (never null).data
- that is returned from ListModel.getElementAt(int)
index
- the data index that is currently being renderedException
Copyright © 2019. All rights reserved.