|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.widget.core.client.grid.filters.AbstractGridFilters<M>
public abstract class AbstractGridFilters<M>
| Nested Class Summary | |
|---|---|
class |
AbstractGridFilters.DefaultGridFilterMessages
|
static interface |
AbstractGridFilters.GridFilterMessages
|
| Constructor Summary | |
|---|---|
AbstractGridFilters()
|
|
AbstractGridFilters(Loader<FilterPagingLoadConfig,?> loader)
|
|
| Method Summary | |
|---|---|
void |
addFilter(Filter<M,?> filter)
Adds a filter. |
List<FilterConfig> |
buildQuery(List<Filter<M,?>> filters)
|
void |
cleanParams(FilterPagingLoadConfig config)
Removes filter related query parameters from the provided object. |
void |
clearFilters()
Turns all filters off. |
Filter<M,?> |
getFilter(String path)
Returns the filter based on the value provider path. |
List<Filter<M,?>> |
getFilterData()
Returns a list of the currently active filters. |
AbstractGridFilters.GridFilterMessages |
getMessages()
|
void |
initPlugin(Grid<M> component)
Initializes the plugin. |
boolean |
isAutoReload()
Returns true if auto load is enabled. |
void |
removeAll()
Removes all filters. |
void |
removeFilter(Filter<M,?> filter)
Removes the given filter. |
void |
setAutoReload(boolean autoLoad)
Tree to reload the datasource when a filter change happens (defaults to true). |
void |
setUpdateBuffer(int updateBuffer)
Number of milliseconds to defer store updates since the last filter change (defaults to 500). |
void |
updateColumnHeadings()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractGridFilters()
public AbstractGridFilters(Loader<FilterPagingLoadConfig,?> loader)
| Method Detail |
|---|
public void addFilter(Filter<M,?> filter)
filter - the filterpublic List<FilterConfig> buildQuery(List<Filter<M,?>> filters)
public void cleanParams(FilterPagingLoadConfig config)
config - the load configpublic void clearFilters()
removeAll()).
public Filter<M,?> getFilter(String path)
path - the path
public List<Filter<M,?>> getFilterData()
public AbstractGridFilters.GridFilterMessages getMessages()
public void initPlugin(Grid<M> component)
ComponentPlugin
initPlugin in interface ComponentPlugin<Grid<M>>component - the target componentpublic boolean isAutoReload()
public void removeAll()
public void removeFilter(Filter<M,?> filter)
filter - the filter to be removedpublic void setAutoReload(boolean autoLoad)
autoLoad - true to enable auto reloadpublic void setUpdateBuffer(int updateBuffer)
updateBuffer - the buffer in millisecondspublic void updateColumnHeadings()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||