Package com.jidesoft.grouper
Class AbstractObjectGrouper
- java.lang.Object
-
- com.jidesoft.grouper.AbstractObjectGrouper
-
- All Implemented Interfaces:
ObjectGrouper
- Direct Known Subclasses:
DateGrouper
,DefaultObjectGrouper
public abstract class AbstractObjectGrouper extends java.lang.Object implements ObjectGrouper
The abstract implementation ofObjectGrouper
. It just implements thegetConverterContext()
andgetComparatorContext()
methods.
-
-
Constructor Summary
Constructors Constructor Description AbstractObjectGrouper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComparatorContext
getComparatorContext()
Gets the comparator context for the value returned from this object grouper.ConverterContext
getConverterContext()
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, wait
-
Methods inherited from interface com.jidesoft.grouper.ObjectGrouper
getName, getType, getValue
-
-
-
-
Method Detail
-
getConverterContext
public ConverterContext getConverterContext()
Description copied from interface:ObjectGrouper
Gets 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:
getConverterContext
in interfaceObjectGrouper
- Returns:
- the converter context.
-
getComparatorContext
public ComparatorContext getComparatorContext()
Description copied from interface:ObjectGrouper
Gets 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:
getComparatorContext
in interfaceObjectGrouper
- Returns:
- the converter context.
-
-