2 "name" : "Roo.state.Manager",
4 "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>",
8 "memberOf" : "Manager",
20 "name" : "getProvider",
22 "desc" : "Gets the currently configured state provider",
27 "isConstructor" : false,
40 "desc" : "The state provider"
47 "desc" : "Clears a value from the state",
52 "isConstructor" : false,
64 "desc" : "The key name",
73 "desc" : "Returns the current value for a key",
74 "sig" : "(name, defaultValue)",
78 "isConstructor" : false,
90 "desc" : "The key name",
94 "name" : "defaultValue",
96 "desc" : "The default value to return if the key lookup does not match",
104 "desc" : "The state data"
111 "desc" : "Sets the value for a key",
112 "sig" : "(name, value)",
116 "isConstructor" : false,
128 "desc" : "The key name",
134 "desc" : "The state data",
141 "name" : "setProvider",
143 "desc" : "Configures the default state provider for your application",
144 "sig" : "(stateProvider)",
148 "isConstructor" : false,
158 "name" : "stateProvider",
160 "desc" : "The state provider to set",