X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..6b044c28b5f26fb99c86c237ffad19741c0f7f3d:/docs/output/Ext.state.Manager.html?ds=sidebyside diff --git a/docs/output/Ext.state.Manager.html b/docs/output/Ext.state.Manager.html index 55f98e0e..b14e2112 100644 --- a/docs/output/Ext.state.Manager.html +++ b/docs/output/Ext.state.Manager.html @@ -1,19 +1,19 @@ -
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();
-}
Method | Defined By | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
clear( String name )
- :
- voidClears a value from the state Clears a value from the state Parameters:
| Manager | ||||||||||||||||||||||||||
get( String name , Mixed defaultValue )
- :
- MixedReturns the current value for a key Returns the current value for a key Parameters:
| Manager | ||||||||||||||||||||||||||
getProvider()
- :
- Provider Gets the currently configured state provider Gets the currently configured state provider Parameters:
| Manager | ||||||||||||||||||||||||||
set( String name , Mixed value )
- :
- voidSets the value for a key Sets the value for a key Parameters:
| Manager | ||||||||||||||||||||||||||
setProvider( Provider stateProvider )
- :
+Class Ext.state.Manager
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:
+
This class is a singleton and cannot be created directly. Public PropertiesThis class has no public properties. Public Methods
Public EventsThis class has no public events. |