|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.bind.impl.AbstractRenderer org.zkoss.bind.impl.BindRowRenderer
public class BindRowRenderer
Row renderer for binding.
Field Summary |
---|
Fields inherited from class org.zkoss.bind.impl.AbstractRenderer |
---|
EACH_ATTR, EACH_STATUS_VAR, EACH_VAR, STATUS_ATTR, STATUS_POST_VAR |
Constructor Summary | |
---|---|
BindRowRenderer()
|
Method Summary | |
---|---|
void |
render(Row row,
java.lang.Object data,
int index)
Renders the data to the specified row. |
Methods inherited from class org.zkoss.bind.impl.AbstractRenderer |
---|
addItemReference, addItemReference, addTemplateTracking, resoloveTemplate, setAttributeName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BindRowRenderer()
Method Detail |
---|
public void render(Row row, java.lang.Object data, int index)
RowRenderer
render
in interface RowRenderer<java.lang.Object>
row
- the row to render the result.
Note: when this method is called, the row has no child
at all, unless you don't return
RowRendererExt.DETACH_ON_RENDER
when
RowRendererExt.getControls()
is called.data
- that is returned from ListModel.getElementAt(int)
index
- the index of the data that is currently being rendered
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |