
M - the grid model typepublic class GridStateHandler<M> extends ComponentStateHandler<GridStateHandler.GridState,Grid<M>>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GridStateHandler.GridSortState |
static interface |
GridStateHandler.GridState |
| Constructor and Description |
|---|
GridStateHandler(Class<GridStateHandler.GridState> stateType,
Grid<M> component,
String key)
Creates a new grid state handler instance.
|
GridStateHandler(Grid<M> component)
Creates a nbew grid state handler instance.
|
GridStateHandler(Grid<M> component,
String key)
Creates a new state handler instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyState()
Applies the currently loaded state to the current stateful object.
|
addBeforeRestoreStateHandler, addBeforeSaveStateHandler, addRestoreStateHandler, addSaveStateHandler, getObject, getState, loadState, saveStatepublic GridStateHandler(Class<GridStateHandler.GridState> stateType, Grid<M> component, String key)
stateType - the state typecomponent - the gridkey - the state keypublic GridStateHandler(Grid<M> component)
component - the gridpublic void applyState()
AbstractStateHandlerapplyState in class AbstractStateHandler<GridStateHandler.GridState,Grid<M>>Copyright © 2015. All rights reserved.