Package org.zkoss.zul.impl
Class GroupsListModel.GroupDataInfo
- java.lang.Object
-
- org.zkoss.zul.impl.GroupsListModel.GroupDataInfo
-
- All Implemented Interfaces:
GroupingInfo
- Enclosing class:
- GroupsListModel<D,G,F>
public static class GroupsListModel.GroupDataInfo extends java.lang.Object implements GroupingInfo
The group information returned byGroupsListModel.getDataInfo(int).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetGroupIndex()Returns the index of this groupintgetOffset()The offset of an element in a group.intgetType()The type of the data.booleanisOpen()Whether the group is opened.
-
-
-
Field Detail
-
GROUP
public static final byte GROUP
Indicates the data is a group (a.k.a., the head of the group).- See Also:
- Constant Field Values
-
GROUPFOOT
public static final byte GROUPFOOT
Indicates the data is a group foot.- See Also:
- Constant Field Values
-
ELEMENT
public static final byte ELEMENT
Indicates the data is an element of a group.- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public int getType()
Description copied from interface:GroupingInfoThe type of the data. It is one ofGroupingInfo.GROUP,GroupingInfo.GROUPFOOTandGroupingInfo.ELEMENT.- Specified by:
getTypein interfaceGroupingInfo
-
getGroupIndex
public int getGroupIndex()
Description copied from interface:GroupingInfoReturns the index of this group- Specified by:
getGroupIndexin interfaceGroupingInfo
-
getOffset
public int getOffset()
Description copied from interface:GroupingInfoThe offset of an element in a group. It is meaningful only ifGroupingInfo.getType()isGroupingInfo.ELEMENT.- Specified by:
getOffsetin interfaceGroupingInfo
-
isOpen
public boolean isOpen()
Description copied from interface:GroupingInfoWhether the group is opened. It is meaningful only ifGroupingInfo.getType()isGroupingInfo.GROUP.- Specified by:
isOpenin interfaceGroupingInfo
-
-