Package org.zkoss.zul
Interface ComboitemRendererExt
public interface ComboitemRendererExt
Provides additional control to
ComboitemRenderer.- Author:
- jumperchen
-
Method Summary
Modifier and TypeMethodDescriptionnewComboitem(Combobox combobox) Creates an instance ofComboitemfor rendering.
-
Method Details
-
newComboitem
Creates an instance ofComboitemfor rendering. The created component will be passed toComboitemRenderer.render(org.zkoss.zul.Comboitem, T, int).Note: remember to invoke
AbstractComponent.applyProperties()to initialize the properties, defined in the component definition, properly.If null is returned, the default comboitem is created as follow.
final Comboitem item = new Comboitem(); item.applyProperties(); return item;Note: DO NOT call
AbstractComponent.setParent(org.zkoss.zk.ui.Component).- Returns:
- the comboitem if you'd like to create it differently, or null
if you want
Comboitemto create it for you
-