2 "name" : "Roo.state.Manager",
7 "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>",
12 "isBuilderTop" : false,
13 "memberOf" : "Manager",
25 "name" : "getProvider",
27 "desc" : "Gets the currently configured state provider",
32 "isConstructor" : false,
45 "desc" : "The state provider"
52 "desc" : "Clears a value from the state",
57 "isConstructor" : false,
69 "desc" : "The key name",
78 "desc" : "Returns the current value for a key",
79 "sig" : "(name, defaultValue)",
83 "isConstructor" : false,
95 "desc" : "The key name",
99 "name" : "defaultValue",
101 "desc" : "The default value to return if the key lookup does not match",
109 "desc" : "The state data"
116 "desc" : "Sets the value for a key",
117 "sig" : "(name, value)",
121 "isConstructor" : false,
133 "desc" : "The key name",
139 "desc" : "The state data",
146 "name" : "setProvider",
148 "desc" : "Configures the default state provider for your application",
149 "sig" : "(stateProvider)",
153 "isConstructor" : false,
163 "name" : "stateProvider",
165 "desc" : "The state provider to set",