JIDE 3.5.15

com.jidesoft.grouper
Class AbstractObjectGrouper

java.lang.Object
  extended by com.jidesoft.grouper.AbstractObjectGrouper
All Implemented Interfaces:
ObjectGrouper
Direct Known Subclasses:
DateGrouper, DefaultObjectGrouper

public abstract class AbstractObjectGrouper
extends Object
implements ObjectGrouper

The abstract implementation of ObjectGrouper. It just implements the getConverterContext() and getComparatorContext() methods.


Constructor Summary
AbstractObjectGrouper()
           
 
Method Summary
 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
 

Constructor Detail

AbstractObjectGrouper

public AbstractObjectGrouper()
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 from ObjectGrouper.getValue(Object) method to String so that it can be displayed somewhere.

Specified by:
getConverterContext in interface ObjectGrouper
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 from ObjectGrouper.getValue(Object) method whenever sorting is needed.

Specified by:
getComparatorContext in interface ObjectGrouper
Returns:
the converter context.

JIDE 3.5.15