docs/symbols
[roojs1] / docs / symbols / Roo.util.MixedCollection.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
3
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
6         <head>
7                 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8                 <meta name="generator" content="JsDoc Toolkit" />
9                 
10                 
11                 <title>JsDoc Reference - Roo.util.MixedCollection</title>
12                 
13                 
14         <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />            
15         <link rel="stylesheet" type="text/css" href="../default.css" />
16         
17         
18         <script type="text/javascript" src="../page.js">
19         
20         </script>
21          
22                 
23         </head>
24
25         <body onload="RooDocsPage.onload();">
26          
27         
28 <div class="body-wrap">
29
30     <!-- ============================== links to methods. ================================= --> 
31
32     <div class="top-tools">
33     <!--
34         <a class="inner-link" href="#Roo.util.MixedCollection-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35         <a class="inner-link" href="#Roo.util.MixedCollection-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36         <a class="inner-link" href="#Roo.util.MixedCollection-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37         <a class="inner-link" href="#Roo.util.MixedCollection-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38         <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
39         -->
40     </div>
41
42     
43 <!-- ============================== inheritance Block. ================================= -->    
44         
45                 <div class="inheritance res-block">
46                    <pre class="res-block-inner"><a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
47 <img src="../../images/default/s.gif" height="1"  width="20"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.util.MixedCollection 
48
49                    </pre>
50                 </div>
51        
52 <!-- ============================== class title / details ============================ -->
53     
54     
55     <h1 class="classTitle">
56                                 
57                                 Class Roo.util.MixedCollection
58                         </h1>
59                         
60     <table cellspacing="0" class="class-summary-table">
61         
62                 <tr><td class="label">Package:</td><td class="hd-info">Roo.util</td></tr>
63         
64         <tr><td class="label">Defined In:</td><td class="hd-info">
65                         
66                                         <a href="./src/Roo_util_MixedCollection.js.html">Roo/util/MixedCollection.js</a>.
67                         
68         </td></tr>
69         <tr><td class="label">Class:</td><td class="hd-info">MixedCollection</td></tr>
70         
71         
72         
73         
74                 <tr><td class="label">Extends:</td><td class="hd-info">
75                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
76         
77                 </td></tr>    
78         
79         
80     </table>
81
82     
83 <!-- ============================== class summary ========================== -->                        
84     <div class="description">
85         A Collection class that maintains both numeric indexes and keys and exposes events.
86     </div>
87
88         
89 <!-- ============================== Class comment block... ========================== -->                                       
90
91 <div class="comments">
92         <b>Class Comments / Notes</B> =>  
93         <u onclick="parent.CommentDialog.showCommentId = 'Roo.util.MixedCollection';">[Add Your comment/notes about this class]</u>
94         <br/>
95         <iframe frameborder="0"  id="comments-Roo.util" style="border: none;width:100%;" 
96                 src="/blog.php/GtkDjsComments/Roo.util.MixedCollection.html"></iframe>
97 </div>
98         
99
100                 
101 <!-- ============================== config options ========================== -->                                               
102                  
103     
104     
105                 
106     <div class="hr"></div>
107     <a id="Roo.util.MixedCollection-configs"></a>
108                 
109     
110     
111      <table cellspacing="0" class="member-table">
112       <caption class="Empty">Config Options - Has None</caption>
113      </table>
114     
115     
116      
117                 
118   
119   
120   
121   
122   
123   
124   
125   
126   <!-- ============================== public properties ==================== -->        
127   
128   
129   
130     <a id="Roo.util.MixedCollection-props"></a>      
131     
132     
133
134     
135     
136      <table cellspacing="0" class="member-table">
137       <caption class="Empty">Public Properties - Has None</caption>
138      </table>
139     
140     
141      
142     
143   <!-- ============================== methods summary / details ======================== -->
144   
145   
146   <a id="Roo.util.MixedCollection-methods"></a>
147         <!-- constructor?? -->
148         
149         <!-- static's first 
150         
151         
152         -->
153         
154         <!-- then dynamics first -->
155         
156   
157   
158     
159     
160     
161       <table cellspacing="0" class="member-table">
162       <caption>Public Methods</caption>
163         <tr>
164             <th class="sig-header" colspan="2">Method</th>            
165             <th class="msource-header">Defined By</th>
166
167         </tr>
168         
169         
170         
171          
172         
173         
174           
175           <tr class="method-row config-row-alt0 expandable notInherited">
176             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
177            
178            
179             <td class="sig">
180                 <a id="Roo.util-method-MixedCollection"   name=".MixedCollection"></a>
181                 <div class="fixedFont">
182                         <span class="attributes">new <B>Roo.util.</B></span><b class="itemname">MixedCollection</b>
183                                 
184                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>allowFunctions</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>keyFn</i></B>) 
185                         
186                                 
187                         
188                 </div>
189                 <div class="mdesc">
190                 
191                  
192                         <div class="short">Create a new Roo.util.MixedCollection</div> 
193                  
194                  
195                     <div class="long">
196                         
197                         
198                         
199                                 Create a new Roo.util.MixedCollection
200                         
201                         
202                                 <dl class="detailList">
203                                 <dt class="heading">Parameters:</dt>
204                                 
205                                         <dt>
206                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  <b>allowFunctions</b>
207                                                 
208                                         </dt>
209                                         <dd>True if the addAll function should add function references to the<br/>collection (defaults to false)</dd>
210                                 
211                                         <dt>
212                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>keyFn</b>
213                                                 
214                                         </dt>
215                                         <dd>A function that can accept an item of the type(s) stored in this MixedCollection<br/>and return the key value for that item.  This is used when available to look up the key on items that<br/>were passed without an explicit key parameter to a MixedCollection method.  Passing this parameter is<br/>equivalent to providing an implementation for the {<b>link</b> <b>getKey</b>} method.</dd>
216                                 
217                                 </dl>
218                         
219                         
220                         
221                         
222                         
223                         
224                         
225
226                     
227                     
228                      
229                     </div>                    
230                 </div>
231
232             </td>
233             <td class="msource">
234                 &nbsp;
235             </td>
236         </tr>
237         
238           
239           <tr class="method-row config-row-alt1 expandable notInherited">
240             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
241            
242            
243             <td class="sig">
244                 <a id="Roo.util.MixedCollection-method-add"   name=".add"></a>
245                 <div class="fixedFont">
246                         <span class="attributes"></span><b class="itemname">add</b>
247                                 
248                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>key</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>o</i></B>) 
249                         
250                                 
251                                          : 
252                                         
253                                                 
254                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
255                                         
256                                         
257                                         
258                                 
259                         
260                 </div>
261                 <div class="mdesc">
262                 
263                    <div class="short">Adds an item to the collection.</div> 
264                  
265                  
266                  
267                     <div class="long">
268                         
269                                 Adds an item to the collection.
270                     
271                                 
272                         
273                         
274                         
275                         
276                                 <dl class="detailList">
277                                 <dt class="heading">Parameters:</dt>
278                                 
279                                         <dt>
280                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>key</b>
281                                                 
282                                         </dt>
283                                         <dd>The key to associate with the item</dd>
284                                 
285                                         <dt>
286                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>o</b>
287                                                 
288                                         </dt>
289                                         <dd>The item to add.</dd>
290                                 
291                                 </dl>
292                         
293                         
294                         
295                         
296                         
297                                 <dl class="detailList">
298                                 <dt class="heading">Returns:</dt>
299                                 
300                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  The item added.</dd>
301                                 
302                                 </dl>
303                         
304                         
305                         
306
307                     
308                     
309                      
310                     </div>                    
311                 </div>
312
313             </td>
314             <td class="msource">
315                 
316                         Roo.util.MixedCollection
317                 &nbsp;
318             </td>
319         </tr>
320         
321           
322           <tr class="method-row config-row-alt0 expandable notInherited">
323             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
324            
325            
326             <td class="sig">
327                 <a id="Roo.util.MixedCollection-method-addAll"   name=".addAll"></a>
328                 <div class="fixedFont">
329                         <span class="attributes"></span><b class="itemname">addAll</b>
330                                 
331                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>/Array <B><i>objs</i></B>) 
332                         
333                                 
334                         
335                 </div>
336                 <div class="mdesc">
337                 
338                    <div class="short">Adds all elements of an Array or an Object to the collection.</div> 
339                  
340                  
341                  
342                     <div class="long">
343                         
344                                 Adds all elements of an Array or an Object to the collection.
345                     
346                                 
347                         
348                         
349                         
350                         
351                                 <dl class="detailList">
352                                 <dt class="heading">Parameters:</dt>
353                                 
354                                         <dt>
355                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>/Array</span>  <b>objs</b>
356                                                 
357                                         </dt>
358                                         <dd>An Object containing properties which will be added to the collection, or<br/>an Array of values, each of which are added to the collection.</dd>
359                                 
360                                 </dl>
361                         
362                         
363                         
364                         
365                         
366                         
367                         
368
369                     
370                     
371                      
372                     </div>                    
373                 </div>
374
375             </td>
376             <td class="msource">
377                 
378                         Roo.util.MixedCollection
379                 &nbsp;
380             </td>
381         </tr>
382         
383           
384           <tr class="method-row config-row-alt1 expandable notInherited">
385             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
386            
387            
388             <td class="sig">
389                 <a id="Roo.util.MixedCollection-method-clear"   name=".clear"></a>
390                 <div class="fixedFont">
391                         <span class="attributes"></span><b class="itemname">clear</b>
392                                 
393                                  () 
394                         
395                                 
396                         
397                 </div>
398                 <div class="mdesc">
399                 
400                    <div class="short">Removes all items from the collection.</div> 
401                  
402                  
403                  
404                     <div class="long">
405                         
406                                 Removes all items from the collection.
407                     
408                                 
409                         
410                         
411                         
412                         
413                         
414                         
415                         
416                         
417                         
418                         
419
420                     
421                     
422                      
423                     </div>                    
424                 </div>
425
426             </td>
427             <td class="msource">
428                 
429                         Roo.util.MixedCollection
430                 &nbsp;
431             </td>
432         </tr>
433         
434           
435           <tr class="method-row config-row-alt0 expandable notInherited">
436             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
437            
438            
439             <td class="sig">
440                 <a id="Roo.util.MixedCollection-method-clone"   name=".clone"></a>
441                 <div class="fixedFont">
442                         <span class="attributes"></span><b class="itemname">clone</b>
443                                 
444                                  () 
445                         
446                                 
447                                          : 
448                                         
449                                                 
450                                                 MixedCollection
451                                         
452                                         
453                                         
454                                 
455                         
456                 </div>
457                 <div class="mdesc">
458                 
459                    <div class="short">Creates a duplicate of this collection</div> 
460                  
461                  
462                  
463                     <div class="long">
464                         
465                                 Creates a duplicate of this collection
466                     
467                                 
468                         
469                         
470                         
471                         
472                         
473                         
474                         
475                         
476                                 <dl class="detailList">
477                                 <dt class="heading">Returns:</dt>
478                                 
479                                         <dd><span class="fixedFont">MixedCollection</span>  </dd>
480                                 
481                                 </dl>
482                         
483                         
484                         
485
486                     
487                     
488                      
489                     </div>                    
490                 </div>
491
492             </td>
493             <td class="msource">
494                 
495                         Roo.util.MixedCollection
496                 &nbsp;
497             </td>
498         </tr>
499         
500           
501           <tr class="method-row config-row-alt1 expandable notInherited">
502             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
503            
504            
505             <td class="sig">
506                 <a id="Roo.util.MixedCollection-method-contains"   name=".contains"></a>
507                 <div class="fixedFont">
508                         <span class="attributes"></span><b class="itemname">contains</b>
509                                 
510                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>o</i></B>) 
511                         
512                                 
513                                          : 
514                                         
515                                                 
516                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
517                                         
518                                         
519                                         
520                                 
521                         
522                 </div>
523                 <div class="mdesc">
524                 
525                    <div class="short">Returns true if the collection contains the passed Object as an item.</div> 
526                  
527                  
528                  
529                     <div class="long">
530                         
531                                 Returns true if the collection contains the passed Object as an item.
532                     
533                                 
534                         
535                         
536                         
537                         
538                                 <dl class="detailList">
539                                 <dt class="heading">Parameters:</dt>
540                                 
541                                         <dt>
542                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>o</b>
543                                                 
544                                         </dt>
545                                         <dd>The Object to look for in the collection.</dd>
546                                 
547                                 </dl>
548                         
549                         
550                         
551                         
552                         
553                                 <dl class="detailList">
554                                 <dt class="heading">Returns:</dt>
555                                 
556                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  True if the collection contains the Object as an item.</dd>
557                                 
558                                 </dl>
559                         
560                         
561                         
562
563                     
564                     
565                      
566                     </div>                    
567                 </div>
568
569             </td>
570             <td class="msource">
571                 
572                         Roo.util.MixedCollection
573                 &nbsp;
574             </td>
575         </tr>
576         
577           
578           <tr class="method-row config-row-alt0 expandable notInherited">
579             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
580            
581            
582             <td class="sig">
583                 <a id="Roo.util.MixedCollection-method-containsKey"   name=".containsKey"></a>
584                 <div class="fixedFont">
585                         <span class="attributes"></span><b class="itemname">containsKey</b>
586                                 
587                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>key</i></B>) 
588                         
589                                 
590                                          : 
591                                         
592                                                 
593                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
594                                         
595                                         
596                                         
597                                 
598                         
599                 </div>
600                 <div class="mdesc">
601                 
602                    <div class="short">Returns true if the collection contains the passed Object as a key.</div> 
603                  
604                  
605                  
606                     <div class="long">
607                         
608                                 Returns true if the collection contains the passed Object as a key.
609                     
610                                 
611                         
612                         
613                         
614                         
615                                 <dl class="detailList">
616                                 <dt class="heading">Parameters:</dt>
617                                 
618                                         <dt>
619                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>key</b>
620                                                 
621                                         </dt>
622                                         <dd>The key to look for in the collection.</dd>
623                                 
624                                 </dl>
625                         
626                         
627                         
628                         
629                         
630                                 <dl class="detailList">
631                                 <dt class="heading">Returns:</dt>
632                                 
633                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  True if the collection contains the Object as a key.</dd>
634                                 
635                                 </dl>
636                         
637                         
638                         
639
640                     
641                     
642                      
643                     </div>                    
644                 </div>
645
646             </td>
647             <td class="msource">
648                 
649                         Roo.util.MixedCollection
650                 &nbsp;
651             </td>
652         </tr>
653         
654           
655           <tr class="method-row config-row-alt1 expandable notInherited">
656             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
657            
658            
659             <td class="sig">
660                 <a id="Roo.util.MixedCollection-method-each"   name=".each"></a>
661                 <div class="fixedFont">
662                         <span class="attributes"></span><b class="itemname">each</b>
663                                 
664                                  (<a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>fn</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>) 
665                         
666                                 
667                         
668                 </div>
669                 <div class="mdesc">
670                 
671                    <div class="short">Executes the specified function once for every item in the collection, passing each<br/>item as the first and only parameter.</div> 
672                  
673                  
674                  
675                     <div class="long">
676                         
677                                 Executes the specified function once for every item in the collection, passing each<br/>item as the first and only parameter. returning false from the function will stop the iteration.
678                     
679                                 
680                         
681                         
682                         
683                         
684                                 <dl class="detailList">
685                                 <dt class="heading">Parameters:</dt>
686                                 
687                                         <dt>
688                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>fn</b>
689                                                 
690                                         </dt>
691                                         <dd>The function to execute for each item.</dd>
692                                 
693                                         <dt>
694                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>scope</b>
695                                                 
696                                         </dt>
697                                         <dd>(optional) The scope in which to execute the function.</dd>
698                                 
699                                 </dl>
700                         
701                         
702                         
703                         
704                         
705                         
706                         
707
708                     
709                     
710                      
711                     </div>                    
712                 </div>
713
714             </td>
715             <td class="msource">
716                 
717                         Roo.util.MixedCollection
718                 &nbsp;
719             </td>
720         </tr>
721         
722           
723           <tr class="method-row config-row-alt0 expandable notInherited">
724             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
725            
726            
727             <td class="sig">
728                 <a id="Roo.util.MixedCollection-method-eachKey"   name=".eachKey"></a>
729                 <div class="fixedFont">
730                         <span class="attributes"></span><b class="itemname">eachKey</b>
731                                 
732                                  (<a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>fn</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>) 
733                         
734                                 
735                         
736                 </div>
737                 <div class="mdesc">
738                 
739                    <div class="short">Executes the specified function once for every key in the collection, passing each<br/>key, and its associated item as the first two parameters.</div> 
740                  
741                  
742                  
743                     <div class="long">
744                         
745                                 Executes the specified function once for every key in the collection, passing each<br/>key, and its associated item as the first two parameters.
746                     
747                                 
748                         
749                         
750                         
751                         
752                                 <dl class="detailList">
753                                 <dt class="heading">Parameters:</dt>
754                                 
755                                         <dt>
756                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>fn</b>
757                                                 
758                                         </dt>
759                                         <dd>The function to execute for each item.</dd>
760                                 
761                                         <dt>
762                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>scope</b>
763                                                 
764                                         </dt>
765                                         <dd>(optional) The scope in which to execute the function.</dd>
766                                 
767                                 </dl>
768                         
769                         
770                         
771                         
772                         
773                         
774                         
775
776                     
777                     
778                      
779                     </div>                    
780                 </div>
781
782             </td>
783             <td class="msource">
784                 
785                         Roo.util.MixedCollection
786                 &nbsp;
787             </td>
788         </tr>
789         
790           
791           <tr class="method-row config-row-alt1 expandable notInherited">
792             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
793            
794            
795             <td class="sig">
796                 <a id="Roo.util.MixedCollection-method-filter"   name=".filter"></a>
797                 <div class="fixedFont">
798                         <span class="attributes"></span><b class="itemname">filter</b>
799                                 
800                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>property</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/RegExp <B><i>value</i></B>) 
801                         
802                                 
803                                          : 
804                                         
805                                                 
806                                                 MixedCollection
807                                         
808                                         
809                                         
810                                 
811                         
812                 </div>
813                 <div class="mdesc">
814                 
815                    <div class="short">Filter the <i>objects</i> in this collection by a specific property.</div> 
816                  
817                  
818                  
819                     <div class="long">
820                         
821                                 Filter the <i>objects</i> in this collection by a specific property. <br/>Returns a new collection that has been filtered.
822                     
823                                 
824                         
825                         
826                         
827                         
828                                 <dl class="detailList">
829                                 <dt class="heading">Parameters:</dt>
830                                 
831                                         <dt>
832                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>property</b>
833                                                 
834                                         </dt>
835                                         <dd>A property on your objects</dd>
836                                 
837                                         <dt>
838                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/RegExp</span>  <b>value</b>
839                                                 
840                                         </dt>
841                                         <dd>Either string that the property values <br/>should start with or a RegExp to test against the property</dd>
842                                 
843                                 </dl>
844                         
845                         
846                         
847                         
848                         
849                                 <dl class="detailList">
850                                 <dt class="heading">Returns:</dt>
851                                 
852                                         <dd><span class="fixedFont">MixedCollection</span>  The new filtered collection</dd>
853                                 
854                                 </dl>
855                         
856                         
857                         
858
859                     
860                     
861                      
862                     </div>                    
863                 </div>
864
865             </td>
866             <td class="msource">
867                 
868                         Roo.util.MixedCollection
869                 &nbsp;
870             </td>
871         </tr>
872         
873           
874           <tr class="method-row config-row-alt0 expandable notInherited">
875             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
876            
877            
878             <td class="sig">
879                 <a id="Roo.util.MixedCollection-method-filterBy"   name=".filterBy"></a>
880                 <div class="fixedFont">
881                         <span class="attributes"></span><b class="itemname">filterBy</b>
882                                 
883                                  (<a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>fn</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>) 
884                         
885                                 
886                                          : 
887                                         
888                                                 
889                                                 MixedCollection
890                                         
891                                         
892                                         
893                                 
894                         
895                 </div>
896                 <div class="mdesc">
897                 
898                    <div class="short">Filter by a function.</div> 
899                  
900                  
901                  
902                     <div class="long">
903                         
904                                 Filter by a function. * Returns a new collection that has been filtered.<br/>The passed function will be called with each <br/>object in the collection. If the function returns true, the value is included <br/>otherwise it is filtered.
905                     
906                                 
907                         
908                         
909                         
910                         
911                                 <dl class="detailList">
912                                 <dt class="heading">Parameters:</dt>
913                                 
914                                         <dt>
915                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>fn</b>
916                                                 
917                                         </dt>
918                                         <dd>The function to be called, it will receive the args o (the object), k (the key)</dd>
919                                 
920                                         <dt>
921                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>scope</b>
922                                                 
923                                         </dt>
924                                         <dd>(optional) The scope of the function (defaults to this)</dd>
925                                 
926                                 </dl>
927                         
928                         
929                         
930                         
931                         
932                                 <dl class="detailList">
933                                 <dt class="heading">Returns:</dt>
934                                 
935                                         <dd><span class="fixedFont">MixedCollection</span>  The new filtered collection</dd>
936                                 
937                                 </dl>
938                         
939                         
940                         
941
942                     
943                     
944                      
945                     </div>                    
946                 </div>
947
948             </td>
949             <td class="msource">
950                 
951                         Roo.util.MixedCollection
952                 &nbsp;
953             </td>
954         </tr>
955         
956           
957           <tr class="method-row config-row-alt1 expandable notInherited">
958             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
959            
960            
961             <td class="sig">
962                 <a id="Roo.util.MixedCollection-method-find"   name=".find"></a>
963                 <div class="fixedFont">
964                         <span class="attributes"></span><b class="itemname">find</b>
965                                 
966                                  (<a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>fn</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>) 
967                         
968                                 
969                                          : 
970                                         
971                                                 
972                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
973                                         
974                                         
975                                         
976                                 
977                         
978                 </div>
979                 <div class="mdesc">
980                 
981                    <div class="short">Returns the first item in the collection which elicits a true return value from the<br/>passed selection function.</div> 
982                  
983                  
984                  
985                     <div class="long">
986                         
987                                 Returns the first item in the collection which elicits a true return value from the<br/>passed selection function.
988                     
989                                 
990                         
991                         
992                         
993                         
994                                 <dl class="detailList">
995                                 <dt class="heading">Parameters:</dt>
996                                 
997                                         <dt>
998                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>fn</b>
999                                                 
1000                                         </dt>
1001                                         <dd>The selection function to execute for each item.</dd>
1002                                 
1003                                         <dt>
1004                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>scope</b>
1005                                                 
1006                                         </dt>
1007                                         <dd>(optional) The scope in which to execute the function.</dd>
1008                                 
1009                                 </dl>
1010                         
1011                         
1012                         
1013                         
1014                         
1015                                 <dl class="detailList">
1016                                 <dt class="heading">Returns:</dt>
1017                                 
1018                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  The first item in the collection which returned true from the selection function.</dd>
1019                                 
1020                                 </dl>
1021                         
1022                         
1023                         
1024
1025                     
1026                     
1027                      
1028                     </div>                    
1029                 </div>
1030
1031             </td>
1032             <td class="msource">
1033                 
1034                         Roo.util.MixedCollection
1035                 &nbsp;
1036             </td>
1037         </tr>
1038         
1039           
1040           <tr class="method-row config-row-alt0 expandable notInherited">
1041             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1042            
1043            
1044             <td class="sig">
1045                 <a id="Roo.util.MixedCollection-method-first"   name=".first"></a>
1046                 <div class="fixedFont">
1047                         <span class="attributes"></span><b class="itemname">first</b>
1048                                 
1049                                  () 
1050                         
1051                                 
1052                                          : 
1053                                         
1054                                                 
1055                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1056                                         
1057                                         
1058                                         
1059                                 
1060                         
1061                 </div>
1062                 <div class="mdesc">
1063                 
1064                    <div class="short">Returns the first item in the collection.</div> 
1065                  
1066                  
1067                  
1068                     <div class="long">
1069                         
1070                                 Returns the first item in the collection.
1071                     
1072                                 
1073                         
1074                         
1075                         
1076                         
1077                         
1078                         
1079                         
1080                         
1081                                 <dl class="detailList">
1082                                 <dt class="heading">Returns:</dt>
1083                                 
1084                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  the first item in the collection..</dd>
1085                                 
1086                                 </dl>
1087                         
1088                         
1089                         
1090
1091                     
1092                     
1093                      
1094                     </div>                    
1095                 </div>
1096
1097             </td>
1098             <td class="msource">
1099                 
1100                         Roo.util.MixedCollection
1101                 &nbsp;
1102             </td>
1103         </tr>
1104         
1105           
1106           <tr class="method-row config-row-alt1 expandable notInherited">
1107             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1108            
1109            
1110             <td class="sig">
1111                 <a id="Roo.util.MixedCollection-method-get"   name=".get"></a>
1112                 <div class="fixedFont">
1113                         <span class="attributes"></span><b class="itemname">get</b>
1114                                 
1115                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Number <B><i>key</i></B>) 
1116                         
1117                                 
1118                                          : 
1119                                         
1120                                                 
1121                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1122                                         
1123                                         
1124                                         
1125                                 
1126                         
1127                 </div>
1128                 <div class="mdesc">
1129                 
1130                    <div class="short">Returns the item associated with the passed key or index.</div> 
1131                  
1132                  
1133                  
1134                     <div class="long">
1135                         
1136                                 Returns the item associated with the passed key or index.
1137                     
1138                                 
1139                         
1140                         
1141                         
1142                         
1143                                 <dl class="detailList">
1144                                 <dt class="heading">Parameters:</dt>
1145                                 
1146                                         <dt>
1147                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Number</span>  <b>key</b>
1148                                                 
1149                                         </dt>
1150                                         <dd>The key or index of the item.</dd>
1151                                 
1152                                 </dl>
1153                         
1154                         
1155                         
1156                         
1157                         
1158                                 <dl class="detailList">
1159                                 <dt class="heading">Returns:</dt>
1160                                 
1161                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  The item associated with the passed key.</dd>
1162                                 
1163                                 </dl>
1164                         
1165                         
1166                         
1167
1168                     
1169                     
1170                      
1171                     </div>                    
1172                 </div>
1173
1174             </td>
1175             <td class="msource">
1176                 
1177                         Roo.util.MixedCollection
1178                 &nbsp;
1179             </td>
1180         </tr>
1181         
1182           
1183           <tr class="method-row config-row-alt0 expandable notInherited">
1184             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1185            
1186            
1187             <td class="sig">
1188                 <a id="Roo.util.MixedCollection-method-getCount"   name=".getCount"></a>
1189                 <div class="fixedFont">
1190                         <span class="attributes"></span><b class="itemname">getCount</b>
1191                                 
1192                                  () 
1193                         
1194                                 
1195                                          : 
1196                                         
1197                                                 
1198                                                 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1199                                         
1200                                         
1201                                         
1202                                 
1203                         
1204                 </div>
1205                 <div class="mdesc">
1206                 
1207                    <div class="short">Returns the number of items in the collection.</div> 
1208                  
1209                  
1210                  
1211                     <div class="long">
1212                         
1213                                 Returns the number of items in the collection.
1214                     
1215                                 
1216                         
1217                         
1218                         
1219                         
1220                         
1221                         
1222                         
1223                         
1224                                 <dl class="detailList">
1225                                 <dt class="heading">Returns:</dt>
1226                                 
1227                                         <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  the number of items in the collection.</dd>
1228                                 
1229                                 </dl>
1230                         
1231                         
1232                         
1233
1234                     
1235                     
1236                      
1237                     </div>                    
1238                 </div>
1239
1240             </td>
1241             <td class="msource">
1242                 
1243                         Roo.util.MixedCollection
1244                 &nbsp;
1245             </td>
1246         </tr>
1247         
1248           
1249           <tr class="method-row config-row-alt1 expandable notInherited">
1250             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1251            
1252            
1253             <td class="sig">
1254                 <a id="Roo.util.MixedCollection-method-getKey"   name=".getKey"></a>
1255                 <div class="fixedFont">
1256                         <span class="attributes"></span><b class="itemname">getKey</b>
1257                                 
1258                                  (<B><i>o</i></B>) 
1259                         
1260                                 
1261                                          : 
1262                                         
1263                                                 
1264                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1265                                         
1266                                         
1267                                         
1268                                 
1269                         
1270                 </div>
1271                 <div class="mdesc">
1272                 
1273                    <div class="short">MixedCollection has a generic way to fetch keys if you implement getKey.</div> 
1274                  
1275                  
1276                  
1277                     <div class="long">
1278                         
1279                                 MixedCollection has a generic way to fetch keys if you implement getKey.<br/><pre><code><br/>// normal way<br/>var mc = new Roo.util.MixedCollection();<br/>mc.add(someEl.dom.id, someEl);<br/>mc.add(otherEl.dom.id, otherEl);<br/>//and so on<br/><br/>// using getKey<br/>var mc = new Roo.util.MixedCollection();<br/>mc.getKey = function(el){<br/>   return el.dom.id;<br/>};<br/>mc.add(someEl);<br/>mc.add(otherEl);<br/><br/>// or via the constructor<br/>var mc = new Roo.util.MixedCollection(false, function(el){<br/>   return el.dom.id;<br/>});<br/>mc.add(someEl);<br/>mc.add(otherEl);<br/></code></pre>
1280                     
1281                                 
1282                         
1283                         
1284                         
1285                         
1286                                 <dl class="detailList">
1287                                 <dt class="heading">Parameters:</dt>
1288                                 
1289                                         <dt>
1290                                                  <b>o</b>
1291                                                 
1292                                         </dt>
1293                                         <dd>{Object} The item for which to find the key.</dd>
1294                                 
1295                                 </dl>
1296                         
1297                         
1298                         
1299                         
1300                         
1301                                 <dl class="detailList">
1302                                 <dt class="heading">Returns:</dt>
1303                                 
1304                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  The key for the passed item.</dd>
1305                                 
1306                                 </dl>
1307                         
1308                         
1309                         
1310
1311                     
1312                     
1313                      
1314                     </div>                    
1315                 </div>
1316
1317             </td>
1318             <td class="msource">
1319                 
1320                         Roo.util.MixedCollection
1321                 &nbsp;
1322             </td>
1323         </tr>
1324         
1325           
1326           <tr class="method-row config-row-alt0 expandable notInherited">
1327             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1328            
1329            
1330             <td class="sig">
1331                 <a id="Roo.util.MixedCollection-method-getRange"   name=".getRange"></a>
1332                 <div class="fixedFont">
1333                         <span class="attributes"></span><b class="itemname">getRange</b>
1334                                 
1335                                  (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>startIndex</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>endIndex</i></B>) 
1336                         
1337                                 
1338                                          : 
1339                                         
1340                                                 
1341                                                 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
1342                                         
1343                                         
1344                                         
1345                                 
1346                         
1347                 </div>
1348                 <div class="mdesc">
1349                 
1350                    <div class="short">Returns a range of items in this collection</div> 
1351                  
1352                  
1353                  
1354                     <div class="long">
1355                         
1356                                 Returns a range of items in this collection
1357                     
1358                                 
1359                         
1360                         
1361                         
1362                         
1363                                 <dl class="detailList">
1364                                 <dt class="heading">Parameters:</dt>
1365                                 
1366                                         <dt>
1367                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>startIndex</b>
1368                                                 
1369                                         </dt>
1370                                         <dd>(optional) defaults to 0</dd>
1371                                 
1372                                         <dt>
1373                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>endIndex</b>
1374                                                 
1375                                         </dt>
1376                                         <dd>(optional) default to the last item</dd>
1377                                 
1378                                 </dl>
1379                         
1380                         
1381                         
1382                         
1383                         
1384                                 <dl class="detailList">
1385                                 <dt class="heading">Returns:</dt>
1386                                 
1387                                         <dd><span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span>  An array of items</dd>
1388                                 
1389                                 </dl>
1390                         
1391                         
1392                         
1393
1394                     
1395                     
1396                      
1397                     </div>                    
1398                 </div>
1399
1400             </td>
1401             <td class="msource">
1402                 
1403                         Roo.util.MixedCollection
1404                 &nbsp;
1405             </td>
1406         </tr>
1407         
1408           
1409           <tr class="method-row config-row-alt1 expandable notInherited">
1410             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1411            
1412            
1413             <td class="sig">
1414                 <a id="Roo.util.MixedCollection-method-indexOf"   name=".indexOf"></a>
1415                 <div class="fixedFont">
1416                         <span class="attributes"></span><b class="itemname">indexOf</b>
1417                                 
1418                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>o</i></B>) 
1419                         
1420                                 
1421                                          : 
1422                                         
1423                                                 
1424                                                 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1425                                         
1426                                         
1427                                         
1428                                 
1429                         
1430                 </div>
1431                 <div class="mdesc">
1432                 
1433                    <div class="short">Returns index within the collection of the passed Object.</div> 
1434                  
1435                  
1436                  
1437                     <div class="long">
1438                         
1439                                 Returns index within the collection of the passed Object.
1440                     
1441                                 
1442                         
1443                         
1444                         
1445                         
1446                                 <dl class="detailList">
1447                                 <dt class="heading">Parameters:</dt>
1448                                 
1449                                         <dt>
1450                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>o</b>
1451                                                 
1452                                         </dt>
1453                                         <dd>The item to find the index of.</dd>
1454                                 
1455                                 </dl>
1456                         
1457                         
1458                         
1459                         
1460                         
1461                                 <dl class="detailList">
1462                                 <dt class="heading">Returns:</dt>
1463                                 
1464                                         <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  index of the item.</dd>
1465                                 
1466                                 </dl>
1467                         
1468                         
1469                         
1470
1471                     
1472                     
1473                      
1474                     </div>                    
1475                 </div>
1476
1477             </td>
1478             <td class="msource">
1479                 
1480                         Roo.util.MixedCollection
1481                 &nbsp;
1482             </td>
1483         </tr>
1484         
1485           
1486           <tr class="method-row config-row-alt0 expandable notInherited">
1487             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1488            
1489            
1490             <td class="sig">
1491                 <a id="Roo.util.MixedCollection-method-indexOfKey"   name=".indexOfKey"></a>
1492                 <div class="fixedFont">
1493                         <span class="attributes"></span><b class="itemname">indexOfKey</b>
1494                                 
1495                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>key</i></B>) 
1496                         
1497                                 
1498                                          : 
1499                                         
1500                                                 
1501                                                 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1502                                         
1503                                         
1504                                         
1505                                 
1506                         
1507                 </div>
1508                 <div class="mdesc">
1509                 
1510                    <div class="short">Returns index within the collection of the passed key.</div> 
1511                  
1512                  
1513                  
1514                     <div class="long">
1515                         
1516                                 Returns index within the collection of the passed key.
1517                     
1518                                 
1519                         
1520                         
1521                         
1522                         
1523                                 <dl class="detailList">
1524                                 <dt class="heading">Parameters:</dt>
1525                                 
1526                                         <dt>
1527                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>key</b>
1528                                                 
1529                                         </dt>
1530                                         <dd>The key to find the index of.</dd>
1531                                 
1532                                 </dl>
1533                         
1534                         
1535                         
1536                         
1537                         
1538                                 <dl class="detailList">
1539                                 <dt class="heading">Returns:</dt>
1540                                 
1541                                         <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  index of the key.</dd>
1542                                 
1543                                 </dl>
1544                         
1545                         
1546                         
1547
1548                     
1549                     
1550                      
1551                     </div>                    
1552                 </div>
1553
1554             </td>
1555             <td class="msource">
1556                 
1557                         Roo.util.MixedCollection
1558                 &nbsp;
1559             </td>
1560         </tr>
1561         
1562           
1563           <tr class="method-row config-row-alt1 expandable notInherited">
1564             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1565            
1566            
1567             <td class="sig">
1568                 <a id="Roo.util.MixedCollection-method-insert"   name=".insert"></a>
1569                 <div class="fixedFont">
1570                         <span class="attributes"></span><b class="itemname">insert</b>
1571                                 
1572                                  (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>key</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>o</i></B>) 
1573                         
1574                                 
1575                                          : 
1576                                         
1577                                                 
1578                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1579                                         
1580                                         
1581                                         
1582                                 
1583                         
1584                 </div>
1585                 <div class="mdesc">
1586                 
1587                    <div class="short">Inserts an item at the specified index in the collection.</div> 
1588                  
1589                  
1590                  
1591                     <div class="long">
1592                         
1593                                 Inserts an item at the specified index in the collection.
1594                     
1595                                 
1596                         
1597                         
1598                         
1599                         
1600                                 <dl class="detailList">
1601                                 <dt class="heading">Parameters:</dt>
1602                                 
1603                                         <dt>
1604                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>index</b>
1605                                                 
1606                                         </dt>
1607                                         <dd>The index to insert the item at.</dd>
1608                                 
1609                                         <dt>
1610                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>key</b>
1611                                                 
1612                                         </dt>
1613                                         <dd>The key to associate with the new item, or the item itself.</dd>
1614                                 
1615                                         <dt>
1616                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>o</b>
1617                                                 
1618                                         </dt>
1619                                         <dd>(optional) If the second parameter was a key, the new item.</dd>
1620                                 
1621                                 </dl>
1622                         
1623                         
1624                         
1625                         
1626                         
1627                                 <dl class="detailList">
1628                                 <dt class="heading">Returns:</dt>
1629                                 
1630                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  The item inserted.</dd>
1631                                 
1632                                 </dl>
1633                         
1634                         
1635                         
1636
1637                     
1638                     
1639                      
1640                     </div>                    
1641                 </div>
1642
1643             </td>
1644             <td class="msource">
1645                 
1646                         Roo.util.MixedCollection
1647                 &nbsp;
1648             </td>
1649         </tr>
1650         
1651           
1652           <tr class="method-row config-row-alt0 expandable notInherited">
1653             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1654            
1655            
1656             <td class="sig">
1657                 <a id="Roo.util.MixedCollection-method-item"   name=".item"></a>
1658                 <div class="fixedFont">
1659                         <span class="attributes"></span><b class="itemname">item</b>
1660                                 
1661                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Number <B><i>key</i></B>) 
1662                         
1663                                 
1664                                          : 
1665                                         
1666                                                 
1667                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1668                                         
1669                                         
1670                                         
1671                                 
1672                         
1673                 </div>
1674                 <div class="mdesc">
1675                 
1676                    <div class="short">Returns the item associated with the passed key OR index.</div> 
1677                  
1678                  
1679                  
1680                     <div class="long">
1681                         
1682                                 Returns the item associated with the passed key OR index. Key has priority over index.
1683                     
1684                                 
1685                         
1686                         
1687                         
1688                         
1689                                 <dl class="detailList">
1690                                 <dt class="heading">Parameters:</dt>
1691                                 
1692                                         <dt>
1693                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Number</span>  <b>key</b>
1694                                                 
1695                                         </dt>
1696                                         <dd>The key or index of the item.</dd>
1697                                 
1698                                 </dl>
1699                         
1700                         
1701                         
1702                         
1703                         
1704                                 <dl class="detailList">
1705                                 <dt class="heading">Returns:</dt>
1706                                 
1707                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  The item associated with the passed key.</dd>
1708                                 
1709                                 </dl>
1710                         
1711                         
1712                         
1713
1714                     
1715                     
1716                      
1717                     </div>                    
1718                 </div>
1719
1720             </td>
1721             <td class="msource">
1722                 
1723                         Roo.util.MixedCollection
1724                 &nbsp;
1725             </td>
1726         </tr>
1727         
1728           
1729           <tr class="method-row config-row-alt1 expandable notInherited">
1730             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1731            
1732            
1733             <td class="sig">
1734                 <a id="Roo.util.MixedCollection-method-itemAt"   name=".itemAt"></a>
1735                 <div class="fixedFont">
1736                         <span class="attributes"></span><b class="itemname">itemAt</b>
1737                                 
1738                                  (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>) 
1739                         
1740                                 
1741                                          : 
1742                                         
1743                                                 
1744                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1745                                         
1746                                         
1747                                         
1748                                 
1749                         
1750                 </div>
1751                 <div class="mdesc">
1752                 
1753                    <div class="short">Returns the item at the specified index.</div> 
1754                  
1755                  
1756                  
1757                     <div class="long">
1758                         
1759                                 Returns the item at the specified index.
1760                     
1761                                 
1762                         
1763                         
1764                         
1765                         
1766                                 <dl class="detailList">
1767                                 <dt class="heading">Parameters:</dt>
1768                                 
1769                                         <dt>
1770                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>index</b>
1771                                                 
1772                                         </dt>
1773                                         <dd>The index of the item.</dd>
1774                                 
1775                                 </dl>
1776                         
1777                         
1778                         
1779                         
1780                         
1781                                 <dl class="detailList">
1782                                 <dt class="heading">Returns:</dt>
1783                                 
1784                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  </dd>
1785                                 
1786                                 </dl>
1787                         
1788                         
1789                         
1790
1791                     
1792                     
1793                      
1794                     </div>                    
1795                 </div>
1796
1797             </td>
1798             <td class="msource">
1799                 
1800                         Roo.util.MixedCollection
1801                 &nbsp;
1802             </td>
1803         </tr>
1804         
1805           
1806           <tr class="method-row config-row-alt0 expandable notInherited">
1807             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1808            
1809            
1810             <td class="sig">
1811                 <a id="Roo.util.MixedCollection-method-key"   name=".key"></a>
1812                 <div class="fixedFont">
1813                         <span class="attributes"></span><b class="itemname">key</b>
1814                                 
1815                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Number <B><i>key</i></B>) 
1816                         
1817                                 
1818                                          : 
1819                                         
1820                                                 
1821                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1822                                         
1823                                         
1824                                         
1825                                 
1826                         
1827                 </div>
1828                 <div class="mdesc">
1829                 
1830                    <div class="short">Returns the item associated with the passed key.</div> 
1831                  
1832                  
1833                  
1834                     <div class="long">
1835                         
1836                                 Returns the item associated with the passed key.
1837                     
1838                                 
1839                         
1840                         
1841                         
1842                         
1843                                 <dl class="detailList">
1844                                 <dt class="heading">Parameters:</dt>
1845                                 
1846                                         <dt>
1847                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Number</span>  <b>key</b>
1848                                                 
1849                                         </dt>
1850                                         <dd>The key of the item.</dd>
1851                                 
1852                                 </dl>
1853                         
1854                         
1855                         
1856                         
1857                         
1858                                 <dl class="detailList">
1859                                 <dt class="heading">Returns:</dt>
1860                                 
1861                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  The item associated with the passed key.</dd>
1862                                 
1863                                 </dl>
1864                         
1865                         
1866                         
1867
1868                     
1869                     
1870                      
1871                     </div>                    
1872                 </div>
1873
1874             </td>
1875             <td class="msource">
1876                 
1877                         Roo.util.MixedCollection
1878                 &nbsp;
1879             </td>
1880         </tr>
1881         
1882           
1883           <tr class="method-row config-row-alt1 expandable notInherited">
1884             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1885            
1886            
1887             <td class="sig">
1888                 <a id="Roo.util.MixedCollection-method-keySort"   name=".keySort"></a>
1889                 <div class="fixedFont">
1890                         <span class="attributes"></span><b class="itemname">keySort</b>
1891                                 
1892                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>direction</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>fn</i></B>) 
1893                         
1894                                 
1895                         
1896                 </div>
1897                 <div class="mdesc">
1898                 
1899                    <div class="short">Sorts this collection by keys</div> 
1900                  
1901                  
1902                  
1903                     <div class="long">
1904                         
1905                                 Sorts this collection by keys
1906                     
1907                                 
1908                         
1909                         
1910                         
1911                         
1912                                 <dl class="detailList">
1913                                 <dt class="heading">Parameters:</dt>
1914                                 
1915                                         <dt>
1916                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>direction</b>
1917                                                 
1918                                         </dt>
1919                                         <dd>(optional) "ASC" or "DESC"</dd>
1920                                 
1921                                         <dt>
1922                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>fn</b>
1923                                                 
1924                                         </dt>
1925                                         <dd>(optional) a comparison function (defaults to case insensitive string)</dd>
1926                                 
1927                                 </dl>
1928                         
1929                         
1930                         
1931                         
1932                         
1933                         
1934                         
1935
1936                     
1937                     
1938                      
1939                     </div>                    
1940                 </div>
1941
1942             </td>
1943             <td class="msource">
1944                 
1945                         Roo.util.MixedCollection
1946                 &nbsp;
1947             </td>
1948         </tr>
1949         
1950           
1951           <tr class="method-row config-row-alt0 expandable notInherited">
1952             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1953            
1954            
1955             <td class="sig">
1956                 <a id="Roo.util.MixedCollection-method-last"   name=".last"></a>
1957                 <div class="fixedFont">
1958                         <span class="attributes"></span><b class="itemname">last</b>
1959                                 
1960                                  () 
1961                         
1962                                 
1963                                          : 
1964                                         
1965                                                 
1966                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1967                                         
1968                                         
1969                                         
1970                                 
1971                         
1972                 </div>
1973                 <div class="mdesc">
1974                 
1975                    <div class="short">Returns the last item in the collection.</div> 
1976                  
1977                  
1978                  
1979                     <div class="long">
1980                         
1981                                 Returns the last item in the collection.
1982                     
1983                                 
1984                         
1985                         
1986                         
1987                         
1988                         
1989                         
1990                         
1991                         
1992                                 <dl class="detailList">
1993                                 <dt class="heading">Returns:</dt>
1994                                 
1995                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  the last item in the collection..</dd>
1996                                 
1997                                 </dl>
1998                         
1999                         
2000                         
2001
2002                     
2003                     
2004                      
2005                     </div>                    
2006                 </div>
2007
2008             </td>
2009             <td class="msource">
2010                 
2011                         Roo.util.MixedCollection
2012                 &nbsp;
2013             </td>
2014         </tr>
2015         
2016           
2017           <tr class="method-row config-row-alt1 expandable notInherited">
2018             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2019            
2020            
2021             <td class="sig">
2022                 <a id="Roo.util.MixedCollection-method-remove"   name=".remove"></a>
2023                 <div class="fixedFont">
2024                         <span class="attributes"></span><b class="itemname">remove</b>
2025                                 
2026                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>o</i></B>) 
2027                         
2028                                 
2029                                          : 
2030                                         
2031                                                 
2032                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
2033                                         
2034                                         
2035                                         
2036                                 
2037                         
2038                 </div>
2039                 <div class="mdesc">
2040                 
2041                    <div class="short">Removed an item from the collection.</div> 
2042                  
2043                  
2044                  
2045                     <div class="long">
2046                         
2047                                 Removed an item from the collection.
2048                     
2049                                 
2050                         
2051                         
2052                         
2053                         
2054                                 <dl class="detailList">
2055                                 <dt class="heading">Parameters:</dt>
2056                                 
2057                                         <dt>
2058                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>o</b>
2059                                                 
2060                                         </dt>
2061                                         <dd>The item to remove.</dd>
2062                                 
2063                                 </dl>
2064                         
2065                         
2066                         
2067                         
2068                         
2069                                 <dl class="detailList">
2070                                 <dt class="heading">Returns:</dt>
2071                                 
2072                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  The item removed.</dd>
2073                                 
2074                                 </dl>
2075                         
2076                         
2077                         
2078
2079                     
2080                     
2081                      
2082                     </div>                    
2083                 </div>
2084
2085             </td>
2086             <td class="msource">
2087                 
2088                         Roo.util.MixedCollection
2089                 &nbsp;
2090             </td>
2091         </tr>
2092         
2093           
2094           <tr class="method-row config-row-alt0 expandable notInherited">
2095             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2096            
2097            
2098             <td class="sig">
2099                 <a id="Roo.util.MixedCollection-method-removeAt"   name=".removeAt"></a>
2100                 <div class="fixedFont">
2101                         <span class="attributes"></span><b class="itemname">removeAt</b>
2102                                 
2103                                  (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>) 
2104                         
2105                                 
2106                         
2107                 </div>
2108                 <div class="mdesc">
2109                 
2110                    <div class="short">Remove an item from a specified index in the collection.</div> 
2111                  
2112                  
2113                  
2114                     <div class="long">
2115                         
2116                                 Remove an item from a specified index in the collection.
2117                     
2118                                 
2119                         
2120                         
2121                         
2122                         
2123                                 <dl class="detailList">
2124                                 <dt class="heading">Parameters:</dt>
2125                                 
2126                                         <dt>
2127                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>index</b>
2128                                                 
2129                                         </dt>
2130                                         <dd>The index within the collection of the item to remove.</dd>
2131                                 
2132                                 </dl>
2133                         
2134                         
2135                         
2136                         
2137                         
2138                         
2139                         
2140
2141                     
2142                     
2143                      
2144                     </div>                    
2145                 </div>
2146
2147             </td>
2148             <td class="msource">
2149                 
2150                         Roo.util.MixedCollection
2151                 &nbsp;
2152             </td>
2153         </tr>
2154         
2155           
2156           <tr class="method-row config-row-alt1 expandable notInherited">
2157             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2158            
2159            
2160             <td class="sig">
2161                 <a id="Roo.util.MixedCollection-method-removeKey"   name=".removeKey"></a>
2162                 <div class="fixedFont">
2163                         <span class="attributes"></span><b class="itemname">removeKey</b>
2164                                 
2165                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>key</i></B>) 
2166                         
2167                                 
2168                         
2169                 </div>
2170                 <div class="mdesc">
2171                 
2172                    <div class="short">Removed an item associated with the passed key fom the collection.</div> 
2173                  
2174                  
2175                  
2176                     <div class="long">
2177                         
2178                                 Removed an item associated with the passed key fom the collection.
2179                     
2180                                 
2181                         
2182                         
2183                         
2184                         
2185                                 <dl class="detailList">
2186                                 <dt class="heading">Parameters:</dt>
2187                                 
2188                                         <dt>
2189                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>key</b>
2190                                                 
2191                                         </dt>
2192                                         <dd>The key of the item to remove.</dd>
2193                                 
2194                                 </dl>
2195                         
2196                         
2197                         
2198                         
2199                         
2200                         
2201                         
2202
2203                     
2204                     
2205                      
2206                     </div>                    
2207                 </div>
2208
2209             </td>
2210             <td class="msource">
2211                 
2212                         Roo.util.MixedCollection
2213                 &nbsp;
2214             </td>
2215         </tr>
2216         
2217           
2218           <tr class="method-row config-row-alt0 expandable notInherited">
2219             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2220            
2221            
2222             <td class="sig">
2223                 <a id="Roo.util.MixedCollection-method-replace"   name=".replace"></a>
2224                 <div class="fixedFont">
2225                         <span class="attributes"></span><b class="itemname">replace</b>
2226                                 
2227                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>key</i></B>, <B><i>o</i></B>) 
2228                         
2229                                 
2230                                          : 
2231                                         
2232                                                 
2233                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
2234                                         
2235                                         
2236                                         
2237                                 
2238                         
2239                 </div>
2240                 <div class="mdesc">
2241                 
2242                    <div class="short">Replaces an item in the collection.</div> 
2243                  
2244                  
2245                  
2246                     <div class="long">
2247                         
2248                                 Replaces an item in the collection.
2249                     
2250                                 
2251                         
2252                         
2253                         
2254                         
2255                                 <dl class="detailList">
2256                                 <dt class="heading">Parameters:</dt>
2257                                 
2258                                         <dt>
2259                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>key</b>
2260                                                 
2261                                         </dt>
2262                                         <dd>The key associated with the item to replace, or the item to replace.</dd>
2263                                 
2264                                         <dt>
2265                                                  <b>o</b>
2266                                                 
2267                                         </dt>
2268                                         <dd>{Object} o (optional) If the first parameter passed was a key, the item to associate with that key.</dd>
2269                                 
2270                                 </dl>
2271                         
2272                         
2273                         
2274                         
2275                         
2276                                 <dl class="detailList">
2277                                 <dt class="heading">Returns:</dt>
2278                                 
2279                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  The new item.</dd>
2280                                 
2281                                 </dl>
2282                         
2283                         
2284                         
2285
2286                     
2287                     
2288                      
2289                     </div>                    
2290                 </div>
2291
2292             </td>
2293             <td class="msource">
2294                 
2295                         Roo.util.MixedCollection
2296                 &nbsp;
2297             </td>
2298         </tr>
2299         
2300           
2301           <tr class="method-row config-row-alt1 expandable notInherited">
2302             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2303            
2304            
2305             <td class="sig">
2306                 <a id="Roo.util.MixedCollection-method-sort"   name=".sort"></a>
2307                 <div class="fixedFont">
2308                         <span class="attributes"></span><b class="itemname">sort</b>
2309                                 
2310                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>direction</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>fn</i></B>) 
2311                         
2312                                 
2313                         
2314                 </div>
2315                 <div class="mdesc">
2316                 
2317                    <div class="short">Sorts this collection with the passed comparison function</div> 
2318                  
2319                  
2320                  
2321                     <div class="long">
2322                         
2323                                 Sorts this collection with the passed comparison function
2324                     
2325                                 
2326                         
2327                         
2328                         
2329                         
2330                                 <dl class="detailList">
2331                                 <dt class="heading">Parameters:</dt>
2332                                 
2333                                         <dt>
2334                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>direction</b>
2335                                                 
2336                                         </dt>
2337                                         <dd>(optional) "ASC" or "DESC"</dd>
2338                                 
2339                                         <dt>
2340                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>fn</b>
2341                                                 
2342                                         </dt>
2343                                         <dd>(optional) comparison function</dd>
2344                                 
2345                                 </dl>
2346                         
2347                         
2348                         
2349                         
2350                         
2351                         
2352                         
2353
2354                     
2355                     
2356                      
2357                     </div>                    
2358                 </div>
2359
2360             </td>
2361             <td class="msource">
2362                 
2363                         Roo.util.MixedCollection
2364                 &nbsp;
2365             </td>
2366         </tr>
2367         
2368                                                        
2369     </table>
2370
2371   
2372   <!-- ============================== events summary / details ======================== -->
2373   
2374   
2375   <a id="Roo.util.MixedCollection-events"></a>
2376     
2377   
2378         
2379    
2380   
2381     
2382     
2383     
2384       <table cellspacing="0" class="member-table">
2385                 <caption>Events</caption>
2386               <thead>
2387                 <tr>
2388                     <th class="sig-header" colspan="2">Event</th>            
2389                     <th class="msource-header">Defined By</th>
2390
2391                 </tr>
2392               </thead>  
2393         
2394         
2395          
2396         
2397         
2398           <tr class="method-row expandable config-row-alt0 notInherited">
2399             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2400             
2401             <td class="sig">
2402                 <a id="Roo.util.MixedCollection-event-*add"></a>
2403                 
2404                <div class="fixedFont">
2405                 <b class="itemname">add</b> (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>o</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>key</i></B>) 
2406                 
2407                 </div>
2408
2409                 <div class="mdesc">
2410
2411                    <div class="short">Fires when an item is added to the collection.
2412                    
2413                 </div> 
2414                     
2415                     <div class="long">
2416                     
2417                         Fires when an item is added to the collection.
2418                     
2419                         
2420                         
2421                 
2422                         
2423                                 <dl class="detailList">
2424                                 <dt class="heading">Parameters:</dt>
2425                                 
2426                                         <dt>
2427                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
2428                                                 
2429                                         </dt>
2430                                         <dd>The index at which the item was added.</dd>
2431                                 
2432                                         <dt>
2433                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>o</b>
2434                                                 
2435                                         </dt>
2436                                         <dd>The item added.</dd>
2437                                 
2438                                         <dt>
2439                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>key</b>
2440                                                 
2441                                         </dt>
2442                                         <dd>The key associated with the added item.</dd>
2443                                 
2444                                 </dl>
2445                         
2446                         
2447                         
2448                         
2449                         
2450                         
2451                         
2452
2453                     
2454                     
2455                      
2456                     </div>                    
2457                 </div>
2458
2459             </td>
2460             <td class="msource">
2461                 Roo.util.MixedCollection
2462             </td>
2463         </tr>
2464         
2465           <tr class="method-row expandable config-row-alt1 notInherited">
2466             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2467             
2468             <td class="sig">
2469                 <a id="Roo.util.MixedCollection-event-*clear"></a>
2470                 
2471                <div class="fixedFont">
2472                 <b class="itemname">clear</b> () 
2473                 
2474                 </div>
2475
2476                 <div class="mdesc">
2477
2478                    <div class="short">Fires when the collection is cleared.
2479                    
2480                 </div> 
2481                     
2482                     <div class="long">
2483                     
2484                         Fires when the collection is cleared.
2485                     
2486                         
2487                         
2488                 
2489                         
2490                         
2491                         
2492                         
2493                         
2494                         
2495                         
2496
2497                     
2498                     
2499                      
2500                     </div>                    
2501                 </div>
2502
2503             </td>
2504             <td class="msource">
2505                 Roo.util.MixedCollection
2506             </td>
2507         </tr>
2508         
2509           <tr class="method-row expandable config-row-alt0 notInherited">
2510             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2511             
2512             <td class="sig">
2513                 <a id="Roo.util.MixedCollection-event-*remove"></a>
2514                 
2515                <div class="fixedFont">
2516                 <b class="itemname">remove</b> (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>o</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>key</i></B>) 
2517                 
2518                 </div>
2519
2520                 <div class="mdesc">
2521
2522                    <div class="short">Fires when an item is removed from the collection.
2523                    
2524                 </div> 
2525                     
2526                     <div class="long">
2527                     
2528                         Fires when an item is removed from the collection.
2529                     
2530                         
2531                         
2532                 
2533                         
2534                                 <dl class="detailList">
2535                                 <dt class="heading">Parameters:</dt>
2536                                 
2537                                         <dt>
2538                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>o</b>
2539                                                 
2540                                         </dt>
2541                                         <dd>The item being removed.</dd>
2542                                 
2543                                         <dt>
2544                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>key</b>
2545                                                 
2546                                         </dt>
2547                                         <dd>(optional) The key associated with the removed item.</dd>
2548                                 
2549                                 </dl>
2550                         
2551                         
2552                         
2553                         
2554                         
2555                         
2556                         
2557
2558                     
2559                     
2560                      
2561                     </div>                    
2562                 </div>
2563
2564             </td>
2565             <td class="msource">
2566                 Roo.util.MixedCollection
2567             </td>
2568         </tr>
2569         
2570           <tr class="method-row expandable config-row-alt1 notInherited">
2571             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2572             
2573             <td class="sig">
2574                 <a id="Roo.util.MixedCollection-event-*replace"></a>
2575                 
2576                <div class="fixedFont">
2577                 <b class="itemname">replace</b> (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>key</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>old</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>new</i></B>) 
2578                 
2579                 </div>
2580
2581                 <div class="mdesc">
2582
2583                    <div class="short">Fires when an item is replaced in the collection.
2584                    
2585                 </div> 
2586                     
2587                     <div class="long">
2588                     
2589                         Fires when an item is replaced in the collection.
2590                     
2591                         
2592                         
2593                 
2594                         
2595                                 <dl class="detailList">
2596                                 <dt class="heading">Parameters:</dt>
2597                                 
2598                                         <dt>
2599                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>key</b>
2600                                                 
2601                                         </dt>
2602                                         <dd>he key associated with the new added.</dd>
2603                                 
2604                                         <dt>
2605                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>old</b>
2606                                                 
2607                                         </dt>
2608                                         <dd>The item being replaced.</dd>
2609                                 
2610                                         <dt>
2611                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>new</b>
2612                                                 
2613                                         </dt>
2614                                         <dd>The new item.</dd>
2615                                 
2616                                 </dl>
2617                         
2618                         
2619                         
2620                         
2621                         
2622                         
2623                         
2624
2625                     
2626                     
2627                      
2628                     </div>                    
2629                 </div>
2630
2631             </td>
2632             <td class="msource">
2633                 Roo.util.MixedCollection
2634             </td>
2635         </tr>
2636         
2637                                                        
2638     </table>
2639
2640   
2641   
2642   
2643  
2644 <!-- ============================== footer ================================= -->
2645                 <div class="fineprint" style="clear:both">
2646                         
2647                         Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Fri Jul 16 2010 16:43:15 GMT+0800 (HKT)
2648                         Based on 
2649                         <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
2650                 </div>
2651         </body>
2652 </html>