|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.state.client.AbstractStateHandler<S,C>
com.sencha.gxt.state.client.ComponentStateHandler<TreeStateHandler.TreeState,Tree<M,?>>
com.sencha.gxt.state.client.TreeStateHandler<M>
M - the data model typepublic class TreeStateHandler<M>
Watches the expanded state of the tree, and stores it under the given key.
| Nested Class Summary | |
|---|---|
static interface |
TreeStateHandler.TreeState
|
| Constructor Summary | |
|---|---|
TreeStateHandler(Tree<M,?> component)
|
|
TreeStateHandler(Tree<M,?> component,
java.lang.String key)
|
|
| Method Summary | |
|---|---|
void |
applyState()
Applies the currently loaded state to the current stateful object. |
| Methods inherited from class com.sencha.gxt.state.client.AbstractStateHandler |
|---|
addBeforeRestoreStateHandler, addBeforeSaveStateHandler, addRestoreStateHandler, addSaveStateHandler, getObject, getState, loadState, saveState |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreeStateHandler(Tree<M,?> component)
public TreeStateHandler(Tree<M,?> component,
java.lang.String key)
| Method Detail |
|---|
public void applyState()
AbstractStateHandler
applyState in class AbstractStateHandler<TreeStateHandler.TreeState,Tree<M,?>>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||