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