Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / docs / output / Ext.Action.js
1 Ext.data.JsonP.Ext_Action({
2   "allMixins": [
3
4   ],
5   "deprecated": null,
6   "docauthor": null,
7   "members": {
8     "cfg": [
9       {
10         "type": "Boolean",
11         "deprecated": null,
12         "alias": null,
13         "protected": false,
14         "tagname": "cfg",
15         "href": "Action2.html#Ext-Action-cfg-disabled",
16         "static": false,
17         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
18         "private": false,
19         "name": "disabled",
20         "owner": "Ext.Action",
21         "doc": "<p>True to disable all components configured by this Action, false to enable them (defaults to false).</p>\n",
22         "linenr": 83,
23         "html_filename": "Action2.html"
24       },
25       {
26         "type": "Function",
27         "deprecated": null,
28         "alias": null,
29         "protected": false,
30         "tagname": "cfg",
31         "href": "Action2.html#Ext-Action-cfg-handler",
32         "shortDoc": "The function that will be invoked by each component tied to this Action\nwhen the component's primary event is trigger...",
33         "static": false,
34         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
35         "private": false,
36         "name": "handler",
37         "owner": "Ext.Action",
38         "doc": "<p>The function that will be invoked by each component tied to this Action\nwhen the component's primary event is triggered (defaults to undefined).</p>\n",
39         "linenr": 89,
40         "html_filename": "Action2.html"
41       },
42       {
43         "type": "Boolean",
44         "deprecated": null,
45         "alias": null,
46         "protected": false,
47         "tagname": "cfg",
48         "href": "Action2.html#Ext-Action-cfg-hidden",
49         "static": false,
50         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
51         "private": false,
52         "name": "hidden",
53         "owner": "Ext.Action",
54         "doc": "<p>True to hide all components configured by this Action, false to show them (defaults to false).</p>\n",
55         "linenr": 86,
56         "html_filename": "Action2.html"
57       },
58       {
59         "type": "String",
60         "deprecated": null,
61         "alias": null,
62         "protected": false,
63         "tagname": "cfg",
64         "href": "Action2.html#Ext-Action-cfg-iconCls",
65         "shortDoc": "The CSS class selector that specifies a background image to be used as the header icon for\nall components configured ...",
66         "static": false,
67         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
68         "private": false,
69         "name": "iconCls",
70         "owner": "Ext.Action",
71         "doc": "<p>The CSS class selector that specifies a background image to be used as the header icon for\nall components configured by this Action (defaults to '').</p>\n\n<p>An example of specifying a custom icon class would be something like:\n</p>\n\n\n<pre><code>// specify the property in the config for the class:\n     ...\n     iconCls: 'do-something'\n\n// css class that specifies background image to be used as the icon image:\n.do-something { background-image: url(../images/my-icon.gif) 0 6px no-repeat !important; }\n</code></pre>\n\n",
72         "linenr": 69,
73         "html_filename": "Action2.html"
74       },
75       {
76         "type": "String",
77         "deprecated": null,
78         "alias": null,
79         "protected": false,
80         "tagname": "cfg",
81         "href": "Action2.html#Ext-Action-cfg-itemId",
82         "static": false,
83         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
84         "private": false,
85         "name": "itemId",
86         "owner": "Ext.Action",
87         "doc": "<p>See <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Ext.Component</a>.<a href=\"#/api/Ext.Component-cfg-itemId\" rel=\"Ext.Component-cfg-itemId\" class=\"docClass\">itemId</a>.</p>\n",
88         "linenr": 93,
89         "html_filename": "Action2.html"
90       },
91       {
92         "type": "Object",
93         "deprecated": null,
94         "alias": null,
95         "protected": false,
96         "tagname": "cfg",
97         "href": "Action2.html#Ext-Action-cfg-scope",
98         "shortDoc": "The scope (this reference) in which the\nhandler is executed. ...",
99         "static": false,
100         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
101         "private": false,
102         "name": "scope",
103         "owner": "Ext.Action",
104         "doc": "<p>The scope (<code><b>this</b></code> reference) in which the\n<code><a href=\"#/api/Ext.Action-cfg-handler\" rel=\"Ext.Action-cfg-handler\" class=\"docClass\">handler</a></code> is executed. Defaults to the browser window.</p>\n",
105         "linenr": 97,
106         "html_filename": "Action2.html"
107       },
108       {
109         "type": "String",
110         "deprecated": null,
111         "alias": null,
112         "protected": false,
113         "tagname": "cfg",
114         "href": "Action2.html#Ext-Action-cfg-text",
115         "static": false,
116         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
117         "private": false,
118         "name": "text",
119         "owner": "Ext.Action",
120         "doc": "<p>The text to set for all components configured by this Action (defaults to '').</p>\n",
121         "linenr": 66,
122         "html_filename": "Action2.html"
123       }
124     ],
125     "method": [
126       {
127         "deprecated": null,
128         "alias": null,
129         "href": "Action2.html#Ext-Action-method-constructor",
130         "tagname": "method",
131         "protected": false,
132         "shortDoc": "Creates new Action. ...",
133         "static": false,
134         "params": [
135           {
136             "type": "Object",
137             "optional": false,
138             "doc": "<p>Config object.</p>\n",
139             "name": "config"
140           }
141         ],
142         "private": false,
143         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
144         "doc": "<p>Creates new Action.</p>\n",
145         "owner": "Ext.Action",
146         "name": "Action",
147         "html_filename": "Action2.html",
148         "return": {
149           "type": "Object",
150           "doc": "\n"
151         },
152         "linenr": 102
153       },
154       {
155         "deprecated": null,
156         "alias": null,
157         "protected": false,
158         "tagname": "method",
159         "href": "Base3.html#Ext-Base-method-addStatics",
160         "shortDoc": "Add / override static properties of this class. ...",
161         "static": true,
162         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
163         "private": false,
164         "params": [
165           {
166             "type": "Object",
167             "optional": false,
168             "doc": "\n",
169             "name": "members"
170           }
171         ],
172         "name": "addStatics",
173         "owner": "Ext.Base",
174         "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",
175         "linenr": 388,
176         "return": {
177           "type": "Ext.Base",
178           "doc": "<p>this</p>\n"
179         },
180         "html_filename": "Base3.html"
181       },
182       {
183         "deprecated": null,
184         "alias": null,
185         "protected": false,
186         "tagname": "method",
187         "href": "Base3.html#Ext-Base-method-callOverridden",
188         "shortDoc": "Call the original method that was previously overridden with Ext.Base.override\n\nExt.define('My.Cat', {\n    constructo...",
189         "static": false,
190         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
191         "private": false,
192         "params": [
193           {
194             "type": "Array/Arguments",
195             "optional": false,
196             "doc": "<p>The arguments, either an array or the <code>arguments</code> object</p>\n",
197             "name": "args"
198           }
199         ],
200         "name": "callOverridden",
201         "owner": "Ext.Base",
202         "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",
203         "linenr": 269,
204         "return": {
205           "type": "Mixed",
206           "doc": "<p>Returns the result after calling the overridden method</p>\n"
207         },
208         "html_filename": "Base3.html"
209       },
210       {
211         "deprecated": null,
212         "alias": null,
213         "protected": true,
214         "tagname": "method",
215         "href": "Base3.html#Ext-Base-method-callParent",
216         "shortDoc": "Call the parent's overridden method. ...",
217         "static": false,
218         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
219         "private": false,
220         "params": [
221           {
222             "type": "Array/Arguments",
223             "optional": false,
224             "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",
225             "name": "args"
226           }
227         ],
228         "name": "callParent",
229         "owner": "Ext.Base",
230         "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",
231         "linenr": 124,
232         "return": {
233           "type": "Mixed",
234           "doc": "<p>Returns the result from the superclass' method</p>\n"
235         },
236         "html_filename": "Base3.html"
237       },
238       {
239         "deprecated": null,
240         "alias": null,
241         "protected": false,
242         "tagname": "method",
243         "href": "Base3.html#Ext-Base-method-create",
244         "shortDoc": "Create a new instance of this Class. ...",
245         "static": true,
246         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
247         "private": false,
248         "params": [
249
250         ],
251         "name": "create",
252         "owner": "Ext.Base",
253         "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",
254         "linenr": 329,
255         "return": {
256           "type": "Object",
257           "doc": "<p>the created instance.</p>\n"
258         },
259         "html_filename": "Base3.html"
260       },
261       {
262         "deprecated": null,
263         "alias": null,
264         "protected": false,
265         "tagname": "method",
266         "href": "Base3.html#Ext-Base-method-createAlias",
267         "shortDoc": "Create aliases for existing prototype methods. ...",
268         "static": true,
269         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
270         "private": false,
271         "params": [
272           {
273             "type": "String/Object",
274             "optional": false,
275             "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",
276             "name": "alias"
277           },
278           {
279             "type": "String/Object",
280             "optional": false,
281             "doc": "<p>The original method name</p>\n",
282             "name": "origin"
283           }
284         ],
285         "name": "createAlias",
286         "owner": "Ext.Base",
287         "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",
288         "linenr": 648,
289         "return": {
290           "type": "void",
291           "doc": "\n"
292         },
293         "html_filename": "Base3.html"
294       },
295       {
296         "deprecated": null,
297         "alias": null,
298         "protected": false,
299         "tagname": "method",
300         "href": "Action2.html#Ext-Action-method-disable",
301         "shortDoc": "Disables all components configured by this Action. ...",
302         "static": false,
303         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
304         "private": false,
305         "params": [
306
307         ],
308         "name": "disable",
309         "owner": "Ext.Action",
310         "doc": "<p>Disables all components configured by this Action.</p>\n",
311         "linenr": 165,
312         "return": {
313           "type": "void",
314           "doc": "\n"
315         },
316         "html_filename": "Action2.html"
317       },
318       {
319         "deprecated": null,
320         "alias": null,
321         "protected": false,
322         "tagname": "method",
323         "href": "Action2.html#Ext-Action-method-each",
324         "shortDoc": "Executes the specified function once for each Component currently tied to this Action. ...",
325         "static": false,
326         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
327         "private": false,
328         "params": [
329           {
330             "type": "Function",
331             "optional": false,
332             "doc": "<p>The function to execute for each component</p>\n",
333             "name": "fn"
334           },
335           {
336             "type": "Object",
337             "optional": false,
338             "doc": "<p>The scope (<code>this</code> reference) in which the function is executed.  Defaults to the Component.</p>\n",
339             "name": "scope"
340           }
341         ],
342         "name": "each",
343         "owner": "Ext.Action",
344         "doc": "<p>Executes the specified function once for each Component currently tied to this Action.  The function passed\nin should accept a single argument that will be an object that supports the basic Action config/method interface.</p>\n",
345         "linenr": 222,
346         "return": {
347           "type": "void",
348           "doc": "\n"
349         },
350         "html_filename": "Action2.html"
351       },
352       {
353         "deprecated": null,
354         "alias": null,
355         "protected": false,
356         "tagname": "method",
357         "href": "Action2.html#Ext-Action-method-enable",
358         "shortDoc": "Enables all components configured by this Action. ...",
359         "static": false,
360         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
361         "private": false,
362         "params": [
363
364         ],
365         "name": "enable",
366         "owner": "Ext.Action",
367         "doc": "<p>Enables all components configured by this Action.</p>\n",
368         "linenr": 158,
369         "return": {
370           "type": "void",
371           "doc": "\n"
372         },
373         "html_filename": "Action2.html"
374       },
375       {
376         "deprecated": null,
377         "alias": null,
378         "protected": false,
379         "tagname": "method",
380         "href": "Action2.html#Ext-Action-method-execute",
381         "shortDoc": "Executes this Action manually using the handler function specified in the original config object\nor the handler funct...",
382         "static": false,
383         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
384         "private": false,
385         "params": [
386           {
387             "type": "Mixed",
388             "optional": true,
389             "doc": "<p>(optional) Variable number of arguments passed to the handler function</p>\n",
390             "name": "arg1"
391           },
392           {
393             "type": "Mixed",
394             "optional": true,
395             "doc": "<p>(optional)</p>\n",
396             "name": "arg2"
397           },
398           {
399             "type": "Mixed",
400             "optional": true,
401             "doc": "<p>... (optional)</p>\n",
402             "name": "etc"
403           }
404         ],
405         "name": "execute",
406         "owner": "Ext.Action",
407         "doc": "<p>Executes this Action manually using the handler function specified in the original config object\nor the handler function set with <code><a href=\"#/api/Ext.Action-method-setHandler\" rel=\"Ext.Action-method-setHandler\" class=\"docClass\">setHandler</a></code>.  Any arguments passed to this\nfunction will be passed on to the handler function.</p>\n",
408         "linenr": 254,
409         "return": {
410           "type": "void",
411           "doc": "\n"
412         },
413         "html_filename": "Action2.html"
414       },
415       {
416         "deprecated": null,
417         "alias": null,
418         "protected": false,
419         "tagname": "method",
420         "href": "Action2.html#Ext-Action-method-getIconCls",
421         "shortDoc": "Gets the icon CSS class currently used by all components configured by this Action. ...",
422         "static": false,
423         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
424         "private": false,
425         "params": [
426
427         ],
428         "name": "getIconCls",
429         "owner": "Ext.Action",
430         "doc": "<p>Gets the icon CSS class currently used by all components configured by this Action.</p>\n",
431         "linenr": 141,
432         "return": {
433           "type": "void",
434           "doc": "\n"
435         },
436         "html_filename": "Action2.html"
437       },
438       {
439         "deprecated": null,
440         "alias": null,
441         "protected": false,
442         "tagname": "method",
443         "href": "Base3.html#Ext-Base-method-getName",
444         "shortDoc": "Get the current class' name in string format. ...",
445         "static": false,
446         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
447         "private": false,
448         "params": [
449
450         ],
451         "name": "getName",
452         "owner": "Ext.Base",
453         "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",
454         "linenr": 631,
455         "return": {
456           "type": "String",
457           "doc": "<p>className</p>\n"
458         },
459         "html_filename": "Base3.html"
460       },
461       {
462         "deprecated": null,
463         "alias": null,
464         "protected": false,
465         "tagname": "method",
466         "href": "Action2.html#Ext-Action-method-getText",
467         "shortDoc": "Gets the text currently displayed by all components configured by this Action. ...",
468         "static": false,
469         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
470         "private": false,
471         "params": [
472
473         ],
474         "name": "getText",
475         "owner": "Ext.Action",
476         "doc": "<p>Gets the text currently displayed by all components configured by this Action.</p>\n",
477         "linenr": 124,
478         "return": {
479           "type": "void",
480           "doc": "\n"
481         },
482         "html_filename": "Action2.html"
483       },
484       {
485         "deprecated": null,
486         "alias": null,
487         "protected": false,
488         "tagname": "method",
489         "href": "Action2.html#Ext-Action-method-hide",
490         "shortDoc": "Hides all components configured by this Action. ...",
491         "static": false,
492         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
493         "private": false,
494         "params": [
495
496         ],
497         "name": "hide",
498         "owner": "Ext.Action",
499         "doc": "<p>Hides all components configured by this Action.</p>\n",
500         "linenr": 196,
501         "return": {
502           "type": "void",
503           "doc": "\n"
504         },
505         "html_filename": "Action2.html"
506       },
507       {
508         "deprecated": null,
509         "alias": null,
510         "protected": false,
511         "tagname": "method",
512         "href": "Base3.html#Ext-Base-method-implement",
513         "shortDoc": "Add methods / properties to the prototype of this class. ...",
514         "static": true,
515         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
516         "private": false,
517         "params": [
518           {
519             "type": "Object",
520             "optional": false,
521             "doc": "\n",
522             "name": "members"
523           }
524         ],
525         "name": "implement",
526         "owner": "Ext.Base",
527         "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",
528         "linenr": 415,
529         "return": {
530           "type": "void",
531           "doc": "\n"
532         },
533         "html_filename": "Base3.html"
534       },
535       {
536         "deprecated": null,
537         "alias": null,
538         "protected": true,
539         "tagname": "method",
540         "href": "Base3.html#Ext-Base-method-initConfig",
541         "shortDoc": "Initialize configuration for this class. ...",
542         "static": false,
543         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
544         "private": false,
545         "params": [
546           {
547             "type": "Object",
548             "optional": false,
549             "doc": "\n",
550             "name": "config"
551           }
552         ],
553         "name": "initConfig",
554         "owner": "Ext.Base",
555         "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",
556         "linenr": 63,
557         "return": {
558           "type": "Object",
559           "doc": "<p>mixins The mixin prototypes as key - value pairs</p>\n"
560         },
561         "html_filename": "Base3.html"
562       },
563       {
564         "deprecated": null,
565         "alias": null,
566         "protected": false,
567         "tagname": "method",
568         "href": "Action2.html#Ext-Action-method-isDisabled",
569         "shortDoc": "Returns true if the components using this Action are currently disabled, else returns false. ...",
570         "static": false,
571         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
572         "private": false,
573         "params": [
574
575         ],
576         "name": "isDisabled",
577         "owner": "Ext.Action",
578         "doc": "<p>Returns true if the components using this Action are currently disabled, else returns false.</p>\n",
579         "linenr": 172,
580         "return": {
581           "type": "void",
582           "doc": "\n"
583         },
584         "html_filename": "Action2.html"
585       },
586       {
587         "deprecated": null,
588         "alias": null,
589         "protected": false,
590         "tagname": "method",
591         "href": "Action2.html#Ext-Action-method-isHidden",
592         "shortDoc": "Returns true if the components configured by this Action are currently hidden, else returns false. ...",
593         "static": false,
594         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
595         "private": false,
596         "params": [
597
598         ],
599         "name": "isHidden",
600         "owner": "Ext.Action",
601         "doc": "<p>Returns true if the components configured by this Action are currently hidden, else returns false.</p>\n",
602         "linenr": 203,
603         "return": {
604           "type": "void",
605           "doc": "\n"
606         },
607         "html_filename": "Action2.html"
608       },
609       {
610         "deprecated": null,
611         "alias": null,
612         "protected": false,
613         "tagname": "method",
614         "href": "Base3.html#Ext-Base-method-override",
615         "shortDoc": "Override prototype members of this class. ...",
616         "static": true,
617         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
618         "private": false,
619         "params": [
620           {
621             "type": "Object",
622             "optional": false,
623             "doc": "\n",
624             "name": "members"
625           }
626         ],
627         "name": "override",
628         "owner": "Ext.Base",
629         "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",
630         "linenr": 518,
631         "return": {
632           "type": "Ext.Base",
633           "doc": "<p>this</p>\n"
634         },
635         "html_filename": "Base3.html"
636       },
637       {
638         "deprecated": null,
639         "alias": null,
640         "protected": false,
641         "tagname": "method",
642         "href": "Action2.html#Ext-Action-method-setDisabled",
643         "shortDoc": "Sets the disabled state of all components configured by this Action. ...",
644         "static": false,
645         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
646         "private": false,
647         "params": [
648           {
649             "type": "Boolean",
650             "optional": false,
651             "doc": "<p>True to disable the component, false to enable it</p>\n",
652             "name": "disabled"
653           }
654         ],
655         "name": "setDisabled",
656         "owner": "Ext.Action",
657         "doc": "<p>Sets the disabled state of all components configured by this Action.  Shortcut method\nfor <a href=\"#/api/Ext.Action-method-enable\" rel=\"Ext.Action-method-enable\" class=\"docClass\">enable</a> and <a href=\"#/api/Ext.Action-method-disable\" rel=\"Ext.Action-method-disable\" class=\"docClass\">disable</a>.</p>\n",
658         "linenr": 148,
659         "return": {
660           "type": "void",
661           "doc": "\n"
662         },
663         "html_filename": "Action2.html"
664       },
665       {
666         "deprecated": null,
667         "alias": null,
668         "protected": false,
669         "tagname": "method",
670         "href": "Action2.html#Ext-Action-method-setHandler",
671         "shortDoc": "Sets the function that will be called by each Component using this action when its primary event is triggered. ...",
672         "static": false,
673         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
674         "private": false,
675         "params": [
676           {
677             "type": "Function",
678             "optional": false,
679             "doc": "<p>The function that will be invoked by the action's components.  The function\nwill be called with no arguments.</p>\n",
680             "name": "fn"
681           },
682           {
683             "type": "Object",
684             "optional": false,
685             "doc": "<p>The scope (<code>this</code> reference) in which the function is executed. Defaults to the Component firing the event.</p>\n",
686             "name": "scope"
687           }
688         ],
689         "name": "setHandler",
690         "owner": "Ext.Action",
691         "doc": "<p>Sets the function that will be called by each Component using this action when its primary event is triggered.</p>\n",
692         "linenr": 210,
693         "return": {
694           "type": "void",
695           "doc": "\n"
696         },
697         "html_filename": "Action2.html"
698       },
699       {
700         "deprecated": null,
701         "alias": null,
702         "protected": false,
703         "tagname": "method",
704         "href": "Action2.html#Ext-Action-method-setHidden",
705         "shortDoc": "Sets the hidden state of all components configured by this Action. ...",
706         "static": false,
707         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
708         "private": false,
709         "params": [
710           {
711             "type": "Boolean",
712             "optional": false,
713             "doc": "<p>True to hide the component, false to show it</p>\n",
714             "name": "hidden"
715           }
716         ],
717         "name": "setHidden",
718         "owner": "Ext.Action",
719         "doc": "<p>Sets the hidden state of all components configured by this Action.  Shortcut method\nfor <code><a href=\"#/api/Ext.Action-method-hide\" rel=\"Ext.Action-method-hide\" class=\"docClass\">hide</a></code> and <code><a href=\"#/api/Ext.Action-method-show\" rel=\"Ext.Action-method-show\" class=\"docClass\">show</a></code>.</p>\n",
720         "linenr": 179,
721         "return": {
722           "type": "void",
723           "doc": "\n"
724         },
725         "html_filename": "Action2.html"
726       },
727       {
728         "deprecated": null,
729         "alias": null,
730         "protected": false,
731         "tagname": "method",
732         "href": "Action2.html#Ext-Action-method-setIconCls",
733         "shortDoc": "Sets the icon CSS class for all components configured by this Action. ...",
734         "static": false,
735         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
736         "private": false,
737         "params": [
738           {
739             "type": "String",
740             "optional": false,
741             "doc": "<p>The CSS class supplying the icon image</p>\n",
742             "name": "cls"
743           }
744         ],
745         "name": "setIconCls",
746         "owner": "Ext.Action",
747         "doc": "<p>Sets the icon CSS class for all components configured by this Action.  The class should supply\na background image that will be used as the icon image.</p>\n",
748         "linenr": 131,
749         "return": {
750           "type": "void",
751           "doc": "\n"
752         },
753         "html_filename": "Action2.html"
754       },
755       {
756         "deprecated": null,
757         "alias": null,
758         "protected": false,
759         "tagname": "method",
760         "href": "Action2.html#Ext-Action-method-setText",
761         "shortDoc": "Sets the text to be displayed by all components configured by this Action. ...",
762         "static": false,
763         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
764         "private": false,
765         "params": [
766           {
767             "type": "String",
768             "optional": false,
769             "doc": "<p>The text to display</p>\n",
770             "name": "text"
771           }
772         ],
773         "name": "setText",
774         "owner": "Ext.Action",
775         "doc": "<p>Sets the text to be displayed by all components configured by this Action.</p>\n",
776         "linenr": 115,
777         "return": {
778           "type": "void",
779           "doc": "\n"
780         },
781         "html_filename": "Action2.html"
782       },
783       {
784         "deprecated": null,
785         "alias": null,
786         "protected": false,
787         "tagname": "method",
788         "href": "Action2.html#Ext-Action-method-show",
789         "shortDoc": "Shows all components configured by this Action. ...",
790         "static": false,
791         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
792         "private": false,
793         "params": [
794
795         ],
796         "name": "show",
797         "owner": "Ext.Action",
798         "doc": "<p>Shows all components configured by this Action.</p>\n",
799         "linenr": 189,
800         "return": {
801           "type": "void",
802           "doc": "\n"
803         },
804         "html_filename": "Action2.html"
805       },
806       {
807         "deprecated": null,
808         "alias": null,
809         "protected": true,
810         "tagname": "method",
811         "href": "Base3.html#Ext-Base-method-statics",
812         "shortDoc": "Get the reference to the class from which this object was instantiated. ...",
813         "static": false,
814         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
815         "private": false,
816         "params": [
817
818         ],
819         "name": "statics",
820         "owner": "Ext.Base",
821         "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",
822         "linenr": 199,
823         "return": {
824           "type": "Class",
825           "doc": "\n"
826         },
827         "html_filename": "Base3.html"
828       }
829     ],
830     "property": [
831       {
832         "type": "Class",
833         "deprecated": null,
834         "alias": null,
835         "protected": true,
836         "tagname": "property",
837         "href": "Base3.html#Ext-Base-property-self",
838         "shortDoc": "Get the reference to the current class from which this object was instantiated. ...",
839         "static": false,
840         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
841         "private": false,
842         "name": "self",
843         "owner": "Ext.Base",
844         "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",
845         "linenr": 18,
846         "html_filename": "Base3.html"
847       }
848     ],
849     "cssVar": [
850
851     ],
852     "cssMixin": [
853
854     ],
855     "event": [
856
857     ]
858   },
859   "singleton": false,
860   "alias": null,
861   "superclasses": [
862     "Ext.Base"
863   ],
864   "protected": false,
865   "tagname": "class",
866   "mixins": [
867
868   ],
869   "href": "Action2.html#Ext-Action",
870   "subclasses": [
871
872   ],
873   "static": false,
874   "author": null,
875   "component": false,
876   "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/Action.js",
877   "private": false,
878   "alternateClassNames": [
879
880   ],
881   "name": "Ext.Action",
882   "doc": "<p>An Action is a piece of reusable functionality that can be abstracted out of any particular component so that it\ncan be usefully shared among multiple components.  Actions let you share handlers, configuration options and UI\nupdates across any components that support the Action interface (primarily <a href=\"#/api/Ext.toolbar.Toolbar\" rel=\"Ext.toolbar.Toolbar\" class=\"docClass\">Ext.toolbar.Toolbar</a>, <a href=\"#/api/Ext.button.Button\" rel=\"Ext.button.Button\" class=\"docClass\">Ext.button.Button</a>\nand <a href=\"#/api/Ext.menu.Menu\" rel=\"Ext.menu.Menu\" class=\"docClass\">Ext.menu.Menu</a> components).</p>\n\n\n<p>Use a single Action instance as the config object for any number of UI Components which share the same configuration. The\nAction not only supplies the configuration, but allows all Components based upon it to have a common set of methods\ncalled at once through a single call to the Action.</p>\n\n\n<p>Any Component that is to be configured with an Action must also support\nthe following methods:<ul>\n<li><code>setText(string)</code></li>\n<li><code>setIconCls(string)</code></li>\n<li><code>setDisabled(boolean)</code></li>\n<li><code>setVisible(boolean)</code></li>\n<li><code>setHandler(function)</code></li></ul>.</p>\n\n\n<p>This allows the Action to control its associated Components.</p>\n\n\n<p>Example usage:<br></p>\n\n<pre><code>// Define the shared Action.  Each Component below will have the same\n// display text and icon, and will display the same message on click.\nvar action = new Ext.Action({\n    <a href=\"#/api/Ext.Action-cfg-text\" rel=\"Ext.Action-cfg-text\" class=\"docClass\">text</a>: 'Do something',\n    <a href=\"#/api/Ext.Action-cfg-handler\" rel=\"Ext.Action-cfg-handler\" class=\"docClass\">handler</a>: function(){\n        Ext.Msg.alert('Click', 'You did something.');\n    },\n    <a href=\"#/api/Ext.Action-cfg-iconCls\" rel=\"Ext.Action-cfg-iconCls\" class=\"docClass\">iconCls</a>: 'do-something',\n    <a href=\"#/api/Ext.Action-cfg-itemId\" rel=\"Ext.Action-cfg-itemId\" class=\"docClass\">itemId</a>: 'myAction'\n});\n\nvar panel = new Ext.panel.Panel({\n    title: 'Actions',\n    width: 500,\n    height: 300,\n    tbar: [\n        // Add the Action directly to a toolbar as a menu button\n        action,\n        {\n            text: 'Action Menu',\n            // Add the Action to a menu as a text item\n            menu: [action]\n        }\n    ],\n    items: [\n        // Add the Action to the panel body as a standard button\n        new Ext.button.Button(action)\n    ],\n    renderTo: Ext.getBody()\n});\n\n// Change the text for all components using the Action\naction.setText('Something else');\n\n// Reference an Action through a container using the itemId\nvar btn = panel.getComponent('myAction');\nvar aRef = btn.baseAction;\naRef.setText('New text');\n</code></pre>\n\n",
883   "mixedInto": [
884
885   ],
886   "linenr": 1,
887   "xtypes": [
888
889   ],
890   "html_filename": "Action2.html",
891   "extends": "Ext.Base"
892 });