Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / docs / output / Ext.form.FieldAncestor.js
1 Ext.data.JsonP.Ext_form_FieldAncestor({
2   "allMixins": [
3
4   ],
5   "deprecated": null,
6   "docauthor": "Jason Johnston <jason@sencha.com>",
7   "members": {
8     "cfg": [
9       {
10         "type": "Object",
11         "deprecated": null,
12         "alias": null,
13         "protected": false,
14         "tagname": "cfg",
15         "href": "FieldAncestor.html#Ext-form-FieldAncestor-cfg-fieldDefaults",
16         "shortDoc": "If specified, the properties in this object are used as default config values for each\nExt.form.Labelable instance (e.g. ...",
17         "static": false,
18         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/FieldAncestor.js",
19         "private": false,
20         "name": "fieldDefaults",
21         "owner": "Ext.form.FieldAncestor",
22         "doc": "<p>If specified, the properties in this object are used as default config values for each\n<a href=\"#/api/Ext.form.Labelable\" rel=\"Ext.form.Labelable\" class=\"docClass\">Ext.form.Labelable</a> instance (e.g. <a href=\"#/api/Ext.form.field.Base\" rel=\"Ext.form.field.Base\" class=\"docClass\">Ext.form.field.Base</a> or <a href=\"#/api/Ext.form.FieldContainer\" rel=\"Ext.form.FieldContainer\" class=\"docClass\">Ext.form.FieldContainer</a>)\nthat is added as a descendant of this container. Corresponding values specified in an individual field's\nown configuration, or from the <a href=\"#/api/Ext.container.Container-cfg-defaults\" rel=\"Ext.container.Container-cfg-defaults\" class=\"docClass\">defaults config</a> of its parent container,\nwill take precedence. See the documentation for <a href=\"#/api/Ext.form.Labelable\" rel=\"Ext.form.Labelable\" class=\"docClass\">Ext.form.Labelable</a> to see what config\noptions may be specified in the <tt>fieldDefaults</tt>.</p>\n\n\n<p>Example:</p>\n\n\n<pre><code>new Ext.form.Panel({\n    fieldDefaults: {\n        labelAlign: 'left',\n        labelWidth: 100\n    },\n    items: [{\n        xtype: 'fieldset',\n        defaults: {\n            labelAlign: 'top'\n        },\n        items: [{\n            name: 'field1'\n        }, {\n            name: 'field2'\n        }]\n    }, {\n        xtype: 'fieldset',\n        items: [{\n            name: 'field3',\n            labelWidth: 150\n        }, {\n            name: 'field4'\n        }]\n    }]\n});</code></pre>\n\n\n<p>In this example, field1 and field2 will get labelAlign:'top' (from the fieldset's <tt>defaults</tt>)\nand labelWidth:100 (from <tt>fieldDefaults</tt>), field3 and field4 will both get labelAlign:'left' (from\n<tt>fieldDefaults</tt> and field3 will use the labelWidth:150 from its own config.</p>\n\n",
23         "linenr": 22,
24         "html_filename": "FieldAncestor.html"
25       }
26     ],
27     "method": [
28       {
29         "deprecated": null,
30         "alias": null,
31         "protected": false,
32         "tagname": "method",
33         "href": "Base3.html#Ext-Base-method-addStatics",
34         "shortDoc": "Add / override static properties of this class. ...",
35         "static": true,
36         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
37         "private": false,
38         "params": [
39           {
40             "type": "Object",
41             "optional": false,
42             "doc": "\n",
43             "name": "members"
44           }
45         ],
46         "name": "addStatics",
47         "owner": "Ext.Base",
48         "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",
49         "linenr": 388,
50         "return": {
51           "type": "Ext.Base",
52           "doc": "<p>this</p>\n"
53         },
54         "html_filename": "Base3.html"
55       },
56       {
57         "deprecated": null,
58         "alias": null,
59         "protected": false,
60         "tagname": "method",
61         "href": "Base3.html#Ext-Base-method-callOverridden",
62         "shortDoc": "Call the original method that was previously overridden with Ext.Base.override\n\nExt.define('My.Cat', {\n    constructo...",
63         "static": false,
64         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
65         "private": false,
66         "params": [
67           {
68             "type": "Array/Arguments",
69             "optional": false,
70             "doc": "<p>The arguments, either an array or the <code>arguments</code> object</p>\n",
71             "name": "args"
72           }
73         ],
74         "name": "callOverridden",
75         "owner": "Ext.Base",
76         "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",
77         "linenr": 269,
78         "return": {
79           "type": "Mixed",
80           "doc": "<p>Returns the result after calling the overridden method</p>\n"
81         },
82         "html_filename": "Base3.html"
83       },
84       {
85         "deprecated": null,
86         "alias": null,
87         "protected": true,
88         "tagname": "method",
89         "href": "Base3.html#Ext-Base-method-callParent",
90         "shortDoc": "Call the parent's overridden method. ...",
91         "static": false,
92         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
93         "private": false,
94         "params": [
95           {
96             "type": "Array/Arguments",
97             "optional": false,
98             "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",
99             "name": "args"
100           }
101         ],
102         "name": "callParent",
103         "owner": "Ext.Base",
104         "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",
105         "linenr": 124,
106         "return": {
107           "type": "Mixed",
108           "doc": "<p>Returns the result from the superclass' method</p>\n"
109         },
110         "html_filename": "Base3.html"
111       },
112       {
113         "deprecated": null,
114         "alias": null,
115         "protected": false,
116         "tagname": "method",
117         "href": "Base3.html#Ext-Base-method-create",
118         "shortDoc": "Create a new instance of this Class. ...",
119         "static": true,
120         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
121         "private": false,
122         "params": [
123
124         ],
125         "name": "create",
126         "owner": "Ext.Base",
127         "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",
128         "linenr": 329,
129         "return": {
130           "type": "Object",
131           "doc": "<p>the created instance.</p>\n"
132         },
133         "html_filename": "Base3.html"
134       },
135       {
136         "deprecated": null,
137         "alias": null,
138         "protected": false,
139         "tagname": "method",
140         "href": "Base3.html#Ext-Base-method-createAlias",
141         "shortDoc": "Create aliases for existing prototype methods. ...",
142         "static": true,
143         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
144         "private": false,
145         "params": [
146           {
147             "type": "String/Object",
148             "optional": false,
149             "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",
150             "name": "alias"
151           },
152           {
153             "type": "String/Object",
154             "optional": false,
155             "doc": "<p>The original method name</p>\n",
156             "name": "origin"
157           }
158         ],
159         "name": "createAlias",
160         "owner": "Ext.Base",
161         "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",
162         "linenr": 648,
163         "return": {
164           "type": "void",
165           "doc": "\n"
166         },
167         "html_filename": "Base3.html"
168       },
169       {
170         "deprecated": null,
171         "alias": null,
172         "protected": false,
173         "tagname": "method",
174         "href": "Base3.html#Ext-Base-method-getName",
175         "shortDoc": "Get the current class' name in string format. ...",
176         "static": false,
177         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
178         "private": false,
179         "params": [
180
181         ],
182         "name": "getName",
183         "owner": "Ext.Base",
184         "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",
185         "linenr": 631,
186         "return": {
187           "type": "String",
188           "doc": "<p>className</p>\n"
189         },
190         "html_filename": "Base3.html"
191       },
192       {
193         "deprecated": null,
194         "alias": null,
195         "protected": false,
196         "tagname": "method",
197         "href": "Base3.html#Ext-Base-method-implement",
198         "shortDoc": "Add methods / properties to the prototype of this class. ...",
199         "static": true,
200         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
201         "private": false,
202         "params": [
203           {
204             "type": "Object",
205             "optional": false,
206             "doc": "\n",
207             "name": "members"
208           }
209         ],
210         "name": "implement",
211         "owner": "Ext.Base",
212         "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",
213         "linenr": 415,
214         "return": {
215           "type": "void",
216           "doc": "\n"
217         },
218         "html_filename": "Base3.html"
219       },
220       {
221         "deprecated": null,
222         "alias": null,
223         "protected": true,
224         "tagname": "method",
225         "href": "Base3.html#Ext-Base-method-initConfig",
226         "shortDoc": "Initialize configuration for this class. ...",
227         "static": false,
228         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
229         "private": false,
230         "params": [
231           {
232             "type": "Object",
233             "optional": false,
234             "doc": "\n",
235             "name": "config"
236           }
237         ],
238         "name": "initConfig",
239         "owner": "Ext.Base",
240         "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",
241         "linenr": 63,
242         "return": {
243           "type": "Object",
244           "doc": "<p>mixins The mixin prototypes as key - value pairs</p>\n"
245         },
246         "html_filename": "Base3.html"
247       },
248       {
249         "deprecated": null,
250         "alias": null,
251         "protected": true,
252         "tagname": "method",
253         "href": "FieldAncestor.html#Ext-form-FieldAncestor-method-initFieldAncestor",
254         "shortDoc": "Initializes the FieldAncestor's state; this must be called from the initComponent method\nof any components importing ...",
255         "static": false,
256         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/FieldAncestor.js",
257         "private": false,
258         "params": [
259
260         ],
261         "name": "initFieldAncestor",
262         "owner": "Ext.form.FieldAncestor",
263         "doc": "<p>Initializes the FieldAncestor's state; this must be called from the initComponent method\nof any components importing this mixin.</p>\n",
264         "linenr": 62,
265         "return": {
266           "type": "void",
267           "doc": "\n"
268         },
269         "html_filename": "FieldAncestor.html"
270       },
271       {
272         "deprecated": null,
273         "alias": null,
274         "protected": true,
275         "tagname": "method",
276         "href": "FieldAncestor.html#Ext-form-FieldAncestor-method-onFieldAdded",
277         "shortDoc": "Called when a Ext.form.field.Field instance is added to the container's subtree. ...",
278         "static": false,
279         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/FieldAncestor.js",
280         "private": false,
281         "params": [
282           {
283             "type": "Ext.form.field.Field",
284             "optional": false,
285             "doc": "<p>The field which was added</p>\n",
286             "name": "field"
287           }
288         ],
289         "name": "onFieldAdded",
290         "owner": "Ext.form.FieldAncestor",
291         "doc": "<p>Called when a <a href=\"#/api/Ext.form.field.Field\" rel=\"Ext.form.field.Field\" class=\"docClass\">Ext.form.field.Field</a> instance is added to the container's subtree.</p>\n",
292         "linenr": 147,
293         "return": {
294           "type": "void",
295           "doc": "\n"
296         },
297         "html_filename": "FieldAncestor.html"
298       },
299       {
300         "deprecated": null,
301         "alias": null,
302         "protected": true,
303         "tagname": "method",
304         "href": "FieldAncestor.html#Ext-form-FieldAncestor-method-onFieldRemoved",
305         "shortDoc": "Called when a Ext.form.field.Field instance is removed from the container's subtree. ...",
306         "static": false,
307         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/FieldAncestor.js",
308         "private": false,
309         "params": [
310           {
311             "type": "Ext.form.field.Field",
312             "optional": false,
313             "doc": "<p>The field which was removed</p>\n",
314             "name": "field"
315           }
316         ],
317         "name": "onFieldRemoved",
318         "owner": "Ext.form.FieldAncestor",
319         "doc": "<p>Called when a <a href=\"#/api/Ext.form.field.Field\" rel=\"Ext.form.field.Field\" class=\"docClass\">Ext.form.field.Field</a> instance is removed from the container's subtree.</p>\n",
320         "linenr": 165,
321         "return": {
322           "type": "void",
323           "doc": "\n"
324         },
325         "html_filename": "FieldAncestor.html"
326       },
327       {
328         "deprecated": null,
329         "alias": null,
330         "protected": true,
331         "tagname": "method",
332         "href": "FieldAncestor.html#Ext-form-FieldAncestor-method-onLabelableAdded",
333         "shortDoc": "Called when a Ext.form.Labelable instance is added to the container's subtree. ...",
334         "static": false,
335         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/FieldAncestor.js",
336         "private": false,
337         "params": [
338           {
339             "type": "Ext.form.Labelable",
340             "optional": false,
341             "doc": "<p>The instance that was added</p>\n",
342             "name": "labelable"
343           }
344         ],
345         "name": "onLabelableAdded",
346         "owner": "Ext.form.FieldAncestor",
347         "doc": "<p>Called when a <a href=\"#/api/Ext.form.Labelable\" rel=\"Ext.form.Labelable\" class=\"docClass\">Ext.form.Labelable</a> instance is added to the container's subtree.</p>\n",
348         "linenr": 134,
349         "return": {
350           "type": "void",
351           "doc": "\n"
352         },
353         "html_filename": "FieldAncestor.html"
354       },
355       {
356         "deprecated": null,
357         "alias": null,
358         "protected": true,
359         "tagname": "method",
360         "href": "FieldAncestor.html#Ext-form-FieldAncestor-method-onLabelableRemoved",
361         "shortDoc": "Called when a Ext.form.Labelable instance is removed from the container's subtree. ...",
362         "static": false,
363         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/FieldAncestor.js",
364         "private": false,
365         "params": [
366           {
367             "type": "Ext.form.Labelable",
368             "optional": false,
369             "doc": "<p>The instance that was removed</p>\n",
370             "name": "labelable"
371           }
372         ],
373         "name": "onLabelableRemoved",
374         "owner": "Ext.form.FieldAncestor",
375         "doc": "<p>Called when a <a href=\"#/api/Ext.form.Labelable\" rel=\"Ext.form.Labelable\" class=\"docClass\">Ext.form.Labelable</a> instance is removed from the container's subtree.</p>\n",
376         "linenr": 156,
377         "return": {
378           "type": "void",
379           "doc": "\n"
380         },
381         "html_filename": "FieldAncestor.html"
382       },
383       {
384         "deprecated": null,
385         "alias": null,
386         "protected": false,
387         "tagname": "method",
388         "href": "Base3.html#Ext-Base-method-override",
389         "shortDoc": "Override prototype members of this class. ...",
390         "static": true,
391         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
392         "private": false,
393         "params": [
394           {
395             "type": "Object",
396             "optional": false,
397             "doc": "\n",
398             "name": "members"
399           }
400         ],
401         "name": "override",
402         "owner": "Ext.Base",
403         "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",
404         "linenr": 518,
405         "return": {
406           "type": "Ext.Base",
407           "doc": "<p>this</p>\n"
408         },
409         "html_filename": "Base3.html"
410       },
411       {
412         "deprecated": null,
413         "alias": null,
414         "protected": true,
415         "tagname": "method",
416         "href": "Base3.html#Ext-Base-method-statics",
417         "shortDoc": "Get the reference to the class from which this object was instantiated. ...",
418         "static": false,
419         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
420         "private": false,
421         "params": [
422
423         ],
424         "name": "statics",
425         "owner": "Ext.Base",
426         "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",
427         "linenr": 199,
428         "return": {
429           "type": "Class",
430           "doc": "\n"
431         },
432         "html_filename": "Base3.html"
433       }
434     ],
435     "property": [
436       {
437         "type": "Object",
438         "deprecated": null,
439         "alias": null,
440         "protected": true,
441         "tagname": "property",
442         "href": "FieldAncestor.html#Ext-form-FieldAncestor-property-onFieldErrorChange",
443         "static": false,
444         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/FieldAncestor.js",
445         "private": false,
446         "name": "onFieldErrorChange",
447         "owner": "Ext.form.FieldAncestor",
448         "doc": "<p>Fired when the error message of any field within the container changes.</p>\n",
449         "linenr": 199,
450         "html_filename": "FieldAncestor.html"
451       },
452       {
453         "type": "Object",
454         "deprecated": null,
455         "alias": null,
456         "protected": true,
457         "tagname": "property",
458         "href": "FieldAncestor.html#Ext-form-FieldAncestor-property-onFieldValidityChange",
459         "static": false,
460         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/FieldAncestor.js",
461         "private": false,
462         "name": "onFieldValidityChange",
463         "owner": "Ext.form.FieldAncestor",
464         "doc": "<p>Fired when the validity of any field within the container changes.</p>\n",
465         "linenr": 192,
466         "html_filename": "FieldAncestor.html"
467       },
468       {
469         "type": "Class",
470         "deprecated": null,
471         "alias": null,
472         "protected": true,
473         "tagname": "property",
474         "href": "Base3.html#Ext-Base-property-self",
475         "shortDoc": "Get the reference to the current class from which this object was instantiated. ...",
476         "static": false,
477         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
478         "private": false,
479         "name": "self",
480         "owner": "Ext.Base",
481         "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",
482         "linenr": 18,
483         "html_filename": "Base3.html"
484       }
485     ],
486     "cssVar": [
487
488     ],
489     "cssMixin": [
490
491     ],
492     "event": [
493       {
494         "deprecated": null,
495         "alias": null,
496         "protected": false,
497         "tagname": "event",
498         "href": "FieldAncestor.html#Ext-form-FieldAncestor-event-fielderrorchange",
499         "shortDoc": "Fires when the active error message is changed for any one of the Ext.form.Labelable\ninstances within this container. ...",
500         "static": false,
501         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/FieldAncestor.js",
502         "private": false,
503         "params": [
504           {
505             "type": "Ext.form.FieldAncestor",
506             "optional": false,
507             "doc": "\n",
508             "name": "this"
509           },
510           {
511             "type": "Ext.form.Labelable",
512             "optional": false,
513             "doc": "<p>Labelable instance whose active error was changed</p>\n",
514             "name": "The"
515           },
516           {
517             "type": "String",
518             "optional": false,
519             "doc": "<p>The active error message</p>\n",
520             "name": "error"
521           },
522           {
523             "type": "Object",
524             "tagname": "param",
525             "name": "options",
526             "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"
527           }
528         ],
529         "name": "fielderrorchange",
530         "owner": "Ext.form.FieldAncestor",
531         "doc": "<p>Fires when the active error message is changed for any one of the <a href=\"#/api/Ext.form.Labelable\" rel=\"Ext.form.Labelable\" class=\"docClass\">Ext.form.Labelable</a>\ninstances within this container.</p>\n",
532         "linenr": 81,
533         "html_filename": "FieldAncestor.html"
534       }
535     ]
536   },
537   "singleton": false,
538   "alias": null,
539   "superclasses": [
540     "Ext.Base"
541   ],
542   "protected": false,
543   "tagname": "class",
544   "mixins": [
545
546   ],
547   "href": "FieldAncestor.html#Ext-form-FieldAncestor",
548   "subclasses": [
549
550   ],
551   "static": false,
552   "author": null,
553   "component": false,
554   "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/form/FieldAncestor.js",
555   "private": false,
556   "alternateClassNames": [
557
558   ],
559   "name": "Ext.form.FieldAncestor",
560   "doc": "<p>A mixin for <a href=\"#/api/Ext.container.Container\" rel=\"Ext.container.Container\" class=\"docClass\">Ext.container.Container</a> components that are likely to have form fields in their\nitems subtree. Adds the following capabilities:</p>\n\n<ul>\n<li>Methods for handling the addition and removal of <a href=\"#/api/Ext.form.Labelable\" rel=\"Ext.form.Labelable\" class=\"docClass\">Ext.form.Labelable</a> and <a href=\"#/api/Ext.form.field.Field\" rel=\"Ext.form.field.Field\" class=\"docClass\">Ext.form.field.Field</a>\ninstances at any depth within the container.</li>\n<li>Events (fieldvaliditychange and <a href=\"#/api/Ext.form.FieldAncestor-event-fielderrorchange\" rel=\"Ext.form.FieldAncestor-event-fielderrorchange\" class=\"docClass\">fielderrorchange</a>) for handling changes to the state\nof individual fields at the container level.</li>\n<li>Automatic application of <a href=\"#/api/Ext.form.FieldAncestor-cfg-fieldDefaults\" rel=\"Ext.form.FieldAncestor-cfg-fieldDefaults\" class=\"docClass\">fieldDefaults</a> config properties to each field added within the\ncontainer, to facilitate uniform configuration of all fields.</li>\n</ul>\n\n\n<p>This mixin is primarily for internal use by <a href=\"#/api/Ext.form.Panel\" rel=\"Ext.form.Panel\" class=\"docClass\">Ext.form.Panel</a> and <a href=\"#/api/Ext.form.FieldContainer\" rel=\"Ext.form.FieldContainer\" class=\"docClass\">Ext.form.FieldContainer</a>,\nand should not normally need to be used directly.</p>\n",
561   "mixedInto": [
562     "Ext.form.Panel",
563     "Ext.form.FieldContainer"
564   ],
565   "linenr": 1,
566   "xtypes": [
567
568   ],
569   "html_filename": "FieldAncestor.html",
570   "extends": "Ext.Base"
571 });