|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Group
Adds the ability for single level grouping to the Grid.
Event:
Default HtmlBasedComponent.getZclass()
: z-group.
Note: All the child of this component are automatically applied the
group-cell CSS, if you don't want this CSS, you can invoke the
HtmlBasedComponent.setSclass(String)
after the child added.
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 | |
---|---|
Groupfoot |
getGroupfootApi()
Returns the Groupfoot, if any. |
int |
getGroupfootIndex()
Returns the index of Groupfoot -1: no Groupfoot |
int |
getItemCount()
Returns the number of items. |
java.util.List |
getItems()
Returns a list of all Row are grouped by this group. |
java.lang.String |
getLabel()
Returns the value of the Label it contains, or null if no such
cell. |
int |
getVisibleItemCount()
Returns the number of visible descendant Row . |
boolean |
isOpen()
Returns whether this container is open. |
void |
setLabel(java.lang.String label)
Sets the value of the Label it contains. |
void |
setOpen(boolean open)
Sets whether this container is open. |
Methods inherited from interface org.zkoss.zul.api.Row |
---|
getAlign, getDetailChildApi, getGridApi, getGroupApi, getSpans, getValign, getValue, isNowrap, setAlign, setNowrap, setSpans, setValign, 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()
Row
are grouped by this group.
int getItemCount()
int getVisibleItemCount()
Row
.
int getGroupfootIndex()
-1: no Groupfoot
Groupfoot getGroupfootApi()
boolean isOpen()
Default: true.
void setOpen(boolean open)
java.lang.String getLabel()
Label
it contains, or null if no such
cell.
void setLabel(java.lang.String label)
Label
it contains.
If it is not created, we automatically create it.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |