sync
[roojs1] / docs / symbols / Roo.CompositeElementLite.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.CompositeElementLite</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.CompositeElementLite-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35         <a class="inner-link" href="#Roo.CompositeElementLite-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36         <a class="inner-link" href="#Roo.CompositeElementLite-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37         <a class="inner-link" href="#Roo.CompositeElementLite-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.CompositeElement.html#constructor" roo:cls="Roo.CompositeElement.html#constructor">Roo.CompositeElement</a>
47 <img src="../../images/default/s.gif" height="1"  width="20"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.CompositeElementLite 
48
49                    </pre>
50                 </div>
51        
52 <!-- ============================== class title / details ============================ -->
53     
54     
55     <h1 class="classTitle">
56                                 
57                                 Class Roo.CompositeElementLite
58                         </h1>
59                         
60     <table cellspacing="0" class="class-summary-table">
61         
62                 <tr><td class="label">Package:</td><td class="hd-info">Roo</td></tr>
63         
64         <tr><td class="label">Defined In:</td><td class="hd-info">
65                         
66                                         <a href="./src/Roo_CompositeElementLite.js.html">Roo/CompositeElementLite.js</a>.
67                         
68         </td></tr>
69         <tr><td class="label">Class:</td><td class="hd-info">CompositeElementLite</td></tr>
70         
71         
72         
73         
74                 <tr><td class="label">Extends:</td><td class="hd-info">
75                         <a href="./Roo.CompositeElement.html#constructor" roo:cls="Roo.CompositeElement.html#constructor">Roo.CompositeElement</a>
76         
77                 </td></tr>    
78         
79         
80     </table>
81
82     
83 <!-- ============================== class summary ========================== -->                        
84     <div class="description">
85         Flyweight composite class. Reuses the same Roo.Element for element operations.<br/> <pre><code><br/> var els = Roo.select("<b>some</b>-el div.some-class");<br/> // or select directly from an existing element<br/> var el = Roo.get('some-el');<br/> el.select('div.some-class');<br/><br/> els.setWidth(100); // all elements become 100 width<br/> els.hide(true); // all elements fade out and hide<br/> // or<br/> els.setWidth(100).hide(true);<br/> </code></pre><br><br><br/><b>NOTE: Although they are not listed, this class supports all of the set/update methods of Roo.Element. All Roo.Element<br/>actions will be performed on all the elements in this collection.</b>
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.CompositeElementLite';">[Add Your comment/notes about this class]</u>
94         <br/>
95         <iframe frameborder="0"  id="comments-Roo" style="border: none;width:100%;" 
96                 src="/blog.php/GtkDjsComments/Roo.CompositeElementLite.html"></iframe>
97 </div>
98         
99
100                 
101 <!-- ============================== config options ========================== -->                                               
102                  
103     
104     
105                 
106     <div class="hr"></div>
107     <a id="Roo.CompositeElementLite-configs"></a>
108                 
109     
110     
111      <table cellspacing="0" class="member-table">
112       <caption class="Empty">Config Options - Has None</caption>
113      </table>
114     
115     
116      
117                 
118   
119   
120   
121   
122   
123   
124   
125   
126   <!-- ============================== public properties ==================== -->        
127   
128   
129   
130     <a id="Roo.CompositeElementLite-props"></a>      
131     
132     
133
134     
135     
136      <table cellspacing="0" class="member-table">
137       <caption class="Empty">Public Properties - Has None</caption>
138      </table>
139     
140     
141      
142     
143   <!-- ============================== methods summary / details ======================== -->
144   
145   
146   <a id="Roo.CompositeElementLite-methods"></a>
147         <!-- constructor?? -->
148         
149         <!-- static's first 
150         
151         
152         -->
153         
154         <!-- then dynamics first -->
155         
156   
157   
158     
159     
160     
161       <table cellspacing="0" class="member-table">
162       <caption>Public Methods</caption>
163         <tr>
164             <th class="sig-header" colspan="2">Method</th>            
165             <th class="msource-header">Defined By</th>
166
167         </tr>
168         
169         
170         
171          
172         
173         
174           
175           <tr class="method-row config-row-alt0 notInherited">
176             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
177            
178            
179             <td class="sig">
180                 <a id="Roo-method-CompositeElementLite"   name=".CompositeElementLite"></a>
181                 <div class="fixedFont">
182                         <span class="attributes">new <B>Roo.</B></span><b class="itemname">CompositeElementLite</b>
183                                 
184                                  () 
185                         
186                                 
187                         
188                 </div>
189                 <div class="mdesc">
190                 
191                  
192                         <div class="short">Create a new Roo.CompositeElementLite</div> 
193                  
194                  
195                     <div class="long">
196                         
197                         
198                         
199                                 Create a new Roo.CompositeElementLite
200                         
201                         
202                         
203                         
204                         
205                         
206                         
207                         
208
209                     
210                     
211                      
212                     </div>                    
213                 </div>
214
215             </td>
216             <td class="msource">
217                 &nbsp;
218             </td>
219         </tr>
220         
221           
222           <tr class="method-row config-row-alt1 expandable">
223             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
224            
225            
226             <td class="sig">
227                 <a id="Roo.CompositeElement-method-add"   name=".add"></a>
228                 <div class="fixedFont">
229                         <span class="attributes"></span><b class="itemname">add</b>
230                                 
231                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Array <B><i>els</i></B>) 
232                         
233                                 
234                                          : 
235                                         
236                                                 
237                                                 CompositeElement
238                                         
239                                         
240                                         
241                                 
242                         
243                 </div>
244                 <div class="mdesc">
245                 
246                    <div class="short">Adds elements to this composite.</div> 
247                  
248                  
249                  
250                     <div class="long">
251                         
252                                 Adds elements to this composite.
253                     
254                                 
255                         
256                         
257                         
258                         
259                                 <dl class="detailList">
260                                 <dt class="heading">Parameters:</dt>
261                                 
262                                         <dt>
263                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Array</span>  <b>els</b>
264                                                 
265                                         </dt>
266                                         <dd>A string CSS selector, an array of elements or an element</dd>
267                                 
268                                 </dl>
269                         
270                         
271                         
272                         
273                         
274                                 <dl class="detailList">
275                                 <dt class="heading">Returns:</dt>
276                                 
277                                         <dd><span class="fixedFont">CompositeElement</span>  this</dd>
278                                 
279                                 </dl>
280                         
281                         
282                         
283
284                     
285                     
286                      
287                     </div>                    
288                 </div>
289
290             </td>
291             <td class="msource">
292                 
293                         <a href="./Roo.CompositeElement.html#constructor" roo:cls="Roo.CompositeElement.html#constructor">Roo.CompositeElement</a>
294                 &nbsp;
295             </td>
296         </tr>
297         
298           
299           <tr class="method-row config-row-alt0 expandable">
300             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
301            
302            
303             <td class="sig">
304                 <a id="Roo.CompositeElement-method-clear"   name=".clear"></a>
305                 <div class="fixedFont">
306                         <span class="attributes"></span><b class="itemname">clear</b>
307                                 
308                                  () 
309                         
310                                 
311                         
312                 </div>
313                 <div class="mdesc">
314                 
315                    <div class="short">Removes all elements.</div> 
316                  
317                  
318                  
319                     <div class="long">
320                         
321                                 Removes all elements.
322                     
323                                 
324                         
325                         
326                         
327                         
328                         
329                         
330                         
331                         
332                         
333                         
334
335                     
336                     
337                      
338                     </div>                    
339                 </div>
340
341             </td>
342             <td class="msource">
343                 
344                         <a href="./Roo.CompositeElement.html#constructor" roo:cls="Roo.CompositeElement.html#constructor">Roo.CompositeElement</a>
345                 &nbsp;
346             </td>
347         </tr>
348         
349           
350           <tr class="method-row config-row-alt1 expandable">
351             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
352            
353            
354             <td class="sig">
355                 <a id="Roo.CompositeElement-method-contains"   name=".contains"></a>
356                 <div class="fixedFont">
357                         <span class="attributes"></span><b class="itemname">contains</b>
358                                 
359                                  () 
360                         
361                                 
362                                          : 
363                                         
364                                                 
365                                                 
366                                         
367                                         
368                                         
369                                 
370                         
371                 </div>
372                 <div class="mdesc">
373                 
374                    <div class="short">Returns true if this composite contains the passed element</div> 
375                  
376                  
377                  
378                     <div class="long">
379                         
380                                 Returns true if this composite contains the passed element
381                     
382                                 
383                         
384                         
385                         
386                         
387                         
388                         
389                         
390                         
391                                 <dl class="detailList">
392                                 <dt class="heading">Returns:</dt>
393                                 
394                                         <dd> Boolean</dd>
395                                 
396                                 </dl>
397                         
398                         
399                         
400
401                     
402                     
403                      
404                     </div>                    
405                 </div>
406
407             </td>
408             <td class="msource">
409                 
410                         <a href="./Roo.CompositeElement.html#constructor" roo:cls="Roo.CompositeElement.html#constructor">Roo.CompositeElement</a>
411                 &nbsp;
412             </td>
413         </tr>
414         
415           
416           <tr class="method-row config-row-alt0 expandable notInherited">
417             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
418            
419            
420             <td class="sig">
421                 <a id="Roo.CompositeElementLite-method-each"   name=".each"></a>
422                 <div class="fixedFont">
423                         <span class="attributes"></span><b class="itemname">each</b>
424                                 
425                                  (<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>) 
426                         
427                                 
428                                          : 
429                                         
430                                                 
431                                                 CompositeElement
432                                         
433                                         
434                                         
435                                 
436                         
437                 </div>
438                 <div class="mdesc">
439                 
440                    <div class="short">Calls the passed function passing (el, this, index) for each element in this composite.</div> 
441                  
442                  
443                  
444                     <div class="long">
445                         
446                                 Calls the passed function passing (el, this, index) for each element in this composite. <b>The element<br/>passed is the flyweight (shared) Roo.Element instance, so if you require a<br/>a reference to the dom node, use el.dom.</b>
447                     
448                                 
449                         
450                         
451                         
452                         
453                                 <dl class="detailList">
454                                 <dt class="heading">Parameters:</dt>
455                                 
456                                         <dt>
457                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>fn</b>
458                                                 
459                                         </dt>
460                                         <dd>The function to call</dd>
461                                 
462                                         <dt>
463                                                 <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>
464                                                 
465                                         </dt>
466                                         <dd>(optional) The <i>this</i> object (defaults to the element)</dd>
467                                 
468                                 </dl>
469                         
470                         
471                         
472                         
473                         
474                                 <dl class="detailList">
475                                 <dt class="heading">Returns:</dt>
476                                 
477                                         <dd><span class="fixedFont">CompositeElement</span>  this</dd>
478                                 
479                                 </dl>
480                         
481                         
482                         
483
484                     
485                     
486                      
487                     </div>                    
488                 </div>
489
490             </td>
491             <td class="msource">
492                 
493                         Roo.CompositeElementLite
494                 &nbsp;
495             </td>
496         </tr>
497         
498           
499           <tr class="method-row config-row-alt1 expandable">
500             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
501            
502            
503             <td class="sig">
504                 <a id="Roo.CompositeElement-method-fill"   name=".fill"></a>
505                 <div class="fixedFont">
506                         <span class="attributes"></span><b class="itemname">fill</b>
507                                 
508                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Array <B><i>els</i></B>) 
509                         
510                                 
511                                          : 
512                                         
513                                                 
514                                                 CompositeElement
515                                         
516                                         
517                                         
518                                 
519                         
520                 </div>
521                 <div class="mdesc">
522                 
523                    <div class="short">Clears this composite and adds the elements returned by the passed selector.</div> 
524                  
525                  
526                  
527                     <div class="long">
528                         
529                                 Clears this composite and adds the elements returned by the passed selector.
530                     
531                                 
532                         
533                         
534                         
535                         
536                                 <dl class="detailList">
537                                 <dt class="heading">Parameters:</dt>
538                                 
539                                         <dt>
540                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Array</span>  <b>els</b>
541                                                 
542                                         </dt>
543                                         <dd>A string CSS selector, an array of elements or an element</dd>
544                                 
545                                 </dl>
546                         
547                         
548                         
549                         
550                         
551                                 <dl class="detailList">
552                                 <dt class="heading">Returns:</dt>
553                                 
554                                         <dd><span class="fixedFont">CompositeElement</span>  this</dd>
555                                 
556                                 </dl>
557                         
558                         
559                         
560
561                     
562                     
563                      
564                     </div>                    
565                 </div>
566
567             </td>
568             <td class="msource">
569                 
570                         <a href="./Roo.CompositeElement.html#constructor" roo:cls="Roo.CompositeElement.html#constructor">Roo.CompositeElement</a>
571                 &nbsp;
572             </td>
573         </tr>
574         
575           
576           <tr class="method-row config-row-alt0 expandable">
577             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
578            
579            
580             <td class="sig">
581                 <a id="Roo.CompositeElement-method-filter"   name=".filter"></a>
582                 <div class="fixedFont">
583                         <span class="attributes"></span><b class="itemname">filter</b>
584                                 
585                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>selector</i></B>) 
586                         
587                                 
588                                          : 
589                                         
590                                                 
591                                                 CompositeElement
592                                         
593                                         
594                                         
595                                 
596                         
597                 </div>
598                 <div class="mdesc">
599                 
600                    <div class="short">Filters this composite to only elements that match the passed selector.</div> 
601                  
602                  
603                  
604                     <div class="long">
605                         
606                                 Filters this composite to only elements that match the passed selector.
607                     
608                                 
609                         
610                         
611                         
612                         
613                                 <dl class="detailList">
614                                 <dt class="heading">Parameters:</dt>
615                                 
616                                         <dt>
617                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>selector</b>
618                                                 
619                                         </dt>
620                                         <dd>A string CSS selector</dd>
621                                 
622                                 </dl>
623                         
624                         
625                         
626                         
627                         
628                                 <dl class="detailList">
629                                 <dt class="heading">Returns:</dt>
630                                 
631                                         <dd><span class="fixedFont">CompositeElement</span>  this</dd>
632                                 
633                                 </dl>
634                         
635                         
636                         
637
638                     
639                     
640                      
641                     </div>                    
642                 </div>
643
644             </td>
645             <td class="msource">
646                 
647                         <a href="./Roo.CompositeElement.html#constructor" roo:cls="Roo.CompositeElement.html#constructor">Roo.CompositeElement</a>
648                 &nbsp;
649             </td>
650         </tr>
651         
652           
653           <tr class="method-row config-row-alt1 expandable">
654             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
655            
656            
657             <td class="sig">
658                 <a id="Roo.CompositeElement-method-first"   name=".first"></a>
659                 <div class="fixedFont">
660                         <span class="attributes"></span><b class="itemname">first</b>
661                                 
662                                  () 
663                         
664                                 
665                                          : 
666                                         
667                                                 
668                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
669                                         
670                                         
671                                         
672                                 
673                         
674                 </div>
675                 <div class="mdesc">
676                 
677                    <div class="short">Returns the first Element</div> 
678                  
679                  
680                  
681                     <div class="long">
682                         
683                                 Returns the first Element
684                     
685                                 
686                         
687                         
688                         
689                         
690                         
691                         
692                         
693                         
694                                 <dl class="detailList">
695                                 <dt class="heading">Returns:</dt>
696                                 
697                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  </dd>
698                                 
699                                 </dl>
700                         
701                         
702                         
703
704                     
705                     
706                      
707                     </div>                    
708                 </div>
709
710             </td>
711             <td class="msource">
712                 
713                         <a href="./Roo.CompositeElement.html#constructor" roo:cls="Roo.CompositeElement.html#constructor">Roo.CompositeElement</a>
714                 &nbsp;
715             </td>
716         </tr>
717         
718           
719           <tr class="method-row config-row-alt0 expandable">
720             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
721            
722            
723             <td class="sig">
724                 <a id="Roo.CompositeElement-method-getCount"   name=".getCount"></a>
725                 <div class="fixedFont">
726                         <span class="attributes"></span><b class="itemname">getCount</b>
727                                 
728                                  () 
729                         
730                                 
731                                          : 
732                                         
733                                                 
734                                                 
735                                         
736                                         
737                                         
738                                 
739                         
740                 </div>
741                 <div class="mdesc">
742                 
743                    <div class="short">Returns the number of elements in this composite</div> 
744                  
745                  
746                  
747                     <div class="long">
748                         
749                                 Returns the number of elements in this composite
750                     
751                                 
752                         
753                         
754                         
755                         
756                         
757                         
758                         
759                         
760                                 <dl class="detailList">
761                                 <dt class="heading">Returns:</dt>
762                                 
763                                         <dd> Number</dd>
764                                 
765                                 </dl>
766                         
767                         
768                         
769
770                     
771                     
772                      
773                     </div>                    
774                 </div>
775
776             </td>
777             <td class="msource">
778                 
779                         <a href="./Roo.CompositeElement.html#constructor" roo:cls="Roo.CompositeElement.html#constructor">Roo.CompositeElement</a>
780                 &nbsp;
781             </td>
782         </tr>
783         
784           
785           <tr class="method-row config-row-alt1 expandable">
786             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
787            
788            
789             <td class="sig">
790                 <a id="Roo.CompositeElement-method-indexOf"   name=".indexOf"></a>
791                 <div class="fixedFont">
792                         <span class="attributes"></span><b class="itemname">indexOf</b>
793                                 
794                                  () 
795                         
796                                 
797                                          : 
798                                         
799                                                 
800                                                 
801                                         
802                                         
803                                         
804                                 
805                         
806                 </div>
807                 <div class="mdesc">
808                 
809                    <div class="short">Returns true if this composite contains the passed element</div> 
810                  
811                  
812                  
813                     <div class="long">
814                         
815                                 Returns true if this composite contains the passed element
816                     
817                                 
818                         
819                         
820                         
821                         
822                         
823                         
824                         
825                         
826                                 <dl class="detailList">
827                                 <dt class="heading">Returns:</dt>
828                                 
829                                         <dd> Boolean</dd>
830                                 
831                                 </dl>
832                         
833                         
834                         
835
836                     
837                     
838                      
839                     </div>                    
840                 </div>
841
842             </td>
843             <td class="msource">
844                 
845                         <a href="./Roo.CompositeElement.html#constructor" roo:cls="Roo.CompositeElement.html#constructor">Roo.CompositeElement</a>
846                 &nbsp;
847             </td>
848         </tr>
849         
850           
851           <tr class="method-row config-row-alt0 expandable notInherited">
852             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
853            
854            
855             <td class="sig">
856                 <a id="Roo.CompositeElementLite-method-item"   name=".item"></a>
857                 <div class="fixedFont">
858                         <span class="attributes"></span><b class="itemname">item</b>
859                                 
860                                  (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>) 
861                         
862                                 
863                                          : 
864                                         
865                                                 
866                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
867                                         
868                                         
869                                         
870                                 
871                         
872                 </div>
873                 <div class="mdesc">
874                 
875                    <div class="short">Returns a flyweight Element of the dom element object at the specified index</div> 
876                  
877                  
878                  
879                     <div class="long">
880                         
881                                 Returns a flyweight Element of the dom element object at the specified index
882                     
883                                 
884                         
885                         
886                         
887                         
888                                 <dl class="detailList">
889                                 <dt class="heading">Parameters:</dt>
890                                 
891                                         <dt>
892                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>index</b>
893                                                 
894                                         </dt>
895                                         <dd></dd>
896                                 
897                                 </dl>
898                         
899                         
900                         
901                         
902                         
903                                 <dl class="detailList">
904                                 <dt class="heading">Returns:</dt>
905                                 
906                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  </dd>
907                                 
908                                 </dl>
909                         
910                         
911                         
912
913                     
914                     
915                      
916                     </div>                    
917                 </div>
918
919             </td>
920             <td class="msource">
921                 
922                         Roo.CompositeElementLite
923                 &nbsp;
924             </td>
925         </tr>
926         
927           
928           <tr class="method-row config-row-alt1 expandable">
929             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
930            
931            
932             <td class="sig">
933                 <a id="Roo.CompositeElement-method-last"   name=".last"></a>
934                 <div class="fixedFont">
935                         <span class="attributes"></span><b class="itemname">last</b>
936                                 
937                                  () 
938                         
939                                 
940                                          : 
941                                         
942                                                 
943                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
944                                         
945                                         
946                                         
947                                 
948                         
949                 </div>
950                 <div class="mdesc">
951                 
952                    <div class="short">Returns the last Element</div> 
953                  
954                  
955                  
956                     <div class="long">
957                         
958                                 Returns the last Element
959                     
960                                 
961                         
962                         
963                         
964                         
965                         
966                         
967                         
968                         
969                                 <dl class="detailList">
970                                 <dt class="heading">Returns:</dt>
971                                 
972                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  </dd>
973                                 
974                                 </dl>
975                         
976                         
977                         
978
979                     
980                     
981                      
982                     </div>                    
983                 </div>
984
985             </td>
986             <td class="msource">
987                 
988                         <a href="./Roo.CompositeElement.html#constructor" roo:cls="Roo.CompositeElement.html#constructor">Roo.CompositeElement</a>
989                 &nbsp;
990             </td>
991         </tr>
992         
993           
994           <tr class="method-row config-row-alt0 expandable">
995             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
996            
997            
998             <td class="sig">
999                 <a id="Roo.CompositeElement-method-removeElement"   name=".removeElement"></a>
1000                 <div class="fixedFont">
1001                         <span class="attributes"></span><b class="itemname">removeElement</b>
1002                                 
1003                                  (Mixed <B><i>el</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>removeDom</i></B>) 
1004                         
1005                                 
1006                                          : 
1007                                         
1008                                                 
1009                                                 CompositeElement
1010                                         
1011                                         
1012                                         
1013                                 
1014                         
1015                 </div>
1016                 <div class="mdesc">
1017                 
1018                    <div class="short">Removes the specified element(s).</div> 
1019                  
1020                  
1021                  
1022                     <div class="long">
1023                         
1024                                 Removes the specified element(s).
1025                     
1026                                 
1027                         
1028                         
1029                         
1030                         
1031                                 <dl class="detailList">
1032                                 <dt class="heading">Parameters:</dt>
1033                                 
1034                                         <dt>
1035                                                 <span class="fixedFont">Mixed</span>  <b>el</b>
1036                                                 
1037                                         </dt>
1038                                         <dd>The id of an element, the Element itself, the index of the element in this composite<br/>or an array of any of those.</dd>
1039                                 
1040                                         <dt>
1041                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  <b>removeDom</b>
1042                                                 
1043                                         </dt>
1044                                         <dd>(optional) True to also remove the element from the document</dd>
1045                                 
1046                                 </dl>
1047                         
1048                         
1049                         
1050                         
1051                         
1052                                 <dl class="detailList">
1053                                 <dt class="heading">Returns:</dt>
1054                                 
1055                                         <dd><span class="fixedFont">CompositeElement</span>  this</dd>
1056                                 
1057                                 </dl>
1058                         
1059                         
1060                         
1061
1062                     
1063                     
1064                      
1065                     </div>                    
1066                 </div>
1067
1068             </td>
1069             <td class="msource">
1070                 
1071                         <a href="./Roo.CompositeElement.html#constructor" roo:cls="Roo.CompositeElement.html#constructor">Roo.CompositeElement</a>
1072                 &nbsp;
1073             </td>
1074         </tr>
1075         
1076           
1077           <tr class="method-row config-row-alt1 expandable">
1078             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1079            
1080            
1081             <td class="sig">
1082                 <a id="Roo.CompositeElement-method-replaceElement"   name=".replaceElement"></a>
1083                 <div class="fixedFont">
1084                         <span class="attributes"></span><b class="itemname">replaceElement</b>
1085                                 
1086                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element/Number <B><i>el</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>replacement</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>domReplace</i></B>) 
1087                         
1088                                 
1089                                          : 
1090                                         
1091                                                 
1092                                                 CompositeElement
1093                                         
1094                                         
1095                                         
1096                                 
1097                         
1098                 </div>
1099                 <div class="mdesc">
1100                 
1101                    <div class="short">Replaces the specified element with the passed element.</div> 
1102                  
1103                  
1104                  
1105                     <div class="long">
1106                         
1107                                 Replaces the specified element with the passed element.
1108                     
1109                                 
1110                         
1111                         
1112                         
1113                         
1114                                 <dl class="detailList">
1115                                 <dt class="heading">Parameters:</dt>
1116                                 
1117                                         <dt>
1118                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element/Number</span>  <b>el</b>
1119                                                 
1120                                         </dt>
1121                                         <dd>The id of an element, the Element itself, the index of the element in this composite<br/>to replace.</dd>
1122                                 
1123                                         <dt>
1124                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span>  <b>replacement</b>
1125                                                 
1126                                         </dt>
1127                                         <dd>The id of an element or the Element itself.</dd>
1128                                 
1129                                         <dt>
1130                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  <b>domReplace</b>
1131                                                 
1132                                         </dt>
1133                                         <dd>(Optional) True to remove and replace the element in the document too.</dd>
1134                                 
1135                                 </dl>
1136                         
1137                         
1138                         
1139                         
1140                         
1141                                 <dl class="detailList">
1142                                 <dt class="heading">Returns:</dt>
1143                                 
1144                                         <dd><span class="fixedFont">CompositeElement</span>  this</dd>
1145                                 
1146                                 </dl>
1147                         
1148                         
1149                         
1150
1151                     
1152                     
1153                      
1154                     </div>                    
1155                 </div>
1156
1157             </td>
1158             <td class="msource">
1159                 
1160                         <a href="./Roo.CompositeElement.html#constructor" roo:cls="Roo.CompositeElement.html#constructor">Roo.CompositeElement</a>
1161                 &nbsp;
1162             </td>
1163         </tr>
1164         
1165                                                        
1166     </table>
1167
1168   
1169   <!-- ============================== events summary / details ======================== -->
1170   
1171   
1172   <a id="Roo.CompositeElementLite-events"></a>
1173     
1174   
1175         
1176    
1177     
1178      <table cellspacing="0" class="member-table">
1179       <caption class="Empty">Events - Has None</caption>
1180      </table>
1181     
1182     
1183   
1184     
1185     
1186   
1187   
1188   
1189  
1190 <!-- ============================== footer ================================= -->
1191                 <div class="fineprint" style="clear:both">
1192                         
1193                         Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Tue Jul 27 2010 11:05:06 GMT+0800 (HKT)
1194                         Based on 
1195                         <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
1196                 </div>
1197         </body>
1198 </html>