public static class GroupsListModel.GroupDataInfo extends Object implements GroupingInfo
GroupsListModel.getDataInfo(int).| Modifier and Type | Field and Description |
|---|---|
static byte |
ELEMENT
Indicates the data is an element of a group.
|
static byte |
GROUP
Indicates the data is a group (a.k.a., the head of the group).
|
static byte |
GROUPFOOT
Indicates the data is a group foot.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getGroupIndex()
Returns the index of this group
|
int |
getOffset()
The offset of an element in a group.
|
int |
getType()
The type of the data.
|
boolean |
isOpen()
Whether the group is opened.
|
public static final byte GROUP
public static final byte GROUPFOOT
public static final byte ELEMENT
public int getType()
GroupingInfoGroupingInfo.GROUP, GroupingInfo.GROUPFOOT and GroupingInfo.ELEMENT.getType in interface GroupingInfopublic int getGroupIndex()
GroupingInfogetGroupIndex in interface GroupingInfopublic int getOffset()
GroupingInfoGroupingInfo.getType() is GroupingInfo.ELEMENT.getOffset in interface GroupingInfopublic boolean isOpen()
GroupingInfoGroupingInfo.getType() is GroupingInfo.GROUP.isOpen in interface GroupingInfoCopyright © 2015. All rights reserved.