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