Package org.zkoss.pivot
Interface GroupHandler
-
public interface GroupHandler
A group handler groups different objects in a same group.- Author:
- jumperchen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getGroup(Object data)
Returns a object that will be invoked bycompareTo(Object)
to identify whether the returned object is in the same group.
-
-
-
Method Detail
-
getGroup
Object getGroup(Object data)
Returns a object that will be invoked bycompareTo(Object)
to identify whether the returned object is in the same group.For example,
there are two date objects("2010/10/08", "2010/12/21") and they return a same object called "2010", so these two date objects will be the same group("2010").- Parameters:
data
- a data object
-
-