X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6e39d509471fe9b4e2660e0d1631b350d0c66f40..e9397f91ede62d446aed37d23256e8938fc4c335:/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 9db341ed..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. |