Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / docs / output / Ext.util.Floating.js
1 Ext.data.JsonP.Ext_util_Floating({
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": "Floating.html#Ext-util-Floating-cfg-focusOnToFront",
16         "shortDoc": "Specifies whether the floated component should be automatically focused when it is\nbrought to the front. ...",
17         "static": false,
18         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/util/Floating.js",
19         "private": false,
20         "name": "focusOnToFront",
21         "owner": "Ext.util.Floating",
22         "doc": "<p>Specifies whether the floated component should be automatically focused when it is\n<a href=\"#/api/Ext.util.Floating-method-toFront\" rel=\"Ext.util.Floating-method-toFront\" class=\"docClass\">brought to the front</a>. Defaults to true.</p>\n",
23         "linenr": 9,
24         "html_filename": "Floating.html"
25       },
26       {
27         "type": "String/Boolean",
28         "deprecated": null,
29         "alias": null,
30         "protected": false,
31         "tagname": "cfg",
32         "href": "Floating.html#Ext-util-Floating-cfg-shadow",
33         "shortDoc": "Specifies whether the floating component should be given a shadow. ...",
34         "static": false,
35         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/util/Floating.js",
36         "private": false,
37         "name": "shadow",
38         "owner": "Ext.util.Floating",
39         "doc": "<p>Specifies whether the floating component should be given a shadow. Set to\n<tt>true</tt> to automatically create an <a href=\"#/api/Ext.Shadow\" rel=\"Ext.Shadow\" class=\"docClass\">Ext.Shadow</a>, or a string indicating the\nshadow's display <a href=\"#/api/Ext.Shadow-cfg-mode\" rel=\"Ext.Shadow-cfg-mode\" class=\"docClass\">Ext.Shadow.mode</a>. Set to <tt>false</tt> to disable the shadow.\n(Defaults to <tt>'sides'</tt>.)</p>\n",
40         "linenr": 16,
41         "html_filename": "Floating.html"
42       }
43     ],
44     "method": [
45       {
46         "deprecated": null,
47         "alias": null,
48         "protected": false,
49         "tagname": "method",
50         "href": "Base3.html#Ext-Base-method-addStatics",
51         "shortDoc": "Add / override static properties of this class. ...",
52         "static": true,
53         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
54         "private": false,
55         "params": [
56           {
57             "type": "Object",
58             "optional": false,
59             "doc": "\n",
60             "name": "members"
61           }
62         ],
63         "name": "addStatics",
64         "owner": "Ext.Base",
65         "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",
66         "linenr": 388,
67         "return": {
68           "type": "Ext.Base",
69           "doc": "<p>this</p>\n"
70         },
71         "html_filename": "Base3.html"
72       },
73       {
74         "deprecated": null,
75         "alias": null,
76         "protected": false,
77         "tagname": "method",
78         "href": "Floating.html#Ext-util-Floating-method-alignTo",
79         "shortDoc": "Aligns this floating Component to the specified element ...",
80         "static": false,
81         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/util/Floating.js",
82         "private": false,
83         "params": [
84           {
85             "type": "Mixed",
86             "optional": false,
87             "doc": "<p>The element or <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Ext.Component</a> to align to. If passing a component, it must\nbe a omponent instance. If a string id is passed, it will be used as an element id.</p>\n",
88             "name": "element"
89           },
90           {
91             "type": "String",
92             "optional": false,
93             "doc": "<p>(optional, defaults to \"tl-bl?\") The position to align to (see <a href=\"#/api/Ext.core.Element-method-alignTo\" rel=\"Ext.core.Element-method-alignTo\" class=\"docClass\">Ext.core.Element.alignTo</a> for more details).</p>\n",
94             "name": "position"
95           },
96           {
97             "type": "Array",
98             "optional": true,
99             "doc": "<p>(optional) Offset the positioning by [x, y]</p>\n",
100             "name": "offsets"
101           }
102         ],
103         "name": "alignTo",
104         "owner": "Ext.util.Floating",
105         "doc": "<p>Aligns this floating Component to the specified element</p>\n",
106         "linenr": 173,
107         "return": {
108           "type": "Component",
109           "doc": "<p>this</p>\n"
110         },
111         "html_filename": "Floating.html"
112       },
113       {
114         "deprecated": null,
115         "alias": null,
116         "protected": false,
117         "tagname": "method",
118         "href": "Base3.html#Ext-Base-method-callOverridden",
119         "shortDoc": "Call the original method that was previously overridden with Ext.Base.override\n\nExt.define('My.Cat', {\n    constructo...",
120         "static": false,
121         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
122         "private": false,
123         "params": [
124           {
125             "type": "Array/Arguments",
126             "optional": false,
127             "doc": "<p>The arguments, either an array or the <code>arguments</code> object</p>\n",
128             "name": "args"
129           }
130         ],
131         "name": "callOverridden",
132         "owner": "Ext.Base",
133         "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",
134         "linenr": 269,
135         "return": {
136           "type": "Mixed",
137           "doc": "<p>Returns the result after calling the overridden method</p>\n"
138         },
139         "html_filename": "Base3.html"
140       },
141       {
142         "deprecated": null,
143         "alias": null,
144         "protected": true,
145         "tagname": "method",
146         "href": "Base3.html#Ext-Base-method-callParent",
147         "shortDoc": "Call the parent's overridden method. ...",
148         "static": false,
149         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
150         "private": false,
151         "params": [
152           {
153             "type": "Array/Arguments",
154             "optional": false,
155             "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",
156             "name": "args"
157           }
158         ],
159         "name": "callParent",
160         "owner": "Ext.Base",
161         "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",
162         "linenr": 124,
163         "return": {
164           "type": "Mixed",
165           "doc": "<p>Returns the result from the superclass' method</p>\n"
166         },
167         "html_filename": "Base3.html"
168       },
169       {
170         "deprecated": null,
171         "alias": null,
172         "protected": false,
173         "tagname": "method",
174         "href": "Floating.html#Ext-util-Floating-method-center",
175         "shortDoc": "Center this Component in its container. ...",
176         "static": false,
177         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/util/Floating.js",
178         "private": false,
179         "params": [
180
181         ],
182         "name": "center",
183         "owner": "Ext.util.Floating",
184         "doc": "<p>Center this Component in its container.</p>\n",
185         "linenr": 251,
186         "return": {
187           "type": "Component",
188           "doc": "<p>this</p>\n"
189         },
190         "html_filename": "Floating.html"
191       },
192       {
193         "deprecated": null,
194         "alias": null,
195         "protected": false,
196         "tagname": "method",
197         "href": "Base3.html#Ext-Base-method-create",
198         "shortDoc": "Create a new instance 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         ],
205         "name": "create",
206         "owner": "Ext.Base",
207         "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",
208         "linenr": 329,
209         "return": {
210           "type": "Object",
211           "doc": "<p>the created instance.</p>\n"
212         },
213         "html_filename": "Base3.html"
214       },
215       {
216         "deprecated": null,
217         "alias": null,
218         "protected": false,
219         "tagname": "method",
220         "href": "Base3.html#Ext-Base-method-createAlias",
221         "shortDoc": "Create aliases for existing prototype methods. ...",
222         "static": true,
223         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
224         "private": false,
225         "params": [
226           {
227             "type": "String/Object",
228             "optional": false,
229             "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",
230             "name": "alias"
231           },
232           {
233             "type": "String/Object",
234             "optional": false,
235             "doc": "<p>The original method name</p>\n",
236             "name": "origin"
237           }
238         ],
239         "name": "createAlias",
240         "owner": "Ext.Base",
241         "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",
242         "linenr": 648,
243         "return": {
244           "type": "void",
245           "doc": "\n"
246         },
247         "html_filename": "Base3.html"
248       },
249       {
250         "deprecated": null,
251         "alias": null,
252         "protected": false,
253         "tagname": "method",
254         "href": "Floating.html#Ext-util-Floating-method-doConstrain",
255         "shortDoc": "Moves this floating Component into a constrain region. ...",
256         "static": false,
257         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/util/Floating.js",
258         "private": false,
259         "params": [
260           {
261             "type": "Mixed",
262             "optional": false,
263             "doc": "<p>Optional. The Element or <a href=\"#/api/Ext.util.Region\" rel=\"Ext.util.Region\" class=\"docClass\">Region</a> into which this Component is to be constrained.</p>\n",
264             "name": "constrainTo"
265           }
266         ],
267         "name": "doConstrain",
268         "owner": "Ext.util.Floating",
269         "doc": "<p>Moves this floating Component into a constrain region.</p>\n\n\n<p>By default, this Component is constrained to be within the container it was added to, or the element\nit was rendered to.</p>\n\n\n<p>An alternative constraint may be passed.</p>\n\n",
270         "linenr": 135,
271         "return": {
272           "type": "void",
273           "doc": "\n"
274         },
275         "html_filename": "Floating.html"
276       },
277       {
278         "deprecated": null,
279         "alias": null,
280         "protected": false,
281         "tagname": "method",
282         "href": "Base3.html#Ext-Base-method-getName",
283         "shortDoc": "Get the current class' name in string format. ...",
284         "static": false,
285         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
286         "private": false,
287         "params": [
288
289         ],
290         "name": "getName",
291         "owner": "Ext.Base",
292         "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",
293         "linenr": 631,
294         "return": {
295           "type": "String",
296           "doc": "<p>className</p>\n"
297         },
298         "html_filename": "Base3.html"
299       },
300       {
301         "deprecated": null,
302         "alias": null,
303         "protected": false,
304         "tagname": "method",
305         "href": "Base3.html#Ext-Base-method-implement",
306         "shortDoc": "Add methods / properties to the prototype of this class. ...",
307         "static": true,
308         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
309         "private": false,
310         "params": [
311           {
312             "type": "Object",
313             "optional": false,
314             "doc": "\n",
315             "name": "members"
316           }
317         ],
318         "name": "implement",
319         "owner": "Ext.Base",
320         "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",
321         "linenr": 415,
322         "return": {
323           "type": "void",
324           "doc": "\n"
325         },
326         "html_filename": "Base3.html"
327       },
328       {
329         "deprecated": null,
330         "alias": null,
331         "protected": true,
332         "tagname": "method",
333         "href": "Base3.html#Ext-Base-method-initConfig",
334         "shortDoc": "Initialize configuration for this class. ...",
335         "static": false,
336         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
337         "private": false,
338         "params": [
339           {
340             "type": "Object",
341             "optional": false,
342             "doc": "\n",
343             "name": "config"
344           }
345         ],
346         "name": "initConfig",
347         "owner": "Ext.Base",
348         "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",
349         "linenr": 63,
350         "return": {
351           "type": "Object",
352           "doc": "<p>mixins The mixin prototypes as key - value pairs</p>\n"
353         },
354         "html_filename": "Base3.html"
355       },
356       {
357         "deprecated": null,
358         "alias": null,
359         "protected": false,
360         "tagname": "method",
361         "href": "Base3.html#Ext-Base-method-override",
362         "shortDoc": "Override prototype members of this class. ...",
363         "static": true,
364         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
365         "private": false,
366         "params": [
367           {
368             "type": "Object",
369             "optional": false,
370             "doc": "\n",
371             "name": "members"
372           }
373         ],
374         "name": "override",
375         "owner": "Ext.Base",
376         "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",
377         "linenr": 518,
378         "return": {
379           "type": "Ext.Base",
380           "doc": "<p>this</p>\n"
381         },
382         "html_filename": "Base3.html"
383       },
384       {
385         "deprecated": null,
386         "alias": null,
387         "protected": false,
388         "tagname": "method",
389         "href": "Floating.html#Ext-util-Floating-method-setActive",
390         "shortDoc": "This method is called internally by Ext.ZIndexManager to signal that a floating\nComponent has either been moved to th...",
391         "static": false,
392         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/util/Floating.js",
393         "private": false,
394         "params": [
395           {
396             "type": "Boolean",
397             "optional": false,
398             "doc": "<p>True to activate the Component, false to deactivate it (defaults to false)</p>\n",
399             "name": "active"
400           },
401           {
402             "type": "Component",
403             "optional": false,
404             "doc": "<p>The newly active Component which is taking over topmost zIndex position.</p>\n",
405             "name": "newActive"
406           }
407         ],
408         "name": "setActive",
409         "owner": "Ext.util.Floating",
410         "doc": "<p>This method is called internally by <a href=\"#/api/Ext.ZIndexManager\" rel=\"Ext.ZIndexManager\" class=\"docClass\">Ext.ZIndexManager</a> to signal that a floating\nComponent has either been moved to the top of its zIndex stack, or pushed from the top of its zIndex stack.</p>\n\n\n<p>If a <i>Window</i> is superceded by another Window, deactivating it hides its shadow.</p>\n\n\n<p>This method also fires the activate or deactivate event depending on which action occurred.</p>\n\n",
411         "linenr": 218,
412         "return": {
413           "type": "void",
414           "doc": "\n"
415         },
416         "html_filename": "Floating.html"
417       },
418       {
419         "deprecated": null,
420         "alias": null,
421         "protected": true,
422         "tagname": "method",
423         "href": "Base3.html#Ext-Base-method-statics",
424         "shortDoc": "Get the reference to the class from which this object was instantiated. ...",
425         "static": false,
426         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
427         "private": false,
428         "params": [
429
430         ],
431         "name": "statics",
432         "owner": "Ext.Base",
433         "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",
434         "linenr": 199,
435         "return": {
436           "type": "Class",
437           "doc": "\n"
438         },
439         "html_filename": "Base3.html"
440       },
441       {
442         "deprecated": null,
443         "alias": null,
444         "protected": false,
445         "tagname": "method",
446         "href": "Floating.html#Ext-util-Floating-method-toBack",
447         "shortDoc": "Sends this Component to the back of (lower z-index than) any other visible windows ...",
448         "static": false,
449         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/util/Floating.js",
450         "private": false,
451         "params": [
452
453         ],
454         "name": "toBack",
455         "owner": "Ext.util.Floating",
456         "doc": "<p>Sends this Component to the back of (lower z-index than) any other visible windows</p>\n",
457         "linenr": 242,
458         "return": {
459           "type": "Component",
460           "doc": "<p>this</p>\n"
461         },
462         "html_filename": "Floating.html"
463       },
464       {
465         "deprecated": null,
466         "alias": null,
467         "protected": false,
468         "tagname": "method",
469         "href": "Floating.html#Ext-util-Floating-method-toFront",
470         "shortDoc": "Brings this floating Component to the front of any other visible, floating Components managed by the same ZIndexManag...",
471         "static": false,
472         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/util/Floating.js",
473         "private": false,
474         "params": [
475           {
476             "type": "Boolean",
477             "optional": true,
478             "doc": "<p>(optional) Specify <code>true</code> to prevent the Component from being focused.</p>\n",
479             "name": "preventFocus"
480           }
481         ],
482         "name": "toFront",
483         "owner": "Ext.util.Floating",
484         "doc": "<p>Brings this floating Component to the front of any other visible, floating Components managed by the same <a href=\"#/api/Ext.ZIndexManager\" rel=\"Ext.ZIndexManager\" class=\"docClass\">ZIndexManager</a></p>\n\n\n<p>If this Component is modal, inserts the modal mask just below this Component in the z-index stack.</p>\n\n",
485         "linenr": 190,
486         "return": {
487           "type": "Component",
488           "doc": "<p>this</p>\n"
489         },
490         "html_filename": "Floating.html"
491       }
492     ],
493     "property": [
494       {
495         "type": "Class",
496         "deprecated": null,
497         "alias": null,
498         "protected": true,
499         "tagname": "property",
500         "href": "Base3.html#Ext-Base-property-self",
501         "shortDoc": "Get the reference to the current class from which this object was instantiated. ...",
502         "static": false,
503         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
504         "private": false,
505         "name": "self",
506         "owner": "Ext.Base",
507         "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",
508         "linenr": 18,
509         "html_filename": "Base3.html"
510       }
511     ],
512     "cssVar": [
513
514     ],
515     "cssMixin": [
516
517     ],
518     "event": [
519
520     ]
521   },
522   "singleton": false,
523   "alias": null,
524   "superclasses": [
525     "Ext.Base"
526   ],
527   "protected": false,
528   "tagname": "class",
529   "mixins": [
530
531   ],
532   "href": "Floating.html#Ext-util-Floating",
533   "subclasses": [
534
535   ],
536   "static": false,
537   "author": null,
538   "component": false,
539   "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/util/Floating.js",
540   "private": false,
541   "alternateClassNames": [
542
543   ],
544   "name": "Ext.util.Floating",
545   "doc": "<p>A mixin to add floating capability to a Component</p>\n",
546   "mixedInto": [
547     "Ext.Component"
548   ],
549   "linenr": 1,
550   "xtypes": [
551
552   ],
553   "html_filename": "Floating.html",
554   "extends": "Ext.Base"
555 });