com.sencha.gxt.state.client
Class TreeStateHandler<M>
java.lang.Object
com.sencha.gxt.state.client.AbstractStateHandler<S,C>
com.sencha.gxt.state.client.ComponentStateHandler<TreeStateHandler.TreeState,Tree<M,?>>
com.sencha.gxt.state.client.TreeStateHandler<M>
- Type Parameters:
M - the data model type
- All Implemented Interfaces:
- BeforeRestoreStateEvent.HasBeforeRestoreStateHandlers<TreeStateHandler.TreeState,Tree<M,?>>, BeforeSaveStateEvent.HasBeforeSaveStateHandlers<TreeStateHandler.TreeState,Tree<M,?>>, RestoreStateEvent.HasRestoreStateHandlers<TreeStateHandler.TreeState,Tree<M,?>>, SaveStateEvent.HasSaveStateHandlers<TreeStateHandler.TreeState,Tree<M,?>>
public class TreeStateHandler<M>
- extends ComponentStateHandler<TreeStateHandler.TreeState,Tree<M,?>>
Watches the expanded state of the tree, and stores it under the given key.
|
Method Summary |
void |
applyState()
Applies the currently loaded state to the current stateful object. |
TreeStateHandler
public TreeStateHandler(Tree<M,?> component)
TreeStateHandler
public TreeStateHandler(Tree<M,?> component,
String key)
applyState
public void applyState()
- Description copied from class:
AbstractStateHandler
- Applies the currently loaded state to the current stateful object.
- Specified by:
applyState in class AbstractStateHandler<TreeStateHandler.TreeState,Tree<M,?>>
Copyright © 2012. All Rights Reserved.