2 "name" : "Roo.state.Manager",
5 "desc" : "This is the global state manager. By default all components that are \"state aware\" check this class\nfor state information if you don't pass them a custom state provider. In order for this class\nto be useful, it must be initialized with a provider when your application initializes.\n <pre><code>\n// in your initialization function\ninit : function(){\n Roo.state.Manager.setProvider(new Roo.state.CookieProvider());\n ...\n // supposed you have a {@link Roo.BorderLayout}\n var layout = new Roo.BorderLayout(...);\n layout.restoreState();\n // or a {Roo.BasicDialog}\n var dialog = new Roo.BasicDialog(...);\n dialog.restoreState();\n </code></pre>",
9 "memberOf" : "Manager",
21 "name" : "getProvider",
23 "desc" : "Gets the currently configured state provider",
28 "isConstructor" : false,
41 "desc" : "The state provider"
48 "desc" : "Clears a value from the state",
53 "isConstructor" : false,
65 "desc" : "The key name",
74 "desc" : "Returns the current value for a key",
75 "sig" : "(name, defaultValue)",
79 "isConstructor" : false,
91 "desc" : "The key name",
95 "name" : "defaultValue",
97 "desc" : "The default value to return if the key lookup does not match",
105 "desc" : "The state data"
112 "desc" : "Sets the value for a key",
113 "sig" : "(name, value)",
117 "isConstructor" : false,
129 "desc" : "The key name",
135 "desc" : "The state data",
142 "name" : "setProvider",
144 "desc" : "Configures the default state provider for your application",
145 "sig" : "(stateProvider)",
149 "isConstructor" : false,
159 "name" : "stateProvider",
161 "desc" : "The state provider to set",