public class GridFilterStateHandler<M> extends ComponentStateHandler<GridFilterStateHandler.GridFilterState,Grid<M>>
Modifier and Type | Class and Description |
---|---|
static interface |
GridFilterStateHandler.GridFilterState |
Modifier and Type | Field and Description |
---|---|
protected GridFilters<M> |
filters |
protected Grid<M> |
grid |
protected Loader<FilterPagingLoadConfig,?> |
loader |
Constructor and Description |
---|
GridFilterStateHandler(Grid<M> grid,
GridFilters<M> filters) |
Modifier and Type | Method and Description |
---|---|
void |
applyState()
Applies the currently loaded state to the current stateful object.
|
protected void |
init(Grid<M> component,
GridFilters<M> filters) |
protected void |
onFilter(StoreFilterEvent<M> event) |
protected void |
onLoad(LoadEvent<FilterPagingLoadConfig,PagingLoadResult<M>> event) |
protected void |
saveFilters() |
addBeforeRestoreStateHandler, addBeforeSaveStateHandler, addRestoreStateHandler, addSaveStateHandler, getObject, getState, handleLoadState, loadState, saveState
protected GridFilters<M> filters
protected Loader<FilterPagingLoadConfig,?> loader
public GridFilterStateHandler(Grid<M> grid, GridFilters<M> filters)
public void applyState()
AbstractStateHandler
applyState
in class AbstractStateHandler<GridFilterStateHandler.GridFilterState,Grid<M>>
protected void init(Grid<M> component, GridFilters<M> filters)
protected void onFilter(StoreFilterEvent<M> event)
protected void onLoad(LoadEvent<FilterPagingLoadConfig,PagingLoadResult<M>> event)
protected void saveFilters()
Copyright © 2018. All rights reserved.