Package org.zkoss.zul
Interface ListgroupRendererExt
public interface ListgroupRendererExt
- Since:
- 3.5.0
- Author:
- tomyeh
-
Method Summary
Modifier and TypeMethodDescriptionnewListgroup(Listbox listbox) Creates an instance ofListgroupfor rendering.newListgroupfoot(Listbox listbox) Creates an instance ofListgroupfootfor rendering.
-
Method Details
-
newListgroup
Creates an instance ofListgroupfor rendering. The created component will be passed toListitemRenderer.render(org.zkoss.zul.Listitem, T, int).Note: remember to invoke
AbstractComponent.applyProperties()to initialize the properties, defined in the component definition, properly.If null is returned, the default row is created as follow.
final Listgroup group = new Listgroup(); group.applyProperties(); return group;Note: DO NOT call
AbstractComponent.setParent(org.zkoss.zk.ui.Component).- Returns:
- the listgroup if you'd like to create it differently, or null
if you want
Listboxto create it for you
-
newListgroupfoot
Creates an instance ofListgroupfootfor rendering. The created component will be passed toListitemRenderer.render(org.zkoss.zul.Listitem, T, int).Note: remember to invoke
AbstractComponent.applyProperties()to initialize the properties, defined in the component definition, properly.If null is returned, the default row is created as follow.
final Listgroupfoot groupfoot = new Listgroupfoot(); groupfoot.applyProperties(); return groupfoot;Note: DO NOT call
AbstractComponent.setParent(org.zkoss.zk.ui.Component).- Returns:
- the listgroupfoot if you'd like to create it differently, or null
if you want
Listboxto create it for you
-