Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / docs / output / Ext.util.HashMap.js
1 Ext.data.JsonP.Ext_util_HashMap({
2   "allMixins": [
3
4   ],
5   "deprecated": null,
6   "docauthor": null,
7   "members": {
8     "cfg": [
9       {
10         "type": "Function",
11         "deprecated": null,
12         "alias": null,
13         "protected": false,
14         "tagname": "cfg",
15         "href": "HashMap.html#Ext-util-HashMap-cfg-keyFn",
16         "shortDoc": "A function that is used to retrieve a default key for a passed object. ...",
17         "static": false,
18         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/HashMap.js",
19         "private": false,
20         "name": "keyFn",
21         "owner": "Ext.util.HashMap",
22         "doc": "<p>A function that is used to retrieve a default key for a passed object.\nA default is provided that returns the <b>id</b> property on the object. This function is only used\nif the add method is called with a single argument.</p>\n",
23         "linenr": 26,
24         "html_filename": "HashMap.html"
25       }
26     ],
27     "method": [
28       {
29         "deprecated": null,
30         "alias": null,
31         "href": "HashMap.html#Ext-util-HashMap-method-constructor",
32         "tagname": "method",
33         "protected": false,
34         "shortDoc": "Creates new HashMap. ...",
35         "static": false,
36         "params": [
37           {
38             "type": "Object",
39             "optional": true,
40             "doc": "<p>(optional) Config object.</p>\n",
41             "name": "config"
42           }
43         ],
44         "private": false,
45         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/HashMap.js",
46         "doc": "<p>Creates new HashMap.</p>\n",
47         "owner": "Ext.util.HashMap",
48         "name": "HashMap",
49         "html_filename": "HashMap.html",
50         "return": {
51           "type": "Object",
52           "doc": "\n"
53         },
54         "linenr": 36
55       },
56       {
57         "deprecated": null,
58         "alias": null,
59         "protected": false,
60         "tagname": "method",
61         "href": "HashMap.html#Ext-util-HashMap-method-add",
62         "shortDoc": "Adds an item to the collection. ...",
63         "static": false,
64         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/HashMap.js",
65         "private": false,
66         "params": [
67           {
68             "type": "String",
69             "optional": false,
70             "doc": "<p>The key to associate with the item, or the new item.</p>\n\n\n<p>If a <a href=\"#/api/Ext.util.HashMap-method-getKey\" rel=\"Ext.util.HashMap-method-getKey\" class=\"docClass\">getKey</a> implementation was specified for this HashMap,\nor if the key of the stored items is in a property called <tt><b>id</b></tt>,\nthe HashMap will be able to <i>derive</i> the key for the new item.\nIn this case just pass the new item in this parameter.</p>\n\n",
71             "name": "key"
72           },
73           {
74             "type": "Object",
75             "optional": false,
76             "doc": "<p>The item to add.</p>\n",
77             "name": "o"
78           }
79         ],
80         "name": "add",
81         "owner": "Ext.util.HashMap",
82         "doc": "<p>Adds an item to the collection. Fires the <a href=\"#/api/Ext.util.HashMap-event-add\" rel=\"Ext.util.HashMap-event-add\" class=\"docClass\">add</a> event when complete.</p>\n",
83         "linenr": 123,
84         "return": {
85           "type": "Object",
86           "doc": "<p>The item added.</p>\n"
87         },
88         "html_filename": "HashMap.html"
89       },
90       {
91         "deprecated": null,
92         "alias": null,
93         "protected": false,
94         "tagname": "method",
95         "href": "Base3.html#Ext-Base-method-addStatics",
96         "shortDoc": "Add / override static properties of this class. ...",
97         "static": true,
98         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
99         "private": false,
100         "params": [
101           {
102             "type": "Object",
103             "optional": false,
104             "doc": "\n",
105             "name": "members"
106           }
107         ],
108         "name": "addStatics",
109         "owner": "Ext.Base",
110         "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",
111         "linenr": 388,
112         "return": {
113           "type": "Ext.Base",
114           "doc": "<p>this</p>\n"
115         },
116         "html_filename": "Base3.html"
117       },
118       {
119         "deprecated": null,
120         "alias": null,
121         "protected": false,
122         "tagname": "method",
123         "href": "Base3.html#Ext-Base-method-callOverridden",
124         "shortDoc": "Call the original method that was previously overridden with Ext.Base.override\n\nExt.define('My.Cat', {\n    constructo...",
125         "static": false,
126         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
127         "private": false,
128         "params": [
129           {
130             "type": "Array/Arguments",
131             "optional": false,
132             "doc": "<p>The arguments, either an array or the <code>arguments</code> object</p>\n",
133             "name": "args"
134           }
135         ],
136         "name": "callOverridden",
137         "owner": "Ext.Base",
138         "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",
139         "linenr": 269,
140         "return": {
141           "type": "Mixed",
142           "doc": "<p>Returns the result after calling the overridden method</p>\n"
143         },
144         "html_filename": "Base3.html"
145       },
146       {
147         "deprecated": null,
148         "alias": null,
149         "protected": true,
150         "tagname": "method",
151         "href": "Base3.html#Ext-Base-method-callParent",
152         "shortDoc": "Call the parent's overridden method. ...",
153         "static": false,
154         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
155         "private": false,
156         "params": [
157           {
158             "type": "Array/Arguments",
159             "optional": false,
160             "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",
161             "name": "args"
162           }
163         ],
164         "name": "callParent",
165         "owner": "Ext.Base",
166         "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",
167         "linenr": 124,
168         "return": {
169           "type": "Mixed",
170           "doc": "<p>Returns the result from the superclass' method</p>\n"
171         },
172         "html_filename": "Base3.html"
173       },
174       {
175         "deprecated": null,
176         "alias": null,
177         "protected": false,
178         "tagname": "method",
179         "href": "HashMap.html#Ext-util-HashMap-method-clear",
180         "shortDoc": "Removes all items from the hash. ...",
181         "static": false,
182         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/HashMap.js",
183         "private": false,
184         "params": [
185           {
186             "type": "Object",
187             "optional": false,
188             "doc": "\n",
189             "name": "initial"
190           }
191         ],
192         "name": "clear",
193         "owner": "Ext.util.HashMap",
194         "doc": "<p>Removes all items from the hash.</p>\n",
195         "linenr": 217,
196         "return": {
197           "type": "Ext.util.HashMap",
198           "doc": "<p>this</p>\n"
199         },
200         "html_filename": "HashMap.html"
201       },
202       {
203         "deprecated": null,
204         "alias": null,
205         "protected": false,
206         "tagname": "method",
207         "href": "HashMap.html#Ext-util-HashMap-method-clone",
208         "shortDoc": "Performs a shallow copy on this hash. ...",
209         "static": false,
210         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/HashMap.js",
211         "private": false,
212         "params": [
213
214         ],
215         "name": "clone",
216         "owner": "Ext.util.HashMap",
217         "doc": "<p>Performs a shallow copy on this hash.</p>\n",
218         "linenr": 314,
219         "return": {
220           "type": "Ext.util.HashMap",
221           "doc": "<p>The new hash object.</p>\n"
222         },
223         "html_filename": "HashMap.html"
224       },
225       {
226         "deprecated": null,
227         "alias": null,
228         "protected": false,
229         "tagname": "method",
230         "href": "HashMap.html#Ext-util-HashMap-method-contains",
231         "shortDoc": "Checks whether a value exists in the hash. ...",
232         "static": false,
233         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/HashMap.js",
234         "private": false,
235         "params": [
236           {
237             "type": "Object",
238             "optional": false,
239             "doc": "<p>The value to check for.</p>\n",
240             "name": "value"
241           }
242         ],
243         "name": "contains",
244         "owner": "Ext.util.HashMap",
245         "doc": "<p>Checks whether a value exists in the hash.</p>\n",
246         "linenr": 240,
247         "return": {
248           "type": "Boolean",
249           "doc": "<p>True if the value exists in the dictionary.</p>\n"
250         },
251         "html_filename": "HashMap.html"
252       },
253       {
254         "deprecated": null,
255         "alias": null,
256         "protected": false,
257         "tagname": "method",
258         "href": "HashMap.html#Ext-util-HashMap-method-containsKey",
259         "shortDoc": "Checks whether a key exists in the hash. ...",
260         "static": false,
261         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/HashMap.js",
262         "private": false,
263         "params": [
264           {
265             "type": "String",
266             "optional": false,
267             "doc": "<p>The key to check for.</p>\n",
268             "name": "key"
269           }
270         ],
271         "name": "containsKey",
272         "owner": "Ext.util.HashMap",
273         "doc": "<p>Checks whether a key exists in the hash.</p>\n",
274         "linenr": 231,
275         "return": {
276           "type": "Boolean",
277           "doc": "<p>True if they key exists in the hash.</p>\n"
278         },
279         "html_filename": "HashMap.html"
280       },
281       {
282         "deprecated": null,
283         "alias": null,
284         "protected": false,
285         "tagname": "method",
286         "href": "Base3.html#Ext-Base-method-create",
287         "shortDoc": "Create a new instance of this Class. ...",
288         "static": true,
289         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
290         "private": false,
291         "params": [
292
293         ],
294         "name": "create",
295         "owner": "Ext.Base",
296         "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",
297         "linenr": 329,
298         "return": {
299           "type": "Object",
300           "doc": "<p>the created instance.</p>\n"
301         },
302         "html_filename": "Base3.html"
303       },
304       {
305         "deprecated": null,
306         "alias": null,
307         "protected": false,
308         "tagname": "method",
309         "href": "Base3.html#Ext-Base-method-createAlias",
310         "shortDoc": "Create aliases for existing prototype methods. ...",
311         "static": true,
312         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
313         "private": false,
314         "params": [
315           {
316             "type": "String/Object",
317             "optional": false,
318             "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",
319             "name": "alias"
320           },
321           {
322             "type": "String/Object",
323             "optional": false,
324             "doc": "<p>The original method name</p>\n",
325             "name": "origin"
326           }
327         ],
328         "name": "createAlias",
329         "owner": "Ext.Base",
330         "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",
331         "linenr": 648,
332         "return": {
333           "type": "void",
334           "doc": "\n"
335         },
336         "html_filename": "Base3.html"
337       },
338       {
339         "deprecated": null,
340         "alias": null,
341         "protected": false,
342         "tagname": "method",
343         "href": "HashMap.html#Ext-util-HashMap-method-each",
344         "shortDoc": "Executes the specified function once for each item in the hash. ...",
345         "static": false,
346         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/HashMap.js",
347         "private": false,
348         "params": [
349           {
350             "type": "Function",
351             "optional": false,
352             "doc": "<p>The function to execute.</p>\n",
353             "name": "fn"
354           },
355           {
356             "type": "Object",
357             "optional": false,
358             "doc": "<p>The scope to execute in. Defaults to <tt>this</tt>.</p>\n",
359             "name": "scope"
360           }
361         ],
362         "name": "each",
363         "owner": "Ext.util.HashMap",
364         "doc": "<p>Executes the specified function once for each item in the hash.\nReturning false from the function will cease iteration.</p>\n\n<p>The paramaters passed to the function are:</p>\n\n<div class=\"mdetail-params\"><ul>\n<li><b>key</b> : String<p class=\"sub-desc\">The key of the item</p></li>\n<li><b>value</b> : Number<p class=\"sub-desc\">The value of the item</p></li>\n<li><b>length</b> : Number<p class=\"sub-desc\">The total number of items in the hash</p></li>\n</ul></div>\n\n",
365         "linenr": 283,
366         "return": {
367           "type": "Ext.util.HashMap",
368           "doc": "<p>this</p>\n"
369         },
370         "html_filename": "HashMap.html"
371       },
372       {
373         "deprecated": null,
374         "alias": null,
375         "protected": false,
376         "tagname": "method",
377         "href": "HashMap.html#Ext-util-HashMap-method-get",
378         "shortDoc": "Retrieves an item with a particular key. ...",
379         "static": false,
380         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/HashMap.js",
381         "private": false,
382         "params": [
383           {
384             "type": "String",
385             "optional": false,
386             "doc": "<p>The key to lookup.</p>\n",
387             "name": "key"
388           }
389         ],
390         "name": "get",
391         "owner": "Ext.util.HashMap",
392         "doc": "<p>Retrieves an item with a particular key.</p>\n",
393         "linenr": 208,
394         "return": {
395           "type": "Object",
396           "doc": "<p>The value at that key. If it doesn't exist, <tt>undefined</tt> is returned.</p>\n"
397         },
398         "html_filename": "HashMap.html"
399       },
400       {
401         "deprecated": null,
402         "alias": null,
403         "protected": false,
404         "tagname": "method",
405         "href": "HashMap.html#Ext-util-HashMap-method-getCount",
406         "shortDoc": "Gets the number of items in the hash. ...",
407         "static": false,
408         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/HashMap.js",
409         "private": false,
410         "params": [
411
412         ],
413         "name": "getCount",
414         "owner": "Ext.util.HashMap",
415         "doc": "<p>Gets the number of items in the hash.</p>\n",
416         "linenr": 88,
417         "return": {
418           "type": "Number",
419           "doc": "<p>The number of items in the hash.</p>\n"
420         },
421         "html_filename": "HashMap.html"
422       },
423       {
424         "deprecated": null,
425         "alias": null,
426         "protected": false,
427         "tagname": "method",
428         "href": "HashMap.html#Ext-util-HashMap-method-getKey",
429         "shortDoc": "Extracts the key from an object. ...",
430         "static": false,
431         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/HashMap.js",
432         "private": false,
433         "params": [
434           {
435             "type": "Object",
436             "optional": false,
437             "doc": "<p>The object to get the key from</p>\n",
438             "name": "o"
439           }
440         ],
441         "name": "getKey",
442         "owner": "Ext.util.HashMap",
443         "doc": "<p>Extracts the key from an object. This is a default implementation, it may be overridden</p>\n",
444         "linenr": 114,
445         "return": {
446           "type": "String",
447           "doc": "<p>The key to use.</p>\n"
448         },
449         "html_filename": "HashMap.html"
450       },
451       {
452         "deprecated": null,
453         "alias": null,
454         "protected": false,
455         "tagname": "method",
456         "href": "HashMap.html#Ext-util-HashMap-method-getKeys",
457         "shortDoc": "Return all of the keys in the hash. ...",
458         "static": false,
459         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/HashMap.js",
460         "private": false,
461         "params": [
462
463         ],
464         "name": "getKeys",
465         "owner": "Ext.util.HashMap",
466         "doc": "<p>Return all of the keys in the hash.</p>\n",
467         "linenr": 249,
468         "return": {
469           "type": "Array",
470           "doc": "<p>An array of keys.</p>\n"
471         },
472         "html_filename": "HashMap.html"
473       },
474       {
475         "deprecated": null,
476         "alias": null,
477         "protected": false,
478         "tagname": "method",
479         "href": "Base3.html#Ext-Base-method-getName",
480         "shortDoc": "Get the current class' name in string format. ...",
481         "static": false,
482         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
483         "private": false,
484         "params": [
485
486         ],
487         "name": "getName",
488         "owner": "Ext.Base",
489         "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",
490         "linenr": 631,
491         "return": {
492           "type": "String",
493           "doc": "<p>className</p>\n"
494         },
495         "html_filename": "Base3.html"
496       },
497       {
498         "deprecated": null,
499         "alias": null,
500         "protected": false,
501         "tagname": "method",
502         "href": "HashMap.html#Ext-util-HashMap-method-getValues",
503         "shortDoc": "Return all of the values in the hash. ...",
504         "static": false,
505         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/HashMap.js",
506         "private": false,
507         "params": [
508
509         ],
510         "name": "getValues",
511         "owner": "Ext.util.HashMap",
512         "doc": "<p>Return all of the values in the hash.</p>\n",
513         "linenr": 257,
514         "return": {
515           "type": "Array",
516           "doc": "<p>An array of values.</p>\n"
517         },
518         "html_filename": "HashMap.html"
519       },
520       {
521         "deprecated": null,
522         "alias": null,
523         "protected": false,
524         "tagname": "method",
525         "href": "Base3.html#Ext-Base-method-implement",
526         "shortDoc": "Add methods / properties to the prototype of this class. ...",
527         "static": true,
528         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
529         "private": false,
530         "params": [
531           {
532             "type": "Object",
533             "optional": false,
534             "doc": "\n",
535             "name": "members"
536           }
537         ],
538         "name": "implement",
539         "owner": "Ext.Base",
540         "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",
541         "linenr": 415,
542         "return": {
543           "type": "void",
544           "doc": "\n"
545         },
546         "html_filename": "Base3.html"
547       },
548       {
549         "deprecated": null,
550         "alias": null,
551         "protected": true,
552         "tagname": "method",
553         "href": "Base3.html#Ext-Base-method-initConfig",
554         "shortDoc": "Initialize configuration for this class. ...",
555         "static": false,
556         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
557         "private": false,
558         "params": [
559           {
560             "type": "Object",
561             "optional": false,
562             "doc": "\n",
563             "name": "config"
564           }
565         ],
566         "name": "initConfig",
567         "owner": "Ext.Base",
568         "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",
569         "linenr": 63,
570         "return": {
571           "type": "Object",
572           "doc": "<p>mixins The mixin prototypes as key - value pairs</p>\n"
573         },
574         "html_filename": "Base3.html"
575       },
576       {
577         "deprecated": null,
578         "alias": null,
579         "protected": false,
580         "tagname": "method",
581         "href": "Base3.html#Ext-Base-method-override",
582         "shortDoc": "Override prototype members of this class. ...",
583         "static": true,
584         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
585         "private": false,
586         "params": [
587           {
588             "type": "Object",
589             "optional": false,
590             "doc": "\n",
591             "name": "members"
592           }
593         ],
594         "name": "override",
595         "owner": "Ext.Base",
596         "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",
597         "linenr": 518,
598         "return": {
599           "type": "Ext.Base",
600           "doc": "<p>this</p>\n"
601         },
602         "html_filename": "Base3.html"
603       },
604       {
605         "deprecated": null,
606         "alias": null,
607         "protected": false,
608         "tagname": "method",
609         "href": "HashMap.html#Ext-util-HashMap-method-remove",
610         "shortDoc": "Remove an item from the hash. ...",
611         "static": false,
612         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/HashMap.js",
613         "private": false,
614         "params": [
615           {
616             "type": "Object",
617             "optional": false,
618             "doc": "<p>The value of the item to remove.</p>\n",
619             "name": "o"
620           }
621         ],
622         "name": "remove",
623         "owner": "Ext.util.HashMap",
624         "doc": "<p>Remove an item from the hash.</p>\n",
625         "linenr": 176,
626         "return": {
627           "type": "Boolean",
628           "doc": "<p>True if the item was successfully removed.</p>\n"
629         },
630         "html_filename": "HashMap.html"
631       },
632       {
633         "deprecated": null,
634         "alias": null,
635         "protected": false,
636         "tagname": "method",
637         "href": "HashMap.html#Ext-util-HashMap-method-removeAtKey",
638         "shortDoc": "Remove an item from the hash. ...",
639         "static": false,
640         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/HashMap.js",
641         "private": false,
642         "params": [
643           {
644             "type": "String",
645             "optional": false,
646             "doc": "<p>The key to remove.</p>\n",
647             "name": "key"
648           }
649         ],
650         "name": "removeAtKey",
651         "owner": "Ext.util.HashMap",
652         "doc": "<p>Remove an item from the hash.</p>\n",
653         "linenr": 189,
654         "return": {
655           "type": "Boolean",
656           "doc": "<p>True if the item was successfully removed.</p>\n"
657         },
658         "html_filename": "HashMap.html"
659       },
660       {
661         "deprecated": null,
662         "alias": null,
663         "protected": false,
664         "tagname": "method",
665         "href": "HashMap.html#Ext-util-HashMap-method-replace",
666         "shortDoc": "Replaces an item in the hash. ...",
667         "static": false,
668         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/HashMap.js",
669         "private": false,
670         "params": [
671           {
672             "type": "String",
673             "optional": false,
674             "doc": "<p>The key of the item.</p>\n",
675             "name": "key"
676           },
677           {
678             "type": "Object",
679             "optional": false,
680             "doc": "<p>The new value for the item.</p>\n",
681             "name": "value"
682           }
683         ],
684         "name": "replace",
685         "owner": "Ext.util.HashMap",
686         "doc": "<p>Replaces an item in the hash. If the key doesn't exist, the\n<a href=\"#/api/Ext.util.HashMap-event-add\" rel=\"Ext.util.HashMap-event-add\" class=\"docClass\">add</a> method will be used.</p>\n",
687         "linenr": 155,
688         "return": {
689           "type": "Object",
690           "doc": "<p>The new value of the item.</p>\n"
691         },
692         "html_filename": "HashMap.html"
693       },
694       {
695         "deprecated": null,
696         "alias": null,
697         "protected": true,
698         "tagname": "method",
699         "href": "Base3.html#Ext-Base-method-statics",
700         "shortDoc": "Get the reference to the class from which this object was instantiated. ...",
701         "static": false,
702         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
703         "private": false,
704         "params": [
705
706         ],
707         "name": "statics",
708         "owner": "Ext.Base",
709         "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",
710         "linenr": 199,
711         "return": {
712           "type": "Class",
713           "doc": "\n"
714         },
715         "html_filename": "Base3.html"
716       }
717     ],
718     "property": [
719       {
720         "type": "Class",
721         "deprecated": null,
722         "alias": null,
723         "protected": true,
724         "tagname": "property",
725         "href": "Base3.html#Ext-Base-property-self",
726         "shortDoc": "Get the reference to the current class from which this object was instantiated. ...",
727         "static": false,
728         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
729         "private": false,
730         "name": "self",
731         "owner": "Ext.Base",
732         "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",
733         "linenr": 18,
734         "html_filename": "Base3.html"
735       }
736     ],
737     "cssVar": [
738
739     ],
740     "cssMixin": [
741
742     ],
743     "event": [
744       {
745         "deprecated": null,
746         "alias": null,
747         "protected": false,
748         "tagname": "event",
749         "href": "HashMap.html#Ext-util-HashMap-event-add",
750         "shortDoc": "Fires when a new item is added to the hash ...",
751         "static": false,
752         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/HashMap.js",
753         "private": false,
754         "params": [
755           {
756             "type": "Ext.util.HashMap",
757             "optional": false,
758             "doc": "<p>.</p>\n",
759             "name": "this"
760           },
761           {
762             "type": "String",
763             "optional": false,
764             "doc": "<p>The key of the added item.</p>\n",
765             "name": "key"
766           },
767           {
768             "type": "Object",
769             "optional": false,
770             "doc": "<p>The value of the added item.</p>\n",
771             "name": "value"
772           },
773           {
774             "type": "Object",
775             "tagname": "param",
776             "name": "options",
777             "doc": "<p>The options object passed to <a href=\"#/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">Ext.util.Observable.addListener</a>.</p>\n"
778           }
779         ],
780         "name": "add",
781         "owner": "Ext.util.HashMap",
782         "doc": "<p>Fires when a new item is added to the hash</p>\n",
783         "linenr": 47,
784         "html_filename": "HashMap.html"
785       },
786       {
787         "deprecated": null,
788         "alias": null,
789         "protected": false,
790         "tagname": "event",
791         "href": "HashMap.html#Ext-util-HashMap-event-clear",
792         "shortDoc": "Fires when the hash is cleared. ...",
793         "static": false,
794         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/HashMap.js",
795         "private": false,
796         "params": [
797           {
798             "type": "Ext.util.HashMap",
799             "optional": false,
800             "doc": "<p>.</p>\n",
801             "name": "this"
802           },
803           {
804             "type": "Object",
805             "tagname": "param",
806             "name": "options",
807             "doc": "<p>The options object passed to <a href=\"#/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">Ext.util.Observable.addListener</a>.</p>\n"
808           }
809         ],
810         "name": "clear",
811         "owner": "Ext.util.HashMap",
812         "doc": "<p>Fires when the hash is cleared.</p>\n",
813         "linenr": 55,
814         "html_filename": "HashMap.html"
815       },
816       {
817         "deprecated": null,
818         "alias": null,
819         "protected": false,
820         "tagname": "event",
821         "href": "HashMap.html#Ext-util-HashMap-event-remove",
822         "shortDoc": "Fires when an item is removed from the hash. ...",
823         "static": false,
824         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/HashMap.js",
825         "private": false,
826         "params": [
827           {
828             "type": "Ext.util.HashMap",
829             "optional": false,
830             "doc": "<p>.</p>\n",
831             "name": "this"
832           },
833           {
834             "type": "String",
835             "optional": false,
836             "doc": "<p>The key of the removed item.</p>\n",
837             "name": "key"
838           },
839           {
840             "type": "Object",
841             "optional": false,
842             "doc": "<p>The value of the removed item.</p>\n",
843             "name": "value"
844           },
845           {
846             "type": "Object",
847             "tagname": "param",
848             "name": "options",
849             "doc": "<p>The options object passed to <a href=\"#/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">Ext.util.Observable.addListener</a>.</p>\n"
850           }
851         ],
852         "name": "remove",
853         "owner": "Ext.util.HashMap",
854         "doc": "<p>Fires when an item is removed from the hash.</p>\n",
855         "linenr": 61,
856         "html_filename": "HashMap.html"
857       },
858       {
859         "deprecated": null,
860         "alias": null,
861         "protected": false,
862         "tagname": "event",
863         "href": "HashMap.html#Ext-util-HashMap-event-replace",
864         "shortDoc": "Fires when an item is replaced in the hash. ...",
865         "static": false,
866         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/HashMap.js",
867         "private": false,
868         "params": [
869           {
870             "type": "Ext.util.HashMap",
871             "optional": false,
872             "doc": "<p>.</p>\n",
873             "name": "this"
874           },
875           {
876             "type": "String",
877             "optional": false,
878             "doc": "<p>The key of the replaced item.</p>\n",
879             "name": "key"
880           },
881           {
882             "type": "Object",
883             "optional": false,
884             "doc": "<p>The new value for the item.</p>\n",
885             "name": "value"
886           },
887           {
888             "type": "Object",
889             "optional": false,
890             "doc": "<p>The old value for the item.</p>\n",
891             "name": "old"
892           },
893           {
894             "type": "Object",
895             "tagname": "param",
896             "name": "options",
897             "doc": "<p>The options object passed to <a href=\"#/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">Ext.util.Observable.addListener</a>.</p>\n"
898           }
899         ],
900         "name": "replace",
901         "owner": "Ext.util.HashMap",
902         "doc": "<p>Fires when an item is replaced in the hash.</p>\n",
903         "linenr": 69,
904         "html_filename": "HashMap.html"
905       }
906     ]
907   },
908   "singleton": false,
909   "alias": null,
910   "superclasses": [
911     "Ext.Base"
912   ],
913   "protected": false,
914   "tagname": "class",
915   "mixins": [
916
917   ],
918   "href": "HashMap.html#Ext-util-HashMap",
919   "subclasses": [
920
921   ],
922   "static": false,
923   "author": null,
924   "component": false,
925   "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/HashMap.js",
926   "private": false,
927   "alternateClassNames": [
928
929   ],
930   "name": "Ext.util.HashMap",
931   "doc": "<p>\nRepresents a collection of a set of key and value pairs. Each key in the HashMap\nmust be unique, the same key cannot exist twice. Access to items is provided via\nthe key only. Sample usage:\n<pre><code>var map = new Ext.util.HashMap();\nmap.add('key1', 1);\nmap.add('key2', 2);\nmap.add('key3', 3);\n\nmap.each(function(key, value, length){\n    console.log(key, value, length);\n});\n</code></pre>\n</p>\n\n\n\n\n<p>The HashMap is an unordered class,\nthere is no guarantee when iterating over the items that they will be in any particular\norder. If this is required, then use a <a href=\"#/api/Ext.util.MixedCollection\" rel=\"Ext.util.MixedCollection\" class=\"docClass\">Ext.util.MixedCollection</a>.\n</p>\n\n",
932   "mixedInto": [
933
934   ],
935   "linenr": 1,
936   "xtypes": [
937
938   ],
939   "html_filename": "HashMap.html",
940   "extends": "Ext.Base"
941 });