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