Package org.zkoss.bind.impl
Class BindComboitemRenderer
- java.lang.Object
-
- org.zkoss.bind.impl.AbstractRenderer
-
- org.zkoss.bind.impl.BindComboitemRenderer
-
- All Implemented Interfaces:
java.io.Serializable
,ComboitemRenderer<java.lang.Object>
public class BindComboitemRenderer extends AbstractRenderer implements ComboitemRenderer<java.lang.Object>
comboitem renderer for binding.- Since:
- 6.0.0
- Author:
- henrichen
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.zkoss.bind.impl.AbstractRenderer
CURRENT_INDEX_RESOLVER_ATTR, EACH_ATTR, EACH_STATUS_VAR, EACH_VAR, IS_TEMPLATE_MODEL_ENABLED_ATTR, RENDERED_COMPONENTS, STATUS_ATTR, STATUS_POST_VAR
-
-
Constructor Summary
Constructors Constructor Description BindComboitemRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
render(Comboitem item, java.lang.Object data, int index)
Renders the data to the specified comboitem.-
Methods inherited from class org.zkoss.bind.impl.AbstractRenderer
addItemReference, addTemplateTracking, filterOutShadows, resolveTemplate, resolveTemplate, setAttributeName
-
-
-
-
Method Detail
-
render
public void render(Comboitem item, java.lang.Object data, int index) throws java.lang.Exception
Description copied from interface:ComboitemRenderer
Renders the data to the specified comboitem.- Specified by:
render
in interfaceComboitemRenderer<java.lang.Object>
- Parameters:
item
- the comboitem to render the result.data
- that is returned fromListModel.getElementAt(int)
index
- the index of the data that is currently being rendered- Throws:
java.lang.Exception
-
-