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