Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / docs / output / Ext.util.KeyNav.js
1 Ext.data.JsonP.Ext_util_KeyNav({
2   "allMixins": [
3
4   ],
5   "deprecated": null,
6   "docauthor": null,
7   "members": {
8     "cfg": [
9       {
10         "type": "String",
11         "deprecated": null,
12         "alias": null,
13         "protected": false,
14         "tagname": "cfg",
15         "href": "KeyNav.html#Ext-util-KeyNav-cfg-defaultEventAction",
16         "shortDoc": "The method to call on the Ext.EventObject after this KeyNav intercepts a key. ...",
17         "static": false,
18         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/util/KeyNav.js",
19         "private": false,
20         "name": "defaultEventAction",
21         "owner": "Ext.util.KeyNav",
22         "doc": "<p>The method to call on the <a href=\"#/api/Ext.EventObject\" rel=\"Ext.EventObject\" class=\"docClass\">Ext.EventObject</a> after this KeyNav intercepts a key.  Valid values are\n<a href=\"#/api/Ext.EventObject-method-stopEvent\" rel=\"Ext.EventObject-method-stopEvent\" class=\"docClass\">Ext.EventObject.stopEvent</a>, <a href=\"#/api/Ext.EventObject-method-preventDefault\" rel=\"Ext.EventObject-method-preventDefault\" class=\"docClass\">Ext.EventObject.preventDefault</a> and\n<a href=\"#/api/Ext.EventObject-method-stopPropagation\" rel=\"Ext.EventObject-method-stopPropagation\" class=\"docClass\">Ext.EventObject.stopPropagation</a> (defaults to 'stopEvent')</p>\n",
23         "linenr": 110,
24         "html_filename": "KeyNav.html"
25       },
26       {
27         "type": "Boolean",
28         "deprecated": null,
29         "alias": null,
30         "protected": false,
31         "tagname": "cfg",
32         "href": "KeyNav.html#Ext-util-KeyNav-cfg-disabled",
33         "static": false,
34         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/util/KeyNav.js",
35         "private": false,
36         "name": "disabled",
37         "owner": "Ext.util.KeyNav",
38         "doc": "<p>True to disable this KeyNav instance (defaults to false)</p>\n",
39         "linenr": 104,
40         "html_filename": "KeyNav.html"
41       },
42       {
43         "type": "Boolean",
44         "deprecated": null,
45         "alias": null,
46         "protected": false,
47         "tagname": "cfg",
48         "href": "KeyNav.html#Ext-util-KeyNav-cfg-forceKeyDown",
49         "shortDoc": "Handle the keydown event instead of keypress (defaults to false). ...",
50         "static": false,
51         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/util/KeyNav.js",
52         "private": false,
53         "name": "forceKeyDown",
54         "owner": "Ext.util.KeyNav",
55         "doc": "<p>Handle the keydown event instead of keypress (defaults to false).  KeyNav automatically does this for IE since\nIE does not propagate special keys on keypress, but setting this to true will force other browsers to also\nhandle keydown instead of keypress.</p>\n",
56         "linenr": 118,
57         "html_filename": "KeyNav.html"
58       }
59     ],
60     "method": [
61       {
62         "deprecated": null,
63         "alias": null,
64         "href": "KeyNav.html#Ext-util-KeyNav-method-constructor",
65         "tagname": "method",
66         "protected": false,
67         "shortDoc": "Creates new KeyNav. ...",
68         "static": false,
69         "params": [
70           {
71             "type": "Mixed",
72             "optional": false,
73             "doc": "<p>The element to bind to</p>\n",
74             "name": "el"
75           },
76           {
77             "type": "Object",
78             "optional": false,
79             "doc": "<p>The config</p>\n",
80             "name": "config"
81           }
82         ],
83         "private": false,
84         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/util/KeyNav.js",
85         "doc": "<p>Creates new KeyNav.</p>\n",
86         "owner": "Ext.util.KeyNav",
87         "name": "KeyNav",
88         "html_filename": "KeyNav.html",
89         "return": {
90           "type": "Object",
91           "doc": "\n"
92         },
93         "linenr": 48
94       },
95       {
96         "deprecated": null,
97         "alias": null,
98         "protected": false,
99         "tagname": "method",
100         "href": "Base3.html#Ext-Base-method-addStatics",
101         "shortDoc": "Add / override static properties of this class. ...",
102         "static": true,
103         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
104         "private": false,
105         "params": [
106           {
107             "type": "Object",
108             "optional": false,
109             "doc": "\n",
110             "name": "members"
111           }
112         ],
113         "name": "addStatics",
114         "owner": "Ext.Base",
115         "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",
116         "linenr": 388,
117         "return": {
118           "type": "Ext.Base",
119           "doc": "<p>this</p>\n"
120         },
121         "html_filename": "Base3.html"
122       },
123       {
124         "deprecated": null,
125         "alias": null,
126         "protected": false,
127         "tagname": "method",
128         "href": "Base3.html#Ext-Base-method-callOverridden",
129         "shortDoc": "Call the original method that was previously overridden with Ext.Base.override\n\nExt.define('My.Cat', {\n    constructo...",
130         "static": false,
131         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
132         "private": false,
133         "params": [
134           {
135             "type": "Array/Arguments",
136             "optional": false,
137             "doc": "<p>The arguments, either an array or the <code>arguments</code> object</p>\n",
138             "name": "args"
139           }
140         ],
141         "name": "callOverridden",
142         "owner": "Ext.Base",
143         "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",
144         "linenr": 269,
145         "return": {
146           "type": "Mixed",
147           "doc": "<p>Returns the result after calling the overridden method</p>\n"
148         },
149         "html_filename": "Base3.html"
150       },
151       {
152         "deprecated": null,
153         "alias": null,
154         "protected": true,
155         "tagname": "method",
156         "href": "Base3.html#Ext-Base-method-callParent",
157         "shortDoc": "Call the parent's overridden method. ...",
158         "static": false,
159         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
160         "private": false,
161         "params": [
162           {
163             "type": "Array/Arguments",
164             "optional": false,
165             "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",
166             "name": "args"
167           }
168         ],
169         "name": "callParent",
170         "owner": "Ext.Base",
171         "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",
172         "linenr": 124,
173         "return": {
174           "type": "Mixed",
175           "doc": "<p>Returns the result from the superclass' method</p>\n"
176         },
177         "html_filename": "Base3.html"
178       },
179       {
180         "deprecated": null,
181         "alias": null,
182         "protected": false,
183         "tagname": "method",
184         "href": "Base3.html#Ext-Base-method-create",
185         "shortDoc": "Create a new instance of this Class. ...",
186         "static": true,
187         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
188         "private": false,
189         "params": [
190
191         ],
192         "name": "create",
193         "owner": "Ext.Base",
194         "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",
195         "linenr": 329,
196         "return": {
197           "type": "Object",
198           "doc": "<p>the created instance.</p>\n"
199         },
200         "html_filename": "Base3.html"
201       },
202       {
203         "deprecated": null,
204         "alias": null,
205         "protected": false,
206         "tagname": "method",
207         "href": "Base3.html#Ext-Base-method-createAlias",
208         "shortDoc": "Create aliases for existing prototype methods. ...",
209         "static": true,
210         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
211         "private": false,
212         "params": [
213           {
214             "type": "String/Object",
215             "optional": false,
216             "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",
217             "name": "alias"
218           },
219           {
220             "type": "String/Object",
221             "optional": false,
222             "doc": "<p>The original method name</p>\n",
223             "name": "origin"
224           }
225         ],
226         "name": "createAlias",
227         "owner": "Ext.Base",
228         "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",
229         "linenr": 648,
230         "return": {
231           "type": "void",
232           "doc": "\n"
233         },
234         "html_filename": "Base3.html"
235       },
236       {
237         "deprecated": null,
238         "alias": null,
239         "protected": false,
240         "tagname": "method",
241         "href": "KeyNav.html#Ext-util-KeyNav-method-destroy",
242         "shortDoc": "Destroy this KeyNav (this is the same as calling disable). ...",
243         "static": false,
244         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/util/KeyNav.js",
245         "private": false,
246         "params": [
247           {
248             "type": "Boolean",
249             "optional": false,
250             "doc": "<p>True to remove the element associated with this KeyNav.</p>\n",
251             "name": "removeEl"
252           }
253         ],
254         "name": "destroy",
255         "owner": "Ext.util.KeyNav",
256         "doc": "<p>Destroy this KeyNav (this is the same as calling disable).</p>\n",
257         "linenr": 126,
258         "return": {
259           "type": "void",
260           "doc": "\n"
261         },
262         "html_filename": "KeyNav.html"
263       },
264       {
265         "deprecated": null,
266         "alias": null,
267         "protected": false,
268         "tagname": "method",
269         "href": "KeyNav.html#Ext-util-KeyNav-method-disable",
270         "shortDoc": "Disable this KeyNav ...",
271         "static": false,
272         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/util/KeyNav.js",
273         "private": false,
274         "params": [
275
276         ],
277         "name": "disable",
278         "owner": "Ext.util.KeyNav",
279         "doc": "<p>Disable this KeyNav</p>\n",
280         "linenr": 143,
281         "return": {
282           "type": "void",
283           "doc": "\n"
284         },
285         "html_filename": "KeyNav.html"
286       },
287       {
288         "deprecated": null,
289         "alias": null,
290         "protected": false,
291         "tagname": "method",
292         "href": "KeyNav.html#Ext-util-KeyNav-method-enable",
293         "shortDoc": "Enable this KeyNav ...",
294         "static": false,
295         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/util/KeyNav.js",
296         "private": false,
297         "params": [
298
299         ],
300         "name": "enable",
301         "owner": "Ext.util.KeyNav",
302         "doc": "<p>Enable this KeyNav</p>\n",
303         "linenr": 135,
304         "return": {
305           "type": "void",
306           "doc": "\n"
307         },
308         "html_filename": "KeyNav.html"
309       },
310       {
311         "deprecated": null,
312         "alias": null,
313         "protected": false,
314         "tagname": "method",
315         "href": "KeyNav.html#Ext-util-KeyNav-method-getKeyEvent",
316         "shortDoc": "Determines the event to bind to listen for keys. ...",
317         "static": false,
318         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/util/KeyNav.js",
319         "private": false,
320         "params": [
321           {
322             "type": "Object",
323             "optional": false,
324             "doc": "\n",
325             "name": "forceKeyDown"
326           }
327         ],
328         "name": "getKeyEvent",
329         "owner": "Ext.util.KeyNav",
330         "doc": "<p>Determines the event to bind to listen for keys. Depends on the <a href=\"#/api/Ext.util.KeyNav-cfg-forceKeyDown\" rel=\"Ext.util.KeyNav-cfg-forceKeyDown\" class=\"docClass\">forceKeyDown</a> setting,\nas well as the useKeyDown option on the EventManager.</p>\n",
331         "linenr": 160,
332         "return": {
333           "type": "String",
334           "doc": "<p>The type of event to listen for.</p>\n"
335         },
336         "html_filename": "KeyNav.html"
337       },
338       {
339         "deprecated": null,
340         "alias": null,
341         "protected": false,
342         "tagname": "method",
343         "href": "Base3.html#Ext-Base-method-getName",
344         "shortDoc": "Get the current class' name in string format. ...",
345         "static": false,
346         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
347         "private": false,
348         "params": [
349
350         ],
351         "name": "getName",
352         "owner": "Ext.Base",
353         "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",
354         "linenr": 631,
355         "return": {
356           "type": "String",
357           "doc": "<p>className</p>\n"
358         },
359         "html_filename": "Base3.html"
360       },
361       {
362         "deprecated": null,
363         "alias": null,
364         "protected": false,
365         "tagname": "method",
366         "href": "Base3.html#Ext-Base-method-implement",
367         "shortDoc": "Add methods / properties to the prototype of this class. ...",
368         "static": true,
369         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
370         "private": false,
371         "params": [
372           {
373             "type": "Object",
374             "optional": false,
375             "doc": "\n",
376             "name": "members"
377           }
378         ],
379         "name": "implement",
380         "owner": "Ext.Base",
381         "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",
382         "linenr": 415,
383         "return": {
384           "type": "void",
385           "doc": "\n"
386         },
387         "html_filename": "Base3.html"
388       },
389       {
390         "deprecated": null,
391         "alias": null,
392         "protected": true,
393         "tagname": "method",
394         "href": "Base3.html#Ext-Base-method-initConfig",
395         "shortDoc": "Initialize configuration for this class. ...",
396         "static": false,
397         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
398         "private": false,
399         "params": [
400           {
401             "type": "Object",
402             "optional": false,
403             "doc": "\n",
404             "name": "config"
405           }
406         ],
407         "name": "initConfig",
408         "owner": "Ext.Base",
409         "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",
410         "linenr": 63,
411         "return": {
412           "type": "Object",
413           "doc": "<p>mixins The mixin prototypes as key - value pairs</p>\n"
414         },
415         "html_filename": "Base3.html"
416       },
417       {
418         "deprecated": null,
419         "alias": null,
420         "protected": false,
421         "tagname": "method",
422         "href": "Base3.html#Ext-Base-method-override",
423         "shortDoc": "Override prototype members of this class. ...",
424         "static": true,
425         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
426         "private": false,
427         "params": [
428           {
429             "type": "Object",
430             "optional": false,
431             "doc": "\n",
432             "name": "members"
433           }
434         ],
435         "name": "override",
436         "owner": "Ext.Base",
437         "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",
438         "linenr": 518,
439         "return": {
440           "type": "Ext.Base",
441           "doc": "<p>this</p>\n"
442         },
443         "html_filename": "Base3.html"
444       },
445       {
446         "deprecated": null,
447         "alias": null,
448         "protected": false,
449         "tagname": "method",
450         "href": "KeyNav.html#Ext-util-KeyNav-method-setDisabled",
451         "shortDoc": "Convenience function for setting disabled/enabled by boolean. ...",
452         "static": false,
453         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/util/KeyNav.js",
454         "private": false,
455         "params": [
456           {
457             "type": "Boolean",
458             "optional": false,
459             "doc": "\n",
460             "name": "disabled"
461           }
462         ],
463         "name": "setDisabled",
464         "owner": "Ext.util.KeyNav",
465         "doc": "<p>Convenience function for setting disabled/enabled by boolean.</p>\n",
466         "linenr": 151,
467         "return": {
468           "type": "void",
469           "doc": "\n"
470         },
471         "html_filename": "KeyNav.html"
472       },
473       {
474         "deprecated": null,
475         "alias": null,
476         "protected": true,
477         "tagname": "method",
478         "href": "Base3.html#Ext-Base-method-statics",
479         "shortDoc": "Get the reference to the class from which this object was instantiated. ...",
480         "static": false,
481         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
482         "private": false,
483         "params": [
484
485         ],
486         "name": "statics",
487         "owner": "Ext.Base",
488         "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",
489         "linenr": 199,
490         "return": {
491           "type": "Class",
492           "doc": "\n"
493         },
494         "html_filename": "Base3.html"
495       }
496     ],
497     "property": [
498       {
499         "type": "Class",
500         "deprecated": null,
501         "alias": null,
502         "protected": true,
503         "tagname": "property",
504         "href": "Base3.html#Ext-Base-property-self",
505         "shortDoc": "Get the reference to the current class from which this object was instantiated. ...",
506         "static": false,
507         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
508         "private": false,
509         "name": "self",
510         "owner": "Ext.Base",
511         "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",
512         "linenr": 18,
513         "html_filename": "Base3.html"
514       }
515     ],
516     "cssVar": [
517
518     ],
519     "cssMixin": [
520
521     ],
522     "event": [
523
524     ]
525   },
526   "singleton": false,
527   "alias": null,
528   "superclasses": [
529     "Ext.Base"
530   ],
531   "protected": false,
532   "tagname": "class",
533   "mixins": [
534
535   ],
536   "href": "KeyNav.html#Ext-util-KeyNav",
537   "subclasses": [
538     "Ext.view.BoundListKeyNav"
539   ],
540   "static": false,
541   "author": null,
542   "component": false,
543   "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/util/KeyNav.js",
544   "private": false,
545   "alternateClassNames": [
546     "Ext.KeyNav"
547   ],
548   "name": "Ext.util.KeyNav",
549   "doc": "<p>Provides a convenient wrapper for normalized keyboard navigation.  KeyNav allows you to bind\nnavigation keys to function calls that will get called when the keys are pressed, providing an easy\nway to implement custom navigation schemes for any UI component.</p>\n\n\n<p>The following are all of the possible keys that can be implemented: enter, space, left, right, up, down, tab, esc,\npageUp, pageDown, del, backspace, home, end.  Usage:</p>\n\n\n\n\n<pre><code>var nav = new Ext.util.KeyNav(\"my-element\", {\n    \"left\" : function(e){\n        this.moveLeft(e.ctrlKey);\n    },\n    \"right\" : function(e){\n        this.moveRight(e.ctrlKey);\n    },\n    \"enter\" : function(e){\n        this.save();\n    },\n    scope : this\n});\n</code></pre>\n\n",
550   "mixedInto": [
551
552   ],
553   "linenr": 1,
554   "xtypes": [
555
556   ],
557   "html_filename": "KeyNav.html",
558   "extends": "Ext.Base"
559 });