Package org.zkoss.zul
Interface ListgroupRendererExt
-
public interface ListgroupRendererExt
- Since:
- 3.5.0
- Author:
- tomyeh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Listgroup
newListgroup(Listbox listbox)
Creates an instance ofListgroup
for rendering.Listgroupfoot
newListgroupfoot(Listbox listbox)
Creates an instance ofListgroupfoot
for rendering.
-
-
-
Method Detail
-
newListgroup
Listgroup newListgroup(Listbox listbox)
Creates an instance ofListgroup
for 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
Listbox
to create it for you
-
newListgroupfoot
Listgroupfoot newListgroupfoot(Listbox listbox)
Creates an instance ofListgroupfoot
for 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
Listbox
to create it for you
-
-