X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..6b044c28b5f26fb99c86c237ffad19741c0f7f3d:/docs/output/Ext.state.Manager.html?ds=inline diff --git a/docs/output/Ext.state.Manager.html b/docs/output/Ext.state.Manager.html index 6d5efdb4..b14e2112 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
)