Package org.zkoss.zul
Interface ComboitemRenderer<T>
-
- All Known Implementing Classes:
BindComboitemRenderer
public interface ComboitemRenderer<T>
Identifies components that can be used as "rubber stamps" to paint the cells in aCombobox
.If you need better control, your renderer can also implement
ComboitemRendererExt
.In addition, you could also implement
RendererCtrl
. For example, starts an transaction, and uses it to render all items for the same request.- Author:
- jumperchen
- See Also:
ListModel
,Combobox
,ComboitemRendererExt
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
render(Comboitem item, T data, int index)
Renders the data to the specified comboitem.
-
-
-
Method Detail
-
render
void render(Comboitem item, T data, int index) throws java.lang.Exception
Renders the data to the specified comboitem.- 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
-
-