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