|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectGrouper
An interface that can convert a object to a group so that the objects that has the same group can be grouped
together. We suggest you extends AbstractObjectGrouper
if you want to create your own
ObjectGrouper in case we add new methods to this interface due to requirement changes.
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. |
String |
getName()
Gets the name of this object grouper. |
Class<?> |
getType()
Gets the group value type. |
Object |
getValue(Object value)
Gets the group value after this value is grouped. |
Method Detail |
---|
Object getValue(Object value)
getType()
.
value
- the value
Class<?> getType()
String getName()
ConverterContext getConverterContext()
getValue(Object)
method to String
so that it can be displayed somewhere.
ComparatorContext getComparatorContext()
getValue(Object)
method whenever
sorting is needed.
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |