Partial Fix #5654 - roojspacker - get it working as a doc tool...
[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     
112         
113       <table cellspacing="0" class="member-table">   
114       <caption>Config Options (Usually are also Properties)</caption>
115     
116         
117         <tr>
118             <th class="sig-header" colspan="2">Options</th>
119             
120             <th class="msource-header">Defined By</th>
121         </tr>
122         
123         
124         
125         
126         
127                 <tr class="config-row expandable config-row-alt0">
128                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
129                     <td class="sig">
130
131                         <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
132                         <div class="fixedFont">
133                                 <b  class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
134                                 
135                                 
136                         </div>
137                   
138                         <div class="mdesc">
139                             <div class="short">list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/>    listeners :  { <br/>       'click' : function(e) {<br/>           .</div> 
140                         </div>
141                         
142                         <div class="mdesc">
143                             <div class="long">
144                     list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/>    listeners :  { <br/>       'click' : function(e) {<br/>           ..... <br/>        } ,<br/>        .... <br/>    } <br/>  </code></pre>
145                     
146                 </div> 
147                         </div>
148                         
149                         
150
151                     </td>
152                     <td class="msource">
153                         
154                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
155                                 
156                     </td>
157                 </tr>
158         
159         
160     </table>
161                 
162   
163   
164   
165   
166   
167   
168   
169   
170   <!-- ============================== public properties ==================== -->        
171   
172   
173   
174     <a id="Roo.util.MixedCollection-props"></a>      
175     
176     
177
178     
179     
180      <table cellspacing="0" class="member-table">
181       <caption class="Empty">Public Properties - Has None</caption>
182      </table>
183     
184     
185      
186     
187   <!-- ============================== methods summary / details ======================== -->
188   
189   
190   <a id="Roo.util.MixedCollection-methods"></a>
191         <!-- constructor?? -->
192         
193         <!-- static's first 
194         
195         
196         -->
197         
198         <!-- then dynamics first -->
199         
200   
201   
202     
203     
204     
205       <table cellspacing="0" class="member-table">
206       <caption>Public Methods</caption>
207         <tr>
208             <th class="sig-header" colspan="2">Method</th>            
209             <th class="msource-header">Defined By</th>
210
211         </tr>
212         
213         
214         
215          
216         
217         
218           
219           <tr class="method-row config-row-alt0 expandable notInherited">
220             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
221            
222            
223             <td class="sig">
224                 <a id="Roo.util-method-MixedCollection"   name=".MixedCollection"></a>
225                 <div class="fixedFont">
226                         <span class="attributes">new <B>Roo.util.</B></span><b class="itemname">MixedCollection</b>
227                                 
228                                  (<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>) 
229                         
230                                 
231                         
232                 </div>
233                 <div class="mdesc">
234                 
235                  
236                         <div class="short">Create a new Roo.util.MixedCollection</div> 
237                  
238                  
239                     <div class="long">
240                         
241                         
242                         
243                                 Create a new Roo.util.MixedCollection
244                         
245                         
246                                 <dl class="detailList">
247                                 <dt class="heading">Parameters:</dt>
248                                 
249                                         <dt>
250                                                 <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>
251                                                 
252                                         </dt>
253                                         <dd>True if the addAll function should add function references to the<br/>collection (defaults to false)</dd>
254                                 
255                                         <dt>
256                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>keyFn</b>
257                                                 
258                                         </dt>
259                                         <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>
260                                 
261                                 </dl>
262                         
263                         
264                         
265                         
266                         
267                         
268                         
269
270                     
271                     
272                      
273                     </div>                    
274                 </div>
275
276             </td>
277             <td class="msource">
278                 &nbsp;
279             </td>
280         </tr>
281         
282           
283           <tr class="method-row config-row-alt1 expandable notInherited">
284             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
285            
286            
287             <td class="sig">
288                 <a id="Roo.util.MixedCollection-method-add"   name=".add"></a>
289                 <div class="fixedFont">
290                         <span class="attributes"></span><b class="itemname">add</b>
291                                 
292                                  (<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>) 
293                         
294                                 
295                                          : 
296                                         
297                                                 
298                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
299                                         
300                                         
301                                         
302                                 
303                         
304                 </div>
305                 <div class="mdesc">
306                 
307                    <div class="short">Adds an item to the collection.</div> 
308                  
309                  
310                  
311                     <div class="long">
312                         
313                                 Adds an item to the collection.
314                     
315                                 
316                         
317                         
318                         
319                         
320                                 <dl class="detailList">
321                                 <dt class="heading">Parameters:</dt>
322                                 
323                                         <dt>
324                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>key</b>
325                                                 
326                                         </dt>
327                                         <dd>The key to associate with the item</dd>
328                                 
329                                         <dt>
330                                                 <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>
331                                                 
332                                         </dt>
333                                         <dd>The item to add.</dd>
334                                 
335                                 </dl>
336                         
337                         
338                         
339                         
340                         
341                                 <dl class="detailList">
342                                 <dt class="heading">Returns:</dt>
343                                 
344                                         <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>
345                                 
346                                 </dl>
347                         
348                         
349                         
350
351                     
352                     
353                      
354                     </div>                    
355                 </div>
356
357             </td>
358             <td class="msource">
359                 
360                         Roo.util.MixedCollection
361                 &nbsp;
362             </td>
363         </tr>
364         
365           
366           <tr class="method-row config-row-alt0 expandable notInherited">
367             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
368            
369            
370             <td class="sig">
371                 <a id="Roo.util.MixedCollection-method-addAll"   name=".addAll"></a>
372                 <div class="fixedFont">
373                         <span class="attributes"></span><b class="itemname">addAll</b>
374                                 
375                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>/Array <B><i>objs</i></B>) 
376                         
377                                 
378                         
379                 </div>
380                 <div class="mdesc">
381                 
382                    <div class="short">Adds all elements of an Array or an Object to the collection.</div> 
383                  
384                  
385                  
386                     <div class="long">
387                         
388                                 Adds all elements of an Array or an Object to the collection.
389                     
390                                 
391                         
392                         
393                         
394                         
395                                 <dl class="detailList">
396                                 <dt class="heading">Parameters:</dt>
397                                 
398                                         <dt>
399                                                 <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>
400                                                 
401                                         </dt>
402                                         <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>
403                                 
404                                 </dl>
405                         
406                         
407                         
408                         
409                         
410                         
411                         
412
413                     
414                     
415                      
416                     </div>                    
417                 </div>
418
419             </td>
420             <td class="msource">
421                 
422                         Roo.util.MixedCollection
423                 &nbsp;
424             </td>
425         </tr>
426         
427           
428           <tr class="method-row config-row-alt1 expandable">
429             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
430            
431            
432             <td class="sig">
433                 <a id="Roo.util.Observable-method-addEvents"   name=".addEvents"></a>
434                 <div class="fixedFont">
435                         <span class="attributes"></span><b class="itemname">addEvents</b>
436                                 
437                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>) 
438                         
439                                 
440                         
441                 </div>
442                 <div class="mdesc">
443                 
444                    <div class="short">Used to define events on this Observable</div> 
445                  
446                  
447                  
448                     <div class="long">
449                         
450                                 Used to define events on this Observable
451                     
452                                 
453                         
454                         
455                         
456                         
457                                 <dl class="detailList">
458                                 <dt class="heading">Parameters:</dt>
459                                 
460                                         <dt>
461                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>object</b>
462                                                 
463                                         </dt>
464                                         <dd>The object with the events defined</dd>
465                                 
466                                 </dl>
467                         
468                         
469                         
470                         
471                         
472                         
473                         
474
475                     
476                     
477                      
478                     </div>                    
479                 </div>
480
481             </td>
482             <td class="msource">
483                 
484                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
485                 &nbsp;
486             </td>
487         </tr>
488         
489           
490           <tr class="method-row config-row-alt0 expandable">
491             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
492            
493            
494             <td class="sig">
495                 <a id="Roo.util.Observable-method-addListener"   name=".addListener"></a>
496                 <div class="fixedFont">
497                         <span class="attributes"></span><b class="itemname">addListener</b>
498                                 
499                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</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>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
500                         
501                                 
502                         
503                 </div>
504                 <div class="mdesc">
505                 
506                    <div class="short">Appends an event handler to this component</div> 
507                  
508                  
509                  
510                     <div class="long">
511                         
512                                 Appends an event handler to this component
513                     
514                                 
515                         
516                         
517                         
518                         
519                                 <dl class="detailList">
520                                 <dt class="heading">Parameters:</dt>
521                                 
522                                         <dt>
523                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
524                                                 
525                                         </dt>
526                                         <dd>The type of event to listen for</dd>
527                                 
528                                         <dt>
529                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
530                                                 
531                                         </dt>
532                                         <dd>The method the event invokes</dd>
533                                 
534                                         <dt>
535                                                 <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>
536                                                 
537                                         </dt>
538                                         <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
539                                 
540                                         <dt>
541                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>options</b>
542                                                 
543                                         </dt>
544                                         <dd>(optional) An object containing handler configuration<br/>properties. This may contain any of the following properties:<ul><br/><li>scope {Object} The scope in which to execute the handler function. The handler function's "this" context.</li><br/><li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li><br/><li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li><br/><li>buffer {Number} Causes the handler to be scheduled to run in an {<b>link</b> Roo.util.DelayedTask} delayed<br/>by the specified number of milliseconds. If the event fires again within that time, the original<br/>handler is <em>not</em> invoked, but the new handler is scheduled in its place.</li><br/></ul><br><br/><p><br/><b>Combining Options</b><br><br/>Using the options argument, it is possible to combine different types of listeners:<br><br/><br><br/>A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)<br/>             <pre><code><br/>                el.on('click', this.onClick, this, {<br/>                       single: true,<br/>              delay: 100,<br/>                forumId: 4<br/>         });<br/>                </code></pre><br/><p><br/><b>Attaching multiple handlers in 1 call</b><br><br/>The method also allows for a single argument to be passed which is a config object containing properties<br/>which specify multiple handlers.<br/><pre><code><br/>               el.on({<br/>                    'click': {<br/>                 fn: this.onClick,<br/>                  scope: this,<br/>                       delay: 100<br/>                 }, <br/>                'mouseover': {<br/>                     fn: this.onMouseOver,<br/>                      scope: this<br/>                },<br/>                 'mouseout': {<br/>                      fn: this.onMouseOut,<br/>                       scope: this<br/>                }<br/>          });<br/>                </code></pre><br/><p><br/>Or a shorthand syntax which passes the same scope object to all handlers:<br/>        <pre><code><br/>                el.on({<br/>                    'click': this.onClick,<br/>             'mouseover': this.onMouseOver,<br/>             'mouseout': this.onMouseOut,<br/>               scope: this<br/>                });<br/>                </code></pre></dd>
545                                 
546                                 </dl>
547                         
548                         
549                         
550                         
551                         
552                         
553                         
554
555                     
556                     
557                      
558                     </div>                    
559                 </div>
560
561             </td>
562             <td class="msource">
563                 
564                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
565                 &nbsp;
566             </td>
567         </tr>
568         
569           
570           <tr class="method-row config-row-alt1 expandable notInherited">
571             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
572            
573            
574             <td class="sig">
575                 <a id="Roo.util.MixedCollection-method-clear"   name=".clear"></a>
576                 <div class="fixedFont">
577                         <span class="attributes"></span><b class="itemname">clear</b>
578                                 
579                                  () 
580                         
581                                 
582                         
583                 </div>
584                 <div class="mdesc">
585                 
586                    <div class="short">Removes all items from the collection.</div> 
587                  
588                  
589                  
590                     <div class="long">
591                         
592                                 Removes all items from the collection.
593                     
594                                 
595                         
596                         
597                         
598                         
599                         
600                         
601                         
602                         
603                         
604                         
605
606                     
607                     
608                      
609                     </div>                    
610                 </div>
611
612             </td>
613             <td class="msource">
614                 
615                         Roo.util.MixedCollection
616                 &nbsp;
617             </td>
618         </tr>
619         
620           
621           <tr class="method-row config-row-alt0 expandable notInherited">
622             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
623            
624            
625             <td class="sig">
626                 <a id="Roo.util.MixedCollection-method-clone"   name=".clone"></a>
627                 <div class="fixedFont">
628                         <span class="attributes"></span><b class="itemname">clone</b>
629                                 
630                                  () 
631                         
632                                 
633                                          : 
634                                         
635                                                 
636                                                 MixedCollection
637                                         
638                                         
639                                         
640                                 
641                         
642                 </div>
643                 <div class="mdesc">
644                 
645                    <div class="short">Creates a duplicate of this collection</div> 
646                  
647                  
648                  
649                     <div class="long">
650                         
651                                 Creates a duplicate of this collection
652                     
653                                 
654                         
655                         
656                         
657                         
658                         
659                         
660                         
661                         
662                                 <dl class="detailList">
663                                 <dt class="heading">Returns:</dt>
664                                 
665                                         <dd><span class="fixedFont">MixedCollection</span>  </dd>
666                                 
667                                 </dl>
668                         
669                         
670                         
671
672                     
673                     
674                      
675                     </div>                    
676                 </div>
677
678             </td>
679             <td class="msource">
680                 
681                         Roo.util.MixedCollection
682                 &nbsp;
683             </td>
684         </tr>
685         
686           
687           <tr class="method-row config-row-alt1 expandable notInherited">
688             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
689            
690            
691             <td class="sig">
692                 <a id="Roo.util.MixedCollection-method-contains"   name=".contains"></a>
693                 <div class="fixedFont">
694                         <span class="attributes"></span><b class="itemname">contains</b>
695                                 
696                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>o</i></B>) 
697                         
698                                 
699                                          : 
700                                         
701                                                 
702                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
703                                         
704                                         
705                                         
706                                 
707                         
708                 </div>
709                 <div class="mdesc">
710                 
711                    <div class="short">Returns true if the collection contains the passed Object as an item.</div> 
712                  
713                  
714                  
715                     <div class="long">
716                         
717                                 Returns true if the collection contains the passed Object as an item.
718                     
719                                 
720                         
721                         
722                         
723                         
724                                 <dl class="detailList">
725                                 <dt class="heading">Parameters:</dt>
726                                 
727                                         <dt>
728                                                 <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>
729                                                 
730                                         </dt>
731                                         <dd>The Object to look for in the collection.</dd>
732                                 
733                                 </dl>
734                         
735                         
736                         
737                         
738                         
739                                 <dl class="detailList">
740                                 <dt class="heading">Returns:</dt>
741                                 
742                                         <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>
743                                 
744                                 </dl>
745                         
746                         
747                         
748
749                     
750                     
751                      
752                     </div>                    
753                 </div>
754
755             </td>
756             <td class="msource">
757                 
758                         Roo.util.MixedCollection
759                 &nbsp;
760             </td>
761         </tr>
762         
763           
764           <tr class="method-row config-row-alt0 expandable notInherited">
765             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
766            
767            
768             <td class="sig">
769                 <a id="Roo.util.MixedCollection-method-containsKey"   name=".containsKey"></a>
770                 <div class="fixedFont">
771                         <span class="attributes"></span><b class="itemname">containsKey</b>
772                                 
773                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>key</i></B>) 
774                         
775                                 
776                                          : 
777                                         
778                                                 
779                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
780                                         
781                                         
782                                         
783                                 
784                         
785                 </div>
786                 <div class="mdesc">
787                 
788                    <div class="short">Returns true if the collection contains the passed Object as a key.</div> 
789                  
790                  
791                  
792                     <div class="long">
793                         
794                                 Returns true if the collection contains the passed Object as a key.
795                     
796                                 
797                         
798                         
799                         
800                         
801                                 <dl class="detailList">
802                                 <dt class="heading">Parameters:</dt>
803                                 
804                                         <dt>
805                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>key</b>
806                                                 
807                                         </dt>
808                                         <dd>The key to look for in the collection.</dd>
809                                 
810                                 </dl>
811                         
812                         
813                         
814                         
815                         
816                                 <dl class="detailList">
817                                 <dt class="heading">Returns:</dt>
818                                 
819                                         <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>
820                                 
821                                 </dl>
822                         
823                         
824                         
825
826                     
827                     
828                      
829                     </div>                    
830                 </div>
831
832             </td>
833             <td class="msource">
834                 
835                         Roo.util.MixedCollection
836                 &nbsp;
837             </td>
838         </tr>
839         
840           
841           <tr class="method-row config-row-alt1 expandable notInherited">
842             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
843            
844            
845             <td class="sig">
846                 <a id="Roo.util.MixedCollection-method-each"   name=".each"></a>
847                 <div class="fixedFont">
848                         <span class="attributes"></span><b class="itemname">each</b>
849                                 
850                                  (<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>) 
851                         
852                                 
853                         
854                 </div>
855                 <div class="mdesc">
856                 
857                    <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> 
858                  
859                  
860                  
861                     <div class="long">
862                         
863                                 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.
864                     
865                                 
866                         
867                         
868                         
869                         
870                                 <dl class="detailList">
871                                 <dt class="heading">Parameters:</dt>
872                                 
873                                         <dt>
874                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>fn</b>
875                                                 
876                                         </dt>
877                                         <dd>The function to execute for each item.</dd>
878                                 
879                                         <dt>
880                                                 <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>
881                                                 
882                                         </dt>
883                                         <dd>(optional) The scope in which to execute the function.</dd>
884                                 
885                                 </dl>
886                         
887                         
888                         
889                         
890                         
891                         
892                         
893
894                     
895                     
896                      
897                     </div>                    
898                 </div>
899
900             </td>
901             <td class="msource">
902                 
903                         Roo.util.MixedCollection
904                 &nbsp;
905             </td>
906         </tr>
907         
908           
909           <tr class="method-row config-row-alt0 expandable notInherited">
910             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
911            
912            
913             <td class="sig">
914                 <a id="Roo.util.MixedCollection-method-eachKey"   name=".eachKey"></a>
915                 <div class="fixedFont">
916                         <span class="attributes"></span><b class="itemname">eachKey</b>
917                                 
918                                  (<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>) 
919                         
920                                 
921                         
922                 </div>
923                 <div class="mdesc">
924                 
925                    <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> 
926                  
927                  
928                  
929                     <div class="long">
930                         
931                                 Executes the specified function once for every key in the collection, passing each<br/>key, and its associated item as the first two parameters.
932                     
933                                 
934                         
935                         
936                         
937                         
938                                 <dl class="detailList">
939                                 <dt class="heading">Parameters:</dt>
940                                 
941                                         <dt>
942                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>fn</b>
943                                                 
944                                         </dt>
945                                         <dd>The function to execute for each item.</dd>
946                                 
947                                         <dt>
948                                                 <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>
949                                                 
950                                         </dt>
951                                         <dd>(optional) The scope in which to execute the function.</dd>
952                                 
953                                 </dl>
954                         
955                         
956                         
957                         
958                         
959                         
960                         
961
962                     
963                     
964                      
965                     </div>                    
966                 </div>
967
968             </td>
969             <td class="msource">
970                 
971                         Roo.util.MixedCollection
972                 &nbsp;
973             </td>
974         </tr>
975         
976           
977           <tr class="method-row config-row-alt1 expandable notInherited">
978             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
979            
980            
981             <td class="sig">
982                 <a id="Roo.util.MixedCollection-method-filter"   name=".filter"></a>
983                 <div class="fixedFont">
984                         <span class="attributes"></span><b class="itemname">filter</b>
985                                 
986                                  (<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>) 
987                         
988                                 
989                                          : 
990                                         
991                                                 
992                                                 MixedCollection
993                                         
994                                         
995                                         
996                                 
997                         
998                 </div>
999                 <div class="mdesc">
1000                 
1001                    <div class="short">Filter the <i>objects</i> in this collection by a specific property.</div> 
1002                  
1003                  
1004                  
1005                     <div class="long">
1006                         
1007                                 Filter the <i>objects</i> in this collection by a specific property. <br/>Returns a new collection that has been filtered.
1008                     
1009                                 
1010                         
1011                         
1012                         
1013                         
1014                                 <dl class="detailList">
1015                                 <dt class="heading">Parameters:</dt>
1016                                 
1017                                         <dt>
1018                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>property</b>
1019                                                 
1020                                         </dt>
1021                                         <dd>A property on your objects</dd>
1022                                 
1023                                         <dt>
1024                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/RegExp</span>  <b>value</b>
1025                                                 
1026                                         </dt>
1027                                         <dd>Either string that the property values <br/>should start with or a RegExp to test against the property</dd>
1028                                 
1029                                 </dl>
1030                         
1031                         
1032                         
1033                         
1034                         
1035                                 <dl class="detailList">
1036                                 <dt class="heading">Returns:</dt>
1037                                 
1038                                         <dd><span class="fixedFont">MixedCollection</span>  The new filtered collection</dd>
1039                                 
1040                                 </dl>
1041                         
1042                         
1043                         
1044
1045                     
1046                     
1047                      
1048                     </div>                    
1049                 </div>
1050
1051             </td>
1052             <td class="msource">
1053                 
1054                         Roo.util.MixedCollection
1055                 &nbsp;
1056             </td>
1057         </tr>
1058         
1059           
1060           <tr class="method-row config-row-alt0 expandable notInherited">
1061             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1062            
1063            
1064             <td class="sig">
1065                 <a id="Roo.util.MixedCollection-method-filterBy"   name=".filterBy"></a>
1066                 <div class="fixedFont">
1067                         <span class="attributes"></span><b class="itemname">filterBy</b>
1068                                 
1069                                  (<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>) 
1070                         
1071                                 
1072                                          : 
1073                                         
1074                                                 
1075                                                 MixedCollection
1076                                         
1077                                         
1078                                         
1079                                 
1080                         
1081                 </div>
1082                 <div class="mdesc">
1083                 
1084                    <div class="short">Filter by a function.</div> 
1085                  
1086                  
1087                  
1088                     <div class="long">
1089                         
1090                                 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.
1091                     
1092                                 
1093                         
1094                         
1095                         
1096                         
1097                                 <dl class="detailList">
1098                                 <dt class="heading">Parameters:</dt>
1099                                 
1100                                         <dt>
1101                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>fn</b>
1102                                                 
1103                                         </dt>
1104                                         <dd>The function to be called, it will receive the args o (the object), k (the key)</dd>
1105                                 
1106                                         <dt>
1107                                                 <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>
1108                                                 
1109                                         </dt>
1110                                         <dd>(optional) The scope of the function (defaults to this)</dd>
1111                                 
1112                                 </dl>
1113                         
1114                         
1115                         
1116                         
1117                         
1118                                 <dl class="detailList">
1119                                 <dt class="heading">Returns:</dt>
1120                                 
1121                                         <dd><span class="fixedFont">MixedCollection</span>  The new filtered collection</dd>
1122                                 
1123                                 </dl>
1124                         
1125                         
1126                         
1127
1128                     
1129                     
1130                      
1131                     </div>                    
1132                 </div>
1133
1134             </td>
1135             <td class="msource">
1136                 
1137                         Roo.util.MixedCollection
1138                 &nbsp;
1139             </td>
1140         </tr>
1141         
1142           
1143           <tr class="method-row config-row-alt1 expandable notInherited">
1144             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1145            
1146            
1147             <td class="sig">
1148                 <a id="Roo.util.MixedCollection-method-find"   name=".find"></a>
1149                 <div class="fixedFont">
1150                         <span class="attributes"></span><b class="itemname">find</b>
1151                                 
1152                                  (<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>) 
1153                         
1154                                 
1155                                          : 
1156                                         
1157                                                 
1158                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1159                                         
1160                                         
1161                                         
1162                                 
1163                         
1164                 </div>
1165                 <div class="mdesc">
1166                 
1167                    <div class="short">Returns the first item in the collection which elicits a true return value from the<br/>passed selection function.</div> 
1168                  
1169                  
1170                  
1171                     <div class="long">
1172                         
1173                                 Returns the first item in the collection which elicits a true return value from the<br/>passed selection function.
1174                     
1175                                 
1176                         
1177                         
1178                         
1179                         
1180                                 <dl class="detailList">
1181                                 <dt class="heading">Parameters:</dt>
1182                                 
1183                                         <dt>
1184                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>fn</b>
1185                                                 
1186                                         </dt>
1187                                         <dd>The selection function to execute for each item.</dd>
1188                                 
1189                                         <dt>
1190                                                 <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>
1191                                                 
1192                                         </dt>
1193                                         <dd>(optional) The scope in which to execute the function.</dd>
1194                                 
1195                                 </dl>
1196                         
1197                         
1198                         
1199                         
1200                         
1201                                 <dl class="detailList">
1202                                 <dt class="heading">Returns:</dt>
1203                                 
1204                                         <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>
1205                                 
1206                                 </dl>
1207                         
1208                         
1209                         
1210
1211                     
1212                     
1213                      
1214                     </div>                    
1215                 </div>
1216
1217             </td>
1218             <td class="msource">
1219                 
1220                         Roo.util.MixedCollection
1221                 &nbsp;
1222             </td>
1223         </tr>
1224         
1225           
1226           <tr class="method-row config-row-alt0 expandable">
1227             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1228            
1229            
1230             <td class="sig">
1231                 <a id="Roo.util.Observable-method-fireEvent"   name=".fireEvent"></a>
1232                 <div class="fixedFont">
1233                         <span class="attributes"></span><b class="itemname">fireEvent</b>
1234                                 
1235                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object...</a> <B><i>args</i></B>) 
1236                         
1237                                 
1238                                          : 
1239                                         
1240                                                 
1241                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1242                                         
1243                                         
1244                                         
1245                                 
1246                         
1247                 </div>
1248                 <div class="mdesc">
1249                 
1250                    <div class="short">Fires the specified event with the passed parameters (minus the event name).</div> 
1251                  
1252                  
1253                  
1254                     <div class="long">
1255                         
1256                                 Fires the specified event with the passed parameters (minus the event name).
1257                     
1258                                 
1259                         
1260                         
1261                         
1262                         
1263                                 <dl class="detailList">
1264                                 <dt class="heading">Parameters:</dt>
1265                                 
1266                                         <dt>
1267                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1268                                                 
1269                                         </dt>
1270                                         <dd></dd>
1271                                 
1272                                         <dt>
1273                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object...</a></span>  <b>args</b>
1274                                                 
1275                                         </dt>
1276                                         <dd>Variable number of parameters are passed to handlers</dd>
1277                                 
1278                                 </dl>
1279                         
1280                         
1281                         
1282                         
1283                         
1284                                 <dl class="detailList">
1285                                 <dt class="heading">Returns:</dt>
1286                                 
1287                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  returns false if any of the handlers return false otherwise it returns true</dd>
1288                                 
1289                                 </dl>
1290                         
1291                         
1292                         
1293
1294                     
1295                     
1296                      
1297                     </div>                    
1298                 </div>
1299
1300             </td>
1301             <td class="msource">
1302                 
1303                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1304                 &nbsp;
1305             </td>
1306         </tr>
1307         
1308           
1309           <tr class="method-row config-row-alt1 expandable notInherited">
1310             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1311            
1312            
1313             <td class="sig">
1314                 <a id="Roo.util.MixedCollection-method-first"   name=".first"></a>
1315                 <div class="fixedFont">
1316                         <span class="attributes"></span><b class="itemname">first</b>
1317                                 
1318                                  () 
1319                         
1320                                 
1321                                          : 
1322                                         
1323                                                 
1324                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1325                                         
1326                                         
1327                                         
1328                                 
1329                         
1330                 </div>
1331                 <div class="mdesc">
1332                 
1333                    <div class="short">Returns the first item in the collection.</div> 
1334                  
1335                  
1336                  
1337                     <div class="long">
1338                         
1339                                 Returns the first item in the collection.
1340                     
1341                                 
1342                         
1343                         
1344                         
1345                         
1346                         
1347                         
1348                         
1349                         
1350                                 <dl class="detailList">
1351                                 <dt class="heading">Returns:</dt>
1352                                 
1353                                         <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>
1354                                 
1355                                 </dl>
1356                         
1357                         
1358                         
1359
1360                     
1361                     
1362                      
1363                     </div>                    
1364                 </div>
1365
1366             </td>
1367             <td class="msource">
1368                 
1369                         Roo.util.MixedCollection
1370                 &nbsp;
1371             </td>
1372         </tr>
1373         
1374           
1375           <tr class="method-row config-row-alt0 expandable notInherited">
1376             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1377            
1378            
1379             <td class="sig">
1380                 <a id="Roo.util.MixedCollection-method-get"   name=".get"></a>
1381                 <div class="fixedFont">
1382                         <span class="attributes"></span><b class="itemname">get</b>
1383                                 
1384                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Number <B><i>key</i></B>) 
1385                         
1386                                 
1387                                          : 
1388                                         
1389                                                 
1390                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1391                                         
1392                                         
1393                                         
1394                                 
1395                         
1396                 </div>
1397                 <div class="mdesc">
1398                 
1399                    <div class="short">Returns the item associated with the passed key or index.</div> 
1400                  
1401                  
1402                  
1403                     <div class="long">
1404                         
1405                                 Returns the item associated with the passed key or index.
1406                     
1407                                 
1408                         
1409                         
1410                         
1411                         
1412                                 <dl class="detailList">
1413                                 <dt class="heading">Parameters:</dt>
1414                                 
1415                                         <dt>
1416                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Number</span>  <b>key</b>
1417                                                 
1418                                         </dt>
1419                                         <dd>The key or index of the item.</dd>
1420                                 
1421                                 </dl>
1422                         
1423                         
1424                         
1425                         
1426                         
1427                                 <dl class="detailList">
1428                                 <dt class="heading">Returns:</dt>
1429                                 
1430                                         <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>
1431                                 
1432                                 </dl>
1433                         
1434                         
1435                         
1436
1437                     
1438                     
1439                      
1440                     </div>                    
1441                 </div>
1442
1443             </td>
1444             <td class="msource">
1445                 
1446                         Roo.util.MixedCollection
1447                 &nbsp;
1448             </td>
1449         </tr>
1450         
1451           
1452           <tr class="method-row config-row-alt1 expandable notInherited">
1453             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1454            
1455            
1456             <td class="sig">
1457                 <a id="Roo.util.MixedCollection-method-getCount"   name=".getCount"></a>
1458                 <div class="fixedFont">
1459                         <span class="attributes"></span><b class="itemname">getCount</b>
1460                                 
1461                                  () 
1462                         
1463                                 
1464                                          : 
1465                                         
1466                                                 
1467                                                 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1468                                         
1469                                         
1470                                         
1471                                 
1472                         
1473                 </div>
1474                 <div class="mdesc">
1475                 
1476                    <div class="short">Returns the number of items in the collection.</div> 
1477                  
1478                  
1479                  
1480                     <div class="long">
1481                         
1482                                 Returns the number of items in the collection.
1483                     
1484                                 
1485                         
1486                         
1487                         
1488                         
1489                         
1490                         
1491                         
1492                         
1493                                 <dl class="detailList">
1494                                 <dt class="heading">Returns:</dt>
1495                                 
1496                                         <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>
1497                                 
1498                                 </dl>
1499                         
1500                         
1501                         
1502
1503                     
1504                     
1505                      
1506                     </div>                    
1507                 </div>
1508
1509             </td>
1510             <td class="msource">
1511                 
1512                         Roo.util.MixedCollection
1513                 &nbsp;
1514             </td>
1515         </tr>
1516         
1517           
1518           <tr class="method-row config-row-alt0 expandable notInherited">
1519             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1520            
1521            
1522             <td class="sig">
1523                 <a id="Roo.util.MixedCollection-method-getKey"   name=".getKey"></a>
1524                 <div class="fixedFont">
1525                         <span class="attributes"></span><b class="itemname">getKey</b>
1526                                 
1527                                  (<B><i>o</i></B>) 
1528                         
1529                                 
1530                                          : 
1531                                         
1532                                                 
1533                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1534                                         
1535                                         
1536                                         
1537                                 
1538                         
1539                 </div>
1540                 <div class="mdesc">
1541                 
1542                    <div class="short">MixedCollection has a generic way to fetch keys if you implement getKey.</div> 
1543                  
1544                  
1545                  
1546                     <div class="long">
1547                         
1548                                 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>
1549                     
1550                                 
1551                         
1552                         
1553                         
1554                         
1555                                 <dl class="detailList">
1556                                 <dt class="heading">Parameters:</dt>
1557                                 
1558                                         <dt>
1559                                                  <b>o</b>
1560                                                 
1561                                         </dt>
1562                                         <dd>{Object} The item for which to find the key.</dd>
1563                                 
1564                                 </dl>
1565                         
1566                         
1567                         
1568                         
1569                         
1570                                 <dl class="detailList">
1571                                 <dt class="heading">Returns:</dt>
1572                                 
1573                                         <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>
1574                                 
1575                                 </dl>
1576                         
1577                         
1578                         
1579
1580                     
1581                     
1582                      
1583                     </div>                    
1584                 </div>
1585
1586             </td>
1587             <td class="msource">
1588                 
1589                         Roo.util.MixedCollection
1590                 &nbsp;
1591             </td>
1592         </tr>
1593         
1594           
1595           <tr class="method-row config-row-alt1 expandable notInherited">
1596             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1597            
1598            
1599             <td class="sig">
1600                 <a id="Roo.util.MixedCollection-method-getRange"   name=".getRange"></a>
1601                 <div class="fixedFont">
1602                         <span class="attributes"></span><b class="itemname">getRange</b>
1603                                 
1604                                  (<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>) 
1605                         
1606                                 
1607                                          : 
1608                                         
1609                                                 
1610                                                 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
1611                                         
1612                                         
1613                                         
1614                                 
1615                         
1616                 </div>
1617                 <div class="mdesc">
1618                 
1619                    <div class="short">Returns a range of items in this collection</div> 
1620                  
1621                  
1622                  
1623                     <div class="long">
1624                         
1625                                 Returns a range of items in this collection
1626                     
1627                                 
1628                         
1629                         
1630                         
1631                         
1632                                 <dl class="detailList">
1633                                 <dt class="heading">Parameters:</dt>
1634                                 
1635                                         <dt>
1636                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>startIndex</b>
1637                                                 
1638                                         </dt>
1639                                         <dd>(optional) defaults to 0</dd>
1640                                 
1641                                         <dt>
1642                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>endIndex</b>
1643                                                 
1644                                         </dt>
1645                                         <dd>(optional) default to the last item</dd>
1646                                 
1647                                 </dl>
1648                         
1649                         
1650                         
1651                         
1652                         
1653                                 <dl class="detailList">
1654                                 <dt class="heading">Returns:</dt>
1655                                 
1656                                         <dd><span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span>  An array of items</dd>
1657                                 
1658                                 </dl>
1659                         
1660                         
1661                         
1662
1663                     
1664                     
1665                      
1666                     </div>                    
1667                 </div>
1668
1669             </td>
1670             <td class="msource">
1671                 
1672                         Roo.util.MixedCollection
1673                 &nbsp;
1674             </td>
1675         </tr>
1676         
1677           
1678           <tr class="method-row config-row-alt0 expandable">
1679             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1680            
1681            
1682             <td class="sig">
1683                 <a id="Roo.util.Observable-method-hasListener"   name=".hasListener"></a>
1684                 <div class="fixedFont">
1685                         <span class="attributes"></span><b class="itemname">hasListener</b>
1686                                 
1687                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>) 
1688                         
1689                                 
1690                                          : 
1691                                         
1692                                                 
1693                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1694                                         
1695                                         
1696                                         
1697                                 
1698                         
1699                 </div>
1700                 <div class="mdesc">
1701                 
1702                    <div class="short">Checks to see if this object has any listeners for a specified event</div> 
1703                  
1704                  
1705                  
1706                     <div class="long">
1707                         
1708                                 Checks to see if this object has any listeners for a specified event
1709                     
1710                                 
1711                         
1712                         
1713                         
1714                         
1715                                 <dl class="detailList">
1716                                 <dt class="heading">Parameters:</dt>
1717                                 
1718                                         <dt>
1719                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1720                                                 
1721                                         </dt>
1722                                         <dd>The name of the event to check for</dd>
1723                                 
1724                                 </dl>
1725                         
1726                         
1727                         
1728                         
1729                         
1730                                 <dl class="detailList">
1731                                 <dt class="heading">Returns:</dt>
1732                                 
1733                                         <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 event is being listened for, else false</dd>
1734                                 
1735                                 </dl>
1736                         
1737                         
1738                         
1739
1740                     
1741                     
1742                      
1743                     </div>                    
1744                 </div>
1745
1746             </td>
1747             <td class="msource">
1748                 
1749                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1750                 &nbsp;
1751             </td>
1752         </tr>
1753         
1754           
1755           <tr class="method-row config-row-alt1 expandable notInherited">
1756             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1757            
1758            
1759             <td class="sig">
1760                 <a id="Roo.util.MixedCollection-method-indexOf"   name=".indexOf"></a>
1761                 <div class="fixedFont">
1762                         <span class="attributes"></span><b class="itemname">indexOf</b>
1763                                 
1764                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>o</i></B>) 
1765                         
1766                                 
1767                                          : 
1768                                         
1769                                                 
1770                                                 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1771                                         
1772                                         
1773                                         
1774                                 
1775                         
1776                 </div>
1777                 <div class="mdesc">
1778                 
1779                    <div class="short">Returns index within the collection of the passed Object.</div> 
1780                  
1781                  
1782                  
1783                     <div class="long">
1784                         
1785                                 Returns index within the collection of the passed Object.
1786                     
1787                                 
1788                         
1789                         
1790                         
1791                         
1792                                 <dl class="detailList">
1793                                 <dt class="heading">Parameters:</dt>
1794                                 
1795                                         <dt>
1796                                                 <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>
1797                                                 
1798                                         </dt>
1799                                         <dd>The item to find the index of.</dd>
1800                                 
1801                                 </dl>
1802                         
1803                         
1804                         
1805                         
1806                         
1807                                 <dl class="detailList">
1808                                 <dt class="heading">Returns:</dt>
1809                                 
1810                                         <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  index of the item.</dd>
1811                                 
1812                                 </dl>
1813                         
1814                         
1815                         
1816
1817                     
1818                     
1819                      
1820                     </div>                    
1821                 </div>
1822
1823             </td>
1824             <td class="msource">
1825                 
1826                         Roo.util.MixedCollection
1827                 &nbsp;
1828             </td>
1829         </tr>
1830         
1831           
1832           <tr class="method-row config-row-alt0 expandable notInherited">
1833             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1834            
1835            
1836             <td class="sig">
1837                 <a id="Roo.util.MixedCollection-method-indexOfKey"   name=".indexOfKey"></a>
1838                 <div class="fixedFont">
1839                         <span class="attributes"></span><b class="itemname">indexOfKey</b>
1840                                 
1841                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>key</i></B>) 
1842                         
1843                                 
1844                                          : 
1845                                         
1846                                                 
1847                                                 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1848                                         
1849                                         
1850                                         
1851                                 
1852                         
1853                 </div>
1854                 <div class="mdesc">
1855                 
1856                    <div class="short">Returns index within the collection of the passed key.</div> 
1857                  
1858                  
1859                  
1860                     <div class="long">
1861                         
1862                                 Returns index within the collection of the passed key.
1863                     
1864                                 
1865                         
1866                         
1867                         
1868                         
1869                                 <dl class="detailList">
1870                                 <dt class="heading">Parameters:</dt>
1871                                 
1872                                         <dt>
1873                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>key</b>
1874                                                 
1875                                         </dt>
1876                                         <dd>The key to find the index of.</dd>
1877                                 
1878                                 </dl>
1879                         
1880                         
1881                         
1882                         
1883                         
1884                                 <dl class="detailList">
1885                                 <dt class="heading">Returns:</dt>
1886                                 
1887                                         <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  index of the key.</dd>
1888                                 
1889                                 </dl>
1890                         
1891                         
1892                         
1893
1894                     
1895                     
1896                      
1897                     </div>                    
1898                 </div>
1899
1900             </td>
1901             <td class="msource">
1902                 
1903                         Roo.util.MixedCollection
1904                 &nbsp;
1905             </td>
1906         </tr>
1907         
1908           
1909           <tr class="method-row config-row-alt1 expandable notInherited">
1910             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1911            
1912            
1913             <td class="sig">
1914                 <a id="Roo.util.MixedCollection-method-insert"   name=".insert"></a>
1915                 <div class="fixedFont">
1916                         <span class="attributes"></span><b class="itemname">insert</b>
1917                                 
1918                                  (<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>) 
1919                         
1920                                 
1921                                          : 
1922                                         
1923                                                 
1924                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1925                                         
1926                                         
1927                                         
1928                                 
1929                         
1930                 </div>
1931                 <div class="mdesc">
1932                 
1933                    <div class="short">Inserts an item at the specified index in the collection.</div> 
1934                  
1935                  
1936                  
1937                     <div class="long">
1938                         
1939                                 Inserts an item at the specified index in the collection.
1940                     
1941                                 
1942                         
1943                         
1944                         
1945                         
1946                                 <dl class="detailList">
1947                                 <dt class="heading">Parameters:</dt>
1948                                 
1949                                         <dt>
1950                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>index</b>
1951                                                 
1952                                         </dt>
1953                                         <dd>The index to insert the item at.</dd>
1954                                 
1955                                         <dt>
1956                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>key</b>
1957                                                 
1958                                         </dt>
1959                                         <dd>The key to associate with the new item, or the item itself.</dd>
1960                                 
1961                                         <dt>
1962                                                 <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>
1963                                                 
1964                                         </dt>
1965                                         <dd>(optional) If the second parameter was a key, the new item.</dd>
1966                                 
1967                                 </dl>
1968                         
1969                         
1970                         
1971                         
1972                         
1973                                 <dl class="detailList">
1974                                 <dt class="heading">Returns:</dt>
1975                                 
1976                                         <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>
1977                                 
1978                                 </dl>
1979                         
1980                         
1981                         
1982
1983                     
1984                     
1985                      
1986                     </div>                    
1987                 </div>
1988
1989             </td>
1990             <td class="msource">
1991                 
1992                         Roo.util.MixedCollection
1993                 &nbsp;
1994             </td>
1995         </tr>
1996         
1997           
1998           <tr class="method-row config-row-alt0 expandable notInherited">
1999             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2000            
2001            
2002             <td class="sig">
2003                 <a id="Roo.util.MixedCollection-method-item"   name=".item"></a>
2004                 <div class="fixedFont">
2005                         <span class="attributes"></span><b class="itemname">item</b>
2006                                 
2007                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Number <B><i>key</i></B>) 
2008                         
2009                                 
2010                                          : 
2011                                         
2012                                                 
2013                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
2014                                         
2015                                         
2016                                         
2017                                 
2018                         
2019                 </div>
2020                 <div class="mdesc">
2021                 
2022                    <div class="short">Returns the item associated with the passed key OR index.</div> 
2023                  
2024                  
2025                  
2026                     <div class="long">
2027                         
2028                                 Returns the item associated with the passed key OR index. Key has priority over index.
2029                     
2030                                 
2031                         
2032                         
2033                         
2034                         
2035                                 <dl class="detailList">
2036                                 <dt class="heading">Parameters:</dt>
2037                                 
2038                                         <dt>
2039                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Number</span>  <b>key</b>
2040                                                 
2041                                         </dt>
2042                                         <dd>The key or index of the item.</dd>
2043                                 
2044                                 </dl>
2045                         
2046                         
2047                         
2048                         
2049                         
2050                                 <dl class="detailList">
2051                                 <dt class="heading">Returns:</dt>
2052                                 
2053                                         <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>
2054                                 
2055                                 </dl>
2056                         
2057                         
2058                         
2059
2060                     
2061                     
2062                      
2063                     </div>                    
2064                 </div>
2065
2066             </td>
2067             <td class="msource">
2068                 
2069                         Roo.util.MixedCollection
2070                 &nbsp;
2071             </td>
2072         </tr>
2073         
2074           
2075           <tr class="method-row config-row-alt1 expandable notInherited">
2076             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2077            
2078            
2079             <td class="sig">
2080                 <a id="Roo.util.MixedCollection-method-itemAt"   name=".itemAt"></a>
2081                 <div class="fixedFont">
2082                         <span class="attributes"></span><b class="itemname">itemAt</b>
2083                                 
2084                                  (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>) 
2085                         
2086                                 
2087                                          : 
2088                                         
2089                                                 
2090                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
2091                                         
2092                                         
2093                                         
2094                                 
2095                         
2096                 </div>
2097                 <div class="mdesc">
2098                 
2099                    <div class="short">Returns the item at the specified index.</div> 
2100                  
2101                  
2102                  
2103                     <div class="long">
2104                         
2105                                 Returns the item at the specified index.
2106                     
2107                                 
2108                         
2109                         
2110                         
2111                         
2112                                 <dl class="detailList">
2113                                 <dt class="heading">Parameters:</dt>
2114                                 
2115                                         <dt>
2116                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>index</b>
2117                                                 
2118                                         </dt>
2119                                         <dd>The index of the item.</dd>
2120                                 
2121                                 </dl>
2122                         
2123                         
2124                         
2125                         
2126                         
2127                                 <dl class="detailList">
2128                                 <dt class="heading">Returns:</dt>
2129                                 
2130                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  </dd>
2131                                 
2132                                 </dl>
2133                         
2134                         
2135                         
2136
2137                     
2138                     
2139                      
2140                     </div>                    
2141                 </div>
2142
2143             </td>
2144             <td class="msource">
2145                 
2146                         Roo.util.MixedCollection
2147                 &nbsp;
2148             </td>
2149         </tr>
2150         
2151           
2152           <tr class="method-row config-row-alt0 expandable notInherited">
2153             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2154            
2155            
2156             <td class="sig">
2157                 <a id="Roo.util.MixedCollection-method-key"   name=".key"></a>
2158                 <div class="fixedFont">
2159                         <span class="attributes"></span><b class="itemname">key</b>
2160                                 
2161                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Number <B><i>key</i></B>) 
2162                         
2163                                 
2164                                          : 
2165                                         
2166                                                 
2167                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
2168                                         
2169                                         
2170                                         
2171                                 
2172                         
2173                 </div>
2174                 <div class="mdesc">
2175                 
2176                    <div class="short">Returns the item associated with the passed key.</div> 
2177                  
2178                  
2179                  
2180                     <div class="long">
2181                         
2182                                 Returns the item associated with the passed key.
2183                     
2184                                 
2185                         
2186                         
2187                         
2188                         
2189                                 <dl class="detailList">
2190                                 <dt class="heading">Parameters:</dt>
2191                                 
2192                                         <dt>
2193                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Number</span>  <b>key</b>
2194                                                 
2195                                         </dt>
2196                                         <dd>The key of the item.</dd>
2197                                 
2198                                 </dl>
2199                         
2200                         
2201                         
2202                         
2203                         
2204                                 <dl class="detailList">
2205                                 <dt class="heading">Returns:</dt>
2206                                 
2207                                         <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>
2208                                 
2209                                 </dl>
2210                         
2211                         
2212                         
2213
2214                     
2215                     
2216                      
2217                     </div>                    
2218                 </div>
2219
2220             </td>
2221             <td class="msource">
2222                 
2223                         Roo.util.MixedCollection
2224                 &nbsp;
2225             </td>
2226         </tr>
2227         
2228           
2229           <tr class="method-row config-row-alt1 expandable notInherited">
2230             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2231            
2232            
2233             <td class="sig">
2234                 <a id="Roo.util.MixedCollection-method-keySort"   name=".keySort"></a>
2235                 <div class="fixedFont">
2236                         <span class="attributes"></span><b class="itemname">keySort</b>
2237                                 
2238                                  (<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>) 
2239                         
2240                                 
2241                         
2242                 </div>
2243                 <div class="mdesc">
2244                 
2245                    <div class="short">Sorts this collection by keys</div> 
2246                  
2247                  
2248                  
2249                     <div class="long">
2250                         
2251                                 Sorts this collection by keys
2252                     
2253                                 
2254                         
2255                         
2256                         
2257                         
2258                                 <dl class="detailList">
2259                                 <dt class="heading">Parameters:</dt>
2260                                 
2261                                         <dt>
2262                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>direction</b>
2263                                                 
2264                                         </dt>
2265                                         <dd>(optional) "ASC" or "DESC"</dd>
2266                                 
2267                                         <dt>
2268                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>fn</b>
2269                                                 
2270                                         </dt>
2271                                         <dd>(optional) a comparison function (defaults to case insensitive string)</dd>
2272                                 
2273                                 </dl>
2274                         
2275                         
2276                         
2277                         
2278                         
2279                         
2280                         
2281
2282                     
2283                     
2284                      
2285                     </div>                    
2286                 </div>
2287
2288             </td>
2289             <td class="msource">
2290                 
2291                         Roo.util.MixedCollection
2292                 &nbsp;
2293             </td>
2294         </tr>
2295         
2296           
2297           <tr class="method-row config-row-alt0 expandable notInherited">
2298             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2299            
2300            
2301             <td class="sig">
2302                 <a id="Roo.util.MixedCollection-method-last"   name=".last"></a>
2303                 <div class="fixedFont">
2304                         <span class="attributes"></span><b class="itemname">last</b>
2305                                 
2306                                  () 
2307                         
2308                                 
2309                                          : 
2310                                         
2311                                                 
2312                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
2313                                         
2314                                         
2315                                         
2316                                 
2317                         
2318                 </div>
2319                 <div class="mdesc">
2320                 
2321                    <div class="short">Returns the last item in the collection.</div> 
2322                  
2323                  
2324                  
2325                     <div class="long">
2326                         
2327                                 Returns the last item in the collection.
2328                     
2329                                 
2330                         
2331                         
2332                         
2333                         
2334                         
2335                         
2336                         
2337                         
2338                                 <dl class="detailList">
2339                                 <dt class="heading">Returns:</dt>
2340                                 
2341                                         <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>
2342                                 
2343                                 </dl>
2344                         
2345                         
2346                         
2347
2348                     
2349                     
2350                      
2351                     </div>                    
2352                 </div>
2353
2354             </td>
2355             <td class="msource">
2356                 
2357                         Roo.util.MixedCollection
2358                 &nbsp;
2359             </td>
2360         </tr>
2361         
2362           
2363           <tr class="method-row config-row-alt1 expandable">
2364             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2365            
2366            
2367             <td class="sig">
2368                 <a id="Roo.util.Observable-method-on"   name=".on"></a>
2369                 <div class="fixedFont">
2370                         <span class="attributes"></span><b class="itemname">on</b>
2371                                 
2372                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</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>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
2373                         
2374                                 
2375                         
2376                 </div>
2377                 <div class="mdesc">
2378                 
2379                    <div class="short">Appends an event handler to this element (shorthand for addListener)</div> 
2380                  
2381                  
2382                  
2383                     <div class="long">
2384                         
2385                                 Appends an event handler to this element (shorthand for addListener)
2386                     
2387                                 
2388                         
2389                         
2390                         
2391                         
2392                                 <dl class="detailList">
2393                                 <dt class="heading">Parameters:</dt>
2394                                 
2395                                         <dt>
2396                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
2397                                                 
2398                                         </dt>
2399                                         <dd>The type of event to listen for</dd>
2400                                 
2401                                         <dt>
2402                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
2403                                                 
2404                                         </dt>
2405                                         <dd>The method the event invokes</dd>
2406                                 
2407                                         <dt>
2408                                                 <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>
2409                                                 
2410                                         </dt>
2411                                         <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
2412                                 
2413                                         <dt>
2414                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>options</b>
2415                                                 
2416                                         </dt>
2417                                         <dd>(optional)</dd>
2418                                 
2419                                 </dl>
2420                         
2421                         
2422                         
2423                         
2424                         
2425                         
2426                         
2427
2428                     
2429                     
2430                      
2431                     </div>                    
2432                 </div>
2433
2434             </td>
2435             <td class="msource">
2436                 
2437                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2438                 &nbsp;
2439             </td>
2440         </tr>
2441         
2442           
2443           <tr class="method-row config-row-alt0 expandable">
2444             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2445            
2446            
2447             <td class="sig">
2448                 <a id="Roo.util.Observable-method-purgeListeners"   name=".purgeListeners"></a>
2449                 <div class="fixedFont">
2450                         <span class="attributes"></span><b class="itemname">purgeListeners</b>
2451                                 
2452                                  () 
2453                         
2454                                 
2455                         
2456                 </div>
2457                 <div class="mdesc">
2458                 
2459                    <div class="short">Removes all listeners for this object</div> 
2460                  
2461                  
2462                  
2463                     <div class="long">
2464                         
2465                                 Removes all listeners for this object
2466                     
2467                                 
2468                         
2469                         
2470                         
2471                         
2472                         
2473                         
2474                         
2475                         
2476                         
2477                         
2478
2479                     
2480                     
2481                      
2482                     </div>                    
2483                 </div>
2484
2485             </td>
2486             <td class="msource">
2487                 
2488                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2489                 &nbsp;
2490             </td>
2491         </tr>
2492         
2493           
2494           <tr class="method-row config-row-alt1 expandable notInherited">
2495             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2496            
2497            
2498             <td class="sig">
2499                 <a id="Roo.util.MixedCollection-method-remove"   name=".remove"></a>
2500                 <div class="fixedFont">
2501                         <span class="attributes"></span><b class="itemname">remove</b>
2502                                 
2503                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>o</i></B>) 
2504                         
2505                                 
2506                                          : 
2507                                         
2508                                                 
2509                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
2510                                         
2511                                         
2512                                         
2513                                 
2514                         
2515                 </div>
2516                 <div class="mdesc">
2517                 
2518                    <div class="short">Removed an item from the collection.</div> 
2519                  
2520                  
2521                  
2522                     <div class="long">
2523                         
2524                                 Removed an item from the collection.
2525                     
2526                                 
2527                         
2528                         
2529                         
2530                         
2531                                 <dl class="detailList">
2532                                 <dt class="heading">Parameters:</dt>
2533                                 
2534                                         <dt>
2535                                                 <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>
2536                                                 
2537                                         </dt>
2538                                         <dd>The item to remove.</dd>
2539                                 
2540                                 </dl>
2541                         
2542                         
2543                         
2544                         
2545                         
2546                                 <dl class="detailList">
2547                                 <dt class="heading">Returns:</dt>
2548                                 
2549                                         <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>
2550                                 
2551                                 </dl>
2552                         
2553                         
2554                         
2555
2556                     
2557                     
2558                      
2559                     </div>                    
2560                 </div>
2561
2562             </td>
2563             <td class="msource">
2564                 
2565                         Roo.util.MixedCollection
2566                 &nbsp;
2567             </td>
2568         </tr>
2569         
2570           
2571           <tr class="method-row config-row-alt0 expandable notInherited">
2572             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2573            
2574            
2575             <td class="sig">
2576                 <a id="Roo.util.MixedCollection-method-removeAt"   name=".removeAt"></a>
2577                 <div class="fixedFont">
2578                         <span class="attributes"></span><b class="itemname">removeAt</b>
2579                                 
2580                                  (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>) 
2581                         
2582                                 
2583                         
2584                 </div>
2585                 <div class="mdesc">
2586                 
2587                    <div class="short">Remove an item from a specified index in the collection.</div> 
2588                  
2589                  
2590                  
2591                     <div class="long">
2592                         
2593                                 Remove an item from a specified index in the collection.
2594                     
2595                                 
2596                         
2597                         
2598                         
2599                         
2600                                 <dl class="detailList">
2601                                 <dt class="heading">Parameters:</dt>
2602                                 
2603                                         <dt>
2604                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>index</b>
2605                                                 
2606                                         </dt>
2607                                         <dd>The index within the collection of the item to remove.</dd>
2608                                 
2609                                 </dl>
2610                         
2611                         
2612                         
2613                         
2614                         
2615                         
2616                         
2617
2618                     
2619                     
2620                      
2621                     </div>                    
2622                 </div>
2623
2624             </td>
2625             <td class="msource">
2626                 
2627                         Roo.util.MixedCollection
2628                 &nbsp;
2629             </td>
2630         </tr>
2631         
2632           
2633           <tr class="method-row config-row-alt1 expandable notInherited">
2634             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2635            
2636            
2637             <td class="sig">
2638                 <a id="Roo.util.MixedCollection-method-removeKey"   name=".removeKey"></a>
2639                 <div class="fixedFont">
2640                         <span class="attributes"></span><b class="itemname">removeKey</b>
2641                                 
2642                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>key</i></B>) 
2643                         
2644                                 
2645                         
2646                 </div>
2647                 <div class="mdesc">
2648                 
2649                    <div class="short">Removed an item associated with the passed key fom the collection.</div> 
2650                  
2651                  
2652                  
2653                     <div class="long">
2654                         
2655                                 Removed an item associated with the passed key fom the collection.
2656                     
2657                                 
2658                         
2659                         
2660                         
2661                         
2662                                 <dl class="detailList">
2663                                 <dt class="heading">Parameters:</dt>
2664                                 
2665                                         <dt>
2666                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>key</b>
2667                                                 
2668                                         </dt>
2669                                         <dd>The key of the item to remove.</dd>
2670                                 
2671                                 </dl>
2672                         
2673                         
2674                         
2675                         
2676                         
2677                         
2678                         
2679
2680                     
2681                     
2682                      
2683                     </div>                    
2684                 </div>
2685
2686             </td>
2687             <td class="msource">
2688                 
2689                         Roo.util.MixedCollection
2690                 &nbsp;
2691             </td>
2692         </tr>
2693         
2694           
2695           <tr class="method-row config-row-alt0 expandable">
2696             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2697            
2698            
2699             <td class="sig">
2700                 <a id="Roo.util.Observable-method-removeListener"   name=".removeListener"></a>
2701                 <div class="fixedFont">
2702                         <span class="attributes"></span><b class="itemname">removeListener</b>
2703                                 
2704                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</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>) 
2705                         
2706                                 
2707                         
2708                 </div>
2709                 <div class="mdesc">
2710                 
2711                    <div class="short">Removes a listener</div> 
2712                  
2713                  
2714                  
2715                     <div class="long">
2716                         
2717                                 Removes a listener
2718                     
2719                                 
2720                         
2721                         
2722                         
2723                         
2724                                 <dl class="detailList">
2725                                 <dt class="heading">Parameters:</dt>
2726                                 
2727                                         <dt>
2728                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
2729                                                 
2730                                         </dt>
2731                                         <dd>The type of event to listen for</dd>
2732                                 
2733                                         <dt>
2734                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
2735                                                 
2736                                         </dt>
2737                                         <dd>The handler to remove</dd>
2738                                 
2739                                         <dt>
2740                                                 <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>
2741                                                 
2742                                         </dt>
2743                                         <dd>(optional) The scope (this object) for the handler</dd>
2744                                 
2745                                 </dl>
2746                         
2747                         
2748                         
2749                         
2750                         
2751                         
2752                         
2753
2754                     
2755                     
2756                      
2757                     </div>                    
2758                 </div>
2759
2760             </td>
2761             <td class="msource">
2762                 
2763                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2764                 &nbsp;
2765             </td>
2766         </tr>
2767         
2768           
2769           <tr class="method-row config-row-alt1 expandable notInherited">
2770             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2771            
2772            
2773             <td class="sig">
2774                 <a id="Roo.util.MixedCollection-method-replace"   name=".replace"></a>
2775                 <div class="fixedFont">
2776                         <span class="attributes"></span><b class="itemname">replace</b>
2777                                 
2778                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>key</i></B>, <B><i>o</i></B>) 
2779                         
2780                                 
2781                                          : 
2782                                         
2783                                                 
2784                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
2785                                         
2786                                         
2787                                         
2788                                 
2789                         
2790                 </div>
2791                 <div class="mdesc">
2792                 
2793                    <div class="short">Replaces an item in the collection.</div> 
2794                  
2795                  
2796                  
2797                     <div class="long">
2798                         
2799                                 Replaces an item in the collection.
2800                     
2801                                 
2802                         
2803                         
2804                         
2805                         
2806                                 <dl class="detailList">
2807                                 <dt class="heading">Parameters:</dt>
2808                                 
2809                                         <dt>
2810                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>key</b>
2811                                                 
2812                                         </dt>
2813                                         <dd>The key associated with the item to replace, or the item to replace.</dd>
2814                                 
2815                                         <dt>
2816                                                  <b>o</b>
2817                                                 
2818                                         </dt>
2819                                         <dd>{Object} o (optional) If the first parameter passed was a key, the item to associate with that key.</dd>
2820                                 
2821                                 </dl>
2822                         
2823                         
2824                         
2825                         
2826                         
2827                                 <dl class="detailList">
2828                                 <dt class="heading">Returns:</dt>
2829                                 
2830                                         <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>
2831                                 
2832                                 </dl>
2833                         
2834                         
2835                         
2836
2837                     
2838                     
2839                      
2840                     </div>                    
2841                 </div>
2842
2843             </td>
2844             <td class="msource">
2845                 
2846                         Roo.util.MixedCollection
2847                 &nbsp;
2848             </td>
2849         </tr>
2850         
2851           
2852           <tr class="method-row config-row-alt0 expandable notInherited">
2853             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2854            
2855            
2856             <td class="sig">
2857                 <a id="Roo.util.MixedCollection-method-sort"   name=".sort"></a>
2858                 <div class="fixedFont">
2859                         <span class="attributes"></span><b class="itemname">sort</b>
2860                                 
2861                                  (<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>) 
2862                         
2863                                 
2864                         
2865                 </div>
2866                 <div class="mdesc">
2867                 
2868                    <div class="short">Sorts this collection with the passed comparison function</div> 
2869                  
2870                  
2871                  
2872                     <div class="long">
2873                         
2874                                 Sorts this collection with the passed comparison function
2875                     
2876                                 
2877                         
2878                         
2879                         
2880                         
2881                                 <dl class="detailList">
2882                                 <dt class="heading">Parameters:</dt>
2883                                 
2884                                         <dt>
2885                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>direction</b>
2886                                                 
2887                                         </dt>
2888                                         <dd>(optional) "ASC" or "DESC"</dd>
2889                                 
2890                                         <dt>
2891                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>fn</b>
2892                                                 
2893                                         </dt>
2894                                         <dd>(optional) comparison function</dd>
2895                                 
2896                                 </dl>
2897                         
2898                         
2899                         
2900                         
2901                         
2902                         
2903                         
2904
2905                     
2906                     
2907                      
2908                     </div>                    
2909                 </div>
2910
2911             </td>
2912             <td class="msource">
2913                 
2914                         Roo.util.MixedCollection
2915                 &nbsp;
2916             </td>
2917         </tr>
2918         
2919           
2920           <tr class="method-row config-row-alt1 expandable">
2921             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2922            
2923            
2924             <td class="sig">
2925                 <a id="Roo.util.Observable-method-un"   name=".un"></a>
2926                 <div class="fixedFont">
2927                         <span class="attributes"></span><b class="itemname">un</b>
2928                                 
2929                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</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>) 
2930                         
2931                                 
2932                         
2933                 </div>
2934                 <div class="mdesc">
2935                 
2936                    <div class="short">Removes a listener (shorthand for removeListener)</div> 
2937                  
2938                  
2939                  
2940                     <div class="long">
2941                         
2942                                 Removes a listener (shorthand for removeListener)
2943                     
2944                                 
2945                         
2946                         
2947                         
2948                         
2949                                 <dl class="detailList">
2950                                 <dt class="heading">Parameters:</dt>
2951                                 
2952                                         <dt>
2953                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
2954                                                 
2955                                         </dt>
2956                                         <dd>The type of event to listen for</dd>
2957                                 
2958                                         <dt>
2959                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
2960                                                 
2961                                         </dt>
2962                                         <dd>The handler to remove</dd>
2963                                 
2964                                         <dt>
2965                                                 <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>
2966                                                 
2967                                         </dt>
2968                                         <dd>(optional) The scope (this object) for the handler</dd>
2969                                 
2970                                 </dl>
2971                         
2972                         
2973                         
2974                         
2975                         
2976                         
2977                         
2978
2979                     
2980                     
2981                      
2982                     </div>                    
2983                 </div>
2984
2985             </td>
2986             <td class="msource">
2987                 
2988                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2989                 &nbsp;
2990             </td>
2991         </tr>
2992         
2993                                                        
2994     </table>
2995
2996   
2997   <!-- ============================== events summary / details ======================== -->
2998   
2999   
3000   <a id="Roo.util.MixedCollection-events"></a>
3001     
3002   
3003         
3004    
3005   
3006     
3007     
3008     
3009       <table cellspacing="0" class="member-table">
3010                 <caption>Events</caption>
3011               <thead>
3012                 <tr>
3013                     <th class="sig-header" colspan="2">Event</th>            
3014                     <th class="msource-header">Defined By</th>
3015
3016                 </tr>
3017               </thead>  
3018         
3019         
3020          
3021         
3022         
3023           <tr class="method-row expandable config-row-alt0 notInherited">
3024             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3025             
3026             <td class="sig">
3027                 <a id="Roo.util.MixedCollection-event-*add"></a>
3028                 
3029                <div class="fixedFont">
3030                 <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>) 
3031                 
3032                 </div>
3033
3034                 <div class="mdesc">
3035
3036                    <div class="short">Fires when an item is added to the collection.
3037                    
3038                 </div> 
3039                     
3040                     <div class="long">
3041                     
3042                         Fires when an item is added to the collection.
3043                     
3044                         
3045                         
3046                 
3047                         
3048                                 <dl class="detailList">
3049                                 <dt class="heading">Parameters:</dt>
3050                                 
3051                                         <dt>
3052                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
3053                                                 
3054                                         </dt>
3055                                         <dd>The index at which the item was added.</dd>
3056                                 
3057                                         <dt>
3058                                                 <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>
3059                                                 
3060                                         </dt>
3061                                         <dd>The item added.</dd>
3062                                 
3063                                         <dt>
3064                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>key</b>
3065                                                 
3066                                         </dt>
3067                                         <dd>The key associated with the added item.</dd>
3068                                 
3069                                 </dl>
3070                         
3071                         
3072                         
3073                         
3074                         
3075                         
3076                         
3077
3078                     
3079                     
3080                      
3081                     </div>                    
3082                 </div>
3083
3084             </td>
3085             <td class="msource">
3086                 Roo.util.MixedCollection
3087             </td>
3088         </tr>
3089         
3090           <tr class="method-row expandable config-row-alt1 notInherited">
3091             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3092             
3093             <td class="sig">
3094                 <a id="Roo.util.MixedCollection-event-*clear"></a>
3095                 
3096                <div class="fixedFont">
3097                 <b class="itemname">clear</b> () 
3098                 
3099                 </div>
3100
3101                 <div class="mdesc">
3102
3103                    <div class="short">Fires when the collection is cleared.
3104                    
3105                 </div> 
3106                     
3107                     <div class="long">
3108                     
3109                         Fires when the collection is cleared.
3110                     
3111                         
3112                         
3113                 
3114                         
3115                         
3116                         
3117                         
3118                         
3119                         
3120                         
3121
3122                     
3123                     
3124                      
3125                     </div>                    
3126                 </div>
3127
3128             </td>
3129             <td class="msource">
3130                 Roo.util.MixedCollection
3131             </td>
3132         </tr>
3133         
3134           <tr class="method-row expandable config-row-alt0 notInherited">
3135             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3136             
3137             <td class="sig">
3138                 <a id="Roo.util.MixedCollection-event-*remove"></a>
3139                 
3140                <div class="fixedFont">
3141                 <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>) 
3142                 
3143                 </div>
3144
3145                 <div class="mdesc">
3146
3147                    <div class="short">Fires when an item is removed from the collection.
3148                    
3149                 </div> 
3150                     
3151                     <div class="long">
3152                     
3153                         Fires when an item is removed from the collection.
3154                     
3155                         
3156                         
3157                 
3158                         
3159                                 <dl class="detailList">
3160                                 <dt class="heading">Parameters:</dt>
3161                                 
3162                                         <dt>
3163                                                 <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>
3164                                                 
3165                                         </dt>
3166                                         <dd>The item being removed.</dd>
3167                                 
3168                                         <dt>
3169                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>key</b>
3170                                                 
3171                                         </dt>
3172                                         <dd>(optional) The key associated with the removed item.</dd>
3173                                 
3174                                 </dl>
3175                         
3176                         
3177                         
3178                         
3179                         
3180                         
3181                         
3182
3183                     
3184                     
3185                      
3186                     </div>                    
3187                 </div>
3188
3189             </td>
3190             <td class="msource">
3191                 Roo.util.MixedCollection
3192             </td>
3193         </tr>
3194         
3195           <tr class="method-row expandable config-row-alt1 notInherited">
3196             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3197             
3198             <td class="sig">
3199                 <a id="Roo.util.MixedCollection-event-*replace"></a>
3200                 
3201                <div class="fixedFont">
3202                 <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>) 
3203                 
3204                 </div>
3205
3206                 <div class="mdesc">
3207
3208                    <div class="short">Fires when an item is replaced in the collection.
3209                    
3210                 </div> 
3211                     
3212                     <div class="long">
3213                     
3214                         Fires when an item is replaced in the collection.
3215                     
3216                         
3217                         
3218                 
3219                         
3220                                 <dl class="detailList">
3221                                 <dt class="heading">Parameters:</dt>
3222                                 
3223                                         <dt>
3224                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>key</b>
3225                                                 
3226                                         </dt>
3227                                         <dd>he key associated with the new added.</dd>
3228                                 
3229                                         <dt>
3230                                                 <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>
3231                                                 
3232                                         </dt>
3233                                         <dd>The item being replaced.</dd>
3234                                 
3235                                         <dt>
3236                                                 <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>
3237                                                 
3238                                         </dt>
3239                                         <dd>The new item.</dd>
3240                                 
3241                                 </dl>
3242                         
3243                         
3244                         
3245                         
3246                         
3247                         
3248                         
3249
3250                     
3251                     
3252                      
3253                     </div>                    
3254                 </div>
3255
3256             </td>
3257             <td class="msource">
3258                 Roo.util.MixedCollection
3259             </td>
3260         </tr>
3261         
3262                                                        
3263     </table>
3264
3265   
3266   
3267   
3268  
3269 <!-- ============================== footer ================================= -->
3270                 <div class="fineprint" style="clear:both">
3271                         
3272                         Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Fri Jul 13 2018 14:10:55 GMT+0800 (HKT)
3273                         Based on 
3274                         <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
3275                 </div>
3276         </body>
3277 </html>