1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8 <meta name="generator" content="JsDoc Toolkit" />
11 <title>JsDoc Reference - Roo.tree.TreeNode</title>
14 <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />
15 <link rel="stylesheet" type="text/css" href="../default.css" />
18 <script type="text/javascript" src="../page.js">
25 <body onload="RooDocsPage.onload();">
28 <div class="body-wrap">
30 <!-- ============================== links to methods. ================================= -->
32 <div class="top-tools">
34 <a class="inner-link" href="#Roo.tree.TreeNode-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.tree.TreeNode-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.tree.TreeNode-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.tree.TreeNode-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>
43 <!-- ============================== inheritance Block. ================================= -->
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 src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
48 <img src="../../images/default/s.gif" height="1" width="40"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.tree.TreeNode
53 <!-- ============================== class title / details ============================ -->
56 <h1 class="classTitle">
58 Class Roo.tree.TreeNode
61 <table cellspacing="0" class="class-summary-table">
63 <tr><td class="label">Package:</td><td class="hd-info">Roo.tree</td></tr>
65 <tr><td class="label">Defined In:</td><td class="hd-info">
67 <a href="./src/Roo_tree_TreeNode.js.html">Roo/tree/TreeNode.js</a>.
70 <tr><td class="label">Class:</td><td class="hd-info">TreeNode</td></tr>
73 <tr><td class="label">Subclasses:</td><td class="hd-info">
74 <a href="./Roo.tree.AsyncTreeNode.html#constructor" roo:cls="Roo.tree.AsyncTreeNode.html#constructor">Roo.tree.AsyncTreeNode</a>
82 <tr><td class="label">Extends:</td><td class="hd-info">
83 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
91 <!-- ============================== class summary ========================== -->
92 <div class="description">
93 is to use the cls or iconCls attributes and add the icon via a CSS background image.
97 <!-- ============================== Class comment block... ========================== -->
99 <div class="comments">
100 <b>Class Comments / Notes</B> =>
101 <u onclick="parent.CommentDialog.showCommentId = 'Roo.tree.TreeNode';">[Add Your comment/notes about this class]</u>
103 <iframe frameborder="0" id="comments-Roo.tree" style="border: none;width:100%;"
104 src="/blog.php/GtkDjsComments/Roo.tree.TreeNode.html"></iframe>
109 <!-- ============================== config options ========================== -->
114 <div class="hr"></div>
115 <a id="Roo.tree.TreeNode-configs"></a>
121 <table cellspacing="0" class="member-table">
122 <caption>Config Options (Usually are also Properties)</caption>
126 <th class="sig-header" colspan="2">Options</th>
128 <th class="msource-header">Defined By</th>
135 <tr class="config-row expandable config-row-alt0 notInherited">
136 <td class="micon"><a class="exi" href="#expand"> </a></td>
139 <a id="Roo.tree.TreeNode-cfg-allowDrag" name=".allowDrag"></a>
140 <div class="fixedFont">
141 <b class="itemname">allowDrag</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
147 <div class="short">false to make this node undraggable if DD is on (defaults to true)</div>
151 <div class="long">false to make this node undraggable if DD is on (defaults to true)</div>
165 <tr class="config-row expandable config-row-alt1 notInherited">
166 <td class="micon"><a class="exi" href="#expand"> </a></td>
169 <a id="Roo.tree.TreeNode-cfg-allowDrop" name=".allowDrop"></a>
170 <div class="fixedFont">
171 <b class="itemname">allowDrop</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
177 <div class="short">false if this node cannot be drop on</div>
181 <div class="long">false if this node cannot be drop on</div>
195 <tr class="config-row expandable config-row-alt0 notInherited">
196 <td class="micon"><a class="exi" href="#expand"> </a></td>
199 <a id="Roo.tree.TreeNode-cfg-checked" name=".checked"></a>
200 <div class="fixedFont">
201 <b class="itemname">checked</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
207 <div class="short">True to render a checked checkbox for this node, false to render an unchecked checkbox<br/>(defaults to undefined with no checkbox rendered)</div>
211 <div class="long">True to render a checked checkbox for this node, false to render an unchecked checkbox<br/>(defaults to undefined with no checkbox rendered)</div>
225 <tr class="config-row expandable config-row-alt1 notInherited">
226 <td class="micon"><a class="exi" href="#expand"> </a></td>
229 <a id="Roo.tree.TreeNode-cfg-cls" name=".cls"></a>
230 <div class="fixedFont">
231 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
237 <div class="short">A css class to be added to the node</div>
241 <div class="long">A css class to be added to the node</div>
255 <tr class="config-row expandable config-row-alt0 notInherited">
256 <td class="micon"><a class="exi" href="#expand"> </a></td>
259 <a id="Roo.tree.TreeNode-cfg-disabled" name=".disabled"></a>
260 <div class="fixedFont">
261 <b class="itemname">disabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
267 <div class="short">true to start the node disabled</div>
271 <div class="long">true to start the node disabled</div>
285 <tr class="config-row expandable config-row-alt1 notInherited">
286 <td class="micon"><a class="exi" href="#expand"> </a></td>
289 <a id="Roo.tree.TreeNode-cfg-expanded" name=".expanded"></a>
290 <div class="fixedFont">
291 <b class="itemname">expanded</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
297 <div class="short">true to start the node expanded</div>
301 <div class="long">true to start the node expanded</div>
315 <tr class="config-row expandable config-row-alt0 notInherited">
316 <td class="micon"><a class="exi" href="#expand"> </a></td>
319 <a id="Roo.tree.TreeNode-cfg-href" name=".href"></a>
320 <div class="fixedFont">
321 <b class="itemname">href</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
327 <div class="short">URL of the link used for the node (defaults to #)</div>
331 <div class="long">URL of the link used for the node (defaults to #)</div>
345 <tr class="config-row expandable config-row-alt1 notInherited">
346 <td class="micon"><a class="exi" href="#expand"> </a></td>
349 <a id="Roo.tree.TreeNode-cfg-hrefTarget" name=".hrefTarget"></a>
350 <div class="fixedFont">
351 <b class="itemname">hrefTarget</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
357 <div class="short">target frame for the link</div>
361 <div class="long">target frame for the link</div>
375 <tr class="config-row expandable config-row-alt0 notInherited">
376 <td class="micon"><a class="exi" href="#expand"> </a></td>
379 <a id="Roo.tree.TreeNode-cfg-icon" name=".icon"></a>
380 <div class="fixedFont">
381 <b class="itemname">icon</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
387 <div class="short">The path to an icon for the node.</div>
391 <div class="long">The path to an icon for the node. The preferred way to do this</div>
405 <tr class="config-row expandable config-row-alt1 notInherited">
406 <td class="micon"><a class="exi" href="#expand"> </a></td>
409 <a id="Roo.tree.TreeNode-cfg-iconCls" name=".iconCls"></a>
410 <div class="fixedFont">
411 <b class="itemname">iconCls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
417 <div class="short">A css class to be added to the nodes icon element for applying css background images</div>
421 <div class="long">A css class to be added to the nodes icon element for applying css background images</div>
435 <tr class="config-row expandable config-row-alt0">
436 <td class="micon"><a class="exi" href="#expand"> </a></td>
439 <a id="Roo.data.Node-cfg-id" name=".id"></a>
440 <div class="fixedFont">
441 <b class="itemname">id</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
447 <div class="short">The id for this node.</div>
451 <div class="long">The id for this node. If one is not specified, one is generated.</div>
459 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
465 <tr class="config-row expandable config-row-alt1">
466 <td class="micon"><a class="exi" href="#expand"> </a></td>
469 <a id="Roo.data.Node-cfg-leaf" name=".leaf"></a>
470 <div class="fixedFont">
471 <b class="itemname">leaf</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
477 <div class="short">true if this node is a leaf and does not have children</div>
481 <div class="long">true if this node is a leaf and does not have children</div>
489 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
495 <tr class="config-row expandable config-row-alt0">
496 <td class="micon"><a class="exi" href="#expand"> </a></td>
499 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
500 <div class="fixedFont">
501 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
507 <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>
511 <div class="long">list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/> listeners : { <br/> 'click' : function(e) {<br/> ..... <br/> } ,<br/> .... <br/> } <br/> </code></pre></div>
519 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
525 <tr class="config-row expandable config-row-alt1 notInherited">
526 <td class="micon"><a class="exi" href="#expand"> </a></td>
529 <a id="Roo.tree.TreeNode-cfg-qtip" name=".qtip"></a>
530 <div class="fixedFont">
531 <b class="itemname">qtip</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
537 <div class="short">An Ext QuickTip for the node</div>
541 <div class="long">An Ext QuickTip for the node</div>
555 <tr class="config-row expandable config-row-alt0 notInherited">
556 <td class="micon"><a class="exi" href="#expand"> </a></td>
559 <a id="Roo.tree.TreeNode-cfg-qtipCfg" name=".qtipCfg"></a>
560 <div class="fixedFont">
561 <b class="itemname">qtipCfg</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
567 <div class="short">An Ext QuickTip config for the node (used instead of qtip)</div>
571 <div class="long">An Ext QuickTip config for the node (used instead of qtip)</div>
585 <tr class="config-row expandable config-row-alt1 notInherited">
586 <td class="micon"><a class="exi" href="#expand"> </a></td>
589 <a id="Roo.tree.TreeNode-cfg-singleClickExpand" name=".singleClickExpand"></a>
590 <div class="fixedFont">
591 <b class="itemname">singleClickExpand</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
597 <div class="short">True for single click expand on this node</div>
601 <div class="long">True for single click expand on this node</div>
615 <tr class="config-row expandable config-row-alt0 notInherited">
616 <td class="micon"><a class="exi" href="#expand"> </a></td>
619 <a id="Roo.tree.TreeNode-cfg-text" name=".text"></a>
620 <div class="fixedFont">
621 <b class="itemname">text</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
627 <div class="short">The text for this node</div>
631 <div class="long">The text for this node</div>
645 <tr class="config-row expandable config-row-alt1 notInherited">
646 <td class="micon"><a class="exi" href="#expand"> </a></td>
649 <a id="Roo.tree.TreeNode-cfg-uiProvider" name=".uiProvider"></a>
650 <div class="fixedFont">
651 <b class="itemname">uiProvider</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
657 <div class="short">A UI <b>class</b> to use for this node (defaults to Roo.tree.TreeNodeUI)</div>
661 <div class="long">A UI <b>class</b> to use for this node (defaults to Roo.tree.TreeNodeUI)</div>
685 <!-- ============================== public properties ==================== -->
689 <a id="Roo.tree.TreeNode-props"></a>
695 <table cellspacing="0" class="member-table">
696 <caption class="Empty">Public Properties - Has None</caption>
702 <!-- ============================== methods summary / details ======================== -->
705 <a id="Roo.tree.TreeNode-methods"></a>
706 <!-- constructor?? -->
713 <!-- then dynamics first -->
720 <table cellspacing="0" class="member-table">
721 <caption>Public Methods</caption>
723 <th class="sig-header" colspan="2">Method</th>
724 <th class="msource-header">Defined By</th>
734 <tr class="method-row config-row-alt0 expandable notInherited">
735 <td class="micon"><a class="exi" href="#expand"> </a></td>
739 <a id="Roo.tree-method-TreeNode" name=".TreeNode"></a>
740 <div class="fixedFont">
741 <span class="attributes">new <B>Roo.tree.</B></span><b class="itemname">TreeNode</b>
743 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>/String <B><i>attributes</i></B>)
751 <div class="short">Create a new Roo.tree.TreeNode</div>
758 Create a new Roo.tree.TreeNode
761 <dl class="detailList">
762 <dt class="heading">Parameters:</dt>
765 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>/String</span> <b>attributes</b>
768 <dd>The attributes/config for the node or just a string with the text for the node</dd>
792 <tr class="method-row config-row-alt1 expandable">
793 <td class="micon"><a class="exi" href="#expand"> </a></td>
797 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
798 <div class="fixedFont">
799 <span class="attributes"></span><b class="itemname">addEvents</b>
801 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
808 <div class="short">Used to define events on this Observable</div>
814 Used to define events on this Observable
821 <dl class="detailList">
822 <dt class="heading">Parameters:</dt>
825 <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>
828 <dd>The object with the events defined</dd>
848 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
854 <tr class="method-row config-row-alt0 expandable">
855 <td class="micon"><a class="exi" href="#expand"> </a></td>
859 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
860 <div class="fixedFont">
861 <span class="attributes"></span><b class="itemname">addListener</b>
863 (<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>)
870 <div class="short">Appends an event handler to this component</div>
876 Appends an event handler to this component
883 <dl class="detailList">
884 <dt class="heading">Parameters:</dt>
887 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
890 <dd>The type of event to listen for</dd>
893 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
896 <dd>The method the event invokes</dd>
899 <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>
902 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
905 <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>
908 <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>
928 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
934 <tr class="method-row config-row-alt1 expandable">
935 <td class="micon"><a class="exi" href="#expand"> </a></td>
939 <a id="Roo.data.Node-method-appendChild" name=".appendChild"></a>
940 <div class="fixedFont">
941 <span class="attributes"></span><b class="itemname">appendChild</b>
943 (Node/Array <B><i>node</i></B>)
958 <div class="short">Insert node(s) as the last child node of this node.</div>
964 Insert node(s) as the last child node of this node.
971 <dl class="detailList">
972 <dt class="heading">Parameters:</dt>
975 <span class="fixedFont">Node/Array</span> <b>node</b>
978 <dd>The node or Array of nodes to append</dd>
986 <dl class="detailList">
987 <dt class="heading">Returns:</dt>
989 <dd><span class="fixedFont">Node</span> The appended node if single append, or null if an array was passed</dd>
1003 <td class="msource">
1005 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
1011 <tr class="method-row config-row-alt0 expandable">
1012 <td class="micon"><a class="exi" href="#expand"> </a></td>
1016 <a id="Roo.data.Node-method-bubble" name=".bubble"></a>
1017 <div class="fixedFont">
1018 <span class="attributes"></span><b class="itemname">bubble</b>
1020 (<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>)
1027 <div class="short">Bubbles up the tree from this node, calling the specified function with each node.</div>
1033 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.
1040 <dl class="detailList">
1041 <dt class="heading">Parameters:</dt>
1044 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
1047 <dd>The function to call</dd>
1050 <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>
1053 <dd>(optional) The scope of the function (defaults to current node)</dd>
1056 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>args</b>
1059 <dd>(optional) The args to call the function with (default to passing the current node)</dd>
1077 <td class="msource">
1079 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
1085 <tr class="method-row config-row-alt1 expandable">
1086 <td class="micon"><a class="exi" href="#expand"> </a></td>
1090 <a id="Roo.data.Node-method-cascade" name=".cascade"></a>
1091 <div class="fixedFont">
1092 <span class="attributes"></span><b class="itemname">cascade</b>
1094 (<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>)
1101 <div class="short">Cascades down the tree from this node, calling the specified function with each node.</div>
1107 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.
1114 <dl class="detailList">
1115 <dt class="heading">Parameters:</dt>
1118 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
1121 <dd>The function to call</dd>
1124 <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>
1127 <dd>(optional) The scope of the function (defaults to current node)</dd>
1130 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>args</b>
1133 <dd>(optional) The args to call the function with (default to passing the current node)</dd>
1151 <td class="msource">
1153 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
1159 <tr class="method-row config-row-alt0 expandable notInherited">
1160 <td class="micon"><a class="exi" href="#expand"> </a></td>
1164 <a id="Roo.tree.TreeNode-method-collapse" name=".collapse"></a>
1165 <div class="fixedFont">
1166 <span class="attributes"></span><b class="itemname">collapse</b>
1168 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>deep</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>anim</i></B>)
1175 <div class="short">Collapse this node.</div>
1188 <dl class="detailList">
1189 <dt class="heading">Parameters:</dt>
1192 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>deep</b>
1195 <dd>(optional) True to collapse all children as well</dd>
1198 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>anim</b>
1201 <dd>(optional) false to cancel the default animation</dd>
1219 <td class="msource">
1227 <tr class="method-row config-row-alt1 expandable notInherited">
1228 <td class="micon"><a class="exi" href="#expand"> </a></td>
1232 <a id="Roo.tree.TreeNode-method-collapseChildNodes" name=".collapseChildNodes"></a>
1233 <div class="fixedFont">
1234 <span class="attributes"></span><b class="itemname">collapseChildNodes</b>
1236 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>deep</i></B>)
1243 <div class="short">Collapse all child nodes</div>
1249 Collapse all child nodes
1256 <dl class="detailList">
1257 <dt class="heading">Parameters:</dt>
1260 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>deep</b>
1263 <dd>(optional) true if the child nodes should also collapse their child nodes</dd>
1281 <td class="msource">
1289 <tr class="method-row config-row-alt0 expandable">
1290 <td class="micon"><a class="exi" href="#expand"> </a></td>
1294 <a id="Roo.data.Node-method-contains" name=".contains"></a>
1295 <div class="fixedFont">
1296 <span class="attributes"></span><b class="itemname">contains</b>
1298 (Node <B><i>node</i></B>)
1304 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1313 <div class="short">Returns true if this node is an ancestor (at any point) of the passed node.</div>
1319 Returns true if this node is an ancestor (at any point) of the passed node.
1326 <dl class="detailList">
1327 <dt class="heading">Parameters:</dt>
1330 <span class="fixedFont">Node</span> <b>node</b>
1341 <dl class="detailList">
1342 <dt class="heading">Returns:</dt>
1344 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
1358 <td class="msource">
1360 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
1366 <tr class="method-row config-row-alt1 expandable notInherited">
1367 <td class="micon"><a class="exi" href="#expand"> </a></td>
1371 <a id="Roo.tree.TreeNode-method-disable" name=".disable"></a>
1372 <div class="fixedFont">
1373 <span class="attributes"></span><b class="itemname">disable</b>
1382 <div class="short">Disables this node</div>
1409 <td class="msource">
1417 <tr class="method-row config-row-alt0 expandable">
1418 <td class="micon"><a class="exi" href="#expand"> </a></td>
1422 <a id="Roo.data.Node-method-eachChild" name=".eachChild"></a>
1423 <div class="fixedFont">
1424 <span class="attributes"></span><b class="itemname">eachChild</b>
1426 (<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>)
1433 <div class="short">Interates the child nodes of this node, calling the specified function with each node.</div>
1439 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.
1446 <dl class="detailList">
1447 <dt class="heading">Parameters:</dt>
1450 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
1453 <dd>The function to call</dd>
1456 <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>
1459 <dd>(optional) The scope of the function (defaults to current node)</dd>
1462 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>args</b>
1465 <dd>(optional) The args to call the function with (default to passing the current node)</dd>
1483 <td class="msource">
1485 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
1491 <tr class="method-row config-row-alt1 expandable notInherited">
1492 <td class="micon"><a class="exi" href="#expand"> </a></td>
1496 <a id="Roo.tree.TreeNode-method-enable" name=".enable"></a>
1497 <div class="fixedFont">
1498 <span class="attributes"></span><b class="itemname">enable</b>
1507 <div class="short">Enables this node</div>
1534 <td class="msource">
1542 <tr class="method-row config-row-alt0 expandable notInherited">
1543 <td class="micon"><a class="exi" href="#expand"> </a></td>
1547 <a id="Roo.tree.TreeNode-method-ensureVisible" name=".ensureVisible"></a>
1548 <div class="fixedFont">
1549 <span class="attributes"></span><b class="itemname">ensureVisible</b>
1558 <div class="short">Ensures all parent nodes are expanded</div>
1564 Ensures all parent nodes are expanded
1585 <td class="msource">
1593 <tr class="method-row config-row-alt1 expandable notInherited">
1594 <td class="micon"><a class="exi" href="#expand"> </a></td>
1598 <a id="Roo.tree.TreeNode-method-expand" name=".expand"></a>
1599 <div class="fixedFont">
1600 <span class="attributes"></span><b class="itemname">expand</b>
1602 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>deep</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>anim</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>callback</i></B>)
1609 <div class="short">Expand this node.</div>
1622 <dl class="detailList">
1623 <dt class="heading">Parameters:</dt>
1626 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>deep</b>
1629 <dd>(optional) True to expand all children as well</dd>
1632 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>anim</b>
1635 <dd>(optional) false to cancel the default animation</dd>
1638 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>callback</b>
1641 <dd>(optional) A callback to be called when<br/>expanding this node completes (does not wait for deep expand to complete).<br/>Called with 1 parameter, this node.</dd>
1659 <td class="msource">
1667 <tr class="method-row config-row-alt0 expandable notInherited">
1668 <td class="micon"><a class="exi" href="#expand"> </a></td>
1672 <a id="Roo.tree.TreeNode-method-expandChildNodes" name=".expandChildNodes"></a>
1673 <div class="fixedFont">
1674 <span class="attributes"></span><b class="itemname">expandChildNodes</b>
1676 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>deep</i></B>)
1683 <div class="short">Expand all child nodes</div>
1689 Expand all child nodes
1696 <dl class="detailList">
1697 <dt class="heading">Parameters:</dt>
1700 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>deep</b>
1703 <dd>(optional) true if the child nodes should also expand their child nodes</dd>
1721 <td class="msource">
1729 <tr class="method-row config-row-alt1 expandable">
1730 <td class="micon"><a class="exi" href="#expand"> </a></td>
1734 <a id="Roo.data.Node-method-findChild" name=".findChild"></a>
1735 <div class="fixedFont">
1736 <span class="attributes"></span><b class="itemname">findChild</b>
1738 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>attribute</i></B>, Mixed <B><i>value</i></B>)
1753 <div class="short">Finds the first child that has the attribute with the specified value.</div>
1759 Finds the first child that has the attribute with the specified value.
1766 <dl class="detailList">
1767 <dt class="heading">Parameters:</dt>
1770 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>attribute</b>
1773 <dd>The attribute name</dd>
1776 <span class="fixedFont">Mixed</span> <b>value</b>
1779 <dd>The value to search for</dd>
1787 <dl class="detailList">
1788 <dt class="heading">Returns:</dt>
1790 <dd><span class="fixedFont">Node</span> The found child or null if none was found</dd>
1804 <td class="msource">
1806 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
1812 <tr class="method-row config-row-alt0 expandable">
1813 <td class="micon"><a class="exi" href="#expand"> </a></td>
1817 <a id="Roo.data.Node-method-findChildBy" name=".findChildBy"></a>
1818 <div class="fixedFont">
1819 <span class="attributes"></span><b class="itemname">findChildBy</b>
1821 (<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>)
1836 <div class="short">Finds the first child by a custom function.</div>
1842 Finds the first child by a custom function. The child matches if the function passed<br/>returns true.
1849 <dl class="detailList">
1850 <dt class="heading">Parameters:</dt>
1853 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
1859 <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>
1870 <dl class="detailList">
1871 <dt class="heading">Returns:</dt>
1873 <dd><span class="fixedFont">Node</span> The found child or null if none was found</dd>
1887 <td class="msource">
1889 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
1895 <tr class="method-row config-row-alt1 expandable">
1896 <td class="micon"><a class="exi" href="#expand"> </a></td>
1900 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
1901 <div class="fixedFont">
1902 <span class="attributes"></span><b class="itemname">fireEvent</b>
1904 (<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>)
1910 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1919 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
1925 Fires the specified event with the passed parameters (minus the event name).
1932 <dl class="detailList">
1933 <dt class="heading">Parameters:</dt>
1936 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1942 <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>
1945 <dd>Variable number of parameters are passed to handlers</dd>
1953 <dl class="detailList">
1954 <dt class="heading">Returns:</dt>
1956 <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>
1970 <td class="msource">
1972 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1978 <tr class="method-row config-row-alt0 expandable">
1979 <td class="micon"><a class="exi" href="#expand"> </a></td>
1983 <a id="Roo.data.Node-method-getDepth" name=".getDepth"></a>
1984 <div class="fixedFont">
1985 <span class="attributes"></span><b class="itemname">getDepth</b>
1993 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
2002 <div class="short">Returns depth of this node (the root node has a depth of 0)</div>
2008 Returns depth of this node (the root node has a depth of 0)
2019 <dl class="detailList">
2020 <dt class="heading">Returns:</dt>
2022 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> </dd>
2036 <td class="msource">
2038 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2044 <tr class="method-row config-row-alt1 expandable">
2045 <td class="micon"><a class="exi" href="#expand"> </a></td>
2049 <a id="Roo.data.Node-method-getOwnerTree" name=".getOwnerTree"></a>
2050 <div class="fixedFont">
2051 <span class="attributes"></span><b class="itemname">getOwnerTree</b>
2068 <div class="short">Returns the tree this node is in.</div>
2074 Returns the tree this node is in.
2085 <dl class="detailList">
2086 <dt class="heading">Returns:</dt>
2088 <dd><span class="fixedFont">Tree</span> </dd>
2102 <td class="msource">
2104 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2110 <tr class="method-row config-row-alt0 expandable">
2111 <td class="micon"><a class="exi" href="#expand"> </a></td>
2115 <a id="Roo.data.Node-method-getPath" name=".getPath"></a>
2116 <div class="fixedFont">
2117 <span class="attributes"></span><b class="itemname">getPath</b>
2119 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>attr</i></B>)
2125 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2134 <div class="short">Returns the path for this node.</div>
2140 Returns the path for this node. The path can be used to expand or select this node programmatically.
2147 <dl class="detailList">
2148 <dt class="heading">Parameters:</dt>
2151 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>attr</b>
2154 <dd>(optional) The attr to use for the path (defaults to the node's id)</dd>
2162 <dl class="detailList">
2163 <dt class="heading">Returns:</dt>
2165 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> The path</dd>
2179 <td class="msource">
2181 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2187 <tr class="method-row config-row-alt1 expandable notInherited">
2188 <td class="micon"><a class="exi" href="#expand"> </a></td>
2192 <a id="Roo.tree.TreeNode-method-getUI" name=".getUI"></a>
2193 <div class="fixedFont">
2194 <span class="attributes"></span><b class="itemname">getUI</b>
2211 <div class="short">Returns the UI object for this node</div>
2217 Returns the UI object for this node
2228 <dl class="detailList">
2229 <dt class="heading">Returns:</dt>
2231 <dd><span class="fixedFont">TreeNodeUI</span> </dd>
2245 <td class="msource">
2253 <tr class="method-row config-row-alt0 expandable">
2254 <td class="micon"><a class="exi" href="#expand"> </a></td>
2258 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
2259 <div class="fixedFont">
2260 <span class="attributes"></span><b class="itemname">hasListener</b>
2262 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
2268 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2277 <div class="short">Checks to see if this object has any listeners for a specified event</div>
2283 Checks to see if this object has any listeners for a specified event
2290 <dl class="detailList">
2291 <dt class="heading">Parameters:</dt>
2294 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2297 <dd>The name of the event to check for</dd>
2305 <dl class="detailList">
2306 <dt class="heading">Returns:</dt>
2308 <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>
2322 <td class="msource">
2324 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2330 <tr class="method-row config-row-alt1 expandable">
2331 <td class="micon"><a class="exi" href="#expand"> </a></td>
2335 <a id="Roo.data.Node-method-indexOf" name=".indexOf"></a>
2336 <div class="fixedFont">
2337 <span class="attributes"></span><b class="itemname">indexOf</b>
2339 (Node <B><i>node</i></B>)
2345 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
2354 <div class="short">Returns the index of a child node</div>
2360 Returns the index of a child node
2367 <dl class="detailList">
2368 <dt class="heading">Parameters:</dt>
2371 <span class="fixedFont">Node</span> <b>node</b>
2382 <dl class="detailList">
2383 <dt class="heading">Returns:</dt>
2385 <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>
2399 <td class="msource">
2401 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2407 <tr class="method-row config-row-alt0 expandable">
2408 <td class="micon"><a class="exi" href="#expand"> </a></td>
2412 <a id="Roo.data.Node-method-insertBefore" name=".insertBefore"></a>
2413 <div class="fixedFont">
2414 <span class="attributes"></span><b class="itemname">insertBefore</b>
2416 (Node <B><i>node</i></B>, Node <B><i>refNode</i></B>)
2431 <div class="short">Inserts the first node before the second node in this nodes childNodes collection.</div>
2437 Inserts the first node before the second node in this nodes childNodes collection.
2444 <dl class="detailList">
2445 <dt class="heading">Parameters:</dt>
2448 <span class="fixedFont">Node</span> <b>node</b>
2451 <dd>The node to insert</dd>
2454 <span class="fixedFont">Node</span> <b>refNode</b>
2457 <dd>The node to insert before (if null the node is appended)</dd>
2465 <dl class="detailList">
2466 <dt class="heading">Returns:</dt>
2468 <dd><span class="fixedFont">Node</span> The inserted node</dd>
2482 <td class="msource">
2484 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2490 <tr class="method-row config-row-alt1 expandable">
2491 <td class="micon"><a class="exi" href="#expand"> </a></td>
2495 <a id="Roo.data.Node-method-isAncestor" name=".isAncestor"></a>
2496 <div class="fixedFont">
2497 <span class="attributes"></span><b class="itemname">isAncestor</b>
2499 (Node <B><i>node</i></B>)
2505 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2514 <div class="short">Returns true if the passed node is an ancestor (at any point) of this node.</div>
2520 Returns true if the passed node is an ancestor (at any point) of this node.
2527 <dl class="detailList">
2528 <dt class="heading">Parameters:</dt>
2531 <span class="fixedFont">Node</span> <b>node</b>
2542 <dl class="detailList">
2543 <dt class="heading">Returns:</dt>
2545 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
2559 <td class="msource">
2561 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2567 <tr class="method-row config-row-alt0 expandable notInherited">
2568 <td class="micon"><a class="exi" href="#expand"> </a></td>
2572 <a id="Roo.tree.TreeNode-method-isExpanded" name=".isExpanded"></a>
2573 <div class="fixedFont">
2574 <span class="attributes"></span><b class="itemname">isExpanded</b>
2582 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2591 <div class="short">Returns true if this node is expanded</div>
2597 Returns true if this node is expanded
2608 <dl class="detailList">
2609 <dt class="heading">Returns:</dt>
2611 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
2625 <td class="msource">
2633 <tr class="method-row config-row-alt1 expandable">
2634 <td class="micon"><a class="exi" href="#expand"> </a></td>
2638 <a id="Roo.data.Node-method-isFirst" name=".isFirst"></a>
2639 <div class="fixedFont">
2640 <span class="attributes"></span><b class="itemname">isFirst</b>
2648 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2657 <div class="short">Returns true if this node is the first child of its parent</div>
2663 Returns true if this node is the first child of its parent
2674 <dl class="detailList">
2675 <dt class="heading">Returns:</dt>
2677 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
2691 <td class="msource">
2693 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2699 <tr class="method-row config-row-alt0 expandable">
2700 <td class="micon"><a class="exi" href="#expand"> </a></td>
2704 <a id="Roo.data.Node-method-isLast" name=".isLast"></a>
2705 <div class="fixedFont">
2706 <span class="attributes"></span><b class="itemname">isLast</b>
2714 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2723 <div class="short">Returns true if this node is the last child of its parent</div>
2729 Returns true if this node is the last child of its parent
2740 <dl class="detailList">
2741 <dt class="heading">Returns:</dt>
2743 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
2757 <td class="msource">
2759 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2765 <tr class="method-row config-row-alt1 expandable">
2766 <td class="micon"><a class="exi" href="#expand"> </a></td>
2770 <a id="Roo.data.Node-method-isLeaf" name=".isLeaf"></a>
2771 <div class="fixedFont">
2772 <span class="attributes"></span><b class="itemname">isLeaf</b>
2780 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2789 <div class="short">Returns true if this node is a leaf</div>
2795 Returns true if this node is a leaf
2806 <dl class="detailList">
2807 <dt class="heading">Returns:</dt>
2809 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
2823 <td class="msource">
2825 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2831 <tr class="method-row config-row-alt0 expandable notInherited">
2832 <td class="micon"><a class="exi" href="#expand"> </a></td>
2836 <a id="Roo.tree.TreeNode-method-isSelected" name=".isSelected"></a>
2837 <div class="fixedFont">
2838 <span class="attributes"></span><b class="itemname">isSelected</b>
2846 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2855 <div class="short">Returns true if this node is selected</div>
2861 Returns true if this node is selected
2872 <dl class="detailList">
2873 <dt class="heading">Returns:</dt>
2875 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
2889 <td class="msource">
2897 <tr class="method-row config-row-alt1 expandable">
2898 <td class="micon"><a class="exi" href="#expand"> </a></td>
2902 <a id="Roo.data.Node-method-item" name=".item"></a>
2903 <div class="fixedFont">
2904 <span class="attributes"></span><b class="itemname">item</b>
2906 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>)
2921 <div class="short">Returns the child node at the specified index.</div>
2927 Returns the child node at the specified index.
2934 <dl class="detailList">
2935 <dt class="heading">Parameters:</dt>
2938 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
2949 <dl class="detailList">
2950 <dt class="heading">Returns:</dt>
2952 <dd><span class="fixedFont">Node</span> </dd>
2966 <td class="msource">
2968 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2974 <tr class="method-row config-row-alt0 expandable">
2975 <td class="micon"><a class="exi" href="#expand"> </a></td>
2979 <a id="Roo.util.Observable-method-on" name=".on"></a>
2980 <div class="fixedFont">
2981 <span class="attributes"></span><b class="itemname">on</b>
2983 (<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>)
2990 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
2996 Appends an event handler to this element (shorthand for addListener)
3003 <dl class="detailList">
3004 <dt class="heading">Parameters:</dt>
3007 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3010 <dd>The type of event to listen for</dd>
3013 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3016 <dd>The method the event invokes</dd>
3019 <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>
3022 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
3025 <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>
3046 <td class="msource">
3048 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3054 <tr class="method-row config-row-alt1 expandable">
3055 <td class="micon"><a class="exi" href="#expand"> </a></td>
3059 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
3060 <div class="fixedFont">
3061 <span class="attributes"></span><b class="itemname">purgeListeners</b>
3070 <div class="short">Removes all listeners for this object</div>
3076 Removes all listeners for this object
3097 <td class="msource">
3099 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3105 <tr class="method-row config-row-alt0 expandable">
3106 <td class="micon"><a class="exi" href="#expand"> </a></td>
3110 <a id="Roo.data.Node-method-removeChild" name=".removeChild"></a>
3111 <div class="fixedFont">
3112 <span class="attributes"></span><b class="itemname">removeChild</b>
3114 (Node <B><i>node</i></B>)
3129 <div class="short">Removes a child node from this node.</div>
3135 Removes a child node from this node.
3142 <dl class="detailList">
3143 <dt class="heading">Parameters:</dt>
3146 <span class="fixedFont">Node</span> <b>node</b>
3149 <dd>The node to remove</dd>
3157 <dl class="detailList">
3158 <dt class="heading">Returns:</dt>
3160 <dd><span class="fixedFont">Node</span> The removed node</dd>
3174 <td class="msource">
3176 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
3182 <tr class="method-row config-row-alt1 expandable">
3183 <td class="micon"><a class="exi" href="#expand"> </a></td>
3187 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
3188 <div class="fixedFont">
3189 <span class="attributes"></span><b class="itemname">removeListener</b>
3191 (<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>)
3198 <div class="short">Removes a listener</div>
3211 <dl class="detailList">
3212 <dt class="heading">Parameters:</dt>
3215 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3218 <dd>The type of event to listen for</dd>
3221 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3224 <dd>The handler to remove</dd>
3227 <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>
3230 <dd>(optional) The scope (this object) for the handler</dd>
3248 <td class="msource">
3250 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3256 <tr class="method-row config-row-alt0 expandable">
3257 <td class="micon"><a class="exi" href="#expand"> </a></td>
3261 <a id="Roo.data.Node-method-replaceChild" name=".replaceChild"></a>
3262 <div class="fixedFont">
3263 <span class="attributes"></span><b class="itemname">replaceChild</b>
3265 (Node <B><i>newChild</i></B>, Node <B><i>oldChild</i></B>)
3280 <div class="short">Replaces one child node in this node with another.</div>
3286 Replaces one child node in this node with another.
3293 <dl class="detailList">
3294 <dt class="heading">Parameters:</dt>
3297 <span class="fixedFont">Node</span> <b>newChild</b>
3300 <dd>The replacement node</dd>
3303 <span class="fixedFont">Node</span> <b>oldChild</b>
3306 <dd>The node to replace</dd>
3314 <dl class="detailList">
3315 <dt class="heading">Returns:</dt>
3317 <dd><span class="fixedFont">Node</span> The replaced node</dd>
3331 <td class="msource">
3333 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
3339 <tr class="method-row config-row-alt1 expandable notInherited">
3340 <td class="micon"><a class="exi" href="#expand"> </a></td>
3344 <a id="Roo.tree.TreeNode-method-select" name=".select"></a>
3345 <div class="fixedFont">
3346 <span class="attributes"></span><b class="itemname">select</b>
3355 <div class="short">Triggers selection of this node</div>
3361 Triggers selection of this node
3382 <td class="msource">
3390 <tr class="method-row config-row-alt0 expandable notInherited">
3391 <td class="micon"><a class="exi" href="#expand"> </a></td>
3395 <a id="Roo.tree.TreeNode-method-setText" name=".setText"></a>
3396 <div class="fixedFont">
3397 <span class="attributes"></span><b class="itemname">setText</b>
3399 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>text</i></B>)
3406 <div class="short">Sets the text for this node</div>
3412 Sets the text for this node
3419 <dl class="detailList">
3420 <dt class="heading">Parameters:</dt>
3423 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>text</b>
3444 <td class="msource">
3452 <tr class="method-row config-row-alt1 expandable">
3453 <td class="micon"><a class="exi" href="#expand"> </a></td>
3457 <a id="Roo.data.Node-method-sort" name=".sort"></a>
3458 <div class="fixedFont">
3459 <span class="attributes"></span><b class="itemname">sort</b>
3461 (<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>)
3468 <div class="short">Sorts this nodes children using the supplied sort function</div>
3474 Sorts this nodes children using the supplied sort function
3481 <dl class="detailList">
3482 <dt class="heading">Parameters:</dt>
3485 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
3491 <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>
3512 <td class="msource">
3514 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
3520 <tr class="method-row config-row-alt0 expandable notInherited">
3521 <td class="micon"><a class="exi" href="#expand"> </a></td>
3525 <a id="Roo.tree.TreeNode-method-toggle" name=".toggle"></a>
3526 <div class="fixedFont">
3527 <span class="attributes"></span><b class="itemname">toggle</b>
3536 <div class="short">Toggles expanded/collapsed state of the node</div>
3542 Toggles expanded/collapsed state of the node
3563 <td class="msource">
3571 <tr class="method-row config-row-alt1 expandable">
3572 <td class="micon"><a class="exi" href="#expand"> </a></td>
3576 <a id="Roo.util.Observable-method-un" name=".un"></a>
3577 <div class="fixedFont">
3578 <span class="attributes"></span><b class="itemname">un</b>
3580 (<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>)
3587 <div class="short">Removes a listener (shorthand for removeListener)</div>
3593 Removes a listener (shorthand for removeListener)
3600 <dl class="detailList">
3601 <dt class="heading">Parameters:</dt>
3604 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3607 <dd>The type of event to listen for</dd>
3610 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3613 <dd>The handler to remove</dd>
3616 <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>
3619 <dd>(optional) The scope (this object) for the handler</dd>
3637 <td class="msource">
3639 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3645 <tr class="method-row config-row-alt0 expandable notInherited">
3646 <td class="micon"><a class="exi" href="#expand"> </a></td>
3650 <a id="Roo.tree.TreeNode-method-unselect" name=".unselect"></a>
3651 <div class="fixedFont">
3652 <span class="attributes"></span><b class="itemname">unselect</b>
3661 <div class="short">Triggers deselection of this node</div>
3667 Triggers deselection of this node
3688 <td class="msource">
3699 <!-- ============================== events summary / details ======================== -->
3702 <a id="Roo.tree.TreeNode-events"></a>
3711 <table cellspacing="0" class="member-table">
3712 <caption>Events</caption>
3715 <th class="sig-header" colspan="2">Event</th>
3716 <th class="msource-header">Defined By</th>
3725 <tr class="method-row expandable config-row-alt0">
3726 <td class="micon"><a class="exi" href="#expand"> </a></td>
3729 <a id="Roo.data.Node-event-*append"></a>
3731 <div class="fixedFont">
3732 <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>)
3738 <div class="short">Fires when a new child node is appended
3744 Fires when a new child node is appended
3750 <dl class="detailList">
3751 <dt class="heading">Parameters:</dt>
3754 <span class="fixedFont">Tree</span> <b>tree</b>
3757 <dd>The owner tree</dd>
3760 <span class="fixedFont">Node</span> <b>this</b>
3766 <span class="fixedFont">Node</span> <b>node</b>
3769 <dd>The newly appended node</dd>
3772 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
3775 <dd>The index of the newly appended node</dd>
3793 <td class="msource">
3794 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
3798 <tr class="method-row expandable config-row-alt1">
3799 <td class="micon"><a class="exi" href="#expand"> </a></td>
3802 <a id="Roo.data.Node-event-*beforeappend"></a>
3804 <div class="fixedFont">
3805 <b class="itemname">beforeappend</b> (Tree <B><i>tree</i></B>, Node <B><i>this</i></B>, Node <B><i>node</i></B>)
3811 <div class="short">Fires before a new child is appended, return false to cancel the append.
3817 Fires before a new child is appended, return false to cancel the append.
3823 <dl class="detailList">
3824 <dt class="heading">Parameters:</dt>
3827 <span class="fixedFont">Tree</span> <b>tree</b>
3830 <dd>The owner tree</dd>
3833 <span class="fixedFont">Node</span> <b>this</b>
3839 <span class="fixedFont">Node</span> <b>node</b>
3842 <dd>The child node to be appended</dd>
3860 <td class="msource">
3861 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
3865 <tr class="method-row expandable config-row-alt0 notInherited">
3866 <td class="micon"><a class="exi" href="#expand"> </a></td>
3869 <a id="Roo.tree.TreeNode-event-*beforechildrenrendered"></a>
3871 <div class="fixedFont">
3872 <b class="itemname">beforechildrenrendered</b> (Node <B><i>this</i></B>)
3878 <div class="short">Fires right before the child nodes for this node are rendered
3884 Fires right before the child nodes for this node are rendered
3890 <dl class="detailList">
3891 <dt class="heading">Parameters:</dt>
3894 <span class="fixedFont">Node</span> <b>this</b>
3915 <td class="msource">
3920 <tr class="method-row expandable config-row-alt1 notInherited">
3921 <td class="micon"><a class="exi" href="#expand"> </a></td>
3924 <a id="Roo.tree.TreeNode-event-*beforeclick"></a>
3926 <div class="fixedFont">
3927 <b class="itemname">beforeclick</b> (Node <B><i>this</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
3933 <div class="short">Fires before click processing.
3939 Fires before click processing. Return false to cancel the default action.
3945 <dl class="detailList">
3946 <dt class="heading">Parameters:</dt>
3949 <span class="fixedFont">Node</span> <b>this</b>
3955 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3958 <dd>The event object</dd>
3976 <td class="msource">
3981 <tr class="method-row expandable config-row-alt0 notInherited">
3982 <td class="micon"><a class="exi" href="#expand"> </a></td>
3985 <a id="Roo.tree.TreeNode-event-*beforecollapse"></a>
3987 <div class="fixedFont">
3988 <b class="itemname">beforecollapse</b> (Node <B><i>this</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>deep</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>anim</i></B>)
3994 <div class="short">Fires before this node is collapsed, return false to cancel.
4000 Fires before this node is collapsed, return false to cancel.
4006 <dl class="detailList">
4007 <dt class="heading">Parameters:</dt>
4010 <span class="fixedFont">Node</span> <b>this</b>
4016 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>deep</b>
4022 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>anim</b>
4043 <td class="msource">
4048 <tr class="method-row expandable config-row-alt1 notInherited">
4049 <td class="micon"><a class="exi" href="#expand"> </a></td>
4052 <a id="Roo.tree.TreeNode-event-*beforeexpand"></a>
4054 <div class="fixedFont">
4055 <b class="itemname">beforeexpand</b> (Node <B><i>this</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>deep</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>anim</i></B>)
4061 <div class="short">Fires before this node is expanded, return false to cancel.
4067 Fires before this node is expanded, return false to cancel.
4073 <dl class="detailList">
4074 <dt class="heading">Parameters:</dt>
4077 <span class="fixedFont">Node</span> <b>this</b>
4083 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>deep</b>
4089 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>anim</b>
4110 <td class="msource">
4115 <tr class="method-row expandable config-row-alt0">
4116 <td class="micon"><a class="exi" href="#expand"> </a></td>
4119 <a id="Roo.data.Node-event-*beforeinsert"></a>
4121 <div class="fixedFont">
4122 <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>)
4128 <div class="short">Fires before a new child is inserted, return false to cancel the insert.
4134 Fires before a new child is inserted, return false to cancel the insert.
4140 <dl class="detailList">
4141 <dt class="heading">Parameters:</dt>
4144 <span class="fixedFont">Tree</span> <b>tree</b>
4147 <dd>The owner tree</dd>
4150 <span class="fixedFont">Node</span> <b>this</b>
4156 <span class="fixedFont">Node</span> <b>node</b>
4159 <dd>The child node to be inserted</dd>
4162 <span class="fixedFont">Node</span> <b>refNode</b>
4165 <dd>The child node the node is being inserted before</dd>
4183 <td class="msource">
4184 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
4188 <tr class="method-row expandable config-row-alt1">
4189 <td class="micon"><a class="exi" href="#expand"> </a></td>
4192 <a id="Roo.data.Node-event-*beforemove"></a>
4194 <div class="fixedFont">
4195 <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>)
4201 <div class="short">Fires before this node is moved to a new location in the tree.
4207 Fires before this node is moved to a new location in the tree. Return false to cancel the move.
4213 <dl class="detailList">
4214 <dt class="heading">Parameters:</dt>
4217 <span class="fixedFont">Tree</span> <b>tree</b>
4220 <dd>The owner tree</dd>
4223 <span class="fixedFont">Node</span> <b>this</b>
4229 <span class="fixedFont">Node</span> <b>oldParent</b>
4232 <dd>The parent of this node</dd>
4235 <span class="fixedFont">Node</span> <b>newParent</b>
4238 <dd>The new parent this node is moving to</dd>
4241 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
4244 <dd>The index it is being moved to</dd>
4262 <td class="msource">
4263 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
4267 <tr class="method-row expandable config-row-alt0">
4268 <td class="micon"><a class="exi" href="#expand"> </a></td>
4271 <a id="Roo.data.Node-event-*beforeremove"></a>
4273 <div class="fixedFont">
4274 <b class="itemname">beforeremove</b> (Tree <B><i>tree</i></B>, Node <B><i>this</i></B>, Node <B><i>node</i></B>)
4280 <div class="short">Fires before a child is removed, return false to cancel the remove.
4286 Fires before a child is removed, return false to cancel the remove.
4292 <dl class="detailList">
4293 <dt class="heading">Parameters:</dt>
4296 <span class="fixedFont">Tree</span> <b>tree</b>
4299 <dd>The owner tree</dd>
4302 <span class="fixedFont">Node</span> <b>this</b>
4308 <span class="fixedFont">Node</span> <b>node</b>
4311 <dd>The child node to be removed</dd>
4329 <td class="msource">
4330 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
4334 <tr class="method-row expandable config-row-alt1 notInherited">
4335 <td class="micon"><a class="exi" href="#expand"> </a></td>
4338 <a id="Roo.tree.TreeNode-event-*checkchange"></a>
4340 <div class="fixedFont">
4341 <b class="itemname">checkchange</b> (Node <B><i>this</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>checked</i></B>)
4347 <div class="short">Fires when a node with a checkbox's checked property changes
4353 Fires when a node with a checkbox's checked property changes
4359 <dl class="detailList">
4360 <dt class="heading">Parameters:</dt>
4363 <span class="fixedFont">Node</span> <b>this</b>
4369 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>checked</b>
4390 <td class="msource">
4395 <tr class="method-row expandable config-row-alt0 notInherited">
4396 <td class="micon"><a class="exi" href="#expand"> </a></td>
4399 <a id="Roo.tree.TreeNode-event-*click"></a>
4401 <div class="fixedFont">
4402 <b class="itemname">click</b> (Node <B><i>this</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
4408 <div class="short">Fires when this node is clicked
4414 Fires when this node is clicked
4420 <dl class="detailList">
4421 <dt class="heading">Parameters:</dt>
4424 <span class="fixedFont">Node</span> <b>this</b>
4430 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4433 <dd>The event object</dd>
4451 <td class="msource">
4456 <tr class="method-row expandable config-row-alt1 notInherited">
4457 <td class="micon"><a class="exi" href="#expand"> </a></td>
4460 <a id="Roo.tree.TreeNode-event-*collapse"></a>
4462 <div class="fixedFont">
4463 <b class="itemname">collapse</b> (Node <B><i>this</i></B>)
4469 <div class="short">Fires when this node is collapsed
4475 Fires when this node is collapsed
4481 <dl class="detailList">
4482 <dt class="heading">Parameters:</dt>
4485 <span class="fixedFont">Node</span> <b>this</b>
4506 <td class="msource">
4511 <tr class="method-row expandable config-row-alt0 notInherited">
4512 <td class="micon"><a class="exi" href="#expand"> </a></td>
4515 <a id="Roo.tree.TreeNode-event-*contextmenu"></a>
4517 <div class="fixedFont">
4518 <b class="itemname">contextmenu</b> (Node <B><i>this</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
4524 <div class="short">Fires when this node is right clicked
4530 Fires when this node is right clicked
4536 <dl class="detailList">
4537 <dt class="heading">Parameters:</dt>
4540 <span class="fixedFont">Node</span> <b>this</b>
4546 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4549 <dd>The event object</dd>
4567 <td class="msource">
4572 <tr class="method-row expandable config-row-alt1 notInherited">
4573 <td class="micon"><a class="exi" href="#expand"> </a></td>
4576 <a id="Roo.tree.TreeNode-event-*dblclick"></a>
4578 <div class="fixedFont">
4579 <b class="itemname">dblclick</b> (Node <B><i>this</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
4585 <div class="short">Fires when this node is double clicked
4591 Fires when this node is double clicked
4597 <dl class="detailList">
4598 <dt class="heading">Parameters:</dt>
4601 <span class="fixedFont">Node</span> <b>this</b>
4607 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4610 <dd>The event object</dd>
4628 <td class="msource">
4633 <tr class="method-row expandable config-row-alt0 notInherited">
4634 <td class="micon"><a class="exi" href="#expand"> </a></td>
4637 <a id="Roo.tree.TreeNode-event-*disabledchange"></a>
4639 <div class="fixedFont">
4640 <b class="itemname">disabledchange</b> (Node <B><i>this</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
4646 <div class="short">Fires when the disabled status of this node changes
4652 Fires when the disabled status of this node changes
4658 <dl class="detailList">
4659 <dt class="heading">Parameters:</dt>
4662 <span class="fixedFont">Node</span> <b>this</b>
4668 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>disabled</b>
4689 <td class="msource">
4694 <tr class="method-row expandable config-row-alt1 notInherited">
4695 <td class="micon"><a class="exi" href="#expand"> </a></td>
4698 <a id="Roo.tree.TreeNode-event-*expand"></a>
4700 <div class="fixedFont">
4701 <b class="itemname">expand</b> (Node <B><i>this</i></B>)
4707 <div class="short">Fires when this node is expanded
4713 Fires when this node is expanded
4719 <dl class="detailList">
4720 <dt class="heading">Parameters:</dt>
4723 <span class="fixedFont">Node</span> <b>this</b>
4744 <td class="msource">
4749 <tr class="method-row expandable config-row-alt0">
4750 <td class="micon"><a class="exi" href="#expand"> </a></td>
4753 <a id="Roo.data.Node-event-*insert"></a>
4755 <div class="fixedFont">
4756 <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>)
4762 <div class="short">Fires when a new child node is inserted.
4768 Fires when a new child node is inserted.
4774 <dl class="detailList">
4775 <dt class="heading">Parameters:</dt>
4778 <span class="fixedFont">Tree</span> <b>tree</b>
4781 <dd>The owner tree</dd>
4784 <span class="fixedFont">Node</span> <b>this</b>
4790 <span class="fixedFont">Node</span> <b>node</b>
4793 <dd>The child node inserted</dd>
4796 <span class="fixedFont">Node</span> <b>refNode</b>
4799 <dd>The child node the node was inserted before</dd>
4817 <td class="msource">
4818 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
4822 <tr class="method-row expandable config-row-alt1">
4823 <td class="micon"><a class="exi" href="#expand"> </a></td>
4826 <a id="Roo.data.Node-event-*move"></a>
4828 <div class="fixedFont">
4829 <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>)
4835 <div class="short">Fires when this node is moved to a new location in the tree
4841 Fires when this node is moved to a new location in the tree
4847 <dl class="detailList">
4848 <dt class="heading">Parameters:</dt>
4851 <span class="fixedFont">Tree</span> <b>tree</b>
4854 <dd>The owner tree</dd>
4857 <span class="fixedFont">Node</span> <b>this</b>
4863 <span class="fixedFont">Node</span> <b>oldParent</b>
4866 <dd>The old parent of this node</dd>
4869 <span class="fixedFont">Node</span> <b>newParent</b>
4872 <dd>The new parent of this node</dd>
4875 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
4878 <dd>The index it was moved to</dd>
4896 <td class="msource">
4897 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
4901 <tr class="method-row expandable config-row-alt0">
4902 <td class="micon"><a class="exi" href="#expand"> </a></td>
4905 <a id="Roo.data.Node-event-*remove"></a>
4907 <div class="fixedFont">
4908 <b class="itemname">remove</b> (Tree <B><i>tree</i></B>, Node <B><i>this</i></B>, Node <B><i>node</i></B>)
4914 <div class="short">Fires when a child node is removed
4920 Fires when a child node is removed
4926 <dl class="detailList">
4927 <dt class="heading">Parameters:</dt>
4930 <span class="fixedFont">Tree</span> <b>tree</b>
4933 <dd>The owner tree</dd>
4936 <span class="fixedFont">Node</span> <b>this</b>
4942 <span class="fixedFont">Node</span> <b>node</b>
4945 <dd>The removed node</dd>
4963 <td class="msource">
4964 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
4968 <tr class="method-row expandable config-row-alt1 notInherited">
4969 <td class="micon"><a class="exi" href="#expand"> </a></td>
4972 <a id="Roo.tree.TreeNode-event-*textchange"></a>
4974 <div class="fixedFont">
4975 <b class="itemname">textchange</b> (Node <B><i>this</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>text</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>oldText</i></B>)
4981 <div class="short">Fires when the text for this node is changed
4987 Fires when the text for this node is changed
4993 <dl class="detailList">
4994 <dt class="heading">Parameters:</dt>
4997 <span class="fixedFont">Node</span> <b>this</b>
5003 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>text</b>
5006 <dd>The new text</dd>
5009 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>oldText</b>
5012 <dd>The old text</dd>
5030 <td class="msource">
5042 <!-- ============================== footer ================================= -->
5043 <div class="fineprint" style="clear:both">
5045 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Tue Apr 08 2014 15:05:42 GMT+0800 (HKT)
5047 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>