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.TreePanel</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.TreePanel-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.tree.TreePanel-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.tree.TreePanel-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.tree.TreePanel-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.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
48 <img src="../../images/default/s.gif" height="1" width="40"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.tree.TreePanel
53 <!-- ============================== class title / details ============================ -->
56 <h1 class="classTitle">
58 Class Roo.tree.TreePanel
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_TreePanel.js.html">Roo/tree/TreePanel.js</a>.
70 <tr><td class="label">Class:</td><td class="hd-info">TreePanel</td></tr>
75 <tr><td class="label">Extends:</td><td class="hd-info">
76 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
84 <!-- ============================== class summary ========================== -->
85 <div class="description">
90 <!-- ============================== Class comment block... ========================== -->
92 <div class="comments">
93 <b>Class Comments / Notes</B> =>
94 <u onclick="parent.CommentDialog.showCommentId = 'Roo.tree.TreePanel';">[Add Your comment/notes about this class]</u>
96 <iframe frameborder="0" id="comments-Roo.tree" style="border: none;width:100%;"
97 src="/blog.php/GtkDjsComments/Roo.tree.TreePanel.html"></iframe>
102 <!-- ============================== config options ========================== -->
107 <div class="hr"></div>
108 <a id="Roo.tree.TreePanel-configs"></a>
114 <table cellspacing="0" class="member-table">
115 <caption>Config Options (Usually are also Properties)</caption>
119 <th class="sig-header" colspan="2">Options</th>
121 <th class="msource-header">Defined By</th>
128 <tr class="config-row expandable config-row-alt0 notInherited">
129 <td class="micon"><a class="exi" href="#expand"> </a></td>
132 <a id="Roo.tree.TreePanel-cfg-animate" name=".animate"></a>
133 <div class="fixedFont">
134 <b class="itemname">animate</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
140 <div class="short">true to enable animated expand/collapse (defaults to the value of Roo.enableFx)</div>
144 <div class="long">true to enable animated expand/collapse (defaults to the value of Roo.enableFx)</div>
158 <tr class="config-row expandable config-row-alt1 notInherited">
159 <td class="micon"><a class="exi" href="#expand"> </a></td>
162 <a id="Roo.tree.TreePanel-cfg-containerScroll" name=".containerScroll"></a>
163 <div class="fixedFont">
164 <b class="itemname">containerScroll</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
170 <div class="short">true to register this container with ScrollManager</div>
174 <div class="long">true to register this container with ScrollManager</div>
188 <tr class="config-row expandable config-row-alt0 notInherited">
189 <td class="micon"><a class="exi" href="#expand"> </a></td>
192 <a id="Roo.tree.TreePanel-cfg-ddAppendOnly" name=".ddAppendOnly"></a>
193 <div class="fixedFont">
194 <b class="itemname">ddAppendOnly</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
200 <div class="short">True if the tree should only allow append drops (use for trees which are sorted)</div>
204 <div class="long">True if the tree should only allow append drops (use for trees which are sorted)</div>
218 <tr class="config-row expandable config-row-alt1 notInherited">
219 <td class="micon"><a class="exi" href="#expand"> </a></td>
222 <a id="Roo.tree.TreePanel-cfg-ddGroup" name=".ddGroup"></a>
223 <div class="fixedFont">
224 <b class="itemname">ddGroup</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
230 <div class="short">The DD group this TreePanel belongs to</div>
234 <div class="long">The DD group this TreePanel belongs to</div>
248 <tr class="config-row expandable config-row-alt0 notInherited">
249 <td class="micon"><a class="exi" href="#expand"> </a></td>
252 <a id="Roo.tree.TreePanel-cfg-ddScroll" name=".ddScroll"></a>
253 <div class="fixedFont">
254 <b class="itemname">ddScroll</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
260 <div class="short">true to enable YUI body scrolling</div>
264 <div class="long">true to enable YUI body scrolling</div>
278 <tr class="config-row expandable config-row-alt1 notInherited">
279 <td class="micon"><a class="exi" href="#expand"> </a></td>
282 <a id="Roo.tree.TreePanel-cfg-dragConfig" name=".dragConfig"></a>
283 <div class="fixedFont">
284 <b class="itemname">dragConfig</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
290 <div class="short">Custom config to pass to the {<b>link</b> Roo.tree.TreeDragZone} instance</div>
294 <div class="long">Custom config to pass to the {<b>link</b> Roo.tree.TreeDragZone} instance</div>
308 <tr class="config-row expandable config-row-alt0 notInherited">
309 <td class="micon"><a class="exi" href="#expand"> </a></td>
312 <a id="Roo.tree.TreePanel-cfg-dropConfig" name=".dropConfig"></a>
313 <div class="fixedFont">
314 <b class="itemname">dropConfig</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
320 <div class="short">Custom config to pass to the {<b>link</b> Roo.tree.TreeDropZone} instance</div>
324 <div class="long">Custom config to pass to the {<b>link</b> Roo.tree.TreeDropZone} instance</div>
338 <tr class="config-row expandable config-row-alt1 notInherited">
339 <td class="micon"><a class="exi" href="#expand"> </a></td>
342 <a id="Roo.tree.TreePanel-cfg-enableDD" name=".enableDD"></a>
343 <div class="fixedFont">
344 <b class="itemname">enableDD</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
350 <div class="short">true to enable drag and drop</div>
354 <div class="long">true to enable drag and drop</div>
368 <tr class="config-row expandable config-row-alt0 notInherited">
369 <td class="micon"><a class="exi" href="#expand"> </a></td>
372 <a id="Roo.tree.TreePanel-cfg-enableDrag" name=".enableDrag"></a>
373 <div class="fixedFont">
374 <b class="itemname">enableDrag</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
380 <div class="short">true to enable just drag</div>
384 <div class="long">true to enable just drag</div>
398 <tr class="config-row expandable config-row-alt1 notInherited">
399 <td class="micon"><a class="exi" href="#expand"> </a></td>
402 <a id="Roo.tree.TreePanel-cfg-enableDrop" name=".enableDrop"></a>
403 <div class="fixedFont">
404 <b class="itemname">enableDrop</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
410 <div class="short">true to enable just drop</div>
414 <div class="long">true to enable just drop</div>
428 <tr class="config-row expandable config-row-alt0 notInherited">
429 <td class="micon"><a class="exi" href="#expand"> </a></td>
432 <a id="Roo.tree.TreePanel-cfg-hlColor" name=".hlColor"></a>
433 <div class="fixedFont">
434 <b class="itemname">hlColor</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
440 <div class="short">The color of the node highlight (defaults to C3DAF9)</div>
444 <div class="long">The color of the node highlight (defaults to C3DAF9)</div>
458 <tr class="config-row expandable config-row-alt1 notInherited">
459 <td class="micon"><a class="exi" href="#expand"> </a></td>
462 <a id="Roo.tree.TreePanel-cfg-hlDrop" name=".hlDrop"></a>
463 <div class="fixedFont">
464 <b class="itemname">hlDrop</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
470 <div class="short">false to disable node highlight on drop (defaults to the value of Roo.enableFx)</div>
474 <div class="long">false to disable node highlight on drop (defaults to the value of Roo.enableFx)</div>
488 <tr class="config-row expandable config-row-alt0 notInherited">
489 <td class="micon"><a class="exi" href="#expand"> </a></td>
492 <a id="Roo.tree.TreePanel-cfg-lines" name=".lines"></a>
493 <div class="fixedFont">
494 <b class="itemname">lines</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
500 <div class="short">false to disable tree lines (defaults to true)</div>
504 <div class="long">false to disable tree lines (defaults to true)</div>
518 <tr class="config-row expandable config-row-alt1">
519 <td class="micon"><a class="exi" href="#expand"> </a></td>
522 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
523 <div class="fixedFont">
524 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
530 <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>
534 <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>
542 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
548 <tr class="config-row expandable config-row-alt0 notInherited">
549 <td class="micon"><a class="exi" href="#expand"> </a></td>
552 <a id="Roo.tree.TreePanel-cfg-loader" name=".loader"></a>
553 <div class="fixedFont">
554 <b class="itemname">loader</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
560 <div class="short">A TreeLoader for use with this TreePanel</div>
564 <div class="long">A TreeLoader for use with this TreePanel</div>
578 <tr class="config-row expandable config-row-alt1 notInherited">
579 <td class="micon"><a class="exi" href="#expand"> </a></td>
582 <a id="Roo.tree.TreePanel-cfg-pathSeparator" name=".pathSeparator"></a>
583 <div class="fixedFont">
584 <b class="itemname">pathSeparator</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
590 <div class="short">The token used to separate sub-paths in path strings (defaults to '/')</div>
594 <div class="long">The token used to separate sub-paths in path strings (defaults to '/')</div>
608 <tr class="config-row expandable config-row-alt0 notInherited">
609 <td class="micon"><a class="exi" href="#expand"> </a></td>
612 <a id="Roo.tree.TreePanel-cfg-renderer" name=".renderer"></a>
613 <div class="fixedFont">
614 <b class="itemname">renderer</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
620 <div class="short">Sets the rendering (formatting) function for the nodes.</div>
624 <div class="long">Sets the rendering (formatting) function for the nodes. to return HTML markup for the tree view. The render function is called with the following parameters:<ul><li>The {Object} The data for the node.</li></ul></div>
638 <tr class="config-row expandable config-row-alt1 notInherited">
639 <td class="micon"><a class="exi" href="#expand"> </a></td>
642 <a id="Roo.tree.TreePanel-cfg-rendererTip" name=".rendererTip"></a>
643 <div class="fixedFont">
644 <b class="itemname">rendererTip</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
650 <div class="short">Sets the rendering (formatting) function for the nodes hovertip to return HTML markup for the tree view.</div>
654 <div class="long">Sets the rendering (formatting) function for the nodes hovertip to return HTML markup for the tree view. The render function is called with the following parameters:<ul><li>The {Object} The data for the node.</li></ul></div>
668 <tr class="config-row expandable config-row-alt0 notInherited">
669 <td class="micon"><a class="exi" href="#expand"> </a></td>
672 <a id="Roo.tree.TreePanel-cfg-rootVisible" name=".rootVisible"></a>
673 <div class="fixedFont">
674 <b class="itemname">rootVisible</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
680 <div class="short">false to hide the root node (defaults to true)</div>
684 <div class="long">false to hide the root node (defaults to true)</div>
698 <tr class="config-row expandable config-row-alt1 notInherited">
699 <td class="micon"><a class="exi" href="#expand"> </a></td>
702 <a id="Roo.tree.TreePanel-cfg-selModel" name=".selModel"></a>
703 <div class="fixedFont">
704 <b class="itemname">selModel</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
710 <div class="short">A tree selection model to use with this TreePanel (defaults to a {<b>link</b> Roo.tree.DefaultSelectionModel})</div>
714 <div class="long">A tree selection model to use with this TreePanel (defaults to a {<b>link</b> Roo.tree.DefaultSelectionModel})</div>
728 <tr class="config-row expandable config-row-alt0 notInherited">
729 <td class="micon"><a class="exi" href="#expand"> </a></td>
732 <a id="Roo.tree.TreePanel-cfg-singleExpand" name=".singleExpand"></a>
733 <div class="fixedFont">
734 <b class="itemname">singleExpand</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
740 <div class="short">true if only 1 node per branch may be expanded</div>
744 <div class="long">true if only 1 node per branch may be expanded</div>
768 <!-- ============================== public properties ==================== -->
772 <a id="Roo.tree.TreePanel-props"></a>
778 <table cellspacing="0" class="member-table">
779 <caption class="Empty">Public Properties - Has None</caption>
785 <!-- ============================== methods summary / details ======================== -->
788 <a id="Roo.tree.TreePanel-methods"></a>
789 <!-- constructor?? -->
796 <!-- then dynamics first -->
803 <table cellspacing="0" class="member-table">
804 <caption>Public Methods</caption>
806 <th class="sig-header" colspan="2">Method</th>
807 <th class="msource-header">Defined By</th>
817 <tr class="method-row config-row-alt0 expandable notInherited">
818 <td class="micon"><a class="exi" href="#expand"> </a></td>
822 <a id="Roo.tree-method-TreePanel" name=".TreePanel"></a>
823 <div class="fixedFont">
824 <span class="attributes">new <B>Roo.tree.</B></span><b class="itemname">TreePanel</b>
826 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
834 <div class="short">Create a new Roo.tree.TreePanel</div>
841 Create a new Roo.tree.TreePanel
844 <dl class="detailList">
845 <dt class="heading">Parameters:</dt>
848 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
851 <dd>The container element</dd>
854 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>config</b>
881 <tr class="method-row config-row-alt1 expandable">
882 <td class="micon"><a class="exi" href="#expand"> </a></td>
886 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
887 <div class="fixedFont">
888 <span class="attributes"></span><b class="itemname">addEvents</b>
890 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
897 <div class="short">Used to define events on this Observable</div>
903 Used to define events on this Observable
910 <dl class="detailList">
911 <dt class="heading">Parameters:</dt>
914 <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>
917 <dd>The object with the events defined</dd>
937 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
943 <tr class="method-row config-row-alt0 expandable">
944 <td class="micon"><a class="exi" href="#expand"> </a></td>
948 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
949 <div class="fixedFont">
950 <span class="attributes"></span><b class="itemname">addListener</b>
952 (<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>)
959 <div class="short">Appends an event handler to this component</div>
965 Appends an event handler to this component
972 <dl class="detailList">
973 <dt class="heading">Parameters:</dt>
976 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
979 <dd>The type of event to listen for</dd>
982 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
985 <dd>The method the event invokes</dd>
988 <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>
991 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
994 <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>
997 <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>
1015 <td class="msource">
1017 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1023 <tr class="method-row config-row-alt1 expandable notInherited">
1024 <td class="micon"><a class="exi" href="#expand"> </a></td>
1028 <a id="Roo.tree.TreePanel-method-collapseAll" name=".collapseAll"></a>
1029 <div class="fixedFont">
1030 <span class="attributes"></span><b class="itemname">collapseAll</b>
1039 <div class="short">Collapse all nodes</div>
1066 <td class="msource">
1074 <tr class="method-row config-row-alt0 expandable notInherited">
1075 <td class="micon"><a class="exi" href="#expand"> </a></td>
1079 <a id="Roo.tree.TreePanel-method-expandAll" name=".expandAll"></a>
1080 <div class="fixedFont">
1081 <span class="attributes"></span><b class="itemname">expandAll</b>
1090 <div class="short">Expand all nodes</div>
1117 <td class="msource">
1125 <tr class="method-row config-row-alt1 expandable notInherited">
1126 <td class="micon"><a class="exi" href="#expand"> </a></td>
1130 <a id="Roo.tree.TreePanel-method-expandPath" name=".expandPath"></a>
1131 <div class="fixedFont">
1132 <span class="attributes"></span><b class="itemname">expandPath</b>
1134 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>path</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>attr</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>callback</i></B>)
1141 <div class="short">Expands a specified path in this TreePanel.</div>
1147 Expands a specified path in this TreePanel. A path can be retrieved from a node with {<b>link</b> Roo.data.Node<b>getPath</b>}
1154 <dl class="detailList">
1155 <dt class="heading">Parameters:</dt>
1158 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>path</b>
1164 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>attr</b>
1167 <dd>(optional) The attribute used in the path (see {<b>link</b> Roo.data.Node<b>getPath</b>} for more info)</dd>
1170 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>callback</b>
1173 <dd>(optional) The callback to call when the expand is complete. The callback will be called with<br/>(bSuccess, oLastNode) where bSuccess is if the expand was successful and oLastNode is the last node that was expanded.</dd>
1191 <td class="msource">
1199 <tr class="method-row config-row-alt0 expandable">
1200 <td class="micon"><a class="exi" href="#expand"> </a></td>
1204 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
1205 <div class="fixedFont">
1206 <span class="attributes"></span><b class="itemname">fireEvent</b>
1208 (<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>)
1214 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1223 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
1229 Fires the specified event with the passed parameters (minus the event name).
1236 <dl class="detailList">
1237 <dt class="heading">Parameters:</dt>
1240 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1246 <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>
1249 <dd>Variable number of parameters are passed to handlers</dd>
1257 <dl class="detailList">
1258 <dt class="heading">Returns:</dt>
1260 <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>
1274 <td class="msource">
1276 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1282 <tr class="method-row config-row-alt1 expandable notInherited">
1283 <td class="micon"><a class="exi" href="#expand"> </a></td>
1287 <a id="Roo.tree.TreePanel-method-getChecked" name=".getChecked"></a>
1288 <div class="fixedFont">
1289 <span class="attributes"></span><b class="itemname">getChecked</b>
1291 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>attribute</i></B>, TreeNode <B><i>startNode</i></B>)
1297 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
1306 <div class="short">Retrieve an array of checked nodes, or an array of a specific attribute of checked nodes (e.g.</div>
1312 Retrieve an array of checked nodes, or an array of a specific attribute of checked nodes (e.g. "id")
1319 <dl class="detailList">
1320 <dt class="heading">Parameters:</dt>
1323 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>attribute</b>
1326 <dd>(optional) Defaults to null (return the actual nodes)</dd>
1329 <span class="fixedFont">TreeNode</span> <b>startNode</b>
1332 <dd>(optional) The node to start from, defaults to the root</dd>
1340 <dl class="detailList">
1341 <dt class="heading">Returns:</dt>
1343 <dd><span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> </dd>
1357 <td class="msource">
1365 <tr class="method-row config-row-alt0 expandable notInherited">
1366 <td class="micon"><a class="exi" href="#expand"> </a></td>
1370 <a id="Roo.tree.TreePanel-method-getEl" name=".getEl"></a>
1371 <div class="fixedFont">
1372 <span class="attributes"></span><b class="itemname">getEl</b>
1381 <div class="short">Returns the container element for this TreePanel</div>
1387 Returns the container element for this TreePanel
1408 <td class="msource">
1416 <tr class="method-row config-row-alt1 expandable notInherited">
1417 <td class="micon"><a class="exi" href="#expand"> </a></td>
1421 <a id="Roo.tree.TreePanel-method-getLoader" name=".getLoader"></a>
1422 <div class="fixedFont">
1423 <span class="attributes"></span><b class="itemname">getLoader</b>
1432 <div class="short">Returns the default TreeLoader for this TreePanel</div>
1438 Returns the default TreeLoader for this TreePanel
1459 <td class="msource">
1467 <tr class="method-row config-row-alt0 expandable">
1468 <td class="micon"><a class="exi" href="#expand"> </a></td>
1472 <a id="Roo.data.Tree-method-getNodeById" name=".getNodeById"></a>
1473 <div class="fixedFont">
1474 <span class="attributes"></span><b class="itemname">getNodeById</b>
1476 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>id</i></B>)
1491 <div class="short">Gets a node in this tree by its id.</div>
1497 Gets a node in this tree by its id.
1504 <dl class="detailList">
1505 <dt class="heading">Parameters:</dt>
1508 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>id</b>
1519 <dl class="detailList">
1520 <dt class="heading">Returns:</dt>
1522 <dd><span class="fixedFont">Node</span> </dd>
1536 <td class="msource">
1538 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
1544 <tr class="method-row config-row-alt1 expandable">
1545 <td class="micon"><a class="exi" href="#expand"> </a></td>
1549 <a id="Roo.data.Tree-method-getRootNode" name=".getRootNode"></a>
1550 <div class="fixedFont">
1551 <span class="attributes"></span><b class="itemname">getRootNode</b>
1568 <div class="short">Returns the root node for this tree.</div>
1574 Returns the root node for this tree.
1585 <dl class="detailList">
1586 <dt class="heading">Returns:</dt>
1588 <dd><span class="fixedFont">Node</span> </dd>
1602 <td class="msource">
1604 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
1610 <tr class="method-row config-row-alt0 expandable notInherited">
1611 <td class="micon"><a class="exi" href="#expand"> </a></td>
1615 <a id="Roo.tree.TreePanel-method-getSelectionModel" name=".getSelectionModel"></a>
1616 <div class="fixedFont">
1617 <span class="attributes"></span><b class="itemname">getSelectionModel</b>
1626 <div class="short">Returns the selection model used by this TreePanel</div>
1632 Returns the selection model used by this TreePanel
1653 <td class="msource">
1661 <tr class="method-row config-row-alt1 expandable">
1662 <td class="micon"><a class="exi" href="#expand"> </a></td>
1666 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
1667 <div class="fixedFont">
1668 <span class="attributes"></span><b class="itemname">hasListener</b>
1670 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
1676 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1685 <div class="short">Checks to see if this object has any listeners for a specified event</div>
1691 Checks to see if this object has any listeners for a specified event
1698 <dl class="detailList">
1699 <dt class="heading">Parameters:</dt>
1702 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1705 <dd>The name of the event to check for</dd>
1713 <dl class="detailList">
1714 <dt class="heading">Returns:</dt>
1716 <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>
1730 <td class="msource">
1732 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1738 <tr class="method-row config-row-alt0 expandable">
1739 <td class="micon"><a class="exi" href="#expand"> </a></td>
1743 <a id="Roo.util.Observable-method-on" name=".on"></a>
1744 <div class="fixedFont">
1745 <span class="attributes"></span><b class="itemname">on</b>
1747 (<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>)
1754 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1760 Appends an event handler to this element (shorthand for addListener)
1767 <dl class="detailList">
1768 <dt class="heading">Parameters:</dt>
1771 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1774 <dd>The type of event to listen for</dd>
1777 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1780 <dd>The method the event invokes</dd>
1783 <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>
1786 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1789 <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>
1810 <td class="msource">
1812 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1818 <tr class="method-row config-row-alt1 expandable">
1819 <td class="micon"><a class="exi" href="#expand"> </a></td>
1823 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
1824 <div class="fixedFont">
1825 <span class="attributes"></span><b class="itemname">purgeListeners</b>
1834 <div class="short">Removes all listeners for this object</div>
1840 Removes all listeners for this object
1861 <td class="msource">
1863 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1869 <tr class="method-row config-row-alt0 expandable">
1870 <td class="micon"><a class="exi" href="#expand"> </a></td>
1874 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
1875 <div class="fixedFont">
1876 <span class="attributes"></span><b class="itemname">removeListener</b>
1878 (<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>)
1885 <div class="short">Removes a listener</div>
1898 <dl class="detailList">
1899 <dt class="heading">Parameters:</dt>
1902 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1905 <dd>The type of event to listen for</dd>
1908 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1911 <dd>The handler to remove</dd>
1914 <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>
1917 <dd>(optional) The scope (this object) for the handler</dd>
1935 <td class="msource">
1937 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1943 <tr class="method-row config-row-alt1 expandable notInherited">
1944 <td class="micon"><a class="exi" href="#expand"> </a></td>
1948 <a id="Roo.tree.TreePanel-method-render" name=".render"></a>
1949 <div class="fixedFont">
1950 <span class="attributes"></span><b class="itemname">render</b>
1959 <div class="short">Trigger rendering of this TreePanel</div>
1965 Trigger rendering of this TreePanel
1986 <td class="msource">
1994 <tr class="method-row config-row-alt0 expandable notInherited">
1995 <td class="micon"><a class="exi" href="#expand"> </a></td>
1999 <a id="Roo.tree.TreePanel-method-selectPath" name=".selectPath"></a>
2000 <div class="fixedFont">
2001 <span class="attributes"></span><b class="itemname">selectPath</b>
2003 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>path</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>attr</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>callback</i></B>)
2010 <div class="short">Selects the node in this tree at the specified path.</div>
2016 Selects the node in this tree at the specified path. A path can be retrieved from a node with {<b>link</b> Roo.data.Node<b>getPath</b>}
2023 <dl class="detailList">
2024 <dt class="heading">Parameters:</dt>
2027 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>path</b>
2033 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>attr</b>
2036 <dd>(optional) The attribute used in the path (see {<b>link</b> Roo.data.Node<b>getPath</b>} for more info)</dd>
2039 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>callback</b>
2042 <dd>(optional) The callback to call when the selection is complete. The callback will be called with<br/>(bSuccess, oSelNode) where bSuccess is if the selection was successful and oSelNode is the selected node.</dd>
2060 <td class="msource">
2068 <tr class="method-row config-row-alt1 expandable">
2069 <td class="micon"><a class="exi" href="#expand"> </a></td>
2073 <a id="Roo.data.Tree-method-setRootNode" name=".setRootNode"></a>
2074 <div class="fixedFont">
2075 <span class="attributes"></span><b class="itemname">setRootNode</b>
2077 (Node <B><i>node</i></B>)
2092 <div class="short">Sets the root node for this tree.</div>
2098 Sets the root node for this tree.
2105 <dl class="detailList">
2106 <dt class="heading">Parameters:</dt>
2109 <span class="fixedFont">Node</span> <b>node</b>
2120 <dl class="detailList">
2121 <dt class="heading">Returns:</dt>
2123 <dd><span class="fixedFont">Node</span> </dd>
2137 <td class="msource">
2139 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
2145 <tr class="method-row config-row-alt0 expandable">
2146 <td class="micon"><a class="exi" href="#expand"> </a></td>
2150 <a id="Roo.util.Observable-method-un" name=".un"></a>
2151 <div class="fixedFont">
2152 <span class="attributes"></span><b class="itemname">un</b>
2154 (<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>)
2161 <div class="short">Removes a listener (shorthand for removeListener)</div>
2167 Removes a listener (shorthand for removeListener)
2174 <dl class="detailList">
2175 <dt class="heading">Parameters:</dt>
2178 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2181 <dd>The type of event to listen for</dd>
2184 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2187 <dd>The handler to remove</dd>
2190 <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>
2193 <dd>(optional) The scope (this object) for the handler</dd>
2211 <td class="msource">
2213 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2222 <!-- ============================== events summary / details ======================== -->
2225 <a id="Roo.tree.TreePanel-events"></a>
2234 <table cellspacing="0" class="member-table">
2235 <caption>Events</caption>
2238 <th class="sig-header" colspan="2">Event</th>
2239 <th class="msource-header">Defined By</th>
2248 <tr class="method-row expandable config-row-alt0">
2249 <td class="micon"><a class="exi" href="#expand"> </a></td>
2252 <a id="Roo.data.Tree-event-*append"></a>
2254 <div class="fixedFont">
2255 <b class="itemname">append</b> (Tree <B><i>tree</i></B>, Node <B><i>parent</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>)
2261 <div class="short">Fires when a new child node is appended to a node in this tree.
2267 Fires when a new child node is appended to a node in this tree.
2273 <dl class="detailList">
2274 <dt class="heading">Parameters:</dt>
2277 <span class="fixedFont">Tree</span> <b>tree</b>
2280 <dd>The owner tree</dd>
2283 <span class="fixedFont">Node</span> <b>parent</b>
2286 <dd>The parent node</dd>
2289 <span class="fixedFont">Node</span> <b>node</b>
2292 <dd>The newly appended node</dd>
2295 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
2298 <dd>The index of the newly appended node</dd>
2316 <td class="msource">
2317 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
2321 <tr class="method-row expandable config-row-alt1">
2322 <td class="micon"><a class="exi" href="#expand"> </a></td>
2325 <a id="Roo.data.Tree-event-*beforeappend"></a>
2327 <div class="fixedFont">
2328 <b class="itemname">beforeappend</b> (Tree <B><i>tree</i></B>, Node <B><i>parent</i></B>, Node <B><i>node</i></B>)
2334 <div class="short">Fires before a new child is appended to a node in this tree, return false to cancel the append.
2340 Fires before a new child is appended to a node in this tree, return false to cancel the append.
2346 <dl class="detailList">
2347 <dt class="heading">Parameters:</dt>
2350 <span class="fixedFont">Tree</span> <b>tree</b>
2353 <dd>The owner tree</dd>
2356 <span class="fixedFont">Node</span> <b>parent</b>
2359 <dd>The parent node</dd>
2362 <span class="fixedFont">Node</span> <b>node</b>
2365 <dd>The child node to be appended</dd>
2383 <td class="msource">
2384 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
2388 <tr class="method-row expandable config-row-alt0 notInherited">
2389 <td class="micon"><a class="exi" href="#expand"> </a></td>
2392 <a id="Roo.tree.TreePanel-event-*beforechildrenrendered"></a>
2394 <div class="fixedFont">
2395 <b class="itemname">beforechildrenrendered</b> (Node <B><i>node</i></B>)
2401 <div class="short">Fires right before the child nodes for a node are rendered
2407 Fires right before the child nodes for a node are rendered
2413 <dl class="detailList">
2414 <dt class="heading">Parameters:</dt>
2417 <span class="fixedFont">Node</span> <b>node</b>
2438 <td class="msource">
2443 <tr class="method-row expandable config-row-alt1 notInherited">
2444 <td class="micon"><a class="exi" href="#expand"> </a></td>
2447 <a id="Roo.tree.TreePanel-event-*beforeclick"></a>
2449 <div class="fixedFont">
2450 <b class="itemname">beforeclick</b> (Node <B><i>node</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
2456 <div class="short">Fires before click processing on a node.
2462 Fires before click processing on a node. Return false to cancel the default action.
2468 <dl class="detailList">
2469 <dt class="heading">Parameters:</dt>
2472 <span class="fixedFont">Node</span> <b>node</b>
2478 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2481 <dd>The event object</dd>
2499 <td class="msource">
2504 <tr class="method-row expandable config-row-alt0 notInherited">
2505 <td class="micon"><a class="exi" href="#expand"> </a></td>
2508 <a id="Roo.tree.TreePanel-event-*beforecollapse"></a>
2510 <div class="fixedFont">
2511 <b class="itemname">beforecollapse</b> (Node <B><i>node</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>)
2517 <div class="short">Fires before a node is collapsed, return false to cancel.
2523 Fires before a node is collapsed, return false to cancel.
2529 <dl class="detailList">
2530 <dt class="heading">Parameters:</dt>
2533 <span class="fixedFont">Node</span> <b>node</b>
2539 <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>
2545 <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>
2566 <td class="msource">
2571 <tr class="method-row expandable config-row-alt1 notInherited">
2572 <td class="micon"><a class="exi" href="#expand"> </a></td>
2575 <a id="Roo.tree.TreePanel-event-*beforeexpand"></a>
2577 <div class="fixedFont">
2578 <b class="itemname">beforeexpand</b> (Node <B><i>node</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>)
2584 <div class="short">Fires before a node is expanded, return false to cancel.
2590 Fires before a node is expanded, return false to cancel.
2596 <dl class="detailList">
2597 <dt class="heading">Parameters:</dt>
2600 <span class="fixedFont">Node</span> <b>node</b>
2606 <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>
2612 <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>
2633 <td class="msource">
2638 <tr class="method-row expandable config-row-alt0">
2639 <td class="micon"><a class="exi" href="#expand"> </a></td>
2642 <a id="Roo.data.Tree-event-*beforeinsert"></a>
2644 <div class="fixedFont">
2645 <b class="itemname">beforeinsert</b> (Tree <B><i>tree</i></B>, Node <B><i>parent</i></B>, Node <B><i>node</i></B>, Node <B><i>refNode</i></B>)
2651 <div class="short">Fires before a new child is inserted in a node in this tree, return false to cancel the insert.
2657 Fires before a new child is inserted in a node in this tree, return false to cancel the insert.
2663 <dl class="detailList">
2664 <dt class="heading">Parameters:</dt>
2667 <span class="fixedFont">Tree</span> <b>tree</b>
2670 <dd>The owner tree</dd>
2673 <span class="fixedFont">Node</span> <b>parent</b>
2676 <dd>The parent node</dd>
2679 <span class="fixedFont">Node</span> <b>node</b>
2682 <dd>The child node to be inserted</dd>
2685 <span class="fixedFont">Node</span> <b>refNode</b>
2688 <dd>The child node the node is being inserted before</dd>
2706 <td class="msource">
2707 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
2711 <tr class="method-row expandable config-row-alt1 notInherited">
2712 <td class="micon"><a class="exi" href="#expand"> </a></td>
2715 <a id="Roo.tree.TreePanel-event-*beforeload"></a>
2717 <div class="fixedFont">
2718 <b class="itemname">beforeload</b> (Node <B><i>node</i></B>)
2724 <div class="short">Fires before a node is loaded, return false to cancel
2730 Fires before a node is loaded, return false to cancel
2736 <dl class="detailList">
2737 <dt class="heading">Parameters:</dt>
2740 <span class="fixedFont">Node</span> <b>node</b>
2743 <dd>The node being loaded</dd>
2761 <td class="msource">
2766 <tr class="method-row expandable config-row-alt0">
2767 <td class="micon"><a class="exi" href="#expand"> </a></td>
2770 <a id="Roo.data.Tree-event-*beforemove"></a>
2772 <div class="fixedFont">
2773 <b class="itemname">beforemove</b> (Tree <B><i>tree</i></B>, Node <B><i>node</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>)
2779 <div class="short">Fires before a node is moved to a new location in the tree.
2785 Fires before a node is moved to a new location in the tree. Return false to cancel the move.
2791 <dl class="detailList">
2792 <dt class="heading">Parameters:</dt>
2795 <span class="fixedFont">Tree</span> <b>tree</b>
2798 <dd>The owner tree</dd>
2801 <span class="fixedFont">Node</span> <b>node</b>
2804 <dd>The node being moved</dd>
2807 <span class="fixedFont">Node</span> <b>oldParent</b>
2810 <dd>The parent of the node</dd>
2813 <span class="fixedFont">Node</span> <b>newParent</b>
2816 <dd>The new parent the node is moving to</dd>
2819 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
2822 <dd>The index it is being moved to</dd>
2840 <td class="msource">
2841 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
2845 <tr class="method-row expandable config-row-alt1 notInherited">
2846 <td class="micon"><a class="exi" href="#expand"> </a></td>
2849 <a id="Roo.tree.TreePanel-event-*beforenodedrop"></a>
2851 <div class="fixedFont">
2852 <b class="itemname">beforenodedrop</b> (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>dropEvent</i></B>)
2858 <div class="short">Fires when a DD object is dropped on a node in this tree for preprocessing.
2864 Fires when a DD object is dropped on a node in this tree for preprocessing. Return false to cancel the drop. The dropEvent<br/>passed to handlers has the following properties:<br /><br/><ul style="padding:5px;padding-left:16px;"><br/><li>tree - The TreePanel</li><br/><li>target - The node being targeted for the drop</li><br/><li>data - The drag data from the drag source</li><br/><li>point - The point of the drop - append, above or below</li><br/><li>source - The drag source</li><br/><li>rawEvent - Raw mouse event</li><br/><li>dropNode - Drop node(s) provided by the source <b>OR</b> you can supply node(s)<br/>to be inserted by setting them on this object.</li><br/><li>cancel - Set this to true to cancel the drop.</li><br/></ul>
2870 <dl class="detailList">
2871 <dt class="heading">Parameters:</dt>
2874 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>dropEvent</b>
2895 <td class="msource">
2900 <tr class="method-row expandable config-row-alt0">
2901 <td class="micon"><a class="exi" href="#expand"> </a></td>
2904 <a id="Roo.data.Tree-event-*beforeremove"></a>
2906 <div class="fixedFont">
2907 <b class="itemname">beforeremove</b> (Tree <B><i>tree</i></B>, Node <B><i>parent</i></B>, Node <B><i>node</i></B>)
2913 <div class="short">Fires before a child is removed from a node in this tree, return false to cancel the remove.
2919 Fires before a child is removed from a node in this tree, return false to cancel the remove.
2925 <dl class="detailList">
2926 <dt class="heading">Parameters:</dt>
2929 <span class="fixedFont">Tree</span> <b>tree</b>
2932 <dd>The owner tree</dd>
2935 <span class="fixedFont">Node</span> <b>parent</b>
2938 <dd>The parent node</dd>
2941 <span class="fixedFont">Node</span> <b>node</b>
2944 <dd>The child node to be removed</dd>
2962 <td class="msource">
2963 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
2967 <tr class="method-row expandable config-row-alt1 notInherited">
2968 <td class="micon"><a class="exi" href="#expand"> </a></td>
2971 <a id="Roo.tree.TreePanel-event-*checkchange"></a>
2973 <div class="fixedFont">
2974 <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>)
2980 <div class="short">Fires when a node with a checkbox's checked property changes
2986 Fires when a node with a checkbox's checked property changes
2992 <dl class="detailList">
2993 <dt class="heading">Parameters:</dt>
2996 <span class="fixedFont">Node</span> <b>this</b>
3002 <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>
3023 <td class="msource">
3028 <tr class="method-row expandable config-row-alt0 notInherited">
3029 <td class="micon"><a class="exi" href="#expand"> </a></td>
3032 <a id="Roo.tree.TreePanel-event-*click"></a>
3034 <div class="fixedFont">
3035 <b class="itemname">click</b> (Node <B><i>node</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
3041 <div class="short">Fires when a node is clicked
3047 Fires when a node is clicked
3053 <dl class="detailList">
3054 <dt class="heading">Parameters:</dt>
3057 <span class="fixedFont">Node</span> <b>node</b>
3063 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3066 <dd>The event object</dd>
3084 <td class="msource">
3089 <tr class="method-row expandable config-row-alt1 notInherited">
3090 <td class="micon"><a class="exi" href="#expand"> </a></td>
3093 <a id="Roo.tree.TreePanel-event-*collapse"></a>
3095 <div class="fixedFont">
3096 <b class="itemname">collapse</b> (Node <B><i>node</i></B>)
3102 <div class="short">Fires when a node is collapsed
3108 Fires when a node is collapsed
3114 <dl class="detailList">
3115 <dt class="heading">Parameters:</dt>
3118 <span class="fixedFont">Node</span> <b>node</b>
3139 <td class="msource">
3144 <tr class="method-row expandable config-row-alt0 notInherited">
3145 <td class="micon"><a class="exi" href="#expand"> </a></td>
3148 <a id="Roo.tree.TreePanel-event-*contextmenu"></a>
3150 <div class="fixedFont">
3151 <b class="itemname">contextmenu</b> (Node <B><i>node</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
3157 <div class="short">Fires when a node is right clicked
3163 Fires when a node is right clicked
3169 <dl class="detailList">
3170 <dt class="heading">Parameters:</dt>
3173 <span class="fixedFont">Node</span> <b>node</b>
3179 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3182 <dd>The event object</dd>
3200 <td class="msource">
3205 <tr class="method-row expandable config-row-alt1 notInherited">
3206 <td class="micon"><a class="exi" href="#expand"> </a></td>
3209 <a id="Roo.tree.TreePanel-event-*dblclick"></a>
3211 <div class="fixedFont">
3212 <b class="itemname">dblclick</b> (Node <B><i>node</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
3218 <div class="short">Fires when a node is double clicked
3224 Fires when a node is double clicked
3230 <dl class="detailList">
3231 <dt class="heading">Parameters:</dt>
3234 <span class="fixedFont">Node</span> <b>node</b>
3240 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3243 <dd>The event object</dd>
3261 <td class="msource">
3266 <tr class="method-row expandable config-row-alt0 notInherited">
3267 <td class="micon"><a class="exi" href="#expand"> </a></td>
3270 <a id="Roo.tree.TreePanel-event-*disabledchange"></a>
3272 <div class="fixedFont">
3273 <b class="itemname">disabledchange</b> (Node <B><i>node</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>)
3279 <div class="short">Fires when the disabled status of a node changes
3285 Fires when the disabled status of a node changes
3291 <dl class="detailList">
3292 <dt class="heading">Parameters:</dt>
3295 <span class="fixedFont">Node</span> <b>node</b>
3301 <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>
3322 <td class="msource">
3327 <tr class="method-row expandable config-row-alt1 notInherited">
3328 <td class="micon"><a class="exi" href="#expand"> </a></td>
3331 <a id="Roo.tree.TreePanel-event-*dragdrop"></a>
3333 <div class="fixedFont">
3334 <b class="itemname">dragdrop</b> (<a href="./Roo.tree.TreePanel.html#constructor" roo:cls="Roo.tree.TreePanel.html#constructor">Roo.tree.TreePanel</a> <B><i>this</i></B>, <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a> <B><i>node</i></B>, DD <B><i>dd</i></B>, event <B><i>e</i></B>)
3340 <div class="short">Fires when a dragged node is dropped on a valid DD target
3346 Fires when a dragged node is dropped on a valid DD target
3352 <dl class="detailList">
3353 <dt class="heading">Parameters:</dt>
3356 <span class="fixedFont"><a href="./Roo.tree.TreePanel.html#constructor" roo:cls="Roo.tree.TreePanel.html#constructor">Roo.tree.TreePanel</a></span> <b>this</b>
3362 <span class="fixedFont"><a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a></span> <b>node</b>
3368 <span class="fixedFont">DD</span> <b>dd</b>
3371 <dd>The dd it was dropped on</dd>
3374 <span class="fixedFont">event</span> <b>e</b>
3377 <dd>The raw browser event</dd>
3395 <td class="msource">
3400 <tr class="method-row expandable config-row-alt0 notInherited">
3401 <td class="micon"><a class="exi" href="#expand"> </a></td>
3404 <a id="Roo.tree.TreePanel-event-*enddrag"></a>
3406 <div class="fixedFont">
3407 <b class="itemname">enddrag</b> (<a href="./Roo.tree.TreePanel.html#constructor" roo:cls="Roo.tree.TreePanel.html#constructor">Roo.tree.TreePanel</a> <B><i>this</i></B>, <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a> <B><i>node</i></B>, event <B><i>e</i></B>)
3413 <div class="short">Fires when a drag operation is complete
3419 Fires when a drag operation is complete
3425 <dl class="detailList">
3426 <dt class="heading">Parameters:</dt>
3429 <span class="fixedFont"><a href="./Roo.tree.TreePanel.html#constructor" roo:cls="Roo.tree.TreePanel.html#constructor">Roo.tree.TreePanel</a></span> <b>this</b>
3435 <span class="fixedFont"><a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a></span> <b>node</b>
3441 <span class="fixedFont">event</span> <b>e</b>
3444 <dd>The raw browser event</dd>
3462 <td class="msource">
3467 <tr class="method-row expandable config-row-alt1 notInherited">
3468 <td class="micon"><a class="exi" href="#expand"> </a></td>
3471 <a id="Roo.tree.TreePanel-event-*expand"></a>
3473 <div class="fixedFont">
3474 <b class="itemname">expand</b> (Node <B><i>node</i></B>)
3480 <div class="short">Fires when a node is expanded
3486 Fires when a node is expanded
3492 <dl class="detailList">
3493 <dt class="heading">Parameters:</dt>
3496 <span class="fixedFont">Node</span> <b>node</b>
3517 <td class="msource">
3522 <tr class="method-row expandable config-row-alt0">
3523 <td class="micon"><a class="exi" href="#expand"> </a></td>
3526 <a id="Roo.data.Tree-event-*insert"></a>
3528 <div class="fixedFont">
3529 <b class="itemname">insert</b> (Tree <B><i>tree</i></B>, Node <B><i>parent</i></B>, Node <B><i>node</i></B>, Node <B><i>refNode</i></B>)
3535 <div class="short">Fires when a new child node is inserted in a node in this tree.
3541 Fires when a new child node is inserted in a node in this tree.
3547 <dl class="detailList">
3548 <dt class="heading">Parameters:</dt>
3551 <span class="fixedFont">Tree</span> <b>tree</b>
3554 <dd>The owner tree</dd>
3557 <span class="fixedFont">Node</span> <b>parent</b>
3560 <dd>The parent node</dd>
3563 <span class="fixedFont">Node</span> <b>node</b>
3566 <dd>The child node inserted</dd>
3569 <span class="fixedFont">Node</span> <b>refNode</b>
3572 <dd>The child node the node was inserted before</dd>
3590 <td class="msource">
3591 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
3595 <tr class="method-row expandable config-row-alt1 notInherited">
3596 <td class="micon"><a class="exi" href="#expand"> </a></td>
3599 <a id="Roo.tree.TreePanel-event-*load"></a>
3601 <div class="fixedFont">
3602 <b class="itemname">load</b> (Node <B><i>node</i></B>)
3608 <div class="short">Fires when a node is loaded
3614 Fires when a node is loaded
3620 <dl class="detailList">
3621 <dt class="heading">Parameters:</dt>
3624 <span class="fixedFont">Node</span> <b>node</b>
3627 <dd>The node that was loaded</dd>
3645 <td class="msource">
3650 <tr class="method-row expandable config-row-alt0">
3651 <td class="micon"><a class="exi" href="#expand"> </a></td>
3654 <a id="Roo.data.Tree-event-*move"></a>
3656 <div class="fixedFont">
3657 <b class="itemname">move</b> (Tree <B><i>tree</i></B>, Node <B><i>node</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>)
3663 <div class="short">Fires when a node is moved to a new location in the tree
3669 Fires when a node is moved to a new location in the tree
3675 <dl class="detailList">
3676 <dt class="heading">Parameters:</dt>
3679 <span class="fixedFont">Tree</span> <b>tree</b>
3682 <dd>The owner tree</dd>
3685 <span class="fixedFont">Node</span> <b>node</b>
3688 <dd>The node moved</dd>
3691 <span class="fixedFont">Node</span> <b>oldParent</b>
3694 <dd>The old parent of this node</dd>
3697 <span class="fixedFont">Node</span> <b>newParent</b>
3700 <dd>The new parent of this node</dd>
3703 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
3706 <dd>The index it was moved to</dd>
3724 <td class="msource">
3725 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
3729 <tr class="method-row expandable config-row-alt1 notInherited">
3730 <td class="micon"><a class="exi" href="#expand"> </a></td>
3733 <a id="Roo.tree.TreePanel-event-*nodedragover"></a>
3735 <div class="fixedFont">
3736 <b class="itemname">nodedragover</b> (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>dragOverEvent</i></B>)
3742 <div class="short">Fires when a tree node is being targeted for a drag drop, return false to signal drop not allowed.
3748 Fires when a tree node is being targeted for a drag drop, return false to signal drop not allowed. The dragOverEvent<br/>passed to handlers has the following properties:<br /><br/><ul style="padding:5px;padding-left:16px;"><br/><li>tree - The TreePanel</li><br/><li>target - The node being targeted for the drop</li><br/><li>data - The drag data from the drag source</li><br/><li>point - The point of the drop - append, above or below</li><br/><li>source - The drag source</li><br/><li>rawEvent - Raw mouse event</li><br/><li>dropNode - Drop node(s) provided by the source.</li><br/><li>cancel - Set this to true to signal drop not allowed.</li><br/></ul>
3754 <dl class="detailList">
3755 <dt class="heading">Parameters:</dt>
3758 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>dragOverEvent</b>
3779 <td class="msource">
3784 <tr class="method-row expandable config-row-alt0 notInherited">
3785 <td class="micon"><a class="exi" href="#expand"> </a></td>
3788 <a id="Roo.tree.TreePanel-event-*nodedrop"></a>
3790 <div class="fixedFont">
3791 <b class="itemname">nodedrop</b> (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>dropEvent</i></B>)
3797 <div class="short">Fires after a DD object is dropped on a node in this tree.
3803 Fires after a DD object is dropped on a node in this tree. The dropEvent<br/>passed to handlers has the following properties:<br /><br/><ul style="padding:5px;padding-left:16px;"><br/><li>tree - The TreePanel</li><br/><li>target - The node being targeted for the drop</li><br/><li>data - The drag data from the drag source</li><br/><li>point - The point of the drop - append, above or below</li><br/><li>source - The drag source</li><br/><li>rawEvent - Raw mouse event</li><br/><li>dropNode - Dropped node(s).</li><br/></ul>
3809 <dl class="detailList">
3810 <dt class="heading">Parameters:</dt>
3813 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>dropEvent</b>
3834 <td class="msource">
3839 <tr class="method-row expandable config-row-alt1">
3840 <td class="micon"><a class="exi" href="#expand"> </a></td>
3843 <a id="Roo.data.Tree-event-*remove"></a>
3845 <div class="fixedFont">
3846 <b class="itemname">remove</b> (Tree <B><i>tree</i></B>, Node <B><i>parent</i></B>, Node <B><i>node</i></B>)
3852 <div class="short">Fires when a child node is removed from a node in this tree.
3858 Fires when a child node is removed from a node in this tree.
3864 <dl class="detailList">
3865 <dt class="heading">Parameters:</dt>
3868 <span class="fixedFont">Tree</span> <b>tree</b>
3871 <dd>The owner tree</dd>
3874 <span class="fixedFont">Node</span> <b>parent</b>
3877 <dd>The parent node</dd>
3880 <span class="fixedFont">Node</span> <b>node</b>
3883 <dd>The child node removed</dd>
3901 <td class="msource">
3902 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
3906 <tr class="method-row expandable config-row-alt0 notInherited">
3907 <td class="micon"><a class="exi" href="#expand"> </a></td>
3910 <a id="Roo.tree.TreePanel-event-*startdrag"></a>
3912 <div class="fixedFont">
3913 <b class="itemname">startdrag</b> (<a href="./Roo.tree.TreePanel.html#constructor" roo:cls="Roo.tree.TreePanel.html#constructor">Roo.tree.TreePanel</a> <B><i>this</i></B>, <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a> <B><i>node</i></B>, event <B><i>e</i></B>)
3919 <div class="short">Fires when a node starts being dragged
3925 Fires when a node starts being dragged
3931 <dl class="detailList">
3932 <dt class="heading">Parameters:</dt>
3935 <span class="fixedFont"><a href="./Roo.tree.TreePanel.html#constructor" roo:cls="Roo.tree.TreePanel.html#constructor">Roo.tree.TreePanel</a></span> <b>this</b>
3941 <span class="fixedFont"><a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a></span> <b>node</b>
3947 <span class="fixedFont">event</span> <b>e</b>
3950 <dd>The raw browser event</dd>
3968 <td class="msource">
3973 <tr class="method-row expandable config-row-alt1 notInherited">
3974 <td class="micon"><a class="exi" href="#expand"> </a></td>
3977 <a id="Roo.tree.TreePanel-event-*textchange"></a>
3979 <div class="fixedFont">
3980 <b class="itemname">textchange</b> (Node <B><i>node</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>)
3986 <div class="short">Fires when the text for a node is changed
3992 Fires when the text for a node is changed
3998 <dl class="detailList">
3999 <dt class="heading">Parameters:</dt>
4002 <span class="fixedFont">Node</span> <b>node</b>
4008 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>text</b>
4011 <dd>The new text</dd>
4014 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>oldText</b>
4017 <dd>The old text</dd>
4035 <td class="msource">
4047 <!-- ============================== footer ================================= -->
4048 <div class="fineprint" style="clear:both">
4050 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Tue Jul 27 2010 10:58:48 GMT+0800 (HKT)
4052 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>