Class GroupByObject
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.extension.glazedlists.groupBy.GroupByObject
-
public class GroupByObject extends Object
This class is used to add tree items that are added to the tree path for grouping purposes. Contains the value that is used for grouping and the grouping index to ensure the correct ordering.
-
-
Constructor Summary
Constructors Constructor Description GroupByObject(Object value, Map<Integer,Object> descriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Map<Integer,Object>
getDescriptor()
Object
getValue()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
GroupByObject
public GroupByObject(Object value, Map<Integer,Object> descriptor)
- Parameters:
value
- The value that is used for grouping.descriptor
- The description of the grouping (index -> value).
Note: The map needs to be an ordered map to work correctly, e.g.LinkedHashMap
-
-