Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / src / state / Manager.js
index 7105441..45fd356 100644 (file)
@@ -1,3 +1,17 @@
+/*
+
+This file is part of Ext JS 4
+
+Copyright (c) 2011 Sencha Inc
+
+Contact:  http://www.sencha.com/contact
+
+GNU General Public License Usage
+This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file.  Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.
+
+If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
+
+*/
 /**
  * @class Ext.state.Manager
  * This is the global state manager. By default all components that are "state aware" check this class
@@ -27,7 +41,7 @@ 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;
@@ -36,8 +50,8 @@ Ext.define('Ext.state.Manager', {
     /**
      * 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);
@@ -46,7 +60,7 @@ Ext.define('Ext.state.Manager', {
     /**
      * 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);
@@ -62,9 +76,9 @@ Ext.define('Ext.state.Manager', {
 
     /**
      * 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
+});