com.sencha.gxt.state.client
Class ComponentStateHandler<S,C extends Component>
java.lang.Object
com.sencha.gxt.state.client.AbstractStateHandler<S,C>
com.sencha.gxt.state.client.ComponentStateHandler<S,C>
- Type Parameters:
S - the state typeC - the component
- All Implemented Interfaces:
- BeforeRestoreStateEvent.HasBeforeRestoreStateHandlers<S,C>, BeforeSaveStateEvent.HasBeforeSaveStateHandlers<S,C>, RestoreStateEvent.HasRestoreStateHandlers<S,C>, SaveStateEvent.HasSaveStateHandlers<S,C>
- Direct Known Subclasses:
- BorderLayoutStateHandler, GridStateHandler, TreeStateHandler
public abstract class ComponentStateHandler<S,C extends Component>
- extends AbstractStateHandler<S,C>
Abstract state handler for Components, capable of using the widget's stateId
property as a key instead of being given one.
Will emit a warning in hosted mode (and if enabled, in production mode) if
the stateId is generated, as this might change between page loads, or as the
application changes.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentStateHandler
public ComponentStateHandler(java.lang.Class<S> stateType,
C component)
ComponentStateHandler
public ComponentStateHandler(java.lang.Class<S> stateType,
C component,
java.lang.String key)
Copyright © 2012. All Rights Reserved.