Class ColumnGroupEntry
java.lang.Object
org.eclipse.nebula.widgets.nattable.columnChooser.ColumnGroupEntry
Object representation of a column group in the SWT tree.
Note: This is set as the SWT data on the TreeItem
.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionColumnGroupEntry
(String label, Integer firstElementPosition, Integer firstElementIndex, boolean collapsed) Creates aColumnGroupEntry
for the old column grouping mechanism.ColumnGroupEntry
(GroupModel.Group group) Creates a ColumnGroupEntry for the new performance column grouping, using the Group object as underlying data reference. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getColumnGroupEntryPositions
(List<ColumnGroupEntry> columnEntries) getGroup()
getLabel()
int
hashCode()
boolean
toString()
-
Constructor Details
-
ColumnGroupEntry
public ColumnGroupEntry(String label, Integer firstElementPosition, Integer firstElementIndex, boolean collapsed) Creates aColumnGroupEntry
for the old column grouping mechanism.- Parameters:
label
- The label to be shown in the tree.firstElementPosition
- The position of the first item in the group.firstElementIndex
- The index of the first item in the group.collapsed
-true
if the group should be shown collapsed,false
if not.
-
ColumnGroupEntry
Creates a ColumnGroupEntry for the new performance column grouping, using the Group object as underlying data reference.- Parameters:
group
- TheGroupModel.Group
that should be wrapped.- Since:
- 1.6
-
-
Method Details
-
getLabel
-
getFirstElementPosition
-
getFirstElementIndex
-
isCollapsed
public boolean isCollapsed() -
getGroup
- Returns:
- The
GroupModel.Group
carried by thisColumnGroupEntry
ornull
if it is configured for the old column grouping mechanism. - Since:
- 1.6
-
getColumnGroupEntryPositions
-
toString
-
equals
-
hashCode
public int hashCode()
-