Package com.jidesoft.grouper
Class AbstractObjectGrouper
java.lang.Object
com.jidesoft.grouper.AbstractObjectGrouper
- All Implemented Interfaces:
ObjectGrouper
- Direct Known Subclasses:
DateGrouper,DefaultObjectGrouper
The abstract implementation of
ObjectGrouper. It just implements the getConverterContext() and
getComparatorContext() methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the comparator context for the value returned from this object grouper.Gets the converter context for the value returned from this object grouper.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.jidesoft.grouper.ObjectGrouper
getName, getType, getValue
-
Constructor Details
-
AbstractObjectGrouper
public AbstractObjectGrouper()
-
-
Method Details
-
getConverterContext
Description copied from interface:ObjectGrouperGets the converter context for the value returned from this object grouper. This converter context will be used to find the ObjectConverter that will convert the value returned fromObjectGrouper.getValue(Object)method to String so that it can be displayed somewhere.- Specified by:
getConverterContextin interfaceObjectGrouper- Returns:
- the converter context.
-
getComparatorContext
Description copied from interface:ObjectGrouperGets the comparator context for the value returned from this object grouper. This comparator context will be used to find the ObjectComparator that will sort the values return fromObjectGrouper.getValue(Object)method whenever sorting is needed.- Specified by:
getComparatorContextin interfaceObjectGrouper- Returns:
- the converter context.
-