Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / docs / output / Ext.direct.Manager.js
1 Ext.data.JsonP.Ext_direct_Manager({
2   "allMixins": [
3     "Ext.util.Observable"
4   ],
5   "deprecated": null,
6   "docauthor": null,
7   "members": {
8     "cfg": [
9       {
10         "type": "Object",
11         "deprecated": null,
12         "alias": null,
13         "protected": false,
14         "tagname": "cfg",
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. ...",
17         "static": false,
18         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
19         "private": false,
20         "name": "listeners",
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.direct.Manager-method-addListener\" rel=\"Ext.direct.Manager-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",
23         "linenr": 102,
24         "html_filename": "Observable.html"
25       }
26     ],
27     "method": [
28       {
29         "deprecated": null,
30         "alias": null,
31         "protected": false,
32         "tagname": "method",
33         "href": "Observable.html#Ext-util-Observable-method-addEvents",
34         "shortDoc": "Adds the specified events to the list of events which this Observable may fire. ...",
35         "static": false,
36         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
37         "private": false,
38         "params": [
39           {
40             "type": "Object/String",
41             "optional": false,
42             "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",
43             "name": "o"
44           },
45           {
46             "type": "String...",
47             "optional": false,
48             "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",
49             "name": "more"
50           }
51         ],
52         "name": "addEvents",
53         "owner": "Ext.util.Observable",
54         "doc": "<p>Adds the specified events to the list of events which this Observable may fire.</p>\n",
55         "linenr": 494,
56         "return": {
57           "type": "void",
58           "doc": "\n"
59         },
60         "html_filename": "Observable.html"
61       },
62       {
63         "deprecated": null,
64         "alias": null,
65         "protected": false,
66         "tagname": "method",
67         "href": "Observable.html#Ext-util-Observable-method-addListener",
68         "shortDoc": "Appends an event handler to this object. ...",
69         "static": false,
70         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
71         "private": false,
72         "params": [
73           {
74             "type": "String",
75             "optional": false,
76             "doc": "<p>The name of the event to listen for. May also be an object who's property names are\nevent names.</p>\n",
77             "name": "eventName"
78           },
79           {
80             "type": "Function",
81             "optional": false,
82             "doc": "<p>The method the event invokes.  Will be called with arguments given to\n<a href=\"#/api/Ext.direct.Manager-method-fireEvent\" rel=\"Ext.direct.Manager-method-fireEvent\" class=\"docClass\">fireEvent</a> plus the <code>options</code> parameter described below.</p>\n",
83             "name": "handler"
84           },
85           {
86             "type": "Object",
87             "optional": true,
88             "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",
89             "name": "scope"
90           },
91           {
92             "type": "Object",
93             "optional": true,
94             "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",
95             "name": "options"
96           }
97         ],
98         "name": "addListener",
99         "owner": "Ext.util.Observable",
100         "doc": "<p>Appends an event handler to this object.</p>\n",
101         "linenr": 278,
102         "return": {
103           "type": "void",
104           "doc": "\n"
105         },
106         "html_filename": "Observable.html"
107       },
108       {
109         "deprecated": null,
110         "alias": null,
111         "protected": false,
112         "tagname": "method",
113         "href": "Observable.html#Ext-util-Observable-method-addManagedListener",
114         "shortDoc": "Adds listeners to any Observable object (or Element) which are automatically removed when this Component is\ndestroyed. ...",
115         "static": false,
116         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
117         "private": false,
118         "params": [
119           {
120             "type": "Observable/Element",
121             "optional": false,
122             "doc": "<p>The item to which to add a listener/listeners.</p>\n",
123             "name": "item"
124           },
125           {
126             "type": "Object/String",
127             "optional": false,
128             "doc": "<p>The event name, or an object containing event name properties.</p>\n",
129             "name": "ename"
130           },
131           {
132             "type": "Function",
133             "optional": true,
134             "doc": "<p>(optional) If the <code>ename</code> parameter was an event name, this is the handler function.</p>\n",
135             "name": "fn"
136           },
137           {
138             "type": "Object",
139             "optional": true,
140             "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",
141             "name": "scope"
142           },
143           {
144             "type": "Object",
145             "optional": true,
146             "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",
147             "name": "opt"
148           }
149         ],
150         "name": "addManagedListener",
151         "owner": "Ext.util.Observable",
152         "doc": "<p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component is\ndestroyed.</p>\n",
153         "linenr": 156,
154         "return": {
155           "type": "void",
156           "doc": "\n"
157         },
158         "html_filename": "Observable.html"
159       },
160       {
161         "deprecated": null,
162         "alias": null,
163         "protected": false,
164         "tagname": "method",
165         "href": "Manager4.html#Ext-direct-Manager-method-addProvider",
166         "shortDoc": "Adds an Ext.Direct Provider and creates the proxy or stub methods to execute server-side methods. ...",
167         "static": false,
168         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/direct/Manager.js",
169         "private": false,
170         "params": [
171           {
172             "type": "Object/Array",
173             "optional": false,
174             "doc": "<p>Accepts either an Array of Provider descriptions (an instance\nor config object for a Provider) or any number of Provider descriptions as arguments.  Each\nProvider description instructs Ext.Direct how to create client-side stub methods.</p>\n",
175             "name": "provider"
176           }
177         ],
178         "name": "addProvider",
179         "owner": "Ext.direct.Manager",
180         "doc": "<p>Adds an Ext.Direct Provider and creates the proxy or stub methods to execute server-side methods.\nIf the provider is not already connected, it will auto-connect.</p>\n\n<pre><code>var pollProv = new Ext.direct.PollingProvider({\n    url: 'php/poll2.php'\n});\n\nExt.direct.Manager.addProvider({\n    \"type\":\"remoting\",       // create a <a href=\"#/api/Ext.direct.RemotingProvider\" rel=\"Ext.direct.RemotingProvider\" class=\"docClass\">Ext.direct.RemotingProvider</a>\n    \"url\":\"php\\/router.php\", // url to connect to the Ext.Direct server-side router.\n    \"actions\":{              // each property within the actions object represents a Class\n        \"TestAction\":[       // array of methods within each server side Class\n        {\n            \"name\":\"doEcho\", // name of method\n            \"len\":1\n        },{\n            \"name\":\"multiply\",\n            \"len\":1\n        },{\n            \"name\":\"doForm\",\n            \"formHandler\":true, // handle form on server with <a href=\"#/api/Ext.direct.Transaction\" rel=\"Ext.direct.Transaction\" class=\"docClass\">Ext.Direct.Transaction</a>\n            \"len\":1\n        }]\n    },\n    \"namespace\":\"myApplication\",// namespace to create the Remoting Provider in\n},{\n    type: 'polling', // create a <a href=\"#/api/Ext.direct.PollingProvider\" rel=\"Ext.direct.PollingProvider\" class=\"docClass\">Ext.direct.PollingProvider</a>\n    url:  'php/poll.php'\n}, pollProv); // reference to previously created instance\n</code></pre>\n\n",
181         "linenr": 104,
182         "return": {
183           "type": "void",
184           "doc": "\n"
185         },
186         "html_filename": "Manager4.html"
187       },
188       {
189         "deprecated": null,
190         "alias": null,
191         "protected": false,
192         "tagname": "method",
193         "href": "Base3.html#Ext-Base-method-addStatics",
194         "shortDoc": "Add / override static properties of this class. ...",
195         "static": true,
196         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
197         "private": false,
198         "params": [
199           {
200             "type": "Object",
201             "optional": false,
202             "doc": "\n",
203             "name": "members"
204           }
205         ],
206         "name": "addStatics",
207         "owner": "Ext.Base",
208         "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",
209         "linenr": 388,
210         "return": {
211           "type": "Ext.Base",
212           "doc": "<p>this</p>\n"
213         },
214         "html_filename": "Base3.html"
215       },
216       {
217         "deprecated": null,
218         "alias": null,
219         "protected": false,
220         "tagname": "method",
221         "href": "Base3.html#Ext-Base-method-callOverridden",
222         "shortDoc": "Call the original method that was previously overridden with Ext.Base.override\n\nExt.define('My.Cat', {\n    constructo...",
223         "static": false,
224         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
225         "private": false,
226         "params": [
227           {
228             "type": "Array/Arguments",
229             "optional": false,
230             "doc": "<p>The arguments, either an array or the <code>arguments</code> object</p>\n",
231             "name": "args"
232           }
233         ],
234         "name": "callOverridden",
235         "owner": "Ext.Base",
236         "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",
237         "linenr": 269,
238         "return": {
239           "type": "Mixed",
240           "doc": "<p>Returns the result after calling the overridden method</p>\n"
241         },
242         "html_filename": "Base3.html"
243       },
244       {
245         "deprecated": null,
246         "alias": null,
247         "protected": true,
248         "tagname": "method",
249         "href": "Base3.html#Ext-Base-method-callParent",
250         "shortDoc": "Call the parent's overridden method. ...",
251         "static": false,
252         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
253         "private": false,
254         "params": [
255           {
256             "type": "Array/Arguments",
257             "optional": false,
258             "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",
259             "name": "args"
260           }
261         ],
262         "name": "callParent",
263         "owner": "Ext.Base",
264         "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",
265         "linenr": 124,
266         "return": {
267           "type": "Mixed",
268           "doc": "<p>Returns the result from the superclass' method</p>\n"
269         },
270         "html_filename": "Base3.html"
271       },
272       {
273         "deprecated": null,
274         "alias": null,
275         "protected": false,
276         "tagname": "method",
277         "href": "Observable.html#Ext-util-Observable-method-capture",
278         "shortDoc": "Starts capture on the specified Observable. ...",
279         "static": true,
280         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
281         "private": false,
282         "params": [
283           {
284             "type": "Observable",
285             "optional": false,
286             "doc": "<p>The Observable to capture events from.</p>\n",
287             "name": "o"
288           },
289           {
290             "type": "Function",
291             "optional": false,
292             "doc": "<p>The function to call when an event is fired.</p>\n",
293             "name": "fn"
294           },
295           {
296             "type": "Object",
297             "optional": true,
298             "doc": "<p>(optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to\nthe Observable firing the event.</p>\n",
299             "name": "scope"
300           }
301         ],
302         "name": "capture",
303         "owner": "Ext.util.Observable",
304         "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",
305         "linenr": 54,
306         "return": {
307           "type": "void",
308           "doc": "\n"
309         },
310         "html_filename": "Observable.html"
311       },
312       {
313         "deprecated": null,
314         "alias": null,
315         "protected": false,
316         "tagname": "method",
317         "href": "Observable.html#Ext-util-Observable-method-clearListeners",
318         "shortDoc": "Removes all listeners for this object including the managed listeners ...",
319         "static": false,
320         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
321         "private": false,
322         "params": [
323
324         ],
325         "name": "clearListeners",
326         "owner": "Ext.util.Observable",
327         "doc": "<p>Removes all listeners for this object including the managed listeners</p>\n",
328         "linenr": 425,
329         "return": {
330           "type": "void",
331           "doc": "\n"
332         },
333         "html_filename": "Observable.html"
334       },
335       {
336         "deprecated": null,
337         "alias": null,
338         "protected": false,
339         "tagname": "method",
340         "href": "Observable.html#Ext-util-Observable-method-clearManagedListeners",
341         "shortDoc": "Removes all managed listeners for this object. ...",
342         "static": false,
343         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
344         "private": false,
345         "params": [
346
347         ],
348         "name": "clearManagedListeners",
349         "owner": "Ext.util.Observable",
350         "doc": "<p>Removes all managed listeners for this object.</p>\n",
351         "linenr": 454,
352         "return": {
353           "type": "void",
354           "doc": "\n"
355         },
356         "html_filename": "Observable.html"
357       },
358       {
359         "deprecated": null,
360         "alias": null,
361         "protected": false,
362         "tagname": "method",
363         "href": "Base3.html#Ext-Base-method-create",
364         "shortDoc": "Create a new instance of this Class. ...",
365         "static": true,
366         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
367         "private": false,
368         "params": [
369
370         ],
371         "name": "create",
372         "owner": "Ext.Base",
373         "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",
374         "linenr": 329,
375         "return": {
376           "type": "Object",
377           "doc": "<p>the created instance.</p>\n"
378         },
379         "html_filename": "Base3.html"
380       },
381       {
382         "deprecated": null,
383         "alias": null,
384         "protected": false,
385         "tagname": "method",
386         "href": "Base3.html#Ext-Base-method-createAlias",
387         "shortDoc": "Create aliases for existing prototype methods. ...",
388         "static": true,
389         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
390         "private": false,
391         "params": [
392           {
393             "type": "String/Object",
394             "optional": false,
395             "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",
396             "name": "alias"
397           },
398           {
399             "type": "String/Object",
400             "optional": false,
401             "doc": "<p>The original method name</p>\n",
402             "name": "origin"
403           }
404         ],
405         "name": "createAlias",
406         "owner": "Ext.Base",
407         "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() -&gt; test.method1()\n</code></pre>\n",
408         "linenr": 648,
409         "return": {
410           "type": "void",
411           "doc": "\n"
412         },
413         "html_filename": "Base3.html"
414       },
415       {
416         "deprecated": null,
417         "alias": null,
418         "protected": false,
419         "tagname": "method",
420         "href": "Observable.html#Ext-util-Observable-method-enableBubble",
421         "shortDoc": "Enables events fired by this Observable to bubble up an owner hierarchy by calling this.getBubbleTarget() if\npresent. ...",
422         "static": false,
423         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
424         "private": false,
425         "params": [
426           {
427             "type": "String/[String]",
428             "optional": false,
429             "doc": "<p>The event name to bubble, or an Array of event names.</p>\n",
430             "name": "events"
431           }
432         ],
433         "name": "enableBubble",
434         "owner": "Ext.util.Observable",
435         "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",
436         "linenr": 609,
437         "return": {
438           "type": "void",
439           "doc": "\n"
440         },
441         "html_filename": "Observable.html"
442       },
443       {
444         "deprecated": null,
445         "alias": null,
446         "protected": false,
447         "tagname": "method",
448         "href": "Observable.html#Ext-util-Observable-method-fireEvent",
449         "shortDoc": "Fires the specified event with the passed parameters (minus the event name, plus the options object passed\nto addList...",
450         "static": false,
451         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
452         "private": false,
453         "params": [
454           {
455             "type": "String",
456             "optional": false,
457             "doc": "<p>The name of the event to fire.</p>\n",
458             "name": "eventName"
459           },
460           {
461             "type": "Object...",
462             "optional": false,
463             "doc": "<p>Variable number of parameters are passed to handlers.</p>\n",
464             "name": "args"
465           }
466         ],
467         "name": "fireEvent",
468         "owner": "Ext.util.Observable",
469         "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.Manager-method-addListener\" rel=\"Ext.direct.Manager-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.Manager-method-enableBubble\" rel=\"Ext.direct.Manager-method-enableBubble\" class=\"docClass\">enableBubble</a>.</p>\n",
470         "linenr": 233,
471         "return": {
472           "type": "Boolean",
473           "doc": "<p>returns false if any of the handlers return false otherwise it returns true.</p>\n"
474         },
475         "html_filename": "Observable.html"
476       },
477       {
478         "deprecated": null,
479         "alias": null,
480         "protected": false,
481         "tagname": "method",
482         "href": "Base3.html#Ext-Base-method-getName",
483         "shortDoc": "Get the current class' name in string format. ...",
484         "static": false,
485         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
486         "private": false,
487         "params": [
488
489         ],
490         "name": "getName",
491         "owner": "Ext.Base",
492         "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",
493         "linenr": 631,
494         "return": {
495           "type": "String",
496           "doc": "<p>className</p>\n"
497         },
498         "html_filename": "Base3.html"
499       },
500       {
501         "deprecated": null,
502         "alias": null,
503         "protected": false,
504         "tagname": "method",
505         "href": "Manager4.html#Ext-direct-Manager-method-getProvider",
506         "shortDoc": "Retrieve a provider by the\nid specified when the provider is\nadded. ...",
507         "static": false,
508         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/direct/Manager.js",
509         "private": false,
510         "params": [
511           {
512             "type": "String/Ext.data.Provider",
513             "optional": false,
514             "doc": "<p>The id of the provider, or the provider instance.</p>\n",
515             "name": "id"
516           }
517         ],
518         "name": "getProvider",
519         "owner": "Ext.direct.Manager",
520         "doc": "<p>Retrieve a <a href=\"#/api/Ext.direct.Provider\" rel=\"Ext.direct.Provider\" class=\"docClass\">provider</a> by the\n<b><tt><a href=\"#/api/Ext.direct.Provider-cfg-id\" rel=\"Ext.direct.Provider-cfg-id\" class=\"docClass\">id</a></tt></b> specified when the provider is\n<a href=\"#/api/Ext.direct.Manager-method-addProvider\" rel=\"Ext.direct.Manager-method-addProvider\" class=\"docClass\">added</a>.</p>\n",
521         "linenr": 167,
522         "return": {
523           "type": "void",
524           "doc": "\n"
525         },
526         "html_filename": "Manager4.html"
527       },
528       {
529         "deprecated": null,
530         "alias": null,
531         "protected": false,
532         "tagname": "method",
533         "href": "Observable.html#Ext-util-Observable-method-hasListener",
534         "shortDoc": "Checks to see if this object has any listeners for a specified event ...",
535         "static": false,
536         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
537         "private": false,
538         "params": [
539           {
540             "type": "String",
541             "optional": false,
542             "doc": "<p>The name of the event to check for</p>\n",
543             "name": "eventName"
544           }
545         ],
546         "name": "hasListener",
547         "owner": "Ext.util.Observable",
548         "doc": "<p>Checks to see if this object has any listeners for a specified event</p>\n",
549         "linenr": 530,
550         "return": {
551           "type": "Boolean",
552           "doc": "<p>True if the event is being listened for, else false</p>\n"
553         },
554         "html_filename": "Observable.html"
555       },
556       {
557         "deprecated": null,
558         "alias": null,
559         "protected": false,
560         "tagname": "method",
561         "href": "Base3.html#Ext-Base-method-implement",
562         "shortDoc": "Add methods / properties to the prototype of this class. ...",
563         "static": true,
564         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
565         "private": false,
566         "params": [
567           {
568             "type": "Object",
569             "optional": false,
570             "doc": "\n",
571             "name": "members"
572           }
573         ],
574         "name": "implement",
575         "owner": "Ext.Base",
576         "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",
577         "linenr": 415,
578         "return": {
579           "type": "void",
580           "doc": "\n"
581         },
582         "html_filename": "Base3.html"
583       },
584       {
585         "deprecated": null,
586         "alias": null,
587         "protected": true,
588         "tagname": "method",
589         "href": "Base3.html#Ext-Base-method-initConfig",
590         "shortDoc": "Initialize configuration for this class. ...",
591         "static": false,
592         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
593         "private": false,
594         "params": [
595           {
596             "type": "Object",
597             "optional": false,
598             "doc": "\n",
599             "name": "config"
600           }
601         ],
602         "name": "initConfig",
603         "owner": "Ext.Base",
604         "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",
605         "linenr": 63,
606         "return": {
607           "type": "Object",
608           "doc": "<p>mixins The mixin prototypes as key - value pairs</p>\n"
609         },
610         "html_filename": "Base3.html"
611       },
612       {
613         "deprecated": null,
614         "alias": {
615           "tagname": "alias",
616           "cls": "Ext.util.Observable",
617           "doc": null,
618           "owner": "addManagedListener"
619         },
620         "protected": false,
621         "tagname": "method",
622         "href": "Observable.html#Ext-util-Observable-method-mon",
623         "shortDoc": "Shorthand for addManagedListener. ...",
624         "static": false,
625         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
626         "private": false,
627         "params": [
628           {
629             "type": "Observable/Element",
630             "optional": false,
631             "doc": "<p>The item to which to add a listener/listeners.</p>\n",
632             "name": "item"
633           },
634           {
635             "type": "Object/String",
636             "optional": false,
637             "doc": "<p>The event name, or an object containing event name properties.</p>\n",
638             "name": "ename"
639           },
640           {
641             "type": "Function",
642             "optional": true,
643             "doc": "<p>(optional) If the <code>ename</code> parameter was an event name, this is the handler function.</p>\n",
644             "name": "fn"
645           },
646           {
647             "type": "Object",
648             "optional": true,
649             "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",
650             "name": "scope"
651           },
652           {
653             "type": "Object",
654             "optional": true,
655             "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",
656             "name": "opt"
657           }
658         ],
659         "name": "mon",
660         "owner": "Ext.util.Observable",
661         "doc": "<p>Shorthand for <a href=\"#/api/Ext.direct.Manager-method-addManagedListener\" rel=\"Ext.direct.Manager-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",
662         "linenr": 681,
663         "return": {
664           "type": "void",
665           "doc": "\n"
666         },
667         "html_filename": "Observable.html"
668       },
669       {
670         "deprecated": null,
671         "alias": {
672           "tagname": "alias",
673           "cls": "Ext.util.Observable",
674           "doc": null,
675           "owner": "removeManagedListener"
676         },
677         "protected": false,
678         "tagname": "method",
679         "href": "Observable.html#Ext-util-Observable-method-mun",
680         "shortDoc": "Shorthand for removeManagedListener. ...",
681         "static": false,
682         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
683         "private": false,
684         "params": [
685           {
686             "type": "Observable|Element",
687             "optional": false,
688             "doc": "<p>The item from which to remove a listener/listeners.</p>\n",
689             "name": "item"
690           },
691           {
692             "type": "Object|String",
693             "optional": false,
694             "doc": "<p>The event name, or an object containing event name properties.</p>\n",
695             "name": "ename"
696           },
697           {
698             "type": "Function",
699             "optional": false,
700             "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this is the handler function.</p>\n",
701             "name": "fn"
702           },
703           {
704             "type": "Object",
705             "optional": false,
706             "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",
707             "name": "scope"
708           }
709         ],
710         "name": "mun",
711         "owner": "Ext.util.Observable",
712         "doc": "<p>Shorthand for <a href=\"#/api/Ext.direct.Manager-method-removeManagedListener\" rel=\"Ext.direct.Manager-method-removeManagedListener\" class=\"docClass\">removeManagedListener</a>.</p>\n\n<p>Removes listeners that were added by the <a href=\"#/api/Ext.direct.Manager-method-mon\" rel=\"Ext.direct.Manager-method-mon\" class=\"docClass\">mon</a> method.</p>\n",
713         "linenr": 687,
714         "return": {
715           "type": "void",
716           "doc": "\n"
717         },
718         "html_filename": "Observable.html"
719       },
720       {
721         "deprecated": null,
722         "alias": null,
723         "protected": false,
724         "tagname": "method",
725         "href": "Observable.html#Ext-util-Observable-method-observe",
726         "shortDoc": "Sets observability on the passed class constructor. ...",
727         "static": true,
728         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
729         "private": false,
730         "params": [
731           {
732             "type": "Function",
733             "optional": false,
734             "doc": "<p>The class constructor to make observable.</p>\n",
735             "name": "c"
736           },
737           {
738             "type": "Object",
739             "optional": false,
740             "doc": "<p>An object containing a series of listeners to add. See <a href=\"#/api/Ext.direct.Manager-method-addListener\" rel=\"Ext.direct.Manager-method-addListener\" class=\"docClass\">addListener</a>.</p>\n",
741             "name": "listeners"
742           }
743         ],
744         "name": "observe",
745         "owner": "Ext.util.Observable",
746         "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",
747         "linenr": 69,
748         "return": {
749           "type": "void",
750           "doc": "\n"
751         },
752         "html_filename": "Observable.html"
753       },
754       {
755         "deprecated": null,
756         "alias": {
757           "tagname": "alias",
758           "cls": "Ext.util.Observable",
759           "doc": null,
760           "owner": "addListener"
761         },
762         "protected": false,
763         "tagname": "method",
764         "href": "Observable.html#Ext-util-Observable-method-on",
765         "shortDoc": "Shorthand for addListener. ...",
766         "static": false,
767         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
768         "private": false,
769         "params": [
770           {
771             "type": "String",
772             "optional": false,
773             "doc": "<p>The name of the event to listen for. May also be an object who's property names are\nevent names.</p>\n",
774             "name": "eventName"
775           },
776           {
777             "type": "Function",
778             "optional": false,
779             "doc": "<p>The method the event invokes.  Will be called with arguments given to\n<a href=\"#/api/Ext.direct.Manager-method-fireEvent\" rel=\"Ext.direct.Manager-method-fireEvent\" class=\"docClass\">fireEvent</a> plus the <code>options</code> parameter described below.</p>\n",
780             "name": "handler"
781           },
782           {
783             "type": "Object",
784             "optional": true,
785             "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",
786             "name": "scope"
787           },
788           {
789             "type": "Object",
790             "optional": true,
791             "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",
792             "name": "options"
793           }
794         ],
795         "name": "on",
796         "owner": "Ext.util.Observable",
797         "doc": "<p>Shorthand for <a href=\"#/api/Ext.direct.Manager-method-addListener\" rel=\"Ext.direct.Manager-method-addListener\" class=\"docClass\">addListener</a>.</p>\n\n<p>Appends an event handler to this object.</p>\n",
798         "linenr": 669,
799         "return": {
800           "type": "void",
801           "doc": "\n"
802         },
803         "html_filename": "Observable.html"
804       },
805       {
806         "deprecated": null,
807         "alias": null,
808         "protected": false,
809         "tagname": "method",
810         "href": "Base3.html#Ext-Base-method-override",
811         "shortDoc": "Override prototype members of this class. ...",
812         "static": true,
813         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
814         "private": false,
815         "params": [
816           {
817             "type": "Object",
818             "optional": false,
819             "doc": "\n",
820             "name": "members"
821           }
822         ],
823         "name": "override",
824         "owner": "Ext.Base",
825         "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",
826         "linenr": 518,
827         "return": {
828           "type": "Ext.Base",
829           "doc": "<p>this</p>\n"
830         },
831         "html_filename": "Base3.html"
832       },
833       {
834         "deprecated": null,
835         "alias": null,
836         "protected": false,
837         "tagname": "method",
838         "href": "Observable.html#Ext-util-Observable-method-relayEvents",
839         "shortDoc": "Relays selected events from the specified Observable as if the events were fired by this. ...",
840         "static": false,
841         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
842         "private": false,
843         "params": [
844           {
845             "type": "Object",
846             "optional": false,
847             "doc": "<p>The Observable whose events this object is to relay.</p>\n",
848             "name": "origin"
849           },
850           {
851             "type": "[String]",
852             "optional": false,
853             "doc": "<p>Array of event names to relay.</p>\n",
854             "name": "events"
855           },
856           {
857             "type": "Object",
858             "optional": false,
859             "doc": "\n",
860             "name": "prefix"
861           }
862         ],
863         "name": "relayEvents",
864         "owner": "Ext.util.Observable",
865         "doc": "<p>Relays selected events from the specified Observable as if the events were fired by <code>this</code>.</p>\n",
866         "linenr": 573,
867         "return": {
868           "type": "void",
869           "doc": "\n"
870         },
871         "html_filename": "Observable.html"
872       },
873       {
874         "deprecated": null,
875         "alias": null,
876         "protected": false,
877         "tagname": "method",
878         "href": "Observable.html#Ext-util-Observable-method-releaseCapture",
879         "shortDoc": "Removes all added captures from the Observable. ...",
880         "static": true,
881         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
882         "private": false,
883         "params": [
884           {
885             "type": "Observable",
886             "optional": false,
887             "doc": "<p>The Observable to release</p>\n",
888             "name": "o"
889           }
890         ],
891         "name": "releaseCapture",
892         "owner": "Ext.util.Observable",
893         "doc": "<p>Removes <strong>all</strong> added captures from the Observable.</p>\n",
894         "linenr": 44,
895         "return": {
896           "type": "void",
897           "doc": "\n"
898         },
899         "html_filename": "Observable.html"
900       },
901       {
902         "deprecated": null,
903         "alias": null,
904         "protected": false,
905         "tagname": "method",
906         "href": "Observable.html#Ext-util-Observable-method-removeListener",
907         "shortDoc": "Removes an event handler. ...",
908         "static": false,
909         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
910         "private": false,
911         "params": [
912           {
913             "type": "String",
914             "optional": false,
915             "doc": "<p>The type of event the handler was associated with.</p>\n",
916             "name": "eventName"
917           },
918           {
919             "type": "Function",
920             "optional": false,
921             "doc": "<p>The handler to remove. <strong>This must be a reference to the function passed into the\n<a href=\"#/api/Ext.direct.Manager-method-addListener\" rel=\"Ext.direct.Manager-method-addListener\" class=\"docClass\">addListener</a> call.</strong></p>\n",
922             "name": "handler"
923           },
924           {
925             "type": "Object",
926             "optional": true,
927             "doc": "<p>(optional) The scope originally specified for the handler.</p>\n",
928             "name": "scope"
929           }
930         ],
931         "name": "removeListener",
932         "owner": "Ext.util.Observable",
933         "doc": "<p>Removes an event handler.</p>\n",
934         "linenr": 392,
935         "return": {
936           "type": "void",
937           "doc": "\n"
938         },
939         "html_filename": "Observable.html"
940       },
941       {
942         "deprecated": null,
943         "alias": null,
944         "protected": false,
945         "tagname": "method",
946         "href": "Observable.html#Ext-util-Observable-method-removeManagedListener",
947         "shortDoc": "Removes listeners that were added by the mon method. ...",
948         "static": false,
949         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
950         "private": false,
951         "params": [
952           {
953             "type": "Observable|Element",
954             "optional": false,
955             "doc": "<p>The item from which to remove a listener/listeners.</p>\n",
956             "name": "item"
957           },
958           {
959             "type": "Object|String",
960             "optional": false,
961             "doc": "<p>The event name, or an object containing event name properties.</p>\n",
962             "name": "ename"
963           },
964           {
965             "type": "Function",
966             "optional": false,
967             "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this is the handler function.</p>\n",
968             "name": "fn"
969           },
970           {
971             "type": "Object",
972             "optional": false,
973             "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",
974             "name": "scope"
975           }
976         ],
977         "name": "removeManagedListener",
978         "owner": "Ext.util.Observable",
979         "doc": "<p>Removes listeners that were added by the <a href=\"#/api/Ext.direct.Manager-method-mon\" rel=\"Ext.direct.Manager-method-mon\" class=\"docClass\">mon</a> method.</p>\n",
980         "linenr": 197,
981         "return": {
982           "type": "void",
983           "doc": "\n"
984         },
985         "html_filename": "Observable.html"
986       },
987       {
988         "deprecated": null,
989         "alias": null,
990         "protected": false,
991         "tagname": "method",
992         "href": "Manager4.html#Ext-direct-Manager-method-removeProvider",
993         "shortDoc": "Removes the provider. ...",
994         "static": false,
995         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/direct/Manager.js",
996         "private": false,
997         "params": [
998           {
999             "type": "String/Ext.direct.Provider",
1000             "optional": false,
1001             "doc": "<p>The provider instance or the id of the provider.</p>\n",
1002             "name": "provider"
1003           }
1004         ],
1005         "name": "removeProvider",
1006         "owner": "Ext.direct.Manager",
1007         "doc": "<p>Removes the provider.</p>\n",
1008         "linenr": 177,
1009         "return": {
1010           "type": "Ext.direct.Provider",
1011           "doc": "<p>The provider, null if not found.</p>\n"
1012         },
1013         "html_filename": "Manager4.html"
1014       },
1015       {
1016         "deprecated": null,
1017         "alias": null,
1018         "protected": false,
1019         "tagname": "method",
1020         "href": "Observable.html#Ext-util-Observable-method-resumeEvents",
1021         "shortDoc": "Resumes firing events (see suspendEvents). ...",
1022         "static": false,
1023         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1024         "private": false,
1025         "params": [
1026
1027         ],
1028         "name": "resumeEvents",
1029         "owner": "Ext.util.Observable",
1030         "doc": "<p>Resumes firing events (see <a href=\"#/api/Ext.direct.Manager-method-suspendEvents\" rel=\"Ext.direct.Manager-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",
1031         "linenr": 554,
1032         "return": {
1033           "type": "void",
1034           "doc": "\n"
1035         },
1036         "html_filename": "Observable.html"
1037       },
1038       {
1039         "deprecated": null,
1040         "alias": null,
1041         "protected": true,
1042         "tagname": "method",
1043         "href": "Base3.html#Ext-Base-method-statics",
1044         "shortDoc": "Get the reference to the class from which this object was instantiated. ...",
1045         "static": false,
1046         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
1047         "private": false,
1048         "params": [
1049
1050         ],
1051         "name": "statics",
1052         "owner": "Ext.Base",
1053         "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",
1054         "linenr": 199,
1055         "return": {
1056           "type": "Class",
1057           "doc": "\n"
1058         },
1059         "html_filename": "Base3.html"
1060       },
1061       {
1062         "deprecated": null,
1063         "alias": null,
1064         "protected": false,
1065         "tagname": "method",
1066         "href": "Observable.html#Ext-util-Observable-method-suspendEvents",
1067         "shortDoc": "Suspends the firing of all events. ...",
1068         "static": false,
1069         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1070         "private": false,
1071         "params": [
1072           {
1073             "type": "Boolean",
1074             "optional": false,
1075             "doc": "<p>Pass as true to queue up suspended events to be fired\nafter the <a href=\"#/api/Ext.direct.Manager-method-resumeEvents\" rel=\"Ext.direct.Manager-method-resumeEvents\" class=\"docClass\">resumeEvents</a> call instead of discarding all suspended events.</p>\n",
1076             "name": "queueSuspended"
1077           }
1078         ],
1079         "name": "suspendEvents",
1080         "owner": "Ext.util.Observable",
1081         "doc": "<p>Suspends the firing of all events. (see <a href=\"#/api/Ext.direct.Manager-method-resumeEvents\" rel=\"Ext.direct.Manager-method-resumeEvents\" class=\"docClass\">resumeEvents</a>)</p>\n",
1082         "linenr": 541,
1083         "return": {
1084           "type": "void",
1085           "doc": "\n"
1086         },
1087         "html_filename": "Observable.html"
1088       },
1089       {
1090         "deprecated": null,
1091         "alias": {
1092           "tagname": "alias",
1093           "cls": "Ext.util.Observable",
1094           "doc": null,
1095           "owner": "removeListener"
1096         },
1097         "protected": false,
1098         "tagname": "method",
1099         "href": "Observable.html#Ext-util-Observable-method-un",
1100         "shortDoc": "Shorthand for removeListener. ...",
1101         "static": false,
1102         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1103         "private": false,
1104         "params": [
1105           {
1106             "type": "String",
1107             "optional": false,
1108             "doc": "<p>The type of event the handler was associated with.</p>\n",
1109             "name": "eventName"
1110           },
1111           {
1112             "type": "Function",
1113             "optional": false,
1114             "doc": "<p>The handler to remove. <strong>This must be a reference to the function passed into the\n<a href=\"#/api/Ext.direct.Manager-method-addListener\" rel=\"Ext.direct.Manager-method-addListener\" class=\"docClass\">addListener</a> call.</strong></p>\n",
1115             "name": "handler"
1116           },
1117           {
1118             "type": "Object",
1119             "optional": true,
1120             "doc": "<p>(optional) The scope originally specified for the handler.</p>\n",
1121             "name": "scope"
1122           }
1123         ],
1124         "name": "un",
1125         "owner": "Ext.util.Observable",
1126         "doc": "<p>Shorthand for <a href=\"#/api/Ext.direct.Manager-method-removeListener\" rel=\"Ext.direct.Manager-method-removeListener\" class=\"docClass\">removeListener</a>.</p>\n\n<p>Removes an event handler.</p>\n",
1127         "linenr": 675,
1128         "return": {
1129           "type": "void",
1130           "doc": "\n"
1131         },
1132         "html_filename": "Observable.html"
1133       }
1134     ],
1135     "property": [
1136       {
1137         "type": "Class",
1138         "deprecated": null,
1139         "alias": null,
1140         "protected": true,
1141         "tagname": "property",
1142         "href": "Base3.html#Ext-Base-property-self",
1143         "shortDoc": "Get the reference to the current class from which this object was instantiated. ...",
1144         "static": false,
1145         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
1146         "private": false,
1147         "name": "self",
1148         "owner": "Ext.Base",
1149         "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",
1150         "linenr": 18,
1151         "html_filename": "Base3.html"
1152       }
1153     ],
1154     "cssVar": [
1155
1156     ],
1157     "cssMixin": [
1158
1159     ],
1160     "event": [
1161       {
1162         "deprecated": null,
1163         "alias": null,
1164         "protected": false,
1165         "tagname": "event",
1166         "href": "Manager4.html#Ext-direct-Manager-event-event",
1167         "shortDoc": "Fires after an event. ...",
1168         "static": false,
1169         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/direct/Manager.js",
1170         "private": false,
1171         "params": [
1172           {
1173             "type": "event",
1174             "optional": false,
1175             "doc": "<p>The <a href=\"#/api/Ext.direct.Event\" rel=\"Ext.direct.Event\" class=\"docClass\">Ext.direct.Event</a> type that occurred.</p>\n",
1176             "name": "e"
1177           },
1178           {
1179             "type": "Ext.direct.Provider",
1180             "optional": false,
1181             "doc": "<p>The <a href=\"#/api/Ext.direct.Provider\" rel=\"Ext.direct.Provider\" class=\"docClass\">Provider</a>.</p>\n",
1182             "name": "provider"
1183           },
1184           {
1185             "type": "Object",
1186             "tagname": "param",
1187             "name": "options",
1188             "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"
1189           }
1190         ],
1191         "name": "event",
1192         "owner": "Ext.direct.Manager",
1193         "doc": "<p>Fires after an event.</p>\n",
1194         "linenr": 84,
1195         "html_filename": "Manager4.html"
1196       },
1197       {
1198         "deprecated": null,
1199         "alias": null,
1200         "protected": false,
1201         "tagname": "event",
1202         "href": "Manager4.html#Ext-direct-Manager-event-exception",
1203         "shortDoc": "Fires after an event exception. ...",
1204         "static": false,
1205         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/direct/Manager.js",
1206         "private": false,
1207         "params": [
1208           {
1209             "type": "event",
1210             "optional": false,
1211             "doc": "<p>The <a href=\"#/api/Ext.direct.Event\" rel=\"Ext.direct.Event\" class=\"docClass\">Ext.direct.Event</a> type that occurred.</p>\n",
1212             "name": "e"
1213           },
1214           {
1215             "type": "Object",
1216             "tagname": "param",
1217             "name": "options",
1218             "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"
1219           }
1220         ],
1221         "name": "exception",
1222         "owner": "Ext.direct.Manager",
1223         "doc": "<p>Fires after an event exception.</p>\n",
1224         "linenr": 91,
1225         "html_filename": "Manager4.html"
1226       }
1227     ]
1228   },
1229   "singleton": true,
1230   "alias": null,
1231   "superclasses": [
1232     "Ext.Base"
1233   ],
1234   "protected": false,
1235   "tagname": "class",
1236   "mixins": [
1237     "Ext.util.Observable"
1238   ],
1239   "href": "Manager4.html#Ext-direct-Manager",
1240   "subclasses": [
1241
1242   ],
1243   "static": false,
1244   "author": null,
1245   "component": false,
1246   "filename": "/mnt/ebs/nightly/git/SDK/platform/src/direct/Manager.js",
1247   "private": false,
1248   "alternateClassNames": [
1249
1250   ],
1251   "name": "Ext.direct.Manager",
1252   "doc": "<p><b><u>Overview</u></b></p>\n\n\n\n\n<p>Ext.Direct aims to streamline communication between the client and server\nby providing a single interface that reduces the amount of common code\ntypically required to validate data and handle returned data packets\n(reading data, error conditions, etc).</p>\n\n\n\n\n<p>The Ext.direct namespace includes several classes for a closer integration\nwith the server-side. The Ext.data namespace also includes classes for working\nwith Ext.data.Stores which are backed by data from an Ext.Direct method.</p>\n\n\n\n\n<p><b><u>Specification</u></b></p>\n\n\n\n\n<p>For additional information consult the\n<a href=\"http://sencha.com/products/extjs/extdirect\">Ext.Direct Specification</a>.</p>\n\n\n\n\n<p><b><u>Providers</u></b></p>\n\n\n\n\n<p>Ext.Direct uses a provider architecture, where one or more providers are\nused to transport data to and from the server. There are several providers\nthat exist in the core at the moment:</p>\n\n\n<div class=\"mdetail-params\"><ul>\n\n<li><a href=\"#/api/Ext.direct.JsonProvider\" rel=\"Ext.direct.JsonProvider\" class=\"docClass\">JsonProvider</a> for simple JSON operations</li>\n<li><a href=\"#/api/Ext.direct.PollingProvider\" rel=\"Ext.direct.PollingProvider\" class=\"docClass\">PollingProvider</a> for repeated requests</li>\n<li><a href=\"#/api/Ext.direct.RemotingProvider\" rel=\"Ext.direct.RemotingProvider\" class=\"docClass\">RemotingProvider</a> exposes server side\non the client.</li>\n</ul></div>\n\n\n\n\n<p>A provider does not need to be invoked directly, providers are added via\n<a href=\"#/api/Ext.direct.Manager\" rel=\"Ext.direct.Manager\" class=\"docClass\">Ext.direct.Manager</a>.<a href=\"#/api/Ext.direct.Manager-method-addProvider\" rel=\"Ext.direct.Manager-method-addProvider\" class=\"docClass\">addProvider</a>.</p>\n\n\n\n\n<p><b><u>Router</u></b></p>\n\n\n\n\n<p>Ext.Direct utilizes a \"router\" on the server to direct requests from the client\nto the appropriate server-side method. Because the Ext.Direct API is completely\nplatform-agnostic, you could completely swap out a Java based server solution\nand replace it with one that uses C# without changing the client side JavaScript\nat all.</p>\n\n\n\n\n<p><b><u>Server side events</u></b></p>\n\n\n\n\n<p>Custom events from the server may be handled by the client by adding\nlisteners, for example:</p>\n\n\n<pre><code>{\"type\":\"event\",\"name\":\"message\",\"data\":\"Successfully polled at: 11:19:30 am\"}\n\n// add a handler for a 'message' event sent by the server\nExt.direct.Manager.on('message', function(e){\n    out.append(String.format('&lt;p>&lt;i>{0}&lt;/i>&lt;/p>', e.data));\n            out.el.scrollTo('t', 100000, true);\n});\n</code></pre>\n\n",
1253   "mixedInto": [
1254
1255   ],
1256   "linenr": 1,
1257   "xtypes": [
1258
1259   ],
1260   "html_filename": "Manager4.html",
1261   "extends": "Ext.Base"
1262 });