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>
The group information returned by
GroupsListModel.getDataInfo(int).-
Field Details
-
GROUP
public static final byte GROUPIndicates the data is a group (a.k.a., the head of the group).- See Also:
-
GROUPFOOT
public static final byte GROUPFOOTIndicates the data is a group foot.- See Also:
-
ELEMENT
public static final byte ELEMENTIndicates the data is an element of a group.- See Also:
-
-
Method Details
-
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
-