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>
152 false to make this node undraggable if DD is on (defaults to true)
168 <tr class="config-row expandable config-row-alt1 notInherited">
169 <td class="micon"><a class="exi" href="#expand"> </a></td>
172 <a id="Roo.tree.TreeNode-cfg-allowDrop" name=".allowDrop"></a>
173 <div class="fixedFont">
174 <b class="itemname">allowDrop</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
180 <div class="short">false if this node cannot be drop on</div>
185 false if this node cannot be drop on
201 <tr class="config-row expandable config-row-alt0 notInherited">
202 <td class="micon"><a class="exi" href="#expand"> </a></td>
205 <a id="Roo.tree.TreeNode-cfg-checked" name=".checked"></a>
206 <div class="fixedFont">
207 <b class="itemname">checked</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
213 <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>
218 True to render a checked checkbox for this node, false to render an unchecked checkbox<br/>(defaults to undefined with no checkbox rendered)
234 <tr class="config-row expandable config-row-alt1 notInherited">
235 <td class="micon"><a class="exi" href="#expand"> </a></td>
238 <a id="Roo.tree.TreeNode-cfg-cls" name=".cls"></a>
239 <div class="fixedFont">
240 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
246 <div class="short">A css class to be added to the node</div>
251 A css class to be added to the node
267 <tr class="config-row expandable config-row-alt0 notInherited">
268 <td class="micon"><a class="exi" href="#expand"> </a></td>
271 <a id="Roo.tree.TreeNode-cfg-disabled" name=".disabled"></a>
272 <div class="fixedFont">
273 <b class="itemname">disabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
279 <div class="short">true to start the node disabled</div>
284 true to start the node disabled
300 <tr class="config-row expandable config-row-alt1 notInherited">
301 <td class="micon"><a class="exi" href="#expand"> </a></td>
304 <a id="Roo.tree.TreeNode-cfg-expanded" name=".expanded"></a>
305 <div class="fixedFont">
306 <b class="itemname">expanded</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
312 <div class="short">true to start the node expanded</div>
317 true to start the node expanded
333 <tr class="config-row expandable config-row-alt0 notInherited">
334 <td class="micon"><a class="exi" href="#expand"> </a></td>
337 <a id="Roo.tree.TreeNode-cfg-href" name=".href"></a>
338 <div class="fixedFont">
339 <b class="itemname">href</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
345 <div class="short">URL of the link used for the node (defaults to #)</div>
350 URL of the link used for the node (defaults to #)
366 <tr class="config-row expandable config-row-alt1 notInherited">
367 <td class="micon"><a class="exi" href="#expand"> </a></td>
370 <a id="Roo.tree.TreeNode-cfg-hrefTarget" name=".hrefTarget"></a>
371 <div class="fixedFont">
372 <b class="itemname">hrefTarget</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
378 <div class="short">target frame for the link</div>
383 target frame for the link
399 <tr class="config-row expandable config-row-alt0 notInherited">
400 <td class="micon"><a class="exi" href="#expand"> </a></td>
403 <a id="Roo.tree.TreeNode-cfg-icon" name=".icon"></a>
404 <div class="fixedFont">
405 <b class="itemname">icon</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
411 <div class="short">The path to an icon for the node.</div>
416 The path to an icon for the node. The preferred way to do this
432 <tr class="config-row expandable config-row-alt1 notInherited">
433 <td class="micon"><a class="exi" href="#expand"> </a></td>
436 <a id="Roo.tree.TreeNode-cfg-iconCls" name=".iconCls"></a>
437 <div class="fixedFont">
438 <b class="itemname">iconCls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
444 <div class="short">A css class to be added to the nodes icon element for applying css background images</div>
449 A css class to be added to the nodes icon element for applying css background images
465 <tr class="config-row expandable config-row-alt0">
466 <td class="micon"><a class="exi" href="#expand"> </a></td>
469 <a id="Roo.data.Node-cfg-id" name=".id"></a>
470 <div class="fixedFont">
471 <b class="itemname">id</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
477 <div class="short">The id for this node.</div>
482 The id for this node. If one is not specified, one is generated.
492 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
498 <tr class="config-row expandable config-row-alt1">
499 <td class="micon"><a class="exi" href="#expand"> </a></td>
502 <a id="Roo.data.Node-cfg-leaf" name=".leaf"></a>
503 <div class="fixedFont">
504 <b class="itemname">leaf</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
510 <div class="short">true if this node is a leaf and does not have children</div>
515 true if this node is a leaf and does not have children
525 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
531 <tr class="config-row expandable config-row-alt0">
532 <td class="micon"><a class="exi" href="#expand"> </a></td>
535 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
536 <div class="fixedFont">
537 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
543 <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>
548 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>
558 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
564 <tr class="config-row expandable config-row-alt1 notInherited">
565 <td class="micon"><a class="exi" href="#expand"> </a></td>
568 <a id="Roo.tree.TreeNode-cfg-qtip" name=".qtip"></a>
569 <div class="fixedFont">
570 <b class="itemname">qtip</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
576 <div class="short">An Ext QuickTip for the node</div>
581 An Ext QuickTip for the node
597 <tr class="config-row expandable config-row-alt0 notInherited">
598 <td class="micon"><a class="exi" href="#expand"> </a></td>
601 <a id="Roo.tree.TreeNode-cfg-qtipCfg" name=".qtipCfg"></a>
602 <div class="fixedFont">
603 <b class="itemname">qtipCfg</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
609 <div class="short">An Ext QuickTip config for the node (used instead of qtip)</div>
614 An Ext QuickTip config for the node (used instead of qtip)
630 <tr class="config-row expandable config-row-alt1 notInherited">
631 <td class="micon"><a class="exi" href="#expand"> </a></td>
634 <a id="Roo.tree.TreeNode-cfg-singleClickExpand" name=".singleClickExpand"></a>
635 <div class="fixedFont">
636 <b class="itemname">singleClickExpand</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
642 <div class="short">True for single click expand on this node</div>
647 True for single click expand on this node
663 <tr class="config-row expandable config-row-alt0 notInherited">
664 <td class="micon"><a class="exi" href="#expand"> </a></td>
667 <a id="Roo.tree.TreeNode-cfg-text" name=".text"></a>
668 <div class="fixedFont">
669 <b class="itemname">text</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
675 <div class="short">The text for this node</div>
680 The text for this node
696 <tr class="config-row expandable config-row-alt1 notInherited">
697 <td class="micon"><a class="exi" href="#expand"> </a></td>
700 <a id="Roo.tree.TreeNode-cfg-uiProvider" name=".uiProvider"></a>
701 <div class="fixedFont">
702 <b class="itemname">uiProvider</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
708 <div class="short">A UI <b>class</b> to use for this node (defaults to Roo.tree.TreeNodeUI)</div>
713 A UI <b>class</b> to use for this node (defaults to Roo.tree.TreeNodeUI)
739 <!-- ============================== public properties ==================== -->
743 <a id="Roo.tree.TreeNode-props"></a>
749 <table cellspacing="0" class="member-table">
750 <caption class="Empty">Public Properties - Has None</caption>
756 <!-- ============================== methods summary / details ======================== -->
759 <a id="Roo.tree.TreeNode-methods"></a>
760 <!-- constructor?? -->
767 <!-- then dynamics first -->
774 <table cellspacing="0" class="member-table">
775 <caption>Public Methods</caption>
777 <th class="sig-header" colspan="2">Method</th>
778 <th class="msource-header">Defined By</th>
788 <tr class="method-row config-row-alt0 expandable notInherited">
789 <td class="micon"><a class="exi" href="#expand"> </a></td>
793 <a id="Roo.tree-method-TreeNode" name=".TreeNode"></a>
794 <div class="fixedFont">
795 <span class="attributes">new <B>Roo.tree.</B></span><b class="itemname">TreeNode</b>
797 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>/String <B><i>attributes</i></B>)
805 <div class="short">Create a new Roo.tree.TreeNode</div>
812 Create a new Roo.tree.TreeNode
815 <dl class="detailList">
816 <dt class="heading">Parameters:</dt>
819 <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>
822 <dd>The attributes/config for the node or just a string with the text for the node</dd>
846 <tr class="method-row config-row-alt1 expandable">
847 <td class="micon"><a class="exi" href="#expand"> </a></td>
851 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
852 <div class="fixedFont">
853 <span class="attributes"></span><b class="itemname">addEvents</b>
855 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
862 <div class="short">Used to define events on this Observable</div>
868 Used to define events on this Observable
875 <dl class="detailList">
876 <dt class="heading">Parameters:</dt>
879 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>object</b>
882 <dd>The object with the events defined</dd>
902 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
908 <tr class="method-row config-row-alt0 expandable">
909 <td class="micon"><a class="exi" href="#expand"> </a></td>
913 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
914 <div class="fixedFont">
915 <span class="attributes"></span><b class="itemname">addListener</b>
917 (<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>)
924 <div class="short">Appends an event handler to this component</div>
930 Appends an event handler to this component
937 <dl class="detailList">
938 <dt class="heading">Parameters:</dt>
941 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
944 <dd>The type of event to listen for</dd>
947 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
950 <dd>The method the event invokes</dd>
953 <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>
956 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
959 <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>
962 <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>
982 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
988 <tr class="method-row config-row-alt1 expandable">
989 <td class="micon"><a class="exi" href="#expand"> </a></td>
993 <a id="Roo.data.Node-method-appendChild" name=".appendChild"></a>
994 <div class="fixedFont">
995 <span class="attributes"></span><b class="itemname">appendChild</b>
997 (Node/Array <B><i>node</i></B>)
1012 <div class="short">Insert node(s) as the last child node of this node.</div>
1018 Insert node(s) as the last child node of this node.
1025 <dl class="detailList">
1026 <dt class="heading">Parameters:</dt>
1029 <span class="fixedFont">Node/Array</span> <b>node</b>
1032 <dd>The node or Array of nodes to append</dd>
1040 <dl class="detailList">
1041 <dt class="heading">Returns:</dt>
1043 <dd><span class="fixedFont">Node</span> The appended node if single append, or null if an array was passed</dd>
1057 <td class="msource">
1059 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
1065 <tr class="method-row config-row-alt0 expandable">
1066 <td class="micon"><a class="exi" href="#expand"> </a></td>
1070 <a id="Roo.data.Node-method-bubble" name=".bubble"></a>
1071 <div class="fixedFont">
1072 <span class="attributes"></span><b class="itemname">bubble</b>
1074 (<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>)
1081 <div class="short">Bubbles up the tree from this node, calling the specified function with each node.</div>
1087 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.
1094 <dl class="detailList">
1095 <dt class="heading">Parameters:</dt>
1098 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
1101 <dd>The function to call</dd>
1104 <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>
1107 <dd>(optional) The scope of the function (defaults to current node)</dd>
1110 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>args</b>
1113 <dd>(optional) The args to call the function with (default to passing the current node)</dd>
1131 <td class="msource">
1133 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
1139 <tr class="method-row config-row-alt1 expandable">
1140 <td class="micon"><a class="exi" href="#expand"> </a></td>
1144 <a id="Roo.data.Node-method-cascade" name=".cascade"></a>
1145 <div class="fixedFont">
1146 <span class="attributes"></span><b class="itemname">cascade</b>
1148 (<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>)
1155 <div class="short">Cascades down the tree from this node, calling the specified function with each node.</div>
1161 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.
1168 <dl class="detailList">
1169 <dt class="heading">Parameters:</dt>
1172 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
1175 <dd>The function to call</dd>
1178 <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>
1181 <dd>(optional) The scope of the function (defaults to current node)</dd>
1184 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>args</b>
1187 <dd>(optional) The args to call the function with (default to passing the current node)</dd>
1205 <td class="msource">
1207 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
1213 <tr class="method-row config-row-alt0 expandable notInherited">
1214 <td class="micon"><a class="exi" href="#expand"> </a></td>
1218 <a id="Roo.tree.TreeNode-method-collapse" name=".collapse"></a>
1219 <div class="fixedFont">
1220 <span class="attributes"></span><b class="itemname">collapse</b>
1222 (<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>)
1229 <div class="short">Collapse this node.</div>
1242 <dl class="detailList">
1243 <dt class="heading">Parameters:</dt>
1246 <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>
1249 <dd>(optional) True to collapse all children as well</dd>
1252 <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>
1255 <dd>(optional) false to cancel the default animation</dd>
1273 <td class="msource">
1281 <tr class="method-row config-row-alt1 expandable notInherited">
1282 <td class="micon"><a class="exi" href="#expand"> </a></td>
1286 <a id="Roo.tree.TreeNode-method-collapseChildNodes" name=".collapseChildNodes"></a>
1287 <div class="fixedFont">
1288 <span class="attributes"></span><b class="itemname">collapseChildNodes</b>
1290 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>deep</i></B>)
1297 <div class="short">Collapse all child nodes</div>
1303 Collapse all child nodes
1310 <dl class="detailList">
1311 <dt class="heading">Parameters:</dt>
1314 <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>
1317 <dd>(optional) true if the child nodes should also collapse their child nodes</dd>
1335 <td class="msource">
1343 <tr class="method-row config-row-alt0 expandable">
1344 <td class="micon"><a class="exi" href="#expand"> </a></td>
1348 <a id="Roo.data.Node-method-contains" name=".contains"></a>
1349 <div class="fixedFont">
1350 <span class="attributes"></span><b class="itemname">contains</b>
1352 (Node <B><i>node</i></B>)
1358 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1367 <div class="short">Returns true if this node is an ancestor (at any point) of the passed node.</div>
1373 Returns true if this node is an ancestor (at any point) of the passed node.
1380 <dl class="detailList">
1381 <dt class="heading">Parameters:</dt>
1384 <span class="fixedFont">Node</span> <b>node</b>
1395 <dl class="detailList">
1396 <dt class="heading">Returns:</dt>
1398 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
1412 <td class="msource">
1414 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
1420 <tr class="method-row config-row-alt1 expandable notInherited">
1421 <td class="micon"><a class="exi" href="#expand"> </a></td>
1425 <a id="Roo.tree.TreeNode-method-disable" name=".disable"></a>
1426 <div class="fixedFont">
1427 <span class="attributes"></span><b class="itemname">disable</b>
1436 <div class="short">Disables this node</div>
1463 <td class="msource">
1471 <tr class="method-row config-row-alt0 expandable">
1472 <td class="micon"><a class="exi" href="#expand"> </a></td>
1476 <a id="Roo.data.Node-method-eachChild" name=".eachChild"></a>
1477 <div class="fixedFont">
1478 <span class="attributes"></span><b class="itemname">eachChild</b>
1480 (<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>)
1487 <div class="short">Interates the child nodes of this node, calling the specified function with each node.</div>
1493 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.
1500 <dl class="detailList">
1501 <dt class="heading">Parameters:</dt>
1504 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
1507 <dd>The function to call</dd>
1510 <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>
1513 <dd>(optional) The scope of the function (defaults to current node)</dd>
1516 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>args</b>
1519 <dd>(optional) The args to call the function with (default to passing the current node)</dd>
1537 <td class="msource">
1539 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
1545 <tr class="method-row config-row-alt1 expandable notInherited">
1546 <td class="micon"><a class="exi" href="#expand"> </a></td>
1550 <a id="Roo.tree.TreeNode-method-enable" name=".enable"></a>
1551 <div class="fixedFont">
1552 <span class="attributes"></span><b class="itemname">enable</b>
1561 <div class="short">Enables this node</div>
1588 <td class="msource">
1596 <tr class="method-row config-row-alt0 expandable notInherited">
1597 <td class="micon"><a class="exi" href="#expand"> </a></td>
1601 <a id="Roo.tree.TreeNode-method-ensureVisible" name=".ensureVisible"></a>
1602 <div class="fixedFont">
1603 <span class="attributes"></span><b class="itemname">ensureVisible</b>
1612 <div class="short">Ensures all parent nodes are expanded</div>
1618 Ensures all parent nodes are expanded
1639 <td class="msource">
1647 <tr class="method-row config-row-alt1 expandable notInherited">
1648 <td class="micon"><a class="exi" href="#expand"> </a></td>
1652 <a id="Roo.tree.TreeNode-method-expand" name=".expand"></a>
1653 <div class="fixedFont">
1654 <span class="attributes"></span><b class="itemname">expand</b>
1656 (<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>)
1663 <div class="short">Expand this node.</div>
1676 <dl class="detailList">
1677 <dt class="heading">Parameters:</dt>
1680 <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>
1683 <dd>(optional) True to expand all children as well</dd>
1686 <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>
1689 <dd>(optional) false to cancel the default animation</dd>
1692 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>callback</b>
1695 <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>
1713 <td class="msource">
1721 <tr class="method-row config-row-alt0 expandable notInherited">
1722 <td class="micon"><a class="exi" href="#expand"> </a></td>
1726 <a id="Roo.tree.TreeNode-method-expandChildNodes" name=".expandChildNodes"></a>
1727 <div class="fixedFont">
1728 <span class="attributes"></span><b class="itemname">expandChildNodes</b>
1730 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>deep</i></B>)
1737 <div class="short">Expand all child nodes</div>
1743 Expand all child nodes
1750 <dl class="detailList">
1751 <dt class="heading">Parameters:</dt>
1754 <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>
1757 <dd>(optional) true if the child nodes should also expand their child nodes</dd>
1775 <td class="msource">
1783 <tr class="method-row config-row-alt1 expandable">
1784 <td class="micon"><a class="exi" href="#expand"> </a></td>
1788 <a id="Roo.data.Node-method-findChild" name=".findChild"></a>
1789 <div class="fixedFont">
1790 <span class="attributes"></span><b class="itemname">findChild</b>
1792 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>attribute</i></B>, Mixed <B><i>value</i></B>)
1807 <div class="short">Finds the first child that has the attribute with the specified value.</div>
1813 Finds the first child that has the attribute with the specified value.
1820 <dl class="detailList">
1821 <dt class="heading">Parameters:</dt>
1824 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>attribute</b>
1827 <dd>The attribute name</dd>
1830 <span class="fixedFont">Mixed</span> <b>value</b>
1833 <dd>The value to search for</dd>
1841 <dl class="detailList">
1842 <dt class="heading">Returns:</dt>
1844 <dd><span class="fixedFont">Node</span> The found child or null if none was found</dd>
1858 <td class="msource">
1860 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
1866 <tr class="method-row config-row-alt0 expandable">
1867 <td class="micon"><a class="exi" href="#expand"> </a></td>
1871 <a id="Roo.data.Node-method-findChildBy" name=".findChildBy"></a>
1872 <div class="fixedFont">
1873 <span class="attributes"></span><b class="itemname">findChildBy</b>
1875 (<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>)
1890 <div class="short">Finds the first child by a custom function.</div>
1896 Finds the first child by a custom function. The child matches if the function passed<br/>returns true.
1903 <dl class="detailList">
1904 <dt class="heading">Parameters:</dt>
1907 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
1913 <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>
1924 <dl class="detailList">
1925 <dt class="heading">Returns:</dt>
1927 <dd><span class="fixedFont">Node</span> The found child or null if none was found</dd>
1941 <td class="msource">
1943 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
1949 <tr class="method-row config-row-alt1 expandable">
1950 <td class="micon"><a class="exi" href="#expand"> </a></td>
1954 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
1955 <div class="fixedFont">
1956 <span class="attributes"></span><b class="itemname">fireEvent</b>
1958 (<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>)
1964 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1973 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
1979 Fires the specified event with the passed parameters (minus the event name).
1986 <dl class="detailList">
1987 <dt class="heading">Parameters:</dt>
1990 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1996 <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>
1999 <dd>Variable number of parameters are passed to handlers</dd>
2007 <dl class="detailList">
2008 <dt class="heading">Returns:</dt>
2010 <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>
2024 <td class="msource">
2026 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2032 <tr class="method-row config-row-alt0 expandable">
2033 <td class="micon"><a class="exi" href="#expand"> </a></td>
2037 <a id="Roo.data.Node-method-getDepth" name=".getDepth"></a>
2038 <div class="fixedFont">
2039 <span class="attributes"></span><b class="itemname">getDepth</b>
2047 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
2056 <div class="short">Returns depth of this node (the root node has a depth of 0)</div>
2062 Returns depth of this node (the root node has a depth of 0)
2073 <dl class="detailList">
2074 <dt class="heading">Returns:</dt>
2076 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> </dd>
2090 <td class="msource">
2092 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2098 <tr class="method-row config-row-alt1 expandable">
2099 <td class="micon"><a class="exi" href="#expand"> </a></td>
2103 <a id="Roo.data.Node-method-getOwnerTree" name=".getOwnerTree"></a>
2104 <div class="fixedFont">
2105 <span class="attributes"></span><b class="itemname">getOwnerTree</b>
2122 <div class="short">Returns the tree this node is in.</div>
2128 Returns the tree this node is in.
2139 <dl class="detailList">
2140 <dt class="heading">Returns:</dt>
2142 <dd><span class="fixedFont">Tree</span> </dd>
2156 <td class="msource">
2158 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2164 <tr class="method-row config-row-alt0 expandable">
2165 <td class="micon"><a class="exi" href="#expand"> </a></td>
2169 <a id="Roo.data.Node-method-getPath" name=".getPath"></a>
2170 <div class="fixedFont">
2171 <span class="attributes"></span><b class="itemname">getPath</b>
2173 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>attr</i></B>)
2179 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2188 <div class="short">Returns the path for this node.</div>
2194 Returns the path for this node. The path can be used to expand or select this node programmatically.
2201 <dl class="detailList">
2202 <dt class="heading">Parameters:</dt>
2205 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>attr</b>
2208 <dd>(optional) The attr to use for the path (defaults to the node's id)</dd>
2216 <dl class="detailList">
2217 <dt class="heading">Returns:</dt>
2219 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> The path</dd>
2233 <td class="msource">
2235 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2241 <tr class="method-row config-row-alt1 expandable notInherited">
2242 <td class="micon"><a class="exi" href="#expand"> </a></td>
2246 <a id="Roo.tree.TreeNode-method-getUI" name=".getUI"></a>
2247 <div class="fixedFont">
2248 <span class="attributes"></span><b class="itemname">getUI</b>
2265 <div class="short">Returns the UI object for this node</div>
2271 Returns the UI object for this node
2282 <dl class="detailList">
2283 <dt class="heading">Returns:</dt>
2285 <dd><span class="fixedFont">TreeNodeUI</span> </dd>
2299 <td class="msource">
2307 <tr class="method-row config-row-alt0 expandable">
2308 <td class="micon"><a class="exi" href="#expand"> </a></td>
2312 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
2313 <div class="fixedFont">
2314 <span class="attributes"></span><b class="itemname">hasListener</b>
2316 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
2322 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2331 <div class="short">Checks to see if this object has any listeners for a specified event</div>
2337 Checks to see if this object has any listeners for a specified event
2344 <dl class="detailList">
2345 <dt class="heading">Parameters:</dt>
2348 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2351 <dd>The name of the event to check for</dd>
2359 <dl class="detailList">
2360 <dt class="heading">Returns:</dt>
2362 <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>
2376 <td class="msource">
2378 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2384 <tr class="method-row config-row-alt1 expandable">
2385 <td class="micon"><a class="exi" href="#expand"> </a></td>
2389 <a id="Roo.data.Node-method-indexOf" name=".indexOf"></a>
2390 <div class="fixedFont">
2391 <span class="attributes"></span><b class="itemname">indexOf</b>
2393 (Node <B><i>node</i></B>)
2399 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
2408 <div class="short">Returns the index of a child node</div>
2414 Returns the index of a child node
2421 <dl class="detailList">
2422 <dt class="heading">Parameters:</dt>
2425 <span class="fixedFont">Node</span> <b>node</b>
2436 <dl class="detailList">
2437 <dt class="heading">Returns:</dt>
2439 <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>
2453 <td class="msource">
2455 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2461 <tr class="method-row config-row-alt0 expandable">
2462 <td class="micon"><a class="exi" href="#expand"> </a></td>
2466 <a id="Roo.data.Node-method-insertBefore" name=".insertBefore"></a>
2467 <div class="fixedFont">
2468 <span class="attributes"></span><b class="itemname">insertBefore</b>
2470 (Node <B><i>node</i></B>, Node <B><i>refNode</i></B>)
2485 <div class="short">Inserts the first node before the second node in this nodes childNodes collection.</div>
2491 Inserts the first node before the second node in this nodes childNodes collection.
2498 <dl class="detailList">
2499 <dt class="heading">Parameters:</dt>
2502 <span class="fixedFont">Node</span> <b>node</b>
2505 <dd>The node to insert</dd>
2508 <span class="fixedFont">Node</span> <b>refNode</b>
2511 <dd>The node to insert before (if null the node is appended)</dd>
2519 <dl class="detailList">
2520 <dt class="heading">Returns:</dt>
2522 <dd><span class="fixedFont">Node</span> The inserted node</dd>
2536 <td class="msource">
2538 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2544 <tr class="method-row config-row-alt1 expandable">
2545 <td class="micon"><a class="exi" href="#expand"> </a></td>
2549 <a id="Roo.data.Node-method-isAncestor" name=".isAncestor"></a>
2550 <div class="fixedFont">
2551 <span class="attributes"></span><b class="itemname">isAncestor</b>
2553 (Node <B><i>node</i></B>)
2559 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2568 <div class="short">Returns true if the passed node is an ancestor (at any point) of this node.</div>
2574 Returns true if the passed node is an ancestor (at any point) of this node.
2581 <dl class="detailList">
2582 <dt class="heading">Parameters:</dt>
2585 <span class="fixedFont">Node</span> <b>node</b>
2596 <dl class="detailList">
2597 <dt class="heading">Returns:</dt>
2599 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
2613 <td class="msource">
2615 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2621 <tr class="method-row config-row-alt0 expandable notInherited">
2622 <td class="micon"><a class="exi" href="#expand"> </a></td>
2626 <a id="Roo.tree.TreeNode-method-isExpanded" name=".isExpanded"></a>
2627 <div class="fixedFont">
2628 <span class="attributes"></span><b class="itemname">isExpanded</b>
2636 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2645 <div class="short">Returns true if this node is expanded</div>
2651 Returns true if this node is expanded
2662 <dl class="detailList">
2663 <dt class="heading">Returns:</dt>
2665 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
2679 <td class="msource">
2687 <tr class="method-row config-row-alt1 expandable">
2688 <td class="micon"><a class="exi" href="#expand"> </a></td>
2692 <a id="Roo.data.Node-method-isFirst" name=".isFirst"></a>
2693 <div class="fixedFont">
2694 <span class="attributes"></span><b class="itemname">isFirst</b>
2702 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2711 <div class="short">Returns true if this node is the first child of its parent</div>
2717 Returns true if this node is the first child of its parent
2728 <dl class="detailList">
2729 <dt class="heading">Returns:</dt>
2731 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
2745 <td class="msource">
2747 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2753 <tr class="method-row config-row-alt0 expandable">
2754 <td class="micon"><a class="exi" href="#expand"> </a></td>
2758 <a id="Roo.data.Node-method-isLast" name=".isLast"></a>
2759 <div class="fixedFont">
2760 <span class="attributes"></span><b class="itemname">isLast</b>
2768 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2777 <div class="short">Returns true if this node is the last child of its parent</div>
2783 Returns true if this node is the last child of its parent
2794 <dl class="detailList">
2795 <dt class="heading">Returns:</dt>
2797 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
2811 <td class="msource">
2813 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2819 <tr class="method-row config-row-alt1 expandable">
2820 <td class="micon"><a class="exi" href="#expand"> </a></td>
2824 <a id="Roo.data.Node-method-isLeaf" name=".isLeaf"></a>
2825 <div class="fixedFont">
2826 <span class="attributes"></span><b class="itemname">isLeaf</b>
2834 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2843 <div class="short">Returns true if this node is a leaf</div>
2849 Returns true if this node is a leaf
2860 <dl class="detailList">
2861 <dt class="heading">Returns:</dt>
2863 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
2877 <td class="msource">
2879 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2885 <tr class="method-row config-row-alt0 expandable notInherited">
2886 <td class="micon"><a class="exi" href="#expand"> </a></td>
2890 <a id="Roo.tree.TreeNode-method-isSelected" name=".isSelected"></a>
2891 <div class="fixedFont">
2892 <span class="attributes"></span><b class="itemname">isSelected</b>
2900 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2909 <div class="short">Returns true if this node is selected</div>
2915 Returns true if this node is selected
2926 <dl class="detailList">
2927 <dt class="heading">Returns:</dt>
2929 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
2943 <td class="msource">
2951 <tr class="method-row config-row-alt1 expandable">
2952 <td class="micon"><a class="exi" href="#expand"> </a></td>
2956 <a id="Roo.data.Node-method-item" name=".item"></a>
2957 <div class="fixedFont">
2958 <span class="attributes"></span><b class="itemname">item</b>
2960 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>)
2975 <div class="short">Returns the child node at the specified index.</div>
2981 Returns the child node at the specified index.
2988 <dl class="detailList">
2989 <dt class="heading">Parameters:</dt>
2992 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
3003 <dl class="detailList">
3004 <dt class="heading">Returns:</dt>
3006 <dd><span class="fixedFont">Node</span> </dd>
3020 <td class="msource">
3022 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
3028 <tr class="method-row config-row-alt0 expandable">
3029 <td class="micon"><a class="exi" href="#expand"> </a></td>
3033 <a id="Roo.util.Observable-method-on" name=".on"></a>
3034 <div class="fixedFont">
3035 <span class="attributes"></span><b class="itemname">on</b>
3037 (<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>)
3044 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
3050 Appends an event handler to this element (shorthand for addListener)
3057 <dl class="detailList">
3058 <dt class="heading">Parameters:</dt>
3061 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3064 <dd>The type of event to listen for</dd>
3067 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3070 <dd>The method the event invokes</dd>
3073 <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>
3076 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
3079 <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>
3100 <td class="msource">
3102 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3108 <tr class="method-row config-row-alt1 expandable">
3109 <td class="micon"><a class="exi" href="#expand"> </a></td>
3113 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
3114 <div class="fixedFont">
3115 <span class="attributes"></span><b class="itemname">purgeListeners</b>
3124 <div class="short">Removes all listeners for this object</div>
3130 Removes all listeners for this object
3151 <td class="msource">
3153 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3159 <tr class="method-row config-row-alt0 expandable">
3160 <td class="micon"><a class="exi" href="#expand"> </a></td>
3164 <a id="Roo.data.Node-method-removeChild" name=".removeChild"></a>
3165 <div class="fixedFont">
3166 <span class="attributes"></span><b class="itemname">removeChild</b>
3168 (Node <B><i>node</i></B>)
3183 <div class="short">Removes a child node from this node.</div>
3189 Removes a child node from this node.
3196 <dl class="detailList">
3197 <dt class="heading">Parameters:</dt>
3200 <span class="fixedFont">Node</span> <b>node</b>
3203 <dd>The node to remove</dd>
3211 <dl class="detailList">
3212 <dt class="heading">Returns:</dt>
3214 <dd><span class="fixedFont">Node</span> The removed node</dd>
3228 <td class="msource">
3230 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
3236 <tr class="method-row config-row-alt1 expandable">
3237 <td class="micon"><a class="exi" href="#expand"> </a></td>
3241 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
3242 <div class="fixedFont">
3243 <span class="attributes"></span><b class="itemname">removeListener</b>
3245 (<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>)
3252 <div class="short">Removes a listener</div>
3265 <dl class="detailList">
3266 <dt class="heading">Parameters:</dt>
3269 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3272 <dd>The type of event to listen for</dd>
3275 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3278 <dd>The handler to remove</dd>
3281 <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>
3284 <dd>(optional) The scope (this object) for the handler</dd>
3302 <td class="msource">
3304 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3310 <tr class="method-row config-row-alt0 expandable">
3311 <td class="micon"><a class="exi" href="#expand"> </a></td>
3315 <a id="Roo.data.Node-method-replaceChild" name=".replaceChild"></a>
3316 <div class="fixedFont">
3317 <span class="attributes"></span><b class="itemname">replaceChild</b>
3319 (Node <B><i>newChild</i></B>, Node <B><i>oldChild</i></B>)
3334 <div class="short">Replaces one child node in this node with another.</div>
3340 Replaces one child node in this node with another.
3347 <dl class="detailList">
3348 <dt class="heading">Parameters:</dt>
3351 <span class="fixedFont">Node</span> <b>newChild</b>
3354 <dd>The replacement node</dd>
3357 <span class="fixedFont">Node</span> <b>oldChild</b>
3360 <dd>The node to replace</dd>
3368 <dl class="detailList">
3369 <dt class="heading">Returns:</dt>
3371 <dd><span class="fixedFont">Node</span> The replaced node</dd>
3385 <td class="msource">
3387 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
3393 <tr class="method-row config-row-alt1 expandable notInherited">
3394 <td class="micon"><a class="exi" href="#expand"> </a></td>
3398 <a id="Roo.tree.TreeNode-method-select" name=".select"></a>
3399 <div class="fixedFont">
3400 <span class="attributes"></span><b class="itemname">select</b>
3409 <div class="short">Triggers selection of this node</div>
3415 Triggers selection of this node
3436 <td class="msource">
3444 <tr class="method-row config-row-alt0 expandable notInherited">
3445 <td class="micon"><a class="exi" href="#expand"> </a></td>
3449 <a id="Roo.tree.TreeNode-method-setText" name=".setText"></a>
3450 <div class="fixedFont">
3451 <span class="attributes"></span><b class="itemname">setText</b>
3453 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>text</i></B>)
3460 <div class="short">Sets the text for this node</div>
3466 Sets the text for this node
3473 <dl class="detailList">
3474 <dt class="heading">Parameters:</dt>
3477 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>text</b>
3498 <td class="msource">
3506 <tr class="method-row config-row-alt1 expandable">
3507 <td class="micon"><a class="exi" href="#expand"> </a></td>
3511 <a id="Roo.data.Node-method-sort" name=".sort"></a>
3512 <div class="fixedFont">
3513 <span class="attributes"></span><b class="itemname">sort</b>
3515 (<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>)
3522 <div class="short">Sorts this nodes children using the supplied sort function</div>
3528 Sorts this nodes children using the supplied sort function
3535 <dl class="detailList">
3536 <dt class="heading">Parameters:</dt>
3539 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
3545 <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>
3566 <td class="msource">
3568 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
3574 <tr class="method-row config-row-alt0 expandable notInherited">
3575 <td class="micon"><a class="exi" href="#expand"> </a></td>
3579 <a id="Roo.tree.TreeNode-method-toggle" name=".toggle"></a>
3580 <div class="fixedFont">
3581 <span class="attributes"></span><b class="itemname">toggle</b>
3590 <div class="short">Toggles expanded/collapsed state of the node</div>
3596 Toggles expanded/collapsed state of the node
3617 <td class="msource">
3625 <tr class="method-row config-row-alt1 expandable">
3626 <td class="micon"><a class="exi" href="#expand"> </a></td>
3630 <a id="Roo.util.Observable-method-un" name=".un"></a>
3631 <div class="fixedFont">
3632 <span class="attributes"></span><b class="itemname">un</b>
3634 (<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>)
3641 <div class="short">Removes a listener (shorthand for removeListener)</div>
3647 Removes a listener (shorthand for removeListener)
3654 <dl class="detailList">
3655 <dt class="heading">Parameters:</dt>
3658 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3661 <dd>The type of event to listen for</dd>
3664 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3667 <dd>The handler to remove</dd>
3670 <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>
3673 <dd>(optional) The scope (this object) for the handler</dd>
3691 <td class="msource">
3693 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3699 <tr class="method-row config-row-alt0 expandable notInherited">
3700 <td class="micon"><a class="exi" href="#expand"> </a></td>
3704 <a id="Roo.tree.TreeNode-method-unselect" name=".unselect"></a>
3705 <div class="fixedFont">
3706 <span class="attributes"></span><b class="itemname">unselect</b>
3715 <div class="short">Triggers deselection of this node</div>
3721 Triggers deselection of this node
3742 <td class="msource">
3753 <!-- ============================== events summary / details ======================== -->
3756 <a id="Roo.tree.TreeNode-events"></a>
3765 <table cellspacing="0" class="member-table">
3766 <caption>Events</caption>
3769 <th class="sig-header" colspan="2">Event</th>
3770 <th class="msource-header">Defined By</th>
3779 <tr class="method-row expandable config-row-alt0">
3780 <td class="micon"><a class="exi" href="#expand"> </a></td>
3783 <a id="Roo.data.Node-event-*append"></a>
3785 <div class="fixedFont">
3786 <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>)
3792 <div class="short">Fires when a new child node is appended
3798 Fires when a new child node is appended
3804 <dl class="detailList">
3805 <dt class="heading">Parameters:</dt>
3808 <span class="fixedFont">Tree</span> <b>tree</b>
3811 <dd>The owner tree</dd>
3814 <span class="fixedFont">Node</span> <b>this</b>
3820 <span class="fixedFont">Node</span> <b>node</b>
3823 <dd>The newly appended node</dd>
3826 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
3829 <dd>The index of the newly appended node</dd>
3847 <td class="msource">
3848 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
3852 <tr class="method-row expandable config-row-alt1">
3853 <td class="micon"><a class="exi" href="#expand"> </a></td>
3856 <a id="Roo.data.Node-event-*beforeappend"></a>
3858 <div class="fixedFont">
3859 <b class="itemname">beforeappend</b> (Tree <B><i>tree</i></B>, Node <B><i>this</i></B>, Node <B><i>node</i></B>)
3865 <div class="short">Fires before a new child is appended, return false to cancel the append.
3871 Fires before a new child is appended, return false to cancel the append.
3877 <dl class="detailList">
3878 <dt class="heading">Parameters:</dt>
3881 <span class="fixedFont">Tree</span> <b>tree</b>
3884 <dd>The owner tree</dd>
3887 <span class="fixedFont">Node</span> <b>this</b>
3893 <span class="fixedFont">Node</span> <b>node</b>
3896 <dd>The child node to be appended</dd>
3914 <td class="msource">
3915 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
3919 <tr class="method-row expandable config-row-alt0 notInherited">
3920 <td class="micon"><a class="exi" href="#expand"> </a></td>
3923 <a id="Roo.tree.TreeNode-event-*beforechildrenrendered"></a>
3925 <div class="fixedFont">
3926 <b class="itemname">beforechildrenrendered</b> (Node <B><i>this</i></B>)
3932 <div class="short">Fires right before the child nodes for this node are rendered
3938 Fires right before the child nodes for this node are rendered
3944 <dl class="detailList">
3945 <dt class="heading">Parameters:</dt>
3948 <span class="fixedFont">Node</span> <b>this</b>
3969 <td class="msource">
3974 <tr class="method-row expandable config-row-alt1 notInherited">
3975 <td class="micon"><a class="exi" href="#expand"> </a></td>
3978 <a id="Roo.tree.TreeNode-event-*beforeclick"></a>
3980 <div class="fixedFont">
3981 <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>)
3987 <div class="short">Fires before click processing.
3993 Fires before click processing. Return false to cancel the default action.
3999 <dl class="detailList">
4000 <dt class="heading">Parameters:</dt>
4003 <span class="fixedFont">Node</span> <b>this</b>
4009 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4012 <dd>The event object</dd>
4030 <td class="msource">
4035 <tr class="method-row expandable config-row-alt0 notInherited">
4036 <td class="micon"><a class="exi" href="#expand"> </a></td>
4039 <a id="Roo.tree.TreeNode-event-*beforecollapse"></a>
4041 <div class="fixedFont">
4042 <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>)
4048 <div class="short">Fires before this node is collapsed, return false to cancel.
4054 Fires before this node is collapsed, return false to cancel.
4060 <dl class="detailList">
4061 <dt class="heading">Parameters:</dt>
4064 <span class="fixedFont">Node</span> <b>this</b>
4070 <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>
4076 <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>
4097 <td class="msource">
4102 <tr class="method-row expandable config-row-alt1 notInherited">
4103 <td class="micon"><a class="exi" href="#expand"> </a></td>
4106 <a id="Roo.tree.TreeNode-event-*beforeexpand"></a>
4108 <div class="fixedFont">
4109 <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>)
4115 <div class="short">Fires before this node is expanded, return false to cancel.
4121 Fires before this node is expanded, return false to cancel.
4127 <dl class="detailList">
4128 <dt class="heading">Parameters:</dt>
4131 <span class="fixedFont">Node</span> <b>this</b>
4137 <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>
4143 <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>
4164 <td class="msource">
4169 <tr class="method-row expandable config-row-alt0">
4170 <td class="micon"><a class="exi" href="#expand"> </a></td>
4173 <a id="Roo.data.Node-event-*beforeinsert"></a>
4175 <div class="fixedFont">
4176 <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>)
4182 <div class="short">Fires before a new child is inserted, return false to cancel the insert.
4188 Fires before a new child is inserted, return false to cancel the insert.
4194 <dl class="detailList">
4195 <dt class="heading">Parameters:</dt>
4198 <span class="fixedFont">Tree</span> <b>tree</b>
4201 <dd>The owner tree</dd>
4204 <span class="fixedFont">Node</span> <b>this</b>
4210 <span class="fixedFont">Node</span> <b>node</b>
4213 <dd>The child node to be inserted</dd>
4216 <span class="fixedFont">Node</span> <b>refNode</b>
4219 <dd>The child node the node is being inserted before</dd>
4237 <td class="msource">
4238 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
4242 <tr class="method-row expandable config-row-alt1">
4243 <td class="micon"><a class="exi" href="#expand"> </a></td>
4246 <a id="Roo.data.Node-event-*beforemove"></a>
4248 <div class="fixedFont">
4249 <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>)
4255 <div class="short">Fires before this node is moved to a new location in the tree.
4261 Fires before this node is moved to a new location in the tree. Return false to cancel the move.
4267 <dl class="detailList">
4268 <dt class="heading">Parameters:</dt>
4271 <span class="fixedFont">Tree</span> <b>tree</b>
4274 <dd>The owner tree</dd>
4277 <span class="fixedFont">Node</span> <b>this</b>
4283 <span class="fixedFont">Node</span> <b>oldParent</b>
4286 <dd>The parent of this node</dd>
4289 <span class="fixedFont">Node</span> <b>newParent</b>
4292 <dd>The new parent this node is moving to</dd>
4295 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
4298 <dd>The index it is being moved to</dd>
4316 <td class="msource">
4317 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
4321 <tr class="method-row expandable config-row-alt0">
4322 <td class="micon"><a class="exi" href="#expand"> </a></td>
4325 <a id="Roo.data.Node-event-*beforeremove"></a>
4327 <div class="fixedFont">
4328 <b class="itemname">beforeremove</b> (Tree <B><i>tree</i></B>, Node <B><i>this</i></B>, Node <B><i>node</i></B>)
4334 <div class="short">Fires before a child is removed, return false to cancel the remove.
4340 Fires before a child is removed, return false to cancel the remove.
4346 <dl class="detailList">
4347 <dt class="heading">Parameters:</dt>
4350 <span class="fixedFont">Tree</span> <b>tree</b>
4353 <dd>The owner tree</dd>
4356 <span class="fixedFont">Node</span> <b>this</b>
4362 <span class="fixedFont">Node</span> <b>node</b>
4365 <dd>The child node to be removed</dd>
4383 <td class="msource">
4384 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
4388 <tr class="method-row expandable config-row-alt1 notInherited">
4389 <td class="micon"><a class="exi" href="#expand"> </a></td>
4392 <a id="Roo.tree.TreeNode-event-*checkchange"></a>
4394 <div class="fixedFont">
4395 <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>)
4401 <div class="short">Fires when a node with a checkbox's checked property changes
4407 Fires when a node with a checkbox's checked property changes
4413 <dl class="detailList">
4414 <dt class="heading">Parameters:</dt>
4417 <span class="fixedFont">Node</span> <b>this</b>
4423 <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>
4444 <td class="msource">
4449 <tr class="method-row expandable config-row-alt0 notInherited">
4450 <td class="micon"><a class="exi" href="#expand"> </a></td>
4453 <a id="Roo.tree.TreeNode-event-*click"></a>
4455 <div class="fixedFont">
4456 <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>)
4462 <div class="short">Fires when this node is clicked
4468 Fires when this node is clicked
4474 <dl class="detailList">
4475 <dt class="heading">Parameters:</dt>
4478 <span class="fixedFont">Node</span> <b>this</b>
4484 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4487 <dd>The event object</dd>
4505 <td class="msource">
4510 <tr class="method-row expandable config-row-alt1 notInherited">
4511 <td class="micon"><a class="exi" href="#expand"> </a></td>
4514 <a id="Roo.tree.TreeNode-event-*collapse"></a>
4516 <div class="fixedFont">
4517 <b class="itemname">collapse</b> (Node <B><i>this</i></B>)
4523 <div class="short">Fires when this node is collapsed
4529 Fires when this node is collapsed
4535 <dl class="detailList">
4536 <dt class="heading">Parameters:</dt>
4539 <span class="fixedFont">Node</span> <b>this</b>
4560 <td class="msource">
4565 <tr class="method-row expandable config-row-alt0 notInherited">
4566 <td class="micon"><a class="exi" href="#expand"> </a></td>
4569 <a id="Roo.tree.TreeNode-event-*contextmenu"></a>
4571 <div class="fixedFont">
4572 <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>)
4578 <div class="short">Fires when this node is right clicked
4584 Fires when this node is right clicked
4590 <dl class="detailList">
4591 <dt class="heading">Parameters:</dt>
4594 <span class="fixedFont">Node</span> <b>this</b>
4600 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4603 <dd>The event object</dd>
4621 <td class="msource">
4626 <tr class="method-row expandable config-row-alt1 notInherited">
4627 <td class="micon"><a class="exi" href="#expand"> </a></td>
4630 <a id="Roo.tree.TreeNode-event-*dblclick"></a>
4632 <div class="fixedFont">
4633 <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>)
4639 <div class="short">Fires when this node is double clicked
4645 Fires when this node is double clicked
4651 <dl class="detailList">
4652 <dt class="heading">Parameters:</dt>
4655 <span class="fixedFont">Node</span> <b>this</b>
4661 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4664 <dd>The event object</dd>
4682 <td class="msource">
4687 <tr class="method-row expandable config-row-alt0 notInherited">
4688 <td class="micon"><a class="exi" href="#expand"> </a></td>
4691 <a id="Roo.tree.TreeNode-event-*disabledchange"></a>
4693 <div class="fixedFont">
4694 <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>)
4700 <div class="short">Fires when the disabled status of this node changes
4706 Fires when the disabled status of this node changes
4712 <dl class="detailList">
4713 <dt class="heading">Parameters:</dt>
4716 <span class="fixedFont">Node</span> <b>this</b>
4722 <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>
4743 <td class="msource">
4748 <tr class="method-row expandable config-row-alt1 notInherited">
4749 <td class="micon"><a class="exi" href="#expand"> </a></td>
4752 <a id="Roo.tree.TreeNode-event-*expand"></a>
4754 <div class="fixedFont">
4755 <b class="itemname">expand</b> (Node <B><i>this</i></B>)
4761 <div class="short">Fires when this node is expanded
4767 Fires when this node is expanded
4773 <dl class="detailList">
4774 <dt class="heading">Parameters:</dt>
4777 <span class="fixedFont">Node</span> <b>this</b>
4798 <td class="msource">
4803 <tr class="method-row expandable config-row-alt0">
4804 <td class="micon"><a class="exi" href="#expand"> </a></td>
4807 <a id="Roo.data.Node-event-*insert"></a>
4809 <div class="fixedFont">
4810 <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>)
4816 <div class="short">Fires when a new child node is inserted.
4822 Fires when a new child node is inserted.
4828 <dl class="detailList">
4829 <dt class="heading">Parameters:</dt>
4832 <span class="fixedFont">Tree</span> <b>tree</b>
4835 <dd>The owner tree</dd>
4838 <span class="fixedFont">Node</span> <b>this</b>
4844 <span class="fixedFont">Node</span> <b>node</b>
4847 <dd>The child node inserted</dd>
4850 <span class="fixedFont">Node</span> <b>refNode</b>
4853 <dd>The child node the node was inserted before</dd>
4871 <td class="msource">
4872 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
4876 <tr class="method-row expandable config-row-alt1">
4877 <td class="micon"><a class="exi" href="#expand"> </a></td>
4880 <a id="Roo.data.Node-event-*move"></a>
4882 <div class="fixedFont">
4883 <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>)
4889 <div class="short">Fires when this node is moved to a new location in the tree
4895 Fires when this node is moved to a new location in the tree
4901 <dl class="detailList">
4902 <dt class="heading">Parameters:</dt>
4905 <span class="fixedFont">Tree</span> <b>tree</b>
4908 <dd>The owner tree</dd>
4911 <span class="fixedFont">Node</span> <b>this</b>
4917 <span class="fixedFont">Node</span> <b>oldParent</b>
4920 <dd>The old parent of this node</dd>
4923 <span class="fixedFont">Node</span> <b>newParent</b>
4926 <dd>The new parent of this node</dd>
4929 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
4932 <dd>The index it was moved to</dd>
4950 <td class="msource">
4951 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
4955 <tr class="method-row expandable config-row-alt0">
4956 <td class="micon"><a class="exi" href="#expand"> </a></td>
4959 <a id="Roo.data.Node-event-*remove"></a>
4961 <div class="fixedFont">
4962 <b class="itemname">remove</b> (Tree <B><i>tree</i></B>, Node <B><i>this</i></B>, Node <B><i>node</i></B>)
4968 <div class="short">Fires when a child node is removed
4974 Fires when a child node is removed
4980 <dl class="detailList">
4981 <dt class="heading">Parameters:</dt>
4984 <span class="fixedFont">Tree</span> <b>tree</b>
4987 <dd>The owner tree</dd>
4990 <span class="fixedFont">Node</span> <b>this</b>
4996 <span class="fixedFont">Node</span> <b>node</b>
4999 <dd>The removed node</dd>
5017 <td class="msource">
5018 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
5022 <tr class="method-row expandable config-row-alt1 notInherited">
5023 <td class="micon"><a class="exi" href="#expand"> </a></td>
5026 <a id="Roo.tree.TreeNode-event-*textchange"></a>
5028 <div class="fixedFont">
5029 <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>)
5035 <div class="short">Fires when the text for this node is changed
5041 Fires when the text for this node is changed
5047 <dl class="detailList">
5048 <dt class="heading">Parameters:</dt>
5051 <span class="fixedFont">Node</span> <b>this</b>
5057 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>text</b>
5060 <dd>The new text</dd>
5063 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>oldText</b>
5066 <dd>The old text</dd>
5084 <td class="msource">
5096 <!-- ============================== footer ================================= -->
5097 <div class="fineprint" style="clear:both">
5099 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Mon Feb 22 2016 16:54:35 GMT+0800 (HKT)
5101 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>