1 Ext.data.JsonP.Ext_direct_JsonProvider({
15 "href": "Provider2.html#Ext-direct-Provider-cfg-id",
16 "shortDoc": "The unique id of the provider (defaults to an auto-assigned id). ...",
18 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/direct/Provider.js",
21 "owner": "Ext.direct.Provider",
22 "doc": "<p>The unique id of the provider (defaults to an <a href=\"#/api/Ext-method-id\" rel=\"Ext-method-id\" class=\"docClass\">auto-assigned id</a>).\nYou should assign an id if you need to be able to access the provider later and you do\nnot have an object reference available, for example:</p>\n\n<pre><code>Ext.direct.Manager.addProvider({\n type: 'polling',\n url: 'php/poll.php',\n id: 'poll-provider'\n}); \nvar p = <a href=\"#/api/Ext.direct.Manager\" rel=\"Ext.direct.Manager\" class=\"docClass\">Ext.direct.Manager</a>.<a href=\"#/api/Ext.direct.Manager-method-getProvider\" rel=\"Ext.direct.Manager-method-getProvider\" class=\"docClass\">getProvider</a>('poll-provider');\np.disconnect();\n</code></pre>\n\n",
24 "html_filename": "Provider2.html"
32 "href": "Observable.html#Ext-util-Observable-cfg-listeners",
33 "shortDoc": "A config object containing one or more event handlers to be added to this object during initialization. ...",
35 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
38 "owner": "Ext.util.Observable",
39 "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.direct.JsonProvider-method-addListener\" rel=\"Ext.direct.JsonProvider-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",
41 "html_filename": "Observable.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.direct.JsonProvider-method-fireEvent\" rel=\"Ext.direct.JsonProvider-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": "Observable.html#Ext-util-Observable-method-clearListeners",
307 "shortDoc": "Removes all listeners for this object including the managed listeners ...",
309 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
314 "name": "clearListeners",
315 "owner": "Ext.util.Observable",
316 "doc": "<p>Removes all listeners for this object including the managed listeners</p>\n",
322 "html_filename": "Observable.html"
329 "href": "Observable.html#Ext-util-Observable-method-clearManagedListeners",
330 "shortDoc": "Removes all managed listeners for this object. ...",
332 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
337 "name": "clearManagedListeners",
338 "owner": "Ext.util.Observable",
339 "doc": "<p>Removes all managed listeners for this object.</p>\n",
345 "html_filename": "Observable.html"
352 "href": "Provider2.html#Ext-direct-Provider-method-connect",
353 "shortDoc": "Abstract methods for subclasses to implement. ...",
355 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/direct/Provider.js",
361 "owner": "Ext.direct.Provider",
362 "doc": "<p>Abstract methods for subclasses to implement.</p>\n",
368 "html_filename": "Provider2.html"
375 "href": "Base3.html#Ext-Base-method-create",
376 "shortDoc": "Create a new instance of this Class. ...",
378 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
385 "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",
389 "doc": "<p>the created instance.</p>\n"
391 "html_filename": "Base3.html"
398 "href": "Base3.html#Ext-Base-method-createAlias",
399 "shortDoc": "Create aliases for existing prototype methods. ...",
401 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
405 "type": "String/Object",
407 "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",
411 "type": "String/Object",
413 "doc": "<p>The original method name</p>\n",
417 "name": "createAlias",
419 "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",
425 "html_filename": "Base3.html"
432 "href": "JsonProvider.html#Ext-direct-JsonProvider-method-createEvent",
433 "shortDoc": "Create an event from a response object ...",
435 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/direct/JsonProvider.js",
441 "doc": "<p>The XHR response object</p>\n",
445 "name": "createEvent",
446 "owner": "Ext.direct.JsonProvider",
447 "doc": "<p>Create an event from a response object</p>\n",
450 "type": "Ext.direct.Event",
451 "doc": "<p>The event</p>\n"
453 "html_filename": "JsonProvider.html"
460 "href": "Provider2.html#Ext-direct-Provider-method-disconnect",
461 "shortDoc": "Abstract methods for subclasses to implement. ...",
463 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/direct/Provider.js",
468 "name": "disconnect",
469 "owner": "Ext.direct.Provider",
470 "doc": "<p>Abstract methods for subclasses to implement.</p>\n",
476 "html_filename": "Provider2.html"
483 "href": "Observable.html#Ext-util-Observable-method-enableBubble",
484 "shortDoc": "Enables events fired by this Observable to bubble up an owner hierarchy by calling this.getBubbleTarget() if\npresent. ...",
486 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
490 "type": "String/[String]",
492 "doc": "<p>The event name to bubble, or an Array of event names.</p>\n",
496 "name": "enableBubble",
497 "owner": "Ext.util.Observable",
498 "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",
504 "html_filename": "Observable.html"
511 "href": "Observable.html#Ext-util-Observable-method-fireEvent",
512 "shortDoc": "Fires the specified event with the passed parameters (minus the event name, plus the options object passed\nto addList...",
514 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
520 "doc": "<p>The name of the event to fire.</p>\n",
526 "doc": "<p>Variable number of parameters are passed to handlers.</p>\n",
531 "owner": "Ext.util.Observable",
532 "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.direct.JsonProvider-method-addListener\" rel=\"Ext.direct.JsonProvider-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.direct.JsonProvider-method-enableBubble\" rel=\"Ext.direct.JsonProvider-method-enableBubble\" class=\"docClass\">enableBubble</a>.</p>\n",
536 "doc": "<p>returns false if any of the handlers return false otherwise it returns true.</p>\n"
538 "html_filename": "Observable.html"
545 "href": "Base3.html#Ext-Base-method-getName",
546 "shortDoc": "Get the current class' name in string format. ...",
548 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
555 "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",
559 "doc": "<p>className</p>\n"
561 "html_filename": "Base3.html"
568 "href": "Observable.html#Ext-util-Observable-method-hasListener",
569 "shortDoc": "Checks to see if this object has any listeners for a specified event ...",
571 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
577 "doc": "<p>The name of the event to check for</p>\n",
581 "name": "hasListener",
582 "owner": "Ext.util.Observable",
583 "doc": "<p>Checks to see if this object has any listeners for a specified event</p>\n",
587 "doc": "<p>True if the event is being listened for, else false</p>\n"
589 "html_filename": "Observable.html"
596 "href": "Base3.html#Ext-Base-method-implement",
597 "shortDoc": "Add methods / properties to the prototype of this class. ...",
599 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
611 "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",
617 "html_filename": "Base3.html"
624 "href": "Base3.html#Ext-Base-method-initConfig",
625 "shortDoc": "Initialize configuration for this class. ...",
627 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
637 "name": "initConfig",
639 "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",
643 "doc": "<p>mixins The mixin prototypes as key - value pairs</p>\n"
645 "html_filename": "Base3.html"
652 "href": "Provider2.html#Ext-direct-Provider-method-isConnected",
653 "shortDoc": "Returns whether or not the server-side is currently connected. ...",
655 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/direct/Provider.js",
660 "name": "isConnected",
661 "owner": "Ext.direct.Provider",
662 "doc": "<p>Returns whether or not the server-side is currently connected.\nAbstract method for subclasses to implement.</p>\n",
668 "html_filename": "Provider2.html"
674 "cls": "Ext.util.Observable",
676 "owner": "addManagedListener"
680 "href": "Observable.html#Ext-util-Observable-method-mon",
681 "shortDoc": "Shorthand for addManagedListener. ...",
683 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
687 "type": "Observable/Element",
689 "doc": "<p>The item to which to add a listener/listeners.</p>\n",
693 "type": "Object/String",
695 "doc": "<p>The event name, or an object containing event name properties.</p>\n",
701 "doc": "<p>(optional) If the <code>ename</code> parameter was an event name, this is the handler function.</p>\n",
707 "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",
713 "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",
718 "owner": "Ext.util.Observable",
719 "doc": "<p>Shorthand for <a href=\"#/api/Ext.direct.JsonProvider-method-addManagedListener\" rel=\"Ext.direct.JsonProvider-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",
725 "html_filename": "Observable.html"
731 "cls": "Ext.util.Observable",
733 "owner": "removeManagedListener"
737 "href": "Observable.html#Ext-util-Observable-method-mun",
738 "shortDoc": "Shorthand for removeManagedListener. ...",
740 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
744 "type": "Observable|Element",
746 "doc": "<p>The item from which to remove a listener/listeners.</p>\n",
750 "type": "Object|String",
752 "doc": "<p>The event name, or an object containing event name properties.</p>\n",
758 "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this is the handler function.</p>\n",
764 "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",
769 "owner": "Ext.util.Observable",
770 "doc": "<p>Shorthand for <a href=\"#/api/Ext.direct.JsonProvider-method-removeManagedListener\" rel=\"Ext.direct.JsonProvider-method-removeManagedListener\" class=\"docClass\">removeManagedListener</a>.</p>\n\n<p>Removes listeners that were added by the <a href=\"#/api/Ext.direct.JsonProvider-method-mon\" rel=\"Ext.direct.JsonProvider-method-mon\" class=\"docClass\">mon</a> method.</p>\n",
776 "html_filename": "Observable.html"
783 "href": "Observable.html#Ext-util-Observable-method-observe",
784 "shortDoc": "Sets observability on the passed class constructor. ...",
786 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
792 "doc": "<p>The class constructor to make observable.</p>\n",
798 "doc": "<p>An object containing a series of listeners to add. See <a href=\"#/api/Ext.direct.JsonProvider-method-addListener\" rel=\"Ext.direct.JsonProvider-method-addListener\" class=\"docClass\">addListener</a>.</p>\n",
803 "owner": "Ext.util.Observable",
804 "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",
810 "html_filename": "Observable.html"
816 "cls": "Ext.util.Observable",
818 "owner": "addListener"
822 "href": "Observable.html#Ext-util-Observable-method-on",
823 "shortDoc": "Shorthand for addListener. ...",
825 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
831 "doc": "<p>The name of the event to listen for. May also be an object who's property names are\nevent names.</p>\n",
837 "doc": "<p>The method the event invokes. Will be called with arguments given to\n<a href=\"#/api/Ext.direct.JsonProvider-method-fireEvent\" rel=\"Ext.direct.JsonProvider-method-fireEvent\" class=\"docClass\">fireEvent</a> plus the <code>options</code> parameter described below.</p>\n",
843 "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",
849 "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",
854 "owner": "Ext.util.Observable",
855 "doc": "<p>Shorthand for <a href=\"#/api/Ext.direct.JsonProvider-method-addListener\" rel=\"Ext.direct.JsonProvider-method-addListener\" class=\"docClass\">addListener</a>.</p>\n\n<p>Appends an event handler to this object.</p>\n",
861 "html_filename": "Observable.html"
868 "href": "Base3.html#Ext-Base-method-override",
869 "shortDoc": "Override prototype members of this class. ...",
871 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
883 "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",
887 "doc": "<p>this</p>\n"
889 "html_filename": "Base3.html"
896 "href": "Observable.html#Ext-util-Observable-method-relayEvents",
897 "shortDoc": "Relays selected events from the specified Observable as if the events were fired by this. ...",
899 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
905 "doc": "<p>The Observable whose events this object is to relay.</p>\n",
911 "doc": "<p>Array of event names to relay.</p>\n",
921 "name": "relayEvents",
922 "owner": "Ext.util.Observable",
923 "doc": "<p>Relays selected events from the specified Observable as if the events were fired by <code>this</code>.</p>\n",
929 "html_filename": "Observable.html"
936 "href": "Observable.html#Ext-util-Observable-method-releaseCapture",
937 "shortDoc": "Removes all added captures from the Observable. ...",
939 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
943 "type": "Observable",
945 "doc": "<p>The Observable to release</p>\n",
949 "name": "releaseCapture",
950 "owner": "Ext.util.Observable",
951 "doc": "<p>Removes <strong>all</strong> added captures from the Observable.</p>\n",
957 "html_filename": "Observable.html"
964 "href": "Observable.html#Ext-util-Observable-method-removeListener",
965 "shortDoc": "Removes an event handler. ...",
967 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
973 "doc": "<p>The type of event the handler was associated with.</p>\n",
979 "doc": "<p>The handler to remove. <strong>This must be a reference to the function passed into the\n<a href=\"#/api/Ext.direct.JsonProvider-method-addListener\" rel=\"Ext.direct.JsonProvider-method-addListener\" class=\"docClass\">addListener</a> call.</strong></p>\n",
985 "doc": "<p>(optional) The scope originally specified for the handler.</p>\n",
989 "name": "removeListener",
990 "owner": "Ext.util.Observable",
991 "doc": "<p>Removes an event handler.</p>\n",
997 "html_filename": "Observable.html"
1003 "tagname": "method",
1004 "href": "Observable.html#Ext-util-Observable-method-removeManagedListener",
1005 "shortDoc": "Removes listeners that were added by the mon method. ...",
1007 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1011 "type": "Observable|Element",
1013 "doc": "<p>The item from which to remove a listener/listeners.</p>\n",
1017 "type": "Object|String",
1019 "doc": "<p>The event name, or an object containing event name properties.</p>\n",
1025 "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this is the handler function.</p>\n",
1031 "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",
1035 "name": "removeManagedListener",
1036 "owner": "Ext.util.Observable",
1037 "doc": "<p>Removes listeners that were added by the <a href=\"#/api/Ext.direct.JsonProvider-method-mon\" rel=\"Ext.direct.JsonProvider-method-mon\" class=\"docClass\">mon</a> method.</p>\n",
1043 "html_filename": "Observable.html"
1049 "tagname": "method",
1050 "href": "Observable.html#Ext-util-Observable-method-resumeEvents",
1051 "shortDoc": "Resumes firing events (see suspendEvents). ...",
1053 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1058 "name": "resumeEvents",
1059 "owner": "Ext.util.Observable",
1060 "doc": "<p>Resumes firing events (see <a href=\"#/api/Ext.direct.JsonProvider-method-suspendEvents\" rel=\"Ext.direct.JsonProvider-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",
1066 "html_filename": "Observable.html"
1072 "tagname": "method",
1073 "href": "Base3.html#Ext-Base-method-statics",
1074 "shortDoc": "Get the reference to the class from which this object was instantiated. ...",
1076 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
1082 "owner": "Ext.Base",
1083 "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",
1089 "html_filename": "Base3.html"
1095 "tagname": "method",
1096 "href": "Observable.html#Ext-util-Observable-method-suspendEvents",
1097 "shortDoc": "Suspends the firing of all events. ...",
1099 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1105 "doc": "<p>Pass as true to queue up suspended events to be fired\nafter the <a href=\"#/api/Ext.direct.JsonProvider-method-resumeEvents\" rel=\"Ext.direct.JsonProvider-method-resumeEvents\" class=\"docClass\">resumeEvents</a> call instead of discarding all suspended events.</p>\n",
1106 "name": "queueSuspended"
1109 "name": "suspendEvents",
1110 "owner": "Ext.util.Observable",
1111 "doc": "<p>Suspends the firing of all events. (see <a href=\"#/api/Ext.direct.JsonProvider-method-resumeEvents\" rel=\"Ext.direct.JsonProvider-method-resumeEvents\" class=\"docClass\">resumeEvents</a>)</p>\n",
1117 "html_filename": "Observable.html"
1123 "cls": "Ext.util.Observable",
1125 "owner": "removeListener"
1128 "tagname": "method",
1129 "href": "Observable.html#Ext-util-Observable-method-un",
1130 "shortDoc": "Shorthand for removeListener. ...",
1132 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1138 "doc": "<p>The type of event the handler was associated with.</p>\n",
1144 "doc": "<p>The handler to remove. <strong>This must be a reference to the function passed into the\n<a href=\"#/api/Ext.direct.JsonProvider-method-addListener\" rel=\"Ext.direct.JsonProvider-method-addListener\" class=\"docClass\">addListener</a> call.</strong></p>\n",
1150 "doc": "<p>(optional) The scope originally specified for the handler.</p>\n",
1155 "owner": "Ext.util.Observable",
1156 "doc": "<p>Shorthand for <a href=\"#/api/Ext.direct.JsonProvider-method-removeListener\" rel=\"Ext.direct.JsonProvider-method-removeListener\" class=\"docClass\">removeListener</a>.</p>\n\n<p>Removes an event handler.</p>\n",
1162 "html_filename": "Observable.html"
1171 "tagname": "property",
1172 "href": "Base3.html#Ext-Base-property-self",
1173 "shortDoc": "Get the reference to the current class from which this object was instantiated. ...",
1175 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
1178 "owner": "Ext.Base",
1179 "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",
1181 "html_filename": "Base3.html"
1196 "href": "Provider2.html#Ext-direct-Provider-event-connect",
1197 "shortDoc": "Fires when the Provider connects to the server-side ...",
1199 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/direct/Provider.js",
1203 "type": "Ext.direct.Provider",
1205 "doc": "<p>The <a href=\"#/api/Ext.direct.Provider\" rel=\"Ext.direct.Provider\" class=\"docClass\">Provider</a>.</p>\n",
1212 "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"
1216 "owner": "Ext.direct.Provider",
1217 "doc": "<p>Fires when the Provider connects to the server-side</p>\n",
1219 "html_filename": "Provider2.html"
1226 "href": "Provider2.html#Ext-direct-Provider-event-data",
1227 "shortDoc": "Fires when the Provider receives data from the server-side ...",
1229 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/direct/Provider.js",
1233 "type": "Ext.direct.Provider",
1235 "doc": "<p>The <a href=\"#/api/Ext.direct.Provider\" rel=\"Ext.direct.Provider\" class=\"docClass\">Provider</a>.</p>\n",
1241 "doc": "<p>The Ext.Direct.Event type that occurred.</p>\n",
1248 "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"
1252 "owner": "Ext.direct.Provider",
1253 "doc": "<p>Fires when the Provider receives data from the server-side</p>\n",
1255 "html_filename": "Provider2.html"
1262 "href": "Provider2.html#Ext-direct-Provider-event-disconnect",
1263 "shortDoc": "Fires when the Provider disconnects from the server-side ...",
1265 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/direct/Provider.js",
1269 "type": "Ext.direct.Provider",
1271 "doc": "<p>The <a href=\"#/api/Ext.direct.Provider\" rel=\"Ext.direct.Provider\" class=\"docClass\">Provider</a>.</p>\n",
1278 "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"
1281 "name": "disconnect",
1282 "owner": "Ext.direct.Provider",
1283 "doc": "<p>Fires when the Provider disconnects from the server-side</p>\n",
1285 "html_filename": "Provider2.html"
1292 "href": "Provider2.html#Ext-direct-Provider-event-exception",
1293 "shortDoc": "Fires when the Provider receives an exception from the server-side ...",
1295 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/direct/Provider.js",
1302 "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"
1305 "name": "exception",
1306 "owner": "Ext.direct.Provider",
1307 "doc": "<p>Fires when the Provider receives an exception from the server-side</p>\n",
1309 "html_filename": "Provider2.html"
1317 "Ext.direct.Provider"
1324 "href": "JsonProvider.html#Ext-direct-JsonProvider",
1326 "Ext.direct.RemotingProvider",
1327 "Ext.direct.PollingProvider"
1332 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/direct/JsonProvider.js",
1334 "alternateClassNames": [
1337 "name": "Ext.direct.JsonProvider",
1338 "doc": "<p>A base provider for communicating using JSON. This is an abstract class\nand should not be instanced directly.</p>\n",
1346 "html_filename": "JsonProvider.html",
1347 "extends": "Ext.direct.Provider"