public interface ComboitemRendererExt
ComboitemRenderer
.Modifier and Type | Method and Description |
---|---|
Comboitem |
newComboitem(Combobox combobox)
Creates an instance of
Comboitem for rendering. |
Comboitem newComboitem(Combobox combobox)
Comboitem
for rendering.
The created component will be passed to ComboitemRenderer.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)
.
Comboitem
to create it for youCopyright © 2005-2021 Potix Corporation. All Rights Reserved.