M
- the data model typepublic class TreeStateHandler<M> extends ComponentStateHandler<TreeStateHandler.TreeState,Tree<M,?>>
Modifier and Type | Class and Description |
---|---|
static interface |
TreeStateHandler.TreeState |
Constructor and Description |
---|
TreeStateHandler(Tree<M,?> component) |
TreeStateHandler(Tree<M,?> component,
String key) |
Modifier and Type | Method and Description |
---|---|
void |
applyState()
Applies the currently loaded state to the current stateful object.
|
protected Set<String> |
getSet(TreeStateHandler.TreeState state) |
protected void |
onCollapse(M item) |
protected void |
onExpand(M item) |
addBeforeRestoreStateHandler, addBeforeSaveStateHandler, addRestoreStateHandler, addSaveStateHandler, getObject, getState, handleLoadState, loadState, saveState
public void applyState()
AbstractStateHandler
applyState
in class AbstractStateHandler<TreeStateHandler.TreeState,Tree<M,?>>
protected Set<String> getSet(TreeStateHandler.TreeState state)
protected void onCollapse(M item)
protected void onExpand(M item)
Copyright © 2018. All rights reserved.