2 "name" : "Roo.state.CookieProvider",
9 "desc" : "The default Provider implementation which saves state via cookies.\n<br />Usage:\n <pre><code>\n var cp = new Roo.state.CookieProvider({\n path: \"/cgi-bin/\",\n expires: new Date(new Date().getTime()+(1000*60*60*24*30)); //30 days\n domain: \"roojs.com\"\n })\n Roo.state.Manager.setProvider(cp);\n </code></pre>",
10 "isSingleton" : false,
14 "isBuilderTop" : false,
15 "memberOf" : "CookieProvider",
24 "desc" : "The configuration object",
35 "desc" : "The path for which the cookie is active (defaults to root '/' which makes it active for all pages in the site)",
41 "desc" : "True if the site is using SSL (defaults to false)",
47 "desc" : "The domain to save the cookie for. Note that you cannot specify a different domain than\nyour page is on, but you can specify a sub-domain, or simply the domain itself like 'roojs.com' to include\nall sub-domains if you need to access cookies across different sub-domains (defaults to null which uses the same\ndomain the page is running on including the 'www' like 'www.roojs.com')",
53 "desc" : "The cookie expiration date (defaults to 7 days from now)",
61 "desc" : "Clears a value from the state",
64 "memberOf" : "Roo.state.Provider",
66 "isConstructor" : false,
78 "desc" : "The key name",
85 "name" : "decodeValue",
87 "desc" : "Decodes a string previously encoded with {@link #encodeValue}.",
90 "memberOf" : "Roo.state.Provider",
92 "isConstructor" : false,
104 "desc" : "The value to decode",
112 "desc" : "The decoded value"
119 "desc" : "Returns the current value for a key",
120 "sig" : "(name, defaultValue)",
122 "memberOf" : "Roo.state.Provider",
124 "isConstructor" : false,
136 "desc" : "The key name",
140 "name" : "defaultValue",
142 "desc" : "A default value to return if the key's value is not found",
150 "desc" : "The state data"
157 "desc" : "Sets the value for a key",
158 "sig" : "(name, value)",
160 "memberOf" : "Roo.state.Provider",
162 "isConstructor" : false,
174 "desc" : "The key name",
180 "desc" : "The value to set",
187 "name" : "encodeValue",
189 "desc" : "Encodes a value including type information. Decode with {@link #decodeValue}.",
192 "memberOf" : "Roo.state.Provider",
194 "isConstructor" : false,
206 "desc" : "The value to encode",
214 "desc" : "The encoded value"
221 "name" : "statechange",
223 "desc" : "Fires when a state change occurs.",
224 "sig" : "function (_self, key, value)\n{\n\n}",
225 "memberOf" : "Roo.state.Provider",
234 "desc" : "This state provider",
240 "desc" : "The state key which was changed",
246 "desc" : "The encoded value for the state",