X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..refs/heads/master:/docs/source/Manager4.html diff --git a/docs/source/Manager4.html b/docs/source/Manager4.html index 234250e0..831ae4b2 100644 --- a/docs/source/Manager4.html +++ b/docs/source/Manager4.html @@ -1,4 +1,21 @@ -
/**
+
+
+
+
+ The source code
+
+
+
+
+
+
+ /**
* @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
@@ -25,34 +42,34 @@ Ext.define('Ext.state.Manager', {
},
- /**
+ /**
* Configures the default state provider for your application
- * @param {Provider} stateProvider The state provider to set
+ * @param {Ext.state.Provider} stateProvider The state provider to set
*/
setProvider : function(stateProvider){
this.provider = stateProvider;
},
- /**
+ /**
* Returns the current value for a key
* @param {String} name The key name
- * @param {Mixed} defaultValue The default value to return if the key lookup does not match
- * @return {Mixed} The state data
+ * @param {Object} defaultValue The default value to return if the key lookup does not match
+ * @return {Object} The state data
*/
get : function(key, defaultValue){
return this.provider.get(key, defaultValue);
},
- /**
+ /**
* Sets the value for a key
* @param {String} name The key name
- * @param {Mixed} value The state data
+ * @param {Object} value The state data
*/
set : function(key, value){
this.provider.set(key, value);
},
- /**
+ /**
* Clears a value from the state
* @param {String} name The key name
*/
@@ -60,11 +77,13 @@ Ext.define('Ext.state.Manager', {
this.provider.clear(key);
},
- /**
+ /**
* Gets the currently configured state provider
- * @return {Provider} The state provider
+ * @return {Ext.state.Provider} The state provider
*/
getProvider : function(){
return this.provider;
}
-});
\ No newline at end of file
+});
+
+