Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / docs / output / Ext.tip.QuickTipManager.js
1 Ext.data.JsonP.Ext_tip_QuickTipManager({
2   "allMixins": [
3
4   ],
5   "deprecated": null,
6   "docauthor": null,
7   "members": {
8     "cfg": [
9
10     ],
11     "method": [
12       {
13         "deprecated": null,
14         "alias": null,
15         "protected": false,
16         "tagname": "method",
17         "href": "Base3.html#Ext-Base-method-addStatics",
18         "shortDoc": "Add / override static properties of this class. ...",
19         "static": true,
20         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
21         "private": false,
22         "params": [
23           {
24             "type": "Object",
25             "optional": false,
26             "doc": "\n",
27             "name": "members"
28           }
29         ],
30         "name": "addStatics",
31         "owner": "Ext.Base",
32         "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",
33         "linenr": 388,
34         "return": {
35           "type": "Ext.Base",
36           "doc": "<p>this</p>\n"
37         },
38         "html_filename": "Base3.html"
39       },
40       {
41         "deprecated": null,
42         "alias": null,
43         "protected": false,
44         "tagname": "method",
45         "href": "Base3.html#Ext-Base-method-callOverridden",
46         "shortDoc": "Call the original method that was previously overridden with Ext.Base.override\n\nExt.define('My.Cat', {\n    constructo...",
47         "static": false,
48         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
49         "private": false,
50         "params": [
51           {
52             "type": "Array/Arguments",
53             "optional": false,
54             "doc": "<p>The arguments, either an array or the <code>arguments</code> object</p>\n",
55             "name": "args"
56           }
57         ],
58         "name": "callOverridden",
59         "owner": "Ext.Base",
60         "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",
61         "linenr": 269,
62         "return": {
63           "type": "Mixed",
64           "doc": "<p>Returns the result after calling the overridden method</p>\n"
65         },
66         "html_filename": "Base3.html"
67       },
68       {
69         "deprecated": null,
70         "alias": null,
71         "protected": true,
72         "tagname": "method",
73         "href": "Base3.html#Ext-Base-method-callParent",
74         "shortDoc": "Call the parent's overridden method. ...",
75         "static": false,
76         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
77         "private": false,
78         "params": [
79           {
80             "type": "Array/Arguments",
81             "optional": false,
82             "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",
83             "name": "args"
84           }
85         ],
86         "name": "callParent",
87         "owner": "Ext.Base",
88         "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",
89         "linenr": 124,
90         "return": {
91           "type": "Mixed",
92           "doc": "<p>Returns the result from the superclass' method</p>\n"
93         },
94         "html_filename": "Base3.html"
95       },
96       {
97         "deprecated": null,
98         "alias": null,
99         "protected": false,
100         "tagname": "method",
101         "href": "Base3.html#Ext-Base-method-create",
102         "shortDoc": "Create a new instance of this Class. ...",
103         "static": true,
104         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
105         "private": false,
106         "params": [
107
108         ],
109         "name": "create",
110         "owner": "Ext.Base",
111         "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",
112         "linenr": 329,
113         "return": {
114           "type": "Object",
115           "doc": "<p>the created instance.</p>\n"
116         },
117         "html_filename": "Base3.html"
118       },
119       {
120         "deprecated": null,
121         "alias": null,
122         "protected": false,
123         "tagname": "method",
124         "href": "Base3.html#Ext-Base-method-createAlias",
125         "shortDoc": "Create aliases for existing prototype methods. ...",
126         "static": true,
127         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
128         "private": false,
129         "params": [
130           {
131             "type": "String/Object",
132             "optional": false,
133             "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",
134             "name": "alias"
135           },
136           {
137             "type": "String/Object",
138             "optional": false,
139             "doc": "<p>The original method name</p>\n",
140             "name": "origin"
141           }
142         ],
143         "name": "createAlias",
144         "owner": "Ext.Base",
145         "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",
146         "linenr": 648,
147         "return": {
148           "type": "void",
149           "doc": "\n"
150         },
151         "html_filename": "Base3.html"
152       },
153       {
154         "deprecated": null,
155         "alias": null,
156         "protected": false,
157         "tagname": "method",
158         "href": "QuickTipManager.html#Ext-tip-QuickTipManager-method-destroy",
159         "shortDoc": "Destroy the QuickTips instance. ...",
160         "static": false,
161         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/tip/QuickTipManager.js",
162         "private": false,
163         "params": [
164
165         ],
166         "name": "destroy",
167         "owner": "Ext.tip.QuickTipManager",
168         "doc": "<p>Destroy the QuickTips instance.</p>\n",
169         "linenr": 150,
170         "return": {
171           "type": "void",
172           "doc": "\n"
173         },
174         "html_filename": "QuickTipManager.html"
175       },
176       {
177         "deprecated": null,
178         "alias": null,
179         "protected": false,
180         "tagname": "method",
181         "href": "QuickTipManager.html#Ext-tip-QuickTipManager-method-disable",
182         "shortDoc": "Disable quick tips globally. ...",
183         "static": false,
184         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/tip/QuickTipManager.js",
185         "private": false,
186         "params": [
187
188         ],
189         "name": "disable",
190         "owner": "Ext.tip.QuickTipManager",
191         "doc": "<p>Disable quick tips globally.</p>\n",
192         "linenr": 187,
193         "return": {
194           "type": "void",
195           "doc": "\n"
196         },
197         "html_filename": "QuickTipManager.html"
198       },
199       {
200         "deprecated": null,
201         "alias": null,
202         "protected": false,
203         "tagname": "method",
204         "href": "QuickTipManager.html#Ext-tip-QuickTipManager-method-enable",
205         "shortDoc": "Enable quick tips globally. ...",
206         "static": false,
207         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/tip/QuickTipManager.js",
208         "private": false,
209         "params": [
210
211         ],
212         "name": "enable",
213         "owner": "Ext.tip.QuickTipManager",
214         "doc": "<p>Enable quick tips globally.</p>\n",
215         "linenr": 177,
216         "return": {
217           "type": "void",
218           "doc": "\n"
219         },
220         "html_filename": "QuickTipManager.html"
221       },
222       {
223         "deprecated": null,
224         "alias": null,
225         "protected": false,
226         "tagname": "method",
227         "href": "Base3.html#Ext-Base-method-getName",
228         "shortDoc": "Get the current class' name in string format. ...",
229         "static": false,
230         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
231         "private": false,
232         "params": [
233
234         ],
235         "name": "getName",
236         "owner": "Ext.Base",
237         "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",
238         "linenr": 631,
239         "return": {
240           "type": "String",
241           "doc": "<p>className</p>\n"
242         },
243         "html_filename": "Base3.html"
244       },
245       {
246         "deprecated": null,
247         "alias": null,
248         "protected": false,
249         "tagname": "method",
250         "href": "QuickTipManager.html#Ext-tip-QuickTipManager-method-getQuickTip",
251         "shortDoc": "Gets the single QuickTip instance used to show tips from all registered elements. ...",
252         "static": false,
253         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/tip/QuickTipManager.js",
254         "private": false,
255         "params": [
256
257         ],
258         "name": "getQuickTip",
259         "owner": "Ext.tip.QuickTipManager",
260         "doc": "<p>Gets the single <a href=\"#/api/Ext.tip.QuickTip\" rel=\"Ext.tip.QuickTip\" class=\"docClass\">QuickTip</a> instance used to show tips from all registered elements.</p>\n",
261         "linenr": 205,
262         "return": {
263           "type": "Ext.tip.QuickTip",
264           "doc": "\n"
265         },
266         "html_filename": "QuickTipManager.html"
267       },
268       {
269         "deprecated": null,
270         "alias": null,
271         "protected": false,
272         "tagname": "method",
273         "href": "Base3.html#Ext-Base-method-implement",
274         "shortDoc": "Add methods / properties to the prototype of this class. ...",
275         "static": true,
276         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
277         "private": false,
278         "params": [
279           {
280             "type": "Object",
281             "optional": false,
282             "doc": "\n",
283             "name": "members"
284           }
285         ],
286         "name": "implement",
287         "owner": "Ext.Base",
288         "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",
289         "linenr": 415,
290         "return": {
291           "type": "void",
292           "doc": "\n"
293         },
294         "html_filename": "Base3.html"
295       },
296       {
297         "deprecated": null,
298         "alias": null,
299         "protected": false,
300         "tagname": "method",
301         "href": "QuickTipManager.html#Ext-tip-QuickTipManager-method-init",
302         "shortDoc": "Initialize the global QuickTips instance and prepare any quick tips. ...",
303         "static": false,
304         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/tip/QuickTipManager.js",
305         "private": false,
306         "params": [
307           {
308             "type": "Boolean",
309             "optional": false,
310             "doc": "<p>True to render the QuickTips container immediately to\npreload images. (Defaults to true)</p>\n",
311             "name": "autoRender"
312           },
313           {
314             "type": "Object",
315             "optional": false,
316             "doc": "<p>An optional config object for the created QuickTip. By\ndefault, the <a href=\"#/api/Ext.tip.QuickTip\" rel=\"Ext.tip.QuickTip\" class=\"docClass\">QuickTip</a> class is instantiated, but this can\nbe changed by supplying an xtype property or a className property in this object.\nAll other properties on this object are configuration for the created component.</p>\n",
317             "name": "config"
318           }
319         ],
320         "name": "init",
321         "owner": "Ext.tip.QuickTipManager",
322         "doc": "<p>Initialize the global QuickTips instance and prepare any quick tips.</p>\n",
323         "linenr": 103,
324         "return": {
325           "type": "void",
326           "doc": "\n"
327         },
328         "html_filename": "QuickTipManager.html"
329       },
330       {
331         "deprecated": null,
332         "alias": null,
333         "protected": true,
334         "tagname": "method",
335         "href": "Base3.html#Ext-Base-method-initConfig",
336         "shortDoc": "Initialize configuration for this class. ...",
337         "static": false,
338         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
339         "private": false,
340         "params": [
341           {
342             "type": "Object",
343             "optional": false,
344             "doc": "\n",
345             "name": "config"
346           }
347         ],
348         "name": "initConfig",
349         "owner": "Ext.Base",
350         "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",
351         "linenr": 63,
352         "return": {
353           "type": "Object",
354           "doc": "<p>mixins The mixin prototypes as key - value pairs</p>\n"
355         },
356         "html_filename": "Base3.html"
357       },
358       {
359         "deprecated": null,
360         "alias": null,
361         "protected": false,
362         "tagname": "method",
363         "href": "QuickTipManager.html#Ext-tip-QuickTipManager-method-isEnabled",
364         "shortDoc": "Returns true if quick tips are enabled, else false. ...",
365         "static": false,
366         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/tip/QuickTipManager.js",
367         "private": false,
368         "params": [
369
370         ],
371         "name": "isEnabled",
372         "owner": "Ext.tip.QuickTipManager",
373         "doc": "<p>Returns true if quick tips are enabled, else false.</p>\n",
374         "linenr": 197,
375         "return": {
376           "type": "Boolean",
377           "doc": "\n"
378         },
379         "html_filename": "QuickTipManager.html"
380       },
381       {
382         "deprecated": null,
383         "alias": null,
384         "protected": false,
385         "tagname": "method",
386         "href": "Base3.html#Ext-Base-method-override",
387         "shortDoc": "Override prototype members of this class. ...",
388         "static": true,
389         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
390         "private": false,
391         "params": [
392           {
393             "type": "Object",
394             "optional": false,
395             "doc": "\n",
396             "name": "members"
397           }
398         ],
399         "name": "override",
400         "owner": "Ext.Base",
401         "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",
402         "linenr": 518,
403         "return": {
404           "type": "Ext.Base",
405           "doc": "<p>this</p>\n"
406         },
407         "html_filename": "Base3.html"
408       },
409       {
410         "deprecated": null,
411         "alias": null,
412         "protected": false,
413         "tagname": "method",
414         "href": "QuickTipManager.html#Ext-tip-QuickTipManager-method-register",
415         "shortDoc": "Configures a new quick tip instance and assigns it to a target element. ...",
416         "static": false,
417         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/tip/QuickTipManager.js",
418         "private": false,
419         "params": [
420           {
421             "type": "Object",
422             "optional": false,
423             "doc": "<p>The config object</p>\n",
424             "name": "config"
425           }
426         ],
427         "name": "register",
428         "owner": "Ext.tip.QuickTipManager",
429         "doc": "<p>Configures a new quick tip instance and assigns it to a target element.  See\n<a href=\"#/api/Ext.tip.QuickTip-method-register\" rel=\"Ext.tip.QuickTip-method-register\" class=\"docClass\">Ext.tip.QuickTip.register</a> for details.</p>\n",
430         "linenr": 213,
431         "return": {
432           "type": "void",
433           "doc": "\n"
434         },
435         "html_filename": "QuickTipManager.html"
436       },
437       {
438         "deprecated": null,
439         "alias": null,
440         "protected": true,
441         "tagname": "method",
442         "href": "Base3.html#Ext-Base-method-statics",
443         "shortDoc": "Get the reference to the class from which this object was instantiated. ...",
444         "static": false,
445         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
446         "private": false,
447         "params": [
448
449         ],
450         "name": "statics",
451         "owner": "Ext.Base",
452         "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",
453         "linenr": 199,
454         "return": {
455           "type": "Class",
456           "doc": "\n"
457         },
458         "html_filename": "Base3.html"
459       },
460       {
461         "deprecated": null,
462         "alias": null,
463         "protected": false,
464         "tagname": "method",
465         "href": "QuickTipManager.html#Ext-tip-QuickTipManager-method-tips",
466         "shortDoc": "Alias of register. ...",
467         "static": false,
468         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/tip/QuickTipManager.js",
469         "private": false,
470         "params": [
471           {
472             "type": "Object",
473             "optional": false,
474             "doc": "<p>The config object</p>\n",
475             "name": "config"
476           }
477         ],
478         "name": "tips",
479         "owner": "Ext.tip.QuickTipManager",
480         "doc": "<p>Alias of <a href=\"#/api/Ext.tip.QuickTipManager-method-register\" rel=\"Ext.tip.QuickTipManager-method-register\" class=\"docClass\">register</a>.</p>\n",
481         "linenr": 230,
482         "return": {
483           "type": "void",
484           "doc": "\n"
485         },
486         "html_filename": "QuickTipManager.html"
487       },
488       {
489         "deprecated": null,
490         "alias": null,
491         "protected": false,
492         "tagname": "method",
493         "href": "QuickTipManager.html#Ext-tip-QuickTipManager-method-unregister",
494         "shortDoc": "Removes any registered quick tip from the target element and destroys it. ...",
495         "static": false,
496         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/tip/QuickTipManager.js",
497         "private": false,
498         "params": [
499           {
500             "type": "String/HTMLElement/Element",
501             "optional": false,
502             "doc": "<p>The element from which the quick tip is to be removed.</p>\n",
503             "name": "el"
504           }
505         ],
506         "name": "unregister",
507         "owner": "Ext.tip.QuickTipManager",
508         "doc": "<p>Removes any registered quick tip from the target element and destroys it.</p>\n",
509         "linenr": 222,
510         "return": {
511           "type": "void",
512           "doc": "\n"
513         },
514         "html_filename": "QuickTipManager.html"
515       }
516     ],
517     "property": [
518       {
519         "type": "Class",
520         "deprecated": null,
521         "alias": null,
522         "protected": true,
523         "tagname": "property",
524         "href": "Base3.html#Ext-Base-property-self",
525         "shortDoc": "Get the reference to the current class from which this object was instantiated. ...",
526         "static": false,
527         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
528         "private": false,
529         "name": "self",
530         "owner": "Ext.Base",
531         "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",
532         "linenr": 18,
533         "html_filename": "Base3.html"
534       }
535     ],
536     "cssVar": [
537
538     ],
539     "cssMixin": [
540
541     ],
542     "event": [
543
544     ]
545   },
546   "singleton": true,
547   "alias": null,
548   "superclasses": [
549     "Ext.Base"
550   ],
551   "protected": false,
552   "tagname": "class",
553   "mixins": [
554
555   ],
556   "href": "QuickTipManager.html#Ext-tip-QuickTipManager",
557   "subclasses": [
558
559   ],
560   "static": false,
561   "author": null,
562   "component": false,
563   "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/tip/QuickTipManager.js",
564   "private": false,
565   "alternateClassNames": [
566
567   ],
568   "name": "Ext.tip.QuickTipManager",
569   "doc": "<p>Provides attractive and customizable tooltips for any element. The QuickTips\nsingleton is used to configure and manage tooltips globally for multiple elements\nin a generic manner.  To create individual tooltips with maximum customizability,\nyou should consider either <a href=\"#/api/Ext.tip.Tip\" rel=\"Ext.tip.Tip\" class=\"docClass\">Ext.tip.Tip</a> or <a href=\"#/api/Ext.tip.ToolTip\" rel=\"Ext.tip.ToolTip\" class=\"docClass\">Ext.tip.ToolTip</a>.</p>\n\n<p>Quicktips can be configured via tag attributes directly in markup, or by\nregistering quick tips programmatically via the <a href=\"#/api/Ext.tip.QuickTipManager-method-register\" rel=\"Ext.tip.QuickTipManager-method-register\" class=\"docClass\">register</a> method.</p>\n\n<p>The singleton's instance of <a href=\"#/api/Ext.tip.QuickTip\" rel=\"Ext.tip.QuickTip\" class=\"docClass\">Ext.tip.QuickTip</a> is available via\n<a href=\"#/api/Ext.tip.QuickTipManager-method-getQuickTip\" rel=\"Ext.tip.QuickTipManager-method-getQuickTip\" class=\"docClass\">getQuickTip</a>, and supports all the methods, and all the all the\nconfiguration properties of <a href=\"#/api/Ext.tip.QuickTip\" rel=\"Ext.tip.QuickTip\" class=\"docClass\">Ext.tip.QuickTip</a>. These settings will apply to all\ntooltips shown by the singleton.</p>\n\n<p>Below is the summary of the configuration properties which can be used.\nFor detailed descriptions see the config options for the <a href=\"#/api/Ext.tip.QuickTip\" rel=\"Ext.tip.QuickTip\" class=\"docClass\">QuickTip</a> class</p>\n\n<h2>QuickTips singleton configs (all are optional)</h2>\n\n<ul>\n<li><code>dismissDelay</code></li>\n<li><code>hideDelay</code></li>\n<li><code>maxWidth</code></li>\n<li><code>minWidth</code></li>\n<li><code>showDelay</code></li>\n<li><code>trackMouse</code></li>\n</ul>\n\n\n<h2>Target element configs (optional unless otherwise noted)</h2>\n\n<ul>\n<li><code>autoHide</code></li>\n<li><code>cls</code></li>\n<li><code>dismissDelay</code> (overrides singleton value)</li>\n<li><code>target</code> (required)</li>\n<li><code>text</code> (required)</li>\n<li><code>title</code></li>\n<li><code>width</code></li>\n</ul>\n\n\n<p>Here is an example showing how some of these config options could be used:</p>\n\n<p><p><img src=\"doc-resources/Ext.tip.QuickTipManager/Ext.tip.QuickTipManager.png\" alt=\"Ext.tip.QuickTipManager component\"></p></p>\n\n<h2>Code</h2>\n\n<pre><code>// Init the singleton.  Any tag-based quick tips will start working.\nExt.tip.QuickTipManager.init();\n\n// Apply a set of config properties to the singleton\nExt.apply(Ext.tip.QuickTipManager.getQuickTip(), {\n    maxWidth: 200,\n    minWidth: 100,\n    showDelay: 50      // Show 50ms after entering target\n});\n\n// Create a small panel to add a quick tip to\nExt.create('Ext.container.Container', {\n    id: 'quickTipContainer',\n    width: 200,\n    height: 150,\n    style: {\n        backgroundColor:'#000000'\n    },\n    renderTo: Ext.getBody()\n});\n\n\n// Manually register a quick tip for a specific element\nExt.tip.QuickTipManager.register({\n    target: 'quickTipContainer',\n    title: 'My Tooltip',\n    text: 'This tooltip was added in code',\n    width: 100,\n    dismissDelay: 10000 // Hide after 10 seconds hover\n});\n</code></pre>\n\n<p>To register a quick tip in markup, you simply add one or more of the valid QuickTip attributes prefixed with\nthe <strong>data-</strong> namespace.  The HTML element itself is automatically set as the quick tip target. Here is the summary\nof supported attributes (optional unless otherwise noted):</p>\n\n<ul>\n<li><code>hide</code>: Specifying \"user\" is equivalent to setting autoHide = false.  Any other value will be the same as autoHide = true.</li>\n<li><code>qclass</code>: A CSS class to be applied to the quick tip (equivalent to the 'cls' target element config).</li>\n<li><code>qtip (required)</code>: The quick tip text (equivalent to the 'text' target element config).</li>\n<li><code>qtitle</code>: The quick tip title (equivalent to the 'title' target element config).</li>\n<li><code>qwidth</code>: The quick tip width (equivalent to the 'width' target element config).</li>\n</ul>\n\n\n<p>Here is an example of configuring an HTML element to display a tooltip from markup:</p>\n\n<pre><code>// Add a quick tip to an HTML button\n&lt;input type=\"button\" value=\"OK\" data-qtitle=\"OK Button\" data-qwidth=\"100\"\n     data-qtip=\"This is a quick tip from markup!\"&gt;&lt;/input&gt;\n</code></pre>\n",
570   "mixedInto": [
571
572   ],
573   "linenr": 1,
574   "xtypes": [
575
576   ],
577   "html_filename": "QuickTipManager.html",
578   "extends": "Ext.Base"
579 });