|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Listgroup
Adds the ability for single level grouping to the Listbox.
Event:
Default HtmlBasedComponent.getZclass()
: z-listgroup (since 5.0.0)
Field Summary |
---|
Fields inherited from interface org.zkoss.zk.ui.Component |
---|
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE |
Method Summary | |
---|---|
int |
getItemCount()
Returns the number of items. |
java.util.List |
getItems()
Returns a list of all Listitem are grouped by this listgroup. |
Listfoot |
getListfootApi()
Returns the Listfoot, if any. |
int |
getListgroupfootIndex()
Returns the index of Listgroupfoot -1: no Listgroupfoot |
int |
getVisibleItemCount()
Returns the number of visible descendant Listitem . |
boolean |
isOpen()
Returns whether this container is open. |
void |
setOpen(boolean open)
Sets whether this container is open. |
Methods inherited from interface org.zkoss.zul.api.Listitem |
---|
getImage, getLabel, getListboxApi, getListgroupApi, getMaxlength, getValue, isCheckable, isLoaded, isSelected, setCheckable, setDisabled, setImage, setLabel, setSelected, setValue |
Methods inherited from interface org.zkoss.zul.impl.api.XulElement |
---|
getAction, getContext, getCtrlKeys, getPopup, getTooltip, setAction, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip |
Methods inherited from interface org.zkoss.zk.ui.api.HtmlBasedComponent |
---|
focus, getHeight, getLeft, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZclass, getZindex, getZIndex, setDraggable, setDroppable, setFocus, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZclass, setZindex, setZIndex |
Methods inherited from interface org.zkoss.zk.ui.ext.Scope |
---|
addScopeListener, getAttribute, hasAttribute, removeAttribute, removeScopeListener, setAttribute |
Method Detail |
---|
java.util.List getItems()
Listitem
are grouped by this listgroup.
int getItemCount()
int getVisibleItemCount()
Listitem
.
int getListgroupfootIndex()
-1: no Listgroupfoot
Listfoot getListfootApi()
boolean isOpen()
Default: true.
void setOpen(boolean open)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |