X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/output/Ext.state.Manager.html diff --git a/docs/output/Ext.state.Manager.html b/docs/output/Ext.state.Manager.html index 6d5efdb4..bb754d75 100644 --- a/docs/output/Ext.state.Manager.html +++ b/docs/output/Ext.state.Manager.html @@ -1,11 +1,11 @@ -
Package: | Ext.state |
Defined In: | StateManager.js |
Class: | Manager |
Extends: | Object |
// in your initialization function
-init : function(){
- Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
- var win = new Window(...);
- win.restoreState();
+Class Ext.state.Manager
Package: Ext.state Defined In: StateManager.js Class: Manager Extends: Object
This is the global state manager. By default all components that are "state aware" check this class
+for state information if you don't pass them a custom state provider. In order for this class
+to be useful, it must be initialized with a provider when your application initializes. Example usage:
+ // in your initialization function
+init : function(){
+ Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
+ var win = new Window(...);
+ win.restoreState();
}
This class is a singleton and cannot be created directly.Public Properties
This class has no public properties.Public Methods
Method Defined By clear( String name
)
:
voidClears a value from the stateClears a value from the stateParameters:name
: StringThe key name
Returns:- void
Manager get( String name
, Mixed defaultValue
)