1 Ext.data.JsonP.Ext_state_LocalStorageProvider({
15 "href": "Observable.html#Ext-util-Observable-cfg-listeners",
16 "shortDoc": "A config object containing one or more event handlers to be added to this object during initialization. ...",
18 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
21 "owner": "Ext.util.Observable",
22 "doc": "<p>A config object containing one or more event handlers to be added to this object during initialization. This\nshould be a valid listeners config object as specified in the <a href=\"#/api/Ext.state.LocalStorageProvider-method-addListener\" rel=\"Ext.state.LocalStorageProvider-method-addListener\" class=\"docClass\">addListener</a> example for attaching multiple\nhandlers at once.</p>\n\n<p><strong>DOM events from ExtJS <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a></strong></p>\n\n<p>While <em>some</em> ExtJs Component classes export selected DOM events (e.g. \"click\", \"mouseover\" etc), this is usually\nonly done when extra value can be added. For example the <a href=\"#/api/Ext.view.View\" rel=\"Ext.view.View\" class=\"docClass\">DataView</a>'s <strong><code><a href=\"#/api/Ext.view.View-event-itemclick\" rel=\"Ext.view.View-event-itemclick\" class=\"docClass\">itemclick</a></code></strong> event passing the node clicked on. To access DOM events directly from a\nchild element of a Component, we need to specify the <code>element</code> option to identify the Component property to add a\nDOM listener to:</p>\n\n<pre><code>new Ext.panel.Panel({\n width: 400,\n height: 200,\n dockedItems: [{\n xtype: 'toolbar'\n }],\n listeners: {\n click: {\n element: 'el', //bind to the underlying el property on the panel\n fn: function(){ console.log('click el'); }\n },\n dblclick: {\n element: 'body', //bind to the underlying body property on the panel\n fn: function(){ console.log('dblclick body'); }\n }\n }\n});\n</code></pre>\n",
24 "html_filename": "Observable.html"
32 "href": "Provider.html#Ext-state-Provider-cfg-prefix",
33 "shortDoc": "A string to prefix to items stored in the underlying state store. ...",
35 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/state/Provider.js",
38 "owner": "Ext.state.Provider",
39 "doc": "<p>A string to prefix to items stored in the underlying state store.\nDefaults to <tt>'ext-'</tt></p>\n",
41 "html_filename": "Provider.html"
50 "href": "Observable.html#Ext-util-Observable-method-addEvents",
51 "shortDoc": "Adds the specified events to the list of events which this Observable may fire. ...",
53 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
57 "type": "Object/String",
59 "doc": "<p>Either an object with event names as properties with a value of <code>true</code> or the first\nevent name string if multiple event names are being passed as separate parameters. Usage:</p>\n\n<pre><code>this.addEvents({\n storeloaded: true,\n storecleared: true\n});\n</code></pre>\n",
65 "doc": "<p>Optional additional event names if multiple event names are being passed as separate\nparameters. Usage:</p>\n\n<pre><code>this.addEvents('storeloaded', 'storecleared');\n</code></pre>\n",
70 "owner": "Ext.util.Observable",
71 "doc": "<p>Adds the specified events to the list of events which this Observable may fire.</p>\n",
77 "html_filename": "Observable.html"
84 "href": "Observable.html#Ext-util-Observable-method-addListener",
85 "shortDoc": "Appends an event handler to this object. ...",
87 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
93 "doc": "<p>The name of the event to listen for. May also be an object who's property names are\nevent names.</p>\n",
99 "doc": "<p>The method the event invokes. Will be called with arguments given to\n<a href=\"#/api/Ext.state.LocalStorageProvider-method-fireEvent\" rel=\"Ext.state.LocalStorageProvider-method-fireEvent\" class=\"docClass\">fireEvent</a> plus the <code>options</code> parameter described below.</p>\n",
105 "doc": "<p>(optional) The scope (<code>this</code> reference) in which the handler function is executed. <strong>If\nomitted, defaults to the object which fired the event.</strong></p>\n",
111 "doc": "<p>(optional) An object containing handler configuration.</p>\n\n<p><strong>Note:</strong> Unlike in ExtJS 3.x, the options object will also be passed as the last argument to every event handler.</p>\n\n<p>This object may contain any of the following properties:</p>\n\n<ul>\n<li><p><strong>scope</strong> : Object</p>\n\n<p>The scope (<code>this</code> reference) in which the handler function is executed. <strong>If omitted, defaults to the object\nwhich fired the event.</strong></p></li>\n<li><p><strong>delay</strong> : Number</p>\n\n<p>The number of milliseconds to delay the invocation of the handler after the event fires.</p></li>\n<li><p><strong>single</strong> : Boolean</p>\n\n<p>True to add a handler to handle just the next firing of the event, and then remove itself.</p></li>\n<li><p><strong>buffer</strong> : Number</p>\n\n<p>Causes the handler to be scheduled to run in an <a href=\"#/api/Ext.util.DelayedTask\" rel=\"Ext.util.DelayedTask\" class=\"docClass\">Ext.util.DelayedTask</a> delayed by the specified number of\nmilliseconds. If the event fires again within that time, the original handler is <em>not</em> invoked, but the new\nhandler is scheduled in its place.</p></li>\n<li><p><strong>target</strong> : Observable</p>\n\n<p>Only call the handler if the event was fired on the target Observable, <em>not</em> if the event was bubbled up from a\nchild Observable.</p></li>\n<li><p><strong>element</strong> : String</p>\n\n<p><strong>This option is only valid for listeners bound to <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a>.</strong> The name of a Component\nproperty which references an element to add a listener to.</p>\n\n<p>This option is useful during Component construction to add DOM event listeners to elements of\n<a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a> which will exist only after the Component is rendered.\nFor example, to add a click listener to a Panel's body:</p>\n\n<pre><code>new Ext.panel.Panel({\n title: 'The title',\n listeners: {\n click: this.handlePanelClick,\n element: 'body'\n }\n});\n</code></pre></li>\n</ul>\n\n\n<p><strong>Combining Options</strong></p>\n\n<p>Using the options argument, it is possible to combine different types of listeners:</p>\n\n<p>A delayed, one-time listener.</p>\n\n<pre><code>myPanel.on('hide', this.handleClick, this, {\n single: true,\n delay: 100\n});\n</code></pre>\n\n<p><strong>Attaching multiple handlers in 1 call</strong></p>\n\n<p>The method also allows for a single argument to be passed which is a config object containing properties which\nspecify multiple events. For example:</p>\n\n<pre><code>myGridPanel.on({\n cellClick: this.onCellClick,\n mouseover: this.onMouseOver,\n mouseout: this.onMouseOut,\n scope: this // Important. Ensure \"this\" is correct during handler execution\n});\n</code></pre>\n\n<p>One can also specify options for each event handler separately:</p>\n\n<pre><code>myGridPanel.on({\n cellClick: {fn: this.onCellClick, scope: this, single: true},\n mouseover: {fn: panel.onMouseOver, scope: panel}\n});\n</code></pre>\n",
115 "name": "addListener",
116 "owner": "Ext.util.Observable",
117 "doc": "<p>Appends an event handler to this object.</p>\n",
123 "html_filename": "Observable.html"
130 "href": "Observable.html#Ext-util-Observable-method-addManagedListener",
131 "shortDoc": "Adds listeners to any Observable object (or Element) which are automatically removed when this Component is\ndestroyed. ...",
133 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
137 "type": "Observable/Element",
139 "doc": "<p>The item to which to add a listener/listeners.</p>\n",
143 "type": "Object/String",
145 "doc": "<p>The event name, or an object containing event name properties.</p>\n",
151 "doc": "<p>(optional) If the <code>ename</code> parameter was an event name, this is the handler function.</p>\n",
157 "doc": "<p>(optional) If the <code>ename</code> parameter was an event name, this is the scope (<code>this</code> reference)\nin which the handler function is executed.</p>\n",
163 "doc": "<p>(optional) If the <code>ename</code> parameter was an event name, this is the\n<a href=\"#/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">addListener</a> options.</p>\n",
167 "name": "addManagedListener",
168 "owner": "Ext.util.Observable",
169 "doc": "<p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component is\ndestroyed.</p>\n",
175 "html_filename": "Observable.html"
182 "href": "Base3.html#Ext-Base-method-addStatics",
183 "shortDoc": "Add / override static properties of this class. ...",
185 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
195 "name": "addStatics",
197 "doc": "<p>Add / override static properties of this class.</p>\n\n<pre><code>Ext.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.addStatics({\n someProperty: 'someValue', // My.cool.Class.someProperty = 'someValue'\n method1: function() { ... }, // My.cool.Class.method1 = function() { ... };\n method2: function() { ... } // My.cool.Class.method2 = function() { ... };\n});\n</code></pre>\n",
201 "doc": "<p>this</p>\n"
203 "html_filename": "Base3.html"
210 "href": "Base3.html#Ext-Base-method-callOverridden",
211 "shortDoc": "Call the original method that was previously overridden with Ext.Base.override\n\nExt.define('My.Cat', {\n constructo...",
213 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
217 "type": "Array/Arguments",
219 "doc": "<p>The arguments, either an array or the <code>arguments</code> object</p>\n",
223 "name": "callOverridden",
225 "doc": "<p>Call the original method that was previously overridden with <a href=\"#/api/Ext.Base-method-override\" rel=\"Ext.Base-method-override\" class=\"docClass\">Ext.Base.override</a></p>\n\n<pre><code>Ext.define('My.Cat', {\n constructor: function() {\n alert(\"I'm a cat!\");\n\n return this;\n }\n});\n\nMy.Cat.override({\n constructor: function() {\n alert(\"I'm going to be a cat!\");\n\n var instance = this.callOverridden();\n\n alert(\"Meeeeoooowwww\");\n\n return instance;\n }\n});\n\nvar kitty = new My.Cat(); // alerts \"I'm going to be a cat!\"\n // alerts \"I'm a cat!\"\n // alerts \"Meeeeoooowwww\"\n</code></pre>\n",
229 "doc": "<p>Returns the result after calling the overridden method</p>\n"
231 "html_filename": "Base3.html"
238 "href": "Base3.html#Ext-Base-method-callParent",
239 "shortDoc": "Call the parent's overridden method. ...",
241 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
245 "type": "Array/Arguments",
247 "doc": "<p>The arguments, either an array or the <code>arguments</code> object\nfrom the current method, for example: <code>this.callParent(arguments)</code></p>\n",
251 "name": "callParent",
253 "doc": "<p>Call the parent's overridden method. For example:</p>\n\n<pre><code>Ext.define('My.own.A', {\n constructor: function(test) {\n alert(test);\n }\n});\n\nExt.define('My.own.B', {\n extend: 'My.own.A',\n\n constructor: function(test) {\n alert(test);\n\n this.callParent([test + 1]);\n }\n});\n\nExt.define('My.own.C', {\n extend: 'My.own.B',\n\n constructor: function() {\n alert(\"Going to call parent's overriden constructor...\");\n\n this.callParent(arguments);\n }\n});\n\nvar a = new My.own.A(1); // alerts '1'\nvar b = new My.own.B(1); // alerts '1', then alerts '2'\nvar c = new My.own.C(2); // alerts \"Going to call parent's overriden constructor...\"\n // alerts '2', then alerts '3'\n</code></pre>\n",
257 "doc": "<p>Returns the result from the superclass' method</p>\n"
259 "html_filename": "Base3.html"
266 "href": "Observable.html#Ext-util-Observable-method-capture",
267 "shortDoc": "Starts capture on the specified Observable. ...",
269 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
273 "type": "Observable",
275 "doc": "<p>The Observable to capture events from.</p>\n",
281 "doc": "<p>The function to call when an event is fired.</p>\n",
287 "doc": "<p>(optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to\nthe Observable firing the event.</p>\n",
292 "owner": "Ext.util.Observable",
293 "doc": "<p>Starts capture on the specified Observable. All events will be passed to the supplied function with the event\nname + standard signature of the event <strong>before</strong> the event is fired. If the supplied function returns false,\nthe event will not fire.</p>\n",
299 "html_filename": "Observable.html"
306 "href": "Provider.html#Ext-state-Provider-method-clear",
307 "shortDoc": "Clears a value from the state ...",
309 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/state/Provider.js",
315 "doc": "<p>The key name</p>\n",
320 "owner": "Ext.state.Provider",
321 "doc": "<p>Clears a value from the state</p>\n",
327 "html_filename": "Provider.html"
334 "href": "Observable.html#Ext-util-Observable-method-clearListeners",
335 "shortDoc": "Removes all listeners for this object including the managed listeners ...",
337 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
342 "name": "clearListeners",
343 "owner": "Ext.util.Observable",
344 "doc": "<p>Removes all listeners for this object including the managed listeners</p>\n",
350 "html_filename": "Observable.html"
357 "href": "Observable.html#Ext-util-Observable-method-clearManagedListeners",
358 "shortDoc": "Removes all managed listeners for this object. ...",
360 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
365 "name": "clearManagedListeners",
366 "owner": "Ext.util.Observable",
367 "doc": "<p>Removes all managed listeners for this object.</p>\n",
373 "html_filename": "Observable.html"
380 "href": "Base3.html#Ext-Base-method-create",
381 "shortDoc": "Create a new instance of this Class. ...",
383 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
390 "doc": "<p>Create a new instance of this Class.</p>\n\n<pre><code>Ext.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.create({\n someConfig: true\n});\n</code></pre>\n\n<p>All parameters are passed to the constructor of the class.</p>\n",
394 "doc": "<p>the created instance.</p>\n"
396 "html_filename": "Base3.html"
403 "href": "Base3.html#Ext-Base-method-createAlias",
404 "shortDoc": "Create aliases for existing prototype methods. ...",
406 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
410 "type": "String/Object",
412 "doc": "<p>The new method name, or an object to set multiple aliases. See\n<a href=\"#/api/Ext.Function-method-flexSetter\" rel=\"Ext.Function-method-flexSetter\" class=\"docClass\">flexSetter</a></p>\n",
416 "type": "String/Object",
418 "doc": "<p>The original method name</p>\n",
422 "name": "createAlias",
424 "doc": "<p>Create aliases for existing prototype methods. Example:</p>\n\n<pre><code>Ext.define('My.cool.Class', {\n method1: function() { ... },\n method2: function() { ... }\n});\n\nvar test = new My.cool.Class();\n\nMy.cool.Class.createAlias({\n method3: 'method1',\n method4: 'method2'\n});\n\ntest.method3(); // test.method1()\n\nMy.cool.Class.createAlias('method5', 'method3');\n\ntest.method5(); // test.method3() -> test.method1()\n</code></pre>\n",
430 "html_filename": "Base3.html"
437 "href": "Provider.html#Ext-state-Provider-method-decodeValue",
438 "shortDoc": "Decodes a string previously encoded with encodeValue. ...",
440 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/state/Provider.js",
446 "doc": "<p>The value to decode</p>\n",
450 "name": "decodeValue",
451 "owner": "Ext.state.Provider",
452 "doc": "<p>Decodes a string previously encoded with <a href=\"#/api/Ext.state.LocalStorageProvider-method-encodeValue\" rel=\"Ext.state.LocalStorageProvider-method-encodeValue\" class=\"docClass\">encodeValue</a>.</p>\n",
456 "doc": "<p>The decoded value</p>\n"
458 "html_filename": "Provider.html"
465 "href": "Observable.html#Ext-util-Observable-method-enableBubble",
466 "shortDoc": "Enables events fired by this Observable to bubble up an owner hierarchy by calling this.getBubbleTarget() if\npresent. ...",
468 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
472 "type": "String/[String]",
474 "doc": "<p>The event name to bubble, or an Array of event names.</p>\n",
478 "name": "enableBubble",
479 "owner": "Ext.util.Observable",
480 "doc": "<p>Enables events fired by this Observable to bubble up an owner hierarchy by calling <code>this.getBubbleTarget()</code> if\npresent. There is no implementation in the Observable base class.</p>\n\n<p>This is commonly used by Ext.Components to bubble events to owner Containers.\nSee <a href=\"#/api/Ext.Component-method-getBubbleTarget\" rel=\"Ext.Component-method-getBubbleTarget\" class=\"docClass\">Ext.Component.getBubbleTarget</a>. The default implementation in <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Ext.Component</a> returns the\nComponent's immediate owner. But if a known target is required, this can be overridden to access the\nrequired target more quickly.</p>\n\n<p>Example:</p>\n\n<pre><code>Ext.override(Ext.form.field.Base, {\n // Add functionality to Field's initComponent to enable the change event to bubble\n initComponent : Ext.Function.createSequence(Ext.form.field.Base.prototype.initComponent, function() {\n this.enableBubble('change');\n }),\n\n // We know that we want Field's events to bubble directly to the FormPanel.\n getBubbleTarget : function() {\n if (!this.formPanel) {\n this.formPanel = this.findParentByType('form');\n }\n return this.formPanel;\n }\n});\n\nvar myForm = new Ext.formPanel({\n title: 'User Details',\n items: [{\n ...\n }],\n listeners: {\n change: function() {\n // Title goes red if form has been modified.\n myForm.header.setStyle('color', 'red');\n }\n }\n});\n</code></pre>\n",
486 "html_filename": "Observable.html"
493 "href": "Provider.html#Ext-state-Provider-method-encodeValue",
494 "shortDoc": "Encodes a value including type information. ...",
496 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/state/Provider.js",
502 "doc": "<p>The value to encode</p>\n",
506 "name": "encodeValue",
507 "owner": "Ext.state.Provider",
508 "doc": "<p>Encodes a value including type information. Decode with <a href=\"#/api/Ext.state.LocalStorageProvider-method-decodeValue\" rel=\"Ext.state.LocalStorageProvider-method-decodeValue\" class=\"docClass\">decodeValue</a>.</p>\n",
512 "doc": "<p>The encoded value</p>\n"
514 "html_filename": "Provider.html"
521 "href": "Observable.html#Ext-util-Observable-method-fireEvent",
522 "shortDoc": "Fires the specified event with the passed parameters (minus the event name, plus the options object passed\nto addList...",
524 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
530 "doc": "<p>The name of the event to fire.</p>\n",
536 "doc": "<p>Variable number of parameters are passed to handlers.</p>\n",
541 "owner": "Ext.util.Observable",
542 "doc": "<p>Fires the specified event with the passed parameters (minus the event name, plus the <code>options</code> object passed\nto <a href=\"#/api/Ext.state.LocalStorageProvider-method-addListener\" rel=\"Ext.state.LocalStorageProvider-method-addListener\" class=\"docClass\">addListener</a>).</p>\n\n<p>An event may be set to bubble up an Observable parent hierarchy (See <a href=\"#/api/Ext.Component-method-getBubbleTarget\" rel=\"Ext.Component-method-getBubbleTarget\" class=\"docClass\">Ext.Component.getBubbleTarget</a>) by\ncalling <a href=\"#/api/Ext.state.LocalStorageProvider-method-enableBubble\" rel=\"Ext.state.LocalStorageProvider-method-enableBubble\" class=\"docClass\">enableBubble</a>.</p>\n",
546 "doc": "<p>returns false if any of the handlers return false otherwise it returns true.</p>\n"
548 "html_filename": "Observable.html"
555 "href": "Provider.html#Ext-state-Provider-method-get",
556 "shortDoc": "Returns the current value for a key ...",
558 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/state/Provider.js",
564 "doc": "<p>The key name</p>\n",
570 "doc": "<p>A default value to return if the key's value is not found</p>\n",
571 "name": "defaultValue"
575 "owner": "Ext.state.Provider",
576 "doc": "<p>Returns the current value for a key</p>\n",
580 "doc": "<p>The state data</p>\n"
582 "html_filename": "Provider.html"
589 "href": "Base3.html#Ext-Base-method-getName",
590 "shortDoc": "Get the current class' name in string format. ...",
592 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
599 "doc": "<p>Get the current class' name in string format.</p>\n\n<pre><code>Ext.define('My.cool.Class', {\n constructor: function() {\n alert(this.self.getName()); // alerts 'My.cool.Class'\n }\n});\n\nMy.cool.Class.getName(); // 'My.cool.Class'\n</code></pre>\n",
603 "doc": "<p>className</p>\n"
605 "html_filename": "Base3.html"
612 "href": "Observable.html#Ext-util-Observable-method-hasListener",
613 "shortDoc": "Checks to see if this object has any listeners for a specified event ...",
615 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
621 "doc": "<p>The name of the event to check for</p>\n",
625 "name": "hasListener",
626 "owner": "Ext.util.Observable",
627 "doc": "<p>Checks to see if this object has any listeners for a specified event</p>\n",
631 "doc": "<p>True if the event is being listened for, else false</p>\n"
633 "html_filename": "Observable.html"
640 "href": "Base3.html#Ext-Base-method-implement",
641 "shortDoc": "Add methods / properties to the prototype of this class. ...",
643 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
655 "doc": "<p>Add methods / properties to the prototype of this class.</p>\n\n<pre><code>Ext.define('My.awesome.Cat', {\n constructor: function() {\n ...\n }\n});\n\n My.awesome.Cat.implement({\n meow: function() {\n alert('Meowww...');\n }\n });\n\n var kitty = new My.awesome.Cat;\n kitty.meow();\n</code></pre>\n",
661 "html_filename": "Base3.html"
668 "href": "Base3.html#Ext-Base-method-initConfig",
669 "shortDoc": "Initialize configuration for this class. ...",
671 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
681 "name": "initConfig",
683 "doc": "<p>Initialize configuration for this class. a typical example:</p>\n\n<pre><code>Ext.define('My.awesome.Class', {\n // The default config\n config: {\n name: 'Awesome',\n isAwesome: true\n },\n\n constructor: function(config) {\n this.initConfig(config);\n\n return this;\n }\n});\n\nvar awesome = new My.awesome.Class({\n name: 'Super Awesome'\n});\n\nalert(awesome.getName()); // 'Super Awesome'\n</code></pre>\n",
687 "doc": "<p>mixins The mixin prototypes as key - value pairs</p>\n"
689 "html_filename": "Base3.html"
695 "cls": "Ext.util.Observable",
697 "owner": "addManagedListener"
701 "href": "Observable.html#Ext-util-Observable-method-mon",
702 "shortDoc": "Shorthand for addManagedListener. ...",
704 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
708 "type": "Observable/Element",
710 "doc": "<p>The item to which to add a listener/listeners.</p>\n",
714 "type": "Object/String",
716 "doc": "<p>The event name, or an object containing event name properties.</p>\n",
722 "doc": "<p>(optional) If the <code>ename</code> parameter was an event name, this is the handler function.</p>\n",
728 "doc": "<p>(optional) If the <code>ename</code> parameter was an event name, this is the scope (<code>this</code> reference)\nin which the handler function is executed.</p>\n",
734 "doc": "<p>(optional) If the <code>ename</code> parameter was an event name, this is the\n<a href=\"#/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">addListener</a> options.</p>\n",
739 "owner": "Ext.util.Observable",
740 "doc": "<p>Shorthand for <a href=\"#/api/Ext.state.LocalStorageProvider-method-addManagedListener\" rel=\"Ext.state.LocalStorageProvider-method-addManagedListener\" class=\"docClass\">addManagedListener</a>.</p>\n\n<p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component is\ndestroyed.</p>\n",
746 "html_filename": "Observable.html"
752 "cls": "Ext.util.Observable",
754 "owner": "removeManagedListener"
758 "href": "Observable.html#Ext-util-Observable-method-mun",
759 "shortDoc": "Shorthand for removeManagedListener. ...",
761 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
765 "type": "Observable|Element",
767 "doc": "<p>The item from which to remove a listener/listeners.</p>\n",
771 "type": "Object|String",
773 "doc": "<p>The event name, or an object containing event name properties.</p>\n",
779 "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this is the handler function.</p>\n",
785 "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this is the scope (<code>this</code> reference)\nin which the handler function is executed.</p>\n",
790 "owner": "Ext.util.Observable",
791 "doc": "<p>Shorthand for <a href=\"#/api/Ext.state.LocalStorageProvider-method-removeManagedListener\" rel=\"Ext.state.LocalStorageProvider-method-removeManagedListener\" class=\"docClass\">removeManagedListener</a>.</p>\n\n<p>Removes listeners that were added by the <a href=\"#/api/Ext.state.LocalStorageProvider-method-mon\" rel=\"Ext.state.LocalStorageProvider-method-mon\" class=\"docClass\">mon</a> method.</p>\n",
797 "html_filename": "Observable.html"
804 "href": "Observable.html#Ext-util-Observable-method-observe",
805 "shortDoc": "Sets observability on the passed class constructor. ...",
807 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
813 "doc": "<p>The class constructor to make observable.</p>\n",
819 "doc": "<p>An object containing a series of listeners to add. See <a href=\"#/api/Ext.state.LocalStorageProvider-method-addListener\" rel=\"Ext.state.LocalStorageProvider-method-addListener\" class=\"docClass\">addListener</a>.</p>\n",
824 "owner": "Ext.util.Observable",
825 "doc": "<p>Sets observability on the passed class constructor.</p>\n\n<p>This makes any event fired on any instance of the passed class also fire a single event through\nthe <strong>class</strong> allowing for central handling of events on many instances at once.</p>\n\n<p>Usage:</p>\n\n<pre><code>Ext.util.Observable.observe(Ext.data.Connection);\nExt.data.Connection.on('beforerequest', function(con, options) {\n console.log('Ajax request made to ' + options.url);\n});\n</code></pre>\n",
831 "html_filename": "Observable.html"
837 "cls": "Ext.util.Observable",
839 "owner": "addListener"
843 "href": "Observable.html#Ext-util-Observable-method-on",
844 "shortDoc": "Shorthand for addListener. ...",
846 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
852 "doc": "<p>The name of the event to listen for. May also be an object who's property names are\nevent names.</p>\n",
858 "doc": "<p>The method the event invokes. Will be called with arguments given to\n<a href=\"#/api/Ext.state.LocalStorageProvider-method-fireEvent\" rel=\"Ext.state.LocalStorageProvider-method-fireEvent\" class=\"docClass\">fireEvent</a> plus the <code>options</code> parameter described below.</p>\n",
864 "doc": "<p>(optional) The scope (<code>this</code> reference) in which the handler function is executed. <strong>If\nomitted, defaults to the object which fired the event.</strong></p>\n",
870 "doc": "<p>(optional) An object containing handler configuration.</p>\n\n<p><strong>Note:</strong> Unlike in ExtJS 3.x, the options object will also be passed as the last argument to every event handler.</p>\n\n<p>This object may contain any of the following properties:</p>\n\n<ul>\n<li><p><strong>scope</strong> : Object</p>\n\n<p>The scope (<code>this</code> reference) in which the handler function is executed. <strong>If omitted, defaults to the object\nwhich fired the event.</strong></p></li>\n<li><p><strong>delay</strong> : Number</p>\n\n<p>The number of milliseconds to delay the invocation of the handler after the event fires.</p></li>\n<li><p><strong>single</strong> : Boolean</p>\n\n<p>True to add a handler to handle just the next firing of the event, and then remove itself.</p></li>\n<li><p><strong>buffer</strong> : Number</p>\n\n<p>Causes the handler to be scheduled to run in an <a href=\"#/api/Ext.util.DelayedTask\" rel=\"Ext.util.DelayedTask\" class=\"docClass\">Ext.util.DelayedTask</a> delayed by the specified number of\nmilliseconds. If the event fires again within that time, the original handler is <em>not</em> invoked, but the new\nhandler is scheduled in its place.</p></li>\n<li><p><strong>target</strong> : Observable</p>\n\n<p>Only call the handler if the event was fired on the target Observable, <em>not</em> if the event was bubbled up from a\nchild Observable.</p></li>\n<li><p><strong>element</strong> : String</p>\n\n<p><strong>This option is only valid for listeners bound to <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a>.</strong> The name of a Component\nproperty which references an element to add a listener to.</p>\n\n<p>This option is useful during Component construction to add DOM event listeners to elements of\n<a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a> which will exist only after the Component is rendered.\nFor example, to add a click listener to a Panel's body:</p>\n\n<pre><code>new Ext.panel.Panel({\n title: 'The title',\n listeners: {\n click: this.handlePanelClick,\n element: 'body'\n }\n});\n</code></pre></li>\n</ul>\n\n\n<p><strong>Combining Options</strong></p>\n\n<p>Using the options argument, it is possible to combine different types of listeners:</p>\n\n<p>A delayed, one-time listener.</p>\n\n<pre><code>myPanel.on('hide', this.handleClick, this, {\n single: true,\n delay: 100\n});\n</code></pre>\n\n<p><strong>Attaching multiple handlers in 1 call</strong></p>\n\n<p>The method also allows for a single argument to be passed which is a config object containing properties which\nspecify multiple events. For example:</p>\n\n<pre><code>myGridPanel.on({\n cellClick: this.onCellClick,\n mouseover: this.onMouseOver,\n mouseout: this.onMouseOut,\n scope: this // Important. Ensure \"this\" is correct during handler execution\n});\n</code></pre>\n\n<p>One can also specify options for each event handler separately:</p>\n\n<pre><code>myGridPanel.on({\n cellClick: {fn: this.onCellClick, scope: this, single: true},\n mouseover: {fn: panel.onMouseOver, scope: panel}\n});\n</code></pre>\n",
875 "owner": "Ext.util.Observable",
876 "doc": "<p>Shorthand for <a href=\"#/api/Ext.state.LocalStorageProvider-method-addListener\" rel=\"Ext.state.LocalStorageProvider-method-addListener\" class=\"docClass\">addListener</a>.</p>\n\n<p>Appends an event handler to this object.</p>\n",
882 "html_filename": "Observable.html"
889 "href": "Base3.html#Ext-Base-method-override",
890 "shortDoc": "Override prototype members of this class. ...",
892 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
904 "doc": "<p>Override prototype members of this class. Overridden methods can be invoked via\n<a href=\"#/api/Ext.Base-method-callOverridden\" rel=\"Ext.Base-method-callOverridden\" class=\"docClass\">Ext.Base.callOverridden</a></p>\n\n<pre><code>Ext.define('My.Cat', {\n constructor: function() {\n alert(\"I'm a cat!\");\n\n return this;\n }\n});\n\nMy.Cat.override({\n constructor: function() {\n alert(\"I'm going to be a cat!\");\n\n var instance = this.callOverridden();\n\n alert(\"Meeeeoooowwww\");\n\n return instance;\n }\n});\n\nvar kitty = new My.Cat(); // alerts \"I'm going to be a cat!\"\n // alerts \"I'm a cat!\"\n // alerts \"Meeeeoooowwww\"\n</code></pre>\n",
908 "doc": "<p>this</p>\n"
910 "html_filename": "Base3.html"
917 "href": "Observable.html#Ext-util-Observable-method-relayEvents",
918 "shortDoc": "Relays selected events from the specified Observable as if the events were fired by this. ...",
920 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
926 "doc": "<p>The Observable whose events this object is to relay.</p>\n",
932 "doc": "<p>Array of event names to relay.</p>\n",
942 "name": "relayEvents",
943 "owner": "Ext.util.Observable",
944 "doc": "<p>Relays selected events from the specified Observable as if the events were fired by <code>this</code>.</p>\n",
950 "html_filename": "Observable.html"
957 "href": "Observable.html#Ext-util-Observable-method-releaseCapture",
958 "shortDoc": "Removes all added captures from the Observable. ...",
960 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
964 "type": "Observable",
966 "doc": "<p>The Observable to release</p>\n",
970 "name": "releaseCapture",
971 "owner": "Ext.util.Observable",
972 "doc": "<p>Removes <strong>all</strong> added captures from the Observable.</p>\n",
978 "html_filename": "Observable.html"
985 "href": "Observable.html#Ext-util-Observable-method-removeListener",
986 "shortDoc": "Removes an event handler. ...",
988 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
994 "doc": "<p>The type of event the handler was associated with.</p>\n",
1000 "doc": "<p>The handler to remove. <strong>This must be a reference to the function passed into the\n<a href=\"#/api/Ext.state.LocalStorageProvider-method-addListener\" rel=\"Ext.state.LocalStorageProvider-method-addListener\" class=\"docClass\">addListener</a> call.</strong></p>\n",
1006 "doc": "<p>(optional) The scope originally specified for the handler.</p>\n",
1010 "name": "removeListener",
1011 "owner": "Ext.util.Observable",
1012 "doc": "<p>Removes an event handler.</p>\n",
1018 "html_filename": "Observable.html"
1024 "tagname": "method",
1025 "href": "Observable.html#Ext-util-Observable-method-removeManagedListener",
1026 "shortDoc": "Removes listeners that were added by the mon method. ...",
1028 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1032 "type": "Observable|Element",
1034 "doc": "<p>The item from which to remove a listener/listeners.</p>\n",
1038 "type": "Object|String",
1040 "doc": "<p>The event name, or an object containing event name properties.</p>\n",
1046 "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this is the handler function.</p>\n",
1052 "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this is the scope (<code>this</code> reference)\nin which the handler function is executed.</p>\n",
1056 "name": "removeManagedListener",
1057 "owner": "Ext.util.Observable",
1058 "doc": "<p>Removes listeners that were added by the <a href=\"#/api/Ext.state.LocalStorageProvider-method-mon\" rel=\"Ext.state.LocalStorageProvider-method-mon\" class=\"docClass\">mon</a> method.</p>\n",
1064 "html_filename": "Observable.html"
1070 "tagname": "method",
1071 "href": "Observable.html#Ext-util-Observable-method-resumeEvents",
1072 "shortDoc": "Resumes firing events (see suspendEvents). ...",
1074 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1079 "name": "resumeEvents",
1080 "owner": "Ext.util.Observable",
1081 "doc": "<p>Resumes firing events (see <a href=\"#/api/Ext.state.LocalStorageProvider-method-suspendEvents\" rel=\"Ext.state.LocalStorageProvider-method-suspendEvents\" class=\"docClass\">suspendEvents</a>).</p>\n\n<p>If events were suspended using the <code>**queueSuspended**</code> parameter, then all events fired\nduring event suspension will be sent to any listeners now.</p>\n",
1087 "html_filename": "Observable.html"
1093 "tagname": "method",
1094 "href": "Provider.html#Ext-state-Provider-method-set",
1095 "shortDoc": "Sets the value for a key ...",
1097 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/state/Provider.js",
1103 "doc": "<p>The key name</p>\n",
1109 "doc": "<p>The value to set</p>\n",
1114 "owner": "Ext.state.Provider",
1115 "doc": "<p>Sets the value for a key</p>\n",
1121 "html_filename": "Provider.html"
1127 "tagname": "method",
1128 "href": "Base3.html#Ext-Base-method-statics",
1129 "shortDoc": "Get the reference to the class from which this object was instantiated. ...",
1131 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
1137 "owner": "Ext.Base",
1138 "doc": "<p>Get the reference to the class from which this object was instantiated. Note that unlike <a href=\"#/api/Ext.Base-property-self\" rel=\"Ext.Base-property-self\" class=\"docClass\">Ext.Base.self</a>,\n<code>this.statics()</code> is scope-independent and it always returns the class from which it was called, regardless of what\n<code>this</code> points to during run-time</p>\n\n<pre><code>Ext.define('My.Cat', {\n statics: {\n totalCreated: 0,\n speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n },\n\n constructor: function() {\n var statics = this.statics();\n\n alert(statics.speciesName); // always equals to 'Cat' no matter what 'this' refers to\n // equivalent to: My.Cat.speciesName\n\n alert(this.self.speciesName); // dependent on 'this'\n\n statics.totalCreated++;\n\n return this;\n },\n\n clone: function() {\n var cloned = new this.self; // dependent on 'this'\n\n cloned.groupName = this.statics().speciesName; // equivalent to: My.Cat.speciesName\n\n return cloned;\n }\n});\n\n\nExt.define('My.SnowLeopard', {\n extend: 'My.Cat',\n\n statics: {\n speciesName: 'Snow Leopard' // My.SnowLeopard.speciesName = 'Snow Leopard'\n },\n\n constructor: function() {\n this.callParent();\n }\n});\n\nvar cat = new My.Cat(); // alerts 'Cat', then alerts 'Cat'\n\nvar snowLeopard = new My.SnowLeopard(); // alerts 'Cat', then alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone)); // alerts 'My.SnowLeopard'\nalert(clone.groupName); // alerts 'Cat'\n\nalert(My.Cat.totalCreated); // alerts 3\n</code></pre>\n",
1144 "html_filename": "Base3.html"
1150 "tagname": "method",
1151 "href": "Observable.html#Ext-util-Observable-method-suspendEvents",
1152 "shortDoc": "Suspends the firing of all events. ...",
1154 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1160 "doc": "<p>Pass as true to queue up suspended events to be fired\nafter the <a href=\"#/api/Ext.state.LocalStorageProvider-method-resumeEvents\" rel=\"Ext.state.LocalStorageProvider-method-resumeEvents\" class=\"docClass\">resumeEvents</a> call instead of discarding all suspended events.</p>\n",
1161 "name": "queueSuspended"
1164 "name": "suspendEvents",
1165 "owner": "Ext.util.Observable",
1166 "doc": "<p>Suspends the firing of all events. (see <a href=\"#/api/Ext.state.LocalStorageProvider-method-resumeEvents\" rel=\"Ext.state.LocalStorageProvider-method-resumeEvents\" class=\"docClass\">resumeEvents</a>)</p>\n",
1172 "html_filename": "Observable.html"
1178 "cls": "Ext.util.Observable",
1180 "owner": "removeListener"
1183 "tagname": "method",
1184 "href": "Observable.html#Ext-util-Observable-method-un",
1185 "shortDoc": "Shorthand for removeListener. ...",
1187 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1193 "doc": "<p>The type of event the handler was associated with.</p>\n",
1199 "doc": "<p>The handler to remove. <strong>This must be a reference to the function passed into the\n<a href=\"#/api/Ext.state.LocalStorageProvider-method-addListener\" rel=\"Ext.state.LocalStorageProvider-method-addListener\" class=\"docClass\">addListener</a> call.</strong></p>\n",
1205 "doc": "<p>(optional) The scope originally specified for the handler.</p>\n",
1210 "owner": "Ext.util.Observable",
1211 "doc": "<p>Shorthand for <a href=\"#/api/Ext.state.LocalStorageProvider-method-removeListener\" rel=\"Ext.state.LocalStorageProvider-method-removeListener\" class=\"docClass\">removeListener</a>.</p>\n\n<p>Removes an event handler.</p>\n",
1217 "html_filename": "Observable.html"
1226 "tagname": "property",
1227 "href": "Base3.html#Ext-Base-property-self",
1228 "shortDoc": "Get the reference to the current class from which this object was instantiated. ...",
1230 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
1233 "owner": "Ext.Base",
1234 "doc": "<p>Get the reference to the current class from which this object was instantiated. Unlike <a href=\"#/api/Ext.Base-method-statics\" rel=\"Ext.Base-method-statics\" class=\"docClass\">Ext.Base.statics</a>,\n<code>this.self</code> is scope-dependent and it's meant to be used for dynamic inheritance. See <a href=\"#/api/Ext.Base-method-statics\" rel=\"Ext.Base-method-statics\" class=\"docClass\">Ext.Base.statics</a>\nfor a detailed comparison</p>\n\n<pre><code>Ext.define('My.Cat', {\n statics: {\n speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n },\n\n constructor: function() {\n alert(this.self.speciesName); / dependent on 'this'\n\n return this;\n },\n\n clone: function() {\n return new this.self();\n }\n});\n\n\nExt.define('My.SnowLeopard', {\n extend: 'My.Cat',\n statics: {\n speciesName: 'Snow Leopard' // My.SnowLeopard.speciesName = 'Snow Leopard'\n }\n});\n\nvar cat = new My.Cat(); // alerts 'Cat'\nvar snowLeopard = new My.SnowLeopard(); // alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone)); // alerts 'My.SnowLeopard'\n</code></pre>\n",
1236 "html_filename": "Base3.html"
1251 "href": "Provider.html#Ext-state-Provider-event-statechange",
1252 "shortDoc": "Fires when a state change occurs. ...",
1254 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/state/Provider.js",
1260 "doc": "<p>This state provider</p>\n",
1266 "doc": "<p>The state key which was changed</p>\n",
1272 "doc": "<p>The encoded value for the state</p>\n",
1279 "doc": "<p>The options object passed to <a href=\"#/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">Ext.util.Observable.addListener</a>.</p>\n"
1282 "name": "statechange",
1283 "owner": "Ext.state.Provider",
1284 "doc": "<p>Fires when a state change occurs.</p>\n",
1286 "html_filename": "Provider.html"
1294 "Ext.state.Provider"
1301 "href": "LocalStorageProvider.html#Ext-state-LocalStorageProvider",
1308 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/state/LocalStorageProvider.js",
1310 "alternateClassNames": [
1313 "name": "Ext.state.LocalStorageProvider",
1314 "doc": "<p>A Provider implementation which saves and retrieves state via the HTML5 localStorage object.\nIf the browser does not support local storage, an exception will be thrown upon instantiating\nthis class.</p>\n",
1322 "html_filename": "LocalStorageProvider.html",
1323 "extends": "Ext.state.Provider"