|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.converter.AbstractContext com.jidesoft.grouper.GrouperContext
public class GrouperContext
The context object used by ObjectGrouper. For the same type, we may need different way to group them. This context is used so that user can register different groupers for the same type.
Field Summary | |
---|---|
static GrouperContext |
DEFAULT_CONTEXT
Default converter context with empty name and no user object. |
Constructor Summary | |
---|---|
GrouperContext(String name)
Creates a converter context with a name. |
|
GrouperContext(String name,
Object object)
Creates a converter context with a name and an object. |
Method Summary | |
---|---|
boolean |
isUseOnAutoFilter()
Checks if the grouper will be used on the auto-filter drop down list. |
boolean |
isUseOnCustomFilter()
Checks if the grouper will be used on the custom filter editor. |
void |
setUseOnAutoFilter(boolean useOnAutoFilter)
Sets the flag to tell the auto-filter drop down list to use the grouper or not. |
void |
setUseOnCustomFilter(boolean useOnCustomFilter)
Sets the flag to tell the custom filter editor to use the grouper or not. |
Methods inherited from class com.jidesoft.converter.AbstractContext |
---|
equals, getName, getUserObject, hashCode, setName, setUserObject, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static GrouperContext DEFAULT_CONTEXT
Constructor Detail |
---|
public GrouperContext(String name)
name
- the name of the grouper context.public GrouperContext(String name, Object object)
name
- the name of the grouper context.object
- the user object. It can be used as any object to pass information along.Method Detail |
---|
public boolean isUseOnAutoFilter()
public void setUseOnAutoFilter(boolean useOnAutoFilter)
useOnAutoFilter
- true or false. Default is true.public boolean isUseOnCustomFilter()
public void setUseOnCustomFilter(boolean useOnCustomFilter)
useOnCustomFilter
- true or false. Default is true.
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |