org.zkoss.zul
Interface ComboitemRenderer


public interface ComboitemRenderer

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, Object data)
          Renders the data to the specified comboitem.
 

Method Detail

render

void render(Comboitem item,
            Object data)
            throws Exception
Renders the data to the specified comboitem.

Parameters:
item - the comboitem to render the result.
data - that is returned from ListModel.getElementAt(int)
Throws:
Exception


Copyright © 2011. All Rights Reserved.