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 a Combobox.

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
 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 from ListModel.getElementAt(int)
index - the index of the data that is currently being rendered
Throws:
java.lang.Exception


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo