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