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.AsyncTreeNode</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.AsyncTreeNode-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.tree.AsyncTreeNode-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.tree.AsyncTreeNode-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.tree.AsyncTreeNode-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 src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
49 <img src="../../images/default/s.gif" height="1" width="60"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.tree.AsyncTreeNode
54 <!-- ============================== class title / details ============================ -->
57 <h1 class="classTitle">
59 Class Roo.tree.AsyncTreeNode
62 <table cellspacing="0" class="class-summary-table">
64 <tr><td class="label">Package:</td><td class="hd-info">Roo.tree</td></tr>
66 <tr><td class="label">Defined In:</td><td class="hd-info">
68 <a href="./src/Roo_tree_AsyncTreeNode.js.html">Roo/tree/AsyncTreeNode.js</a>.
71 <tr><td class="label">Class:</td><td class="hd-info">AsyncTreeNode</td></tr>
76 <tr><td class="label">Extends:</td><td class="hd-info">
77 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
85 <!-- ============================== class summary ========================== -->
86 <div class="description">
91 <!-- ============================== Class comment block... ========================== -->
93 <div class="comments">
94 <b>Class Comments / Notes</B> =>
95 <u onclick="parent.CommentDialog.showCommentId = 'Roo.tree.AsyncTreeNode';">[Add Your comment/notes about this class]</u>
97 <iframe frameborder="0" id="comments-Roo.tree" style="border: none;width:100%;"
98 src="/blog.php/GtkDjsComments/Roo.tree.AsyncTreeNode.html"></iframe>
103 <!-- ============================== config options ========================== -->
108 <div class="hr"></div>
109 <a id="Roo.tree.AsyncTreeNode-configs"></a>
115 <table cellspacing="0" class="member-table">
116 <caption>Config Options (Usually are also Properties)</caption>
120 <th class="sig-header" colspan="2">Options</th>
122 <th class="msource-header">Defined By</th>
129 <tr class="config-row expandable config-row-alt0">
130 <td class="micon"><a class="exi" href="#expand"> </a></td>
133 <a id="Roo.tree.TreeNode-cfg-allowDrag" name=".allowDrag"></a>
134 <div class="fixedFont">
135 <b class="itemname">allowDrag</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
141 <div class="short">false to make this node undraggable if DD is on (defaults to true)</div>
146 false to make this node undraggable if DD is on (defaults to true)
156 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
162 <tr class="config-row expandable config-row-alt1">
163 <td class="micon"><a class="exi" href="#expand"> </a></td>
166 <a id="Roo.tree.TreeNode-cfg-allowDrop" name=".allowDrop"></a>
167 <div class="fixedFont">
168 <b class="itemname">allowDrop</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
174 <div class="short">false if this node cannot be drop on</div>
179 false if this node cannot be drop on
189 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
195 <tr class="config-row expandable config-row-alt0">
196 <td class="micon"><a class="exi" href="#expand"> </a></td>
199 <a id="Roo.tree.TreeNode-cfg-checked" name=".checked"></a>
200 <div class="fixedFont">
201 <b class="itemname">checked</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
207 <div class="short">True to render a checked checkbox for this node, false to render an unchecked checkbox<br/>(defaults to undefined with no checkbox rendered)</div>
212 True to render a checked checkbox for this node, false to render an unchecked checkbox<br/>(defaults to undefined with no checkbox rendered)
222 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
228 <tr class="config-row expandable config-row-alt1">
229 <td class="micon"><a class="exi" href="#expand"> </a></td>
232 <a id="Roo.tree.TreeNode-cfg-cls" name=".cls"></a>
233 <div class="fixedFont">
234 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
240 <div class="short">A css class to be added to the node</div>
245 A css class to be added to the node
255 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
261 <tr class="config-row expandable config-row-alt0">
262 <td class="micon"><a class="exi" href="#expand"> </a></td>
265 <a id="Roo.tree.TreeNode-cfg-disabled" name=".disabled"></a>
266 <div class="fixedFont">
267 <b class="itemname">disabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
273 <div class="short">true to start the node disabled</div>
278 true to start the node disabled
288 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
294 <tr class="config-row expandable config-row-alt1">
295 <td class="micon"><a class="exi" href="#expand"> </a></td>
298 <a id="Roo.tree.TreeNode-cfg-expanded" name=".expanded"></a>
299 <div class="fixedFont">
300 <b class="itemname">expanded</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
306 <div class="short">true to start the node expanded</div>
311 true to start the node expanded
321 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
327 <tr class="config-row expandable config-row-alt0">
328 <td class="micon"><a class="exi" href="#expand"> </a></td>
331 <a id="Roo.tree.TreeNode-cfg-href" name=".href"></a>
332 <div class="fixedFont">
333 <b class="itemname">href</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
339 <div class="short">URL of the link used for the node (defaults to #)</div>
344 URL of the link used for the node (defaults to #)
354 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
360 <tr class="config-row expandable config-row-alt1">
361 <td class="micon"><a class="exi" href="#expand"> </a></td>
364 <a id="Roo.tree.TreeNode-cfg-hrefTarget" name=".hrefTarget"></a>
365 <div class="fixedFont">
366 <b class="itemname">hrefTarget</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
372 <div class="short">target frame for the link</div>
377 target frame for the link
387 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
393 <tr class="config-row expandable config-row-alt0">
394 <td class="micon"><a class="exi" href="#expand"> </a></td>
397 <a id="Roo.tree.TreeNode-cfg-icon" name=".icon"></a>
398 <div class="fixedFont">
399 <b class="itemname">icon</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
405 <div class="short">The path to an icon for the node.</div>
410 The path to an icon for the node. The preferred way to do this
420 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
426 <tr class="config-row expandable config-row-alt1">
427 <td class="micon"><a class="exi" href="#expand"> </a></td>
430 <a id="Roo.tree.TreeNode-cfg-iconCls" name=".iconCls"></a>
431 <div class="fixedFont">
432 <b class="itemname">iconCls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
438 <div class="short">A css class to be added to the nodes icon element for applying css background images</div>
443 A css class to be added to the nodes icon element for applying css background images
453 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
459 <tr class="config-row expandable config-row-alt0">
460 <td class="micon"><a class="exi" href="#expand"> </a></td>
463 <a id="Roo.data.Node-cfg-id" name=".id"></a>
464 <div class="fixedFont">
465 <b class="itemname">id</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
471 <div class="short">The id for this node.</div>
476 The id for this node. If one is not specified, one is generated.
486 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
492 <tr class="config-row expandable config-row-alt1">
493 <td class="micon"><a class="exi" href="#expand"> </a></td>
496 <a id="Roo.data.Node-cfg-leaf" name=".leaf"></a>
497 <div class="fixedFont">
498 <b class="itemname">leaf</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
504 <div class="short">true if this node is a leaf and does not have children</div>
509 true if this node is a leaf and does not have children
519 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
525 <tr class="config-row expandable config-row-alt0">
526 <td class="micon"><a class="exi" href="#expand"> </a></td>
529 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
530 <div class="fixedFont">
531 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
537 <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>
542 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>
552 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
558 <tr class="config-row expandable config-row-alt1 notInherited">
559 <td class="micon"><a class="exi" href="#expand"> </a></td>
562 <a id="Roo.tree.AsyncTreeNode-cfg-loader" name=".loader"></a>
563 <div class="fixedFont">
564 <b class="itemname">loader</b> : TreeLoader
570 <div class="short">A TreeLoader to be used by this node (defaults to the loader defined on the tree)</div>
575 A TreeLoader to be used by this node (defaults to the loader defined on the tree)
585 Roo.tree.AsyncTreeNode
591 <tr class="config-row expandable config-row-alt0">
592 <td class="micon"><a class="exi" href="#expand"> </a></td>
595 <a id="Roo.tree.TreeNode-cfg-qtip" name=".qtip"></a>
596 <div class="fixedFont">
597 <b class="itemname">qtip</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
603 <div class="short">An Ext QuickTip for the node</div>
608 An Ext QuickTip for the node
618 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
624 <tr class="config-row expandable config-row-alt1">
625 <td class="micon"><a class="exi" href="#expand"> </a></td>
628 <a id="Roo.tree.TreeNode-cfg-qtipCfg" name=".qtipCfg"></a>
629 <div class="fixedFont">
630 <b class="itemname">qtipCfg</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
636 <div class="short">An Ext QuickTip config for the node (used instead of qtip)</div>
641 An Ext QuickTip config for the node (used instead of qtip)
651 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
657 <tr class="config-row expandable config-row-alt0">
658 <td class="micon"><a class="exi" href="#expand"> </a></td>
661 <a id="Roo.tree.TreeNode-cfg-singleClickExpand" name=".singleClickExpand"></a>
662 <div class="fixedFont">
663 <b class="itemname">singleClickExpand</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
669 <div class="short">True for single click expand on this node</div>
674 True for single click expand on this node
684 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
690 <tr class="config-row expandable config-row-alt1">
691 <td class="micon"><a class="exi" href="#expand"> </a></td>
694 <a id="Roo.tree.TreeNode-cfg-text" name=".text"></a>
695 <div class="fixedFont">
696 <b class="itemname">text</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
702 <div class="short">The text for this node</div>
707 The text for this node
717 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
723 <tr class="config-row expandable config-row-alt0">
724 <td class="micon"><a class="exi" href="#expand"> </a></td>
727 <a id="Roo.tree.TreeNode-cfg-uiProvider" name=".uiProvider"></a>
728 <div class="fixedFont">
729 <b class="itemname">uiProvider</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
735 <div class="short">A UI <b>class</b> to use for this node (defaults to Roo.tree.TreeNodeUI)</div>
740 A UI <b>class</b> to use for this node (defaults to Roo.tree.TreeNodeUI)
750 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
766 <!-- ============================== public properties ==================== -->
770 <a id="Roo.tree.AsyncTreeNode-props"></a>
776 <table cellspacing="0" class="member-table">
777 <caption class="Empty">Public Properties - Has None</caption>
783 <!-- ============================== methods summary / details ======================== -->
786 <a id="Roo.tree.AsyncTreeNode-methods"></a>
787 <!-- constructor?? -->
794 <!-- then dynamics first -->
801 <table cellspacing="0" class="member-table">
802 <caption>Public Methods</caption>
804 <th class="sig-header" colspan="2">Method</th>
805 <th class="msource-header">Defined By</th>
815 <tr class="method-row config-row-alt0 expandable notInherited">
816 <td class="micon"><a class="exi" href="#expand"> </a></td>
820 <a id="Roo.tree-method-AsyncTreeNode" name=".AsyncTreeNode"></a>
821 <div class="fixedFont">
822 <span class="attributes">new <B>Roo.tree.</B></span><b class="itemname">AsyncTreeNode</b>
824 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>/String <B><i>attributes</i></B>)
832 <div class="short">Create a new Roo.tree.AsyncTreeNode</div>
839 Create a new Roo.tree.AsyncTreeNode
842 <dl class="detailList">
843 <dt class="heading">Parameters:</dt>
846 <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>
849 <dd>The attributes/config for the node or just a string with the text for the node</dd>
873 <tr class="method-row config-row-alt1 expandable">
874 <td class="micon"><a class="exi" href="#expand"> </a></td>
878 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
879 <div class="fixedFont">
880 <span class="attributes"></span><b class="itemname">addEvents</b>
882 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
889 <div class="short">Used to define events on this Observable</div>
895 Used to define events on this Observable
902 <dl class="detailList">
903 <dt class="heading">Parameters:</dt>
906 <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>
909 <dd>The object with the events defined</dd>
929 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
935 <tr class="method-row config-row-alt0 expandable">
936 <td class="micon"><a class="exi" href="#expand"> </a></td>
940 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
941 <div class="fixedFont">
942 <span class="attributes"></span><b class="itemname">addListener</b>
944 (<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>)
951 <div class="short">Appends an event handler to this component</div>
957 Appends an event handler to this component
964 <dl class="detailList">
965 <dt class="heading">Parameters:</dt>
968 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
971 <dd>The type of event to listen for</dd>
974 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
977 <dd>The method the event invokes</dd>
980 <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>
983 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
986 <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>
989 <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>
1007 <td class="msource">
1009 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1015 <tr class="method-row config-row-alt1 expandable">
1016 <td class="micon"><a class="exi" href="#expand"> </a></td>
1020 <a id="Roo.data.Node-method-appendChild" name=".appendChild"></a>
1021 <div class="fixedFont">
1022 <span class="attributes"></span><b class="itemname">appendChild</b>
1024 (Node/Array <B><i>node</i></B>)
1039 <div class="short">Insert node(s) as the last child node of this node.</div>
1045 Insert node(s) as the last child node of this node.
1052 <dl class="detailList">
1053 <dt class="heading">Parameters:</dt>
1056 <span class="fixedFont">Node/Array</span> <b>node</b>
1059 <dd>The node or Array of nodes to append</dd>
1067 <dl class="detailList">
1068 <dt class="heading">Returns:</dt>
1070 <dd><span class="fixedFont">Node</span> The appended node if single append, or null if an array was passed</dd>
1084 <td class="msource">
1086 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
1092 <tr class="method-row config-row-alt0 expandable">
1093 <td class="micon"><a class="exi" href="#expand"> </a></td>
1097 <a id="Roo.data.Node-method-bubble" name=".bubble"></a>
1098 <div class="fixedFont">
1099 <span class="attributes"></span><b class="itemname">bubble</b>
1101 (<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>)
1108 <div class="short">Bubbles up the tree from this node, calling the specified function with each node.</div>
1114 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.
1121 <dl class="detailList">
1122 <dt class="heading">Parameters:</dt>
1125 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
1128 <dd>The function to call</dd>
1131 <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>
1134 <dd>(optional) The scope of the function (defaults to current node)</dd>
1137 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>args</b>
1140 <dd>(optional) The args to call the function with (default to passing the current node)</dd>
1158 <td class="msource">
1160 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
1166 <tr class="method-row config-row-alt1 expandable">
1167 <td class="micon"><a class="exi" href="#expand"> </a></td>
1171 <a id="Roo.data.Node-method-cascade" name=".cascade"></a>
1172 <div class="fixedFont">
1173 <span class="attributes"></span><b class="itemname">cascade</b>
1175 (<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>)
1182 <div class="short">Cascades down the tree from this node, calling the specified function with each node.</div>
1188 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.
1195 <dl class="detailList">
1196 <dt class="heading">Parameters:</dt>
1199 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
1202 <dd>The function to call</dd>
1205 <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>
1208 <dd>(optional) The scope of the function (defaults to current node)</dd>
1211 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>args</b>
1214 <dd>(optional) The args to call the function with (default to passing the current node)</dd>
1232 <td class="msource">
1234 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
1240 <tr class="method-row config-row-alt0 expandable">
1241 <td class="micon"><a class="exi" href="#expand"> </a></td>
1245 <a id="Roo.tree.TreeNode-method-collapse" name=".collapse"></a>
1246 <div class="fixedFont">
1247 <span class="attributes"></span><b class="itemname">collapse</b>
1249 (<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>)
1256 <div class="short">Collapse this node.</div>
1269 <dl class="detailList">
1270 <dt class="heading">Parameters:</dt>
1273 <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>
1276 <dd>(optional) True to collapse all children as well</dd>
1279 <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>
1282 <dd>(optional) false to cancel the default animation</dd>
1300 <td class="msource">
1302 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
1308 <tr class="method-row config-row-alt1 expandable">
1309 <td class="micon"><a class="exi" href="#expand"> </a></td>
1313 <a id="Roo.tree.TreeNode-method-collapseChildNodes" name=".collapseChildNodes"></a>
1314 <div class="fixedFont">
1315 <span class="attributes"></span><b class="itemname">collapseChildNodes</b>
1317 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>deep</i></B>)
1324 <div class="short">Collapse all child nodes</div>
1330 Collapse all child nodes
1337 <dl class="detailList">
1338 <dt class="heading">Parameters:</dt>
1341 <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>
1344 <dd>(optional) true if the child nodes should also collapse their child nodes</dd>
1362 <td class="msource">
1364 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
1370 <tr class="method-row config-row-alt0 expandable">
1371 <td class="micon"><a class="exi" href="#expand"> </a></td>
1375 <a id="Roo.data.Node-method-contains" name=".contains"></a>
1376 <div class="fixedFont">
1377 <span class="attributes"></span><b class="itemname">contains</b>
1379 (Node <B><i>node</i></B>)
1385 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1394 <div class="short">Returns true if this node is an ancestor (at any point) of the passed node.</div>
1400 Returns true if this node is an ancestor (at any point) of the passed node.
1407 <dl class="detailList">
1408 <dt class="heading">Parameters:</dt>
1411 <span class="fixedFont">Node</span> <b>node</b>
1422 <dl class="detailList">
1423 <dt class="heading">Returns:</dt>
1425 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
1439 <td class="msource">
1441 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
1447 <tr class="method-row config-row-alt1 expandable">
1448 <td class="micon"><a class="exi" href="#expand"> </a></td>
1452 <a id="Roo.tree.TreeNode-method-disable" name=".disable"></a>
1453 <div class="fixedFont">
1454 <span class="attributes"></span><b class="itemname">disable</b>
1463 <div class="short">Disables this node</div>
1490 <td class="msource">
1492 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
1498 <tr class="method-row config-row-alt0 expandable">
1499 <td class="micon"><a class="exi" href="#expand"> </a></td>
1503 <a id="Roo.data.Node-method-eachChild" name=".eachChild"></a>
1504 <div class="fixedFont">
1505 <span class="attributes"></span><b class="itemname">eachChild</b>
1507 (<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>)
1514 <div class="short">Interates the child nodes of this node, calling the specified function with each node.</div>
1520 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.
1527 <dl class="detailList">
1528 <dt class="heading">Parameters:</dt>
1531 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
1534 <dd>The function to call</dd>
1537 <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>
1540 <dd>(optional) The scope of the function (defaults to current node)</dd>
1543 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>args</b>
1546 <dd>(optional) The args to call the function with (default to passing the current node)</dd>
1564 <td class="msource">
1566 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
1572 <tr class="method-row config-row-alt1 expandable">
1573 <td class="micon"><a class="exi" href="#expand"> </a></td>
1577 <a id="Roo.tree.TreeNode-method-enable" name=".enable"></a>
1578 <div class="fixedFont">
1579 <span class="attributes"></span><b class="itemname">enable</b>
1588 <div class="short">Enables this node</div>
1615 <td class="msource">
1617 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
1623 <tr class="method-row config-row-alt0 expandable">
1624 <td class="micon"><a class="exi" href="#expand"> </a></td>
1628 <a id="Roo.tree.TreeNode-method-ensureVisible" name=".ensureVisible"></a>
1629 <div class="fixedFont">
1630 <span class="attributes"></span><b class="itemname">ensureVisible</b>
1639 <div class="short">Ensures all parent nodes are expanded</div>
1645 Ensures all parent nodes are expanded
1666 <td class="msource">
1668 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
1674 <tr class="method-row config-row-alt1 expandable">
1675 <td class="micon"><a class="exi" href="#expand"> </a></td>
1679 <a id="Roo.tree.TreeNode-method-expand" name=".expand"></a>
1680 <div class="fixedFont">
1681 <span class="attributes"></span><b class="itemname">expand</b>
1683 (<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>)
1690 <div class="short">Expand this node.</div>
1703 <dl class="detailList">
1704 <dt class="heading">Parameters:</dt>
1707 <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>
1710 <dd>(optional) True to expand all children as well</dd>
1713 <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>
1716 <dd>(optional) false to cancel the default animation</dd>
1719 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>callback</b>
1722 <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>
1740 <td class="msource">
1742 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
1748 <tr class="method-row config-row-alt0 expandable">
1749 <td class="micon"><a class="exi" href="#expand"> </a></td>
1753 <a id="Roo.tree.TreeNode-method-expandChildNodes" name=".expandChildNodes"></a>
1754 <div class="fixedFont">
1755 <span class="attributes"></span><b class="itemname">expandChildNodes</b>
1757 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>deep</i></B>)
1764 <div class="short">Expand all child nodes</div>
1770 Expand all child nodes
1777 <dl class="detailList">
1778 <dt class="heading">Parameters:</dt>
1781 <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>
1784 <dd>(optional) true if the child nodes should also expand their child nodes</dd>
1802 <td class="msource">
1804 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
1810 <tr class="method-row config-row-alt1 expandable">
1811 <td class="micon"><a class="exi" href="#expand"> </a></td>
1815 <a id="Roo.data.Node-method-findChild" name=".findChild"></a>
1816 <div class="fixedFont">
1817 <span class="attributes"></span><b class="itemname">findChild</b>
1819 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>attribute</i></B>, Mixed <B><i>value</i></B>)
1834 <div class="short">Finds the first child that has the attribute with the specified value.</div>
1840 Finds the first child that has the attribute with the specified value.
1847 <dl class="detailList">
1848 <dt class="heading">Parameters:</dt>
1851 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>attribute</b>
1854 <dd>The attribute name</dd>
1857 <span class="fixedFont">Mixed</span> <b>value</b>
1860 <dd>The value to search for</dd>
1868 <dl class="detailList">
1869 <dt class="heading">Returns:</dt>
1871 <dd><span class="fixedFont">Node</span> The found child or null if none was found</dd>
1885 <td class="msource">
1887 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
1893 <tr class="method-row config-row-alt0 expandable">
1894 <td class="micon"><a class="exi" href="#expand"> </a></td>
1898 <a id="Roo.data.Node-method-findChildBy" name=".findChildBy"></a>
1899 <div class="fixedFont">
1900 <span class="attributes"></span><b class="itemname">findChildBy</b>
1902 (<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>)
1917 <div class="short">Finds the first child by a custom function.</div>
1923 Finds the first child by a custom function. The child matches if the function passed<br/>returns true.
1930 <dl class="detailList">
1931 <dt class="heading">Parameters:</dt>
1934 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
1940 <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>
1951 <dl class="detailList">
1952 <dt class="heading">Returns:</dt>
1954 <dd><span class="fixedFont">Node</span> The found child or null if none was found</dd>
1968 <td class="msource">
1970 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
1976 <tr class="method-row config-row-alt1 expandable">
1977 <td class="micon"><a class="exi" href="#expand"> </a></td>
1981 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
1982 <div class="fixedFont">
1983 <span class="attributes"></span><b class="itemname">fireEvent</b>
1985 (<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>)
1991 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2000 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
2006 Fires the specified event with the passed parameters (minus the event name).
2013 <dl class="detailList">
2014 <dt class="heading">Parameters:</dt>
2017 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2023 <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>
2026 <dd>Variable number of parameters are passed to handlers</dd>
2034 <dl class="detailList">
2035 <dt class="heading">Returns:</dt>
2037 <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>
2051 <td class="msource">
2053 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2059 <tr class="method-row config-row-alt0 expandable">
2060 <td class="micon"><a class="exi" href="#expand"> </a></td>
2064 <a id="Roo.data.Node-method-getDepth" name=".getDepth"></a>
2065 <div class="fixedFont">
2066 <span class="attributes"></span><b class="itemname">getDepth</b>
2074 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
2083 <div class="short">Returns depth of this node (the root node has a depth of 0)</div>
2089 Returns depth of this node (the root node has a depth of 0)
2100 <dl class="detailList">
2101 <dt class="heading">Returns:</dt>
2103 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> </dd>
2117 <td class="msource">
2119 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2125 <tr class="method-row config-row-alt1 expandable">
2126 <td class="micon"><a class="exi" href="#expand"> </a></td>
2130 <a id="Roo.data.Node-method-getOwnerTree" name=".getOwnerTree"></a>
2131 <div class="fixedFont">
2132 <span class="attributes"></span><b class="itemname">getOwnerTree</b>
2149 <div class="short">Returns the tree this node is in.</div>
2155 Returns the tree this node is in.
2166 <dl class="detailList">
2167 <dt class="heading">Returns:</dt>
2169 <dd><span class="fixedFont">Tree</span> </dd>
2183 <td class="msource">
2185 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2191 <tr class="method-row config-row-alt0 expandable">
2192 <td class="micon"><a class="exi" href="#expand"> </a></td>
2196 <a id="Roo.data.Node-method-getPath" name=".getPath"></a>
2197 <div class="fixedFont">
2198 <span class="attributes"></span><b class="itemname">getPath</b>
2200 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>attr</i></B>)
2206 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2215 <div class="short">Returns the path for this node.</div>
2221 Returns the path for this node. The path can be used to expand or select this node programmatically.
2228 <dl class="detailList">
2229 <dt class="heading">Parameters:</dt>
2232 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>attr</b>
2235 <dd>(optional) The attr to use for the path (defaults to the node's id)</dd>
2243 <dl class="detailList">
2244 <dt class="heading">Returns:</dt>
2246 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> The path</dd>
2260 <td class="msource">
2262 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2268 <tr class="method-row config-row-alt1 expandable">
2269 <td class="micon"><a class="exi" href="#expand"> </a></td>
2273 <a id="Roo.tree.TreeNode-method-getUI" name=".getUI"></a>
2274 <div class="fixedFont">
2275 <span class="attributes"></span><b class="itemname">getUI</b>
2292 <div class="short">Returns the UI object for this node</div>
2298 Returns the UI object for this node
2309 <dl class="detailList">
2310 <dt class="heading">Returns:</dt>
2312 <dd><span class="fixedFont">TreeNodeUI</span> </dd>
2326 <td class="msource">
2328 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
2334 <tr class="method-row config-row-alt0 expandable">
2335 <td class="micon"><a class="exi" href="#expand"> </a></td>
2339 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
2340 <div class="fixedFont">
2341 <span class="attributes"></span><b class="itemname">hasListener</b>
2343 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
2349 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2358 <div class="short">Checks to see if this object has any listeners for a specified event</div>
2364 Checks to see if this object has any listeners for a specified event
2371 <dl class="detailList">
2372 <dt class="heading">Parameters:</dt>
2375 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2378 <dd>The name of the event to check for</dd>
2386 <dl class="detailList">
2387 <dt class="heading">Returns:</dt>
2389 <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>
2403 <td class="msource">
2405 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2411 <tr class="method-row config-row-alt1 expandable">
2412 <td class="micon"><a class="exi" href="#expand"> </a></td>
2416 <a id="Roo.data.Node-method-indexOf" name=".indexOf"></a>
2417 <div class="fixedFont">
2418 <span class="attributes"></span><b class="itemname">indexOf</b>
2420 (Node <B><i>node</i></B>)
2426 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
2435 <div class="short">Returns the index of a child node</div>
2441 Returns the index of a child node
2448 <dl class="detailList">
2449 <dt class="heading">Parameters:</dt>
2452 <span class="fixedFont">Node</span> <b>node</b>
2463 <dl class="detailList">
2464 <dt class="heading">Returns:</dt>
2466 <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>
2480 <td class="msource">
2482 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2488 <tr class="method-row config-row-alt0 expandable">
2489 <td class="micon"><a class="exi" href="#expand"> </a></td>
2493 <a id="Roo.data.Node-method-insertBefore" name=".insertBefore"></a>
2494 <div class="fixedFont">
2495 <span class="attributes"></span><b class="itemname">insertBefore</b>
2497 (Node <B><i>node</i></B>, Node <B><i>refNode</i></B>)
2512 <div class="short">Inserts the first node before the second node in this nodes childNodes collection.</div>
2518 Inserts the first node before the second node in this nodes childNodes collection.
2525 <dl class="detailList">
2526 <dt class="heading">Parameters:</dt>
2529 <span class="fixedFont">Node</span> <b>node</b>
2532 <dd>The node to insert</dd>
2535 <span class="fixedFont">Node</span> <b>refNode</b>
2538 <dd>The node to insert before (if null the node is appended)</dd>
2546 <dl class="detailList">
2547 <dt class="heading">Returns:</dt>
2549 <dd><span class="fixedFont">Node</span> The inserted node</dd>
2563 <td class="msource">
2565 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2571 <tr class="method-row config-row-alt1 expandable">
2572 <td class="micon"><a class="exi" href="#expand"> </a></td>
2576 <a id="Roo.data.Node-method-isAncestor" name=".isAncestor"></a>
2577 <div class="fixedFont">
2578 <span class="attributes"></span><b class="itemname">isAncestor</b>
2580 (Node <B><i>node</i></B>)
2586 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2595 <div class="short">Returns true if the passed node is an ancestor (at any point) of this node.</div>
2601 Returns true if the passed node is an ancestor (at any point) of this node.
2608 <dl class="detailList">
2609 <dt class="heading">Parameters:</dt>
2612 <span class="fixedFont">Node</span> <b>node</b>
2623 <dl class="detailList">
2624 <dt class="heading">Returns:</dt>
2626 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
2640 <td class="msource">
2642 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2648 <tr class="method-row config-row-alt0 expandable">
2649 <td class="micon"><a class="exi" href="#expand"> </a></td>
2653 <a id="Roo.tree.TreeNode-method-isExpanded" name=".isExpanded"></a>
2654 <div class="fixedFont">
2655 <span class="attributes"></span><b class="itemname">isExpanded</b>
2663 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2672 <div class="short">Returns true if this node is expanded</div>
2678 Returns true if this node is expanded
2689 <dl class="detailList">
2690 <dt class="heading">Returns:</dt>
2692 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
2706 <td class="msource">
2708 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
2714 <tr class="method-row config-row-alt1 expandable">
2715 <td class="micon"><a class="exi" href="#expand"> </a></td>
2719 <a id="Roo.data.Node-method-isFirst" name=".isFirst"></a>
2720 <div class="fixedFont">
2721 <span class="attributes"></span><b class="itemname">isFirst</b>
2729 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2738 <div class="short">Returns true if this node is the first child of its parent</div>
2744 Returns true if this node is the first child of its parent
2755 <dl class="detailList">
2756 <dt class="heading">Returns:</dt>
2758 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
2772 <td class="msource">
2774 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2780 <tr class="method-row config-row-alt0 expandable">
2781 <td class="micon"><a class="exi" href="#expand"> </a></td>
2785 <a id="Roo.data.Node-method-isLast" name=".isLast"></a>
2786 <div class="fixedFont">
2787 <span class="attributes"></span><b class="itemname">isLast</b>
2795 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2804 <div class="short">Returns true if this node is the last child of its parent</div>
2810 Returns true if this node is the last child of its parent
2821 <dl class="detailList">
2822 <dt class="heading">Returns:</dt>
2824 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
2838 <td class="msource">
2840 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2846 <tr class="method-row config-row-alt1 expandable">
2847 <td class="micon"><a class="exi" href="#expand"> </a></td>
2851 <a id="Roo.data.Node-method-isLeaf" name=".isLeaf"></a>
2852 <div class="fixedFont">
2853 <span class="attributes"></span><b class="itemname">isLeaf</b>
2861 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2870 <div class="short">Returns true if this node is a leaf</div>
2876 Returns true if this node is a leaf
2887 <dl class="detailList">
2888 <dt class="heading">Returns:</dt>
2890 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
2904 <td class="msource">
2906 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
2912 <tr class="method-row config-row-alt0 expandable notInherited">
2913 <td class="micon"><a class="exi" href="#expand"> </a></td>
2917 <a id="Roo.tree.AsyncTreeNode-method-isLoaded" name=".isLoaded"></a>
2918 <div class="fixedFont">
2919 <span class="attributes"></span><b class="itemname">isLoaded</b>
2927 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2936 <div class="short">Returns true if this node has been loaded</div>
2942 Returns true if this node has been loaded
2953 <dl class="detailList">
2954 <dt class="heading">Returns:</dt>
2956 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
2970 <td class="msource">
2972 Roo.tree.AsyncTreeNode
2978 <tr class="method-row config-row-alt1 expandable notInherited">
2979 <td class="micon"><a class="exi" href="#expand"> </a></td>
2983 <a id="Roo.tree.AsyncTreeNode-method-isLoading" name=".isLoading"></a>
2984 <div class="fixedFont">
2985 <span class="attributes"></span><b class="itemname">isLoading</b>
2993 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3002 <div class="short">Returns true if this node is currently loading</div>
3008 Returns true if this node is currently loading
3019 <dl class="detailList">
3020 <dt class="heading">Returns:</dt>
3022 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
3036 <td class="msource">
3038 Roo.tree.AsyncTreeNode
3044 <tr class="method-row config-row-alt0 expandable">
3045 <td class="micon"><a class="exi" href="#expand"> </a></td>
3049 <a id="Roo.tree.TreeNode-method-isSelected" name=".isSelected"></a>
3050 <div class="fixedFont">
3051 <span class="attributes"></span><b class="itemname">isSelected</b>
3059 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3068 <div class="short">Returns true if this node is selected</div>
3074 Returns true if this node is selected
3085 <dl class="detailList">
3086 <dt class="heading">Returns:</dt>
3088 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
3102 <td class="msource">
3104 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
3110 <tr class="method-row config-row-alt1 expandable">
3111 <td class="micon"><a class="exi" href="#expand"> </a></td>
3115 <a id="Roo.data.Node-method-item" name=".item"></a>
3116 <div class="fixedFont">
3117 <span class="attributes"></span><b class="itemname">item</b>
3119 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>)
3134 <div class="short">Returns the child node at the specified index.</div>
3140 Returns the child node at the specified index.
3147 <dl class="detailList">
3148 <dt class="heading">Parameters:</dt>
3151 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
3162 <dl class="detailList">
3163 <dt class="heading">Returns:</dt>
3165 <dd><span class="fixedFont">Node</span> </dd>
3179 <td class="msource">
3181 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
3187 <tr class="method-row config-row-alt0 expandable">
3188 <td class="micon"><a class="exi" href="#expand"> </a></td>
3192 <a id="Roo.util.Observable-method-on" name=".on"></a>
3193 <div class="fixedFont">
3194 <span class="attributes"></span><b class="itemname">on</b>
3196 (<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>)
3203 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
3209 Appends an event handler to this element (shorthand for addListener)
3216 <dl class="detailList">
3217 <dt class="heading">Parameters:</dt>
3220 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3223 <dd>The type of event to listen for</dd>
3226 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3229 <dd>The method the event invokes</dd>
3232 <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>
3235 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
3238 <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>
3259 <td class="msource">
3261 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3267 <tr class="method-row config-row-alt1 expandable">
3268 <td class="micon"><a class="exi" href="#expand"> </a></td>
3272 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
3273 <div class="fixedFont">
3274 <span class="attributes"></span><b class="itemname">purgeListeners</b>
3283 <div class="short">Removes all listeners for this object</div>
3289 Removes all listeners for this object
3310 <td class="msource">
3312 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3318 <tr class="method-row config-row-alt0 expandable notInherited">
3319 <td class="micon"><a class="exi" href="#expand"> </a></td>
3323 <a id="Roo.tree.AsyncTreeNode-method-reload" name=".reload"></a>
3324 <div class="fixedFont">
3325 <span class="attributes"></span><b class="itemname">reload</b>
3327 (<a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>callback</i></B>)
3334 <div class="short">Trigger a reload for this node</div>
3340 Trigger a reload for this node
3347 <dl class="detailList">
3348 <dt class="heading">Parameters:</dt>
3351 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>callback</b>
3372 <td class="msource">
3374 Roo.tree.AsyncTreeNode
3380 <tr class="method-row config-row-alt1 expandable">
3381 <td class="micon"><a class="exi" href="#expand"> </a></td>
3385 <a id="Roo.data.Node-method-removeChild" name=".removeChild"></a>
3386 <div class="fixedFont">
3387 <span class="attributes"></span><b class="itemname">removeChild</b>
3389 (Node <B><i>node</i></B>)
3404 <div class="short">Removes a child node from this node.</div>
3410 Removes a child node from this node.
3417 <dl class="detailList">
3418 <dt class="heading">Parameters:</dt>
3421 <span class="fixedFont">Node</span> <b>node</b>
3424 <dd>The node to remove</dd>
3432 <dl class="detailList">
3433 <dt class="heading">Returns:</dt>
3435 <dd><span class="fixedFont">Node</span> The removed node</dd>
3449 <td class="msource">
3451 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
3457 <tr class="method-row config-row-alt0 expandable">
3458 <td class="micon"><a class="exi" href="#expand"> </a></td>
3462 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
3463 <div class="fixedFont">
3464 <span class="attributes"></span><b class="itemname">removeListener</b>
3466 (<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>)
3473 <div class="short">Removes a listener</div>
3486 <dl class="detailList">
3487 <dt class="heading">Parameters:</dt>
3490 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3493 <dd>The type of event to listen for</dd>
3496 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3499 <dd>The handler to remove</dd>
3502 <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>
3505 <dd>(optional) The scope (this object) for the handler</dd>
3523 <td class="msource">
3525 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3531 <tr class="method-row config-row-alt1 expandable">
3532 <td class="micon"><a class="exi" href="#expand"> </a></td>
3536 <a id="Roo.data.Node-method-replaceChild" name=".replaceChild"></a>
3537 <div class="fixedFont">
3538 <span class="attributes"></span><b class="itemname">replaceChild</b>
3540 (Node <B><i>newChild</i></B>, Node <B><i>oldChild</i></B>)
3555 <div class="short">Replaces one child node in this node with another.</div>
3561 Replaces one child node in this node with another.
3568 <dl class="detailList">
3569 <dt class="heading">Parameters:</dt>
3572 <span class="fixedFont">Node</span> <b>newChild</b>
3575 <dd>The replacement node</dd>
3578 <span class="fixedFont">Node</span> <b>oldChild</b>
3581 <dd>The node to replace</dd>
3589 <dl class="detailList">
3590 <dt class="heading">Returns:</dt>
3592 <dd><span class="fixedFont">Node</span> The replaced node</dd>
3606 <td class="msource">
3608 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
3614 <tr class="method-row config-row-alt0 expandable">
3615 <td class="micon"><a class="exi" href="#expand"> </a></td>
3619 <a id="Roo.tree.TreeNode-method-select" name=".select"></a>
3620 <div class="fixedFont">
3621 <span class="attributes"></span><b class="itemname">select</b>
3630 <div class="short">Triggers selection of this node</div>
3636 Triggers selection of this node
3657 <td class="msource">
3659 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
3665 <tr class="method-row config-row-alt1 expandable">
3666 <td class="micon"><a class="exi" href="#expand"> </a></td>
3670 <a id="Roo.tree.TreeNode-method-setText" name=".setText"></a>
3671 <div class="fixedFont">
3672 <span class="attributes"></span><b class="itemname">setText</b>
3674 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>text</i></B>)
3681 <div class="short">Sets the text for this node</div>
3687 Sets the text for this node
3694 <dl class="detailList">
3695 <dt class="heading">Parameters:</dt>
3698 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>text</b>
3719 <td class="msource">
3721 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
3727 <tr class="method-row config-row-alt0 expandable">
3728 <td class="micon"><a class="exi" href="#expand"> </a></td>
3732 <a id="Roo.data.Node-method-sort" name=".sort"></a>
3733 <div class="fixedFont">
3734 <span class="attributes"></span><b class="itemname">sort</b>
3736 (<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>)
3743 <div class="short">Sorts this nodes children using the supplied sort function</div>
3749 Sorts this nodes children using the supplied sort function
3756 <dl class="detailList">
3757 <dt class="heading">Parameters:</dt>
3760 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
3766 <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>
3787 <td class="msource">
3789 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
3795 <tr class="method-row config-row-alt1 expandable">
3796 <td class="micon"><a class="exi" href="#expand"> </a></td>
3800 <a id="Roo.tree.TreeNode-method-toggle" name=".toggle"></a>
3801 <div class="fixedFont">
3802 <span class="attributes"></span><b class="itemname">toggle</b>
3811 <div class="short">Toggles expanded/collapsed state of the node</div>
3817 Toggles expanded/collapsed state of the node
3838 <td class="msource">
3840 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
3846 <tr class="method-row config-row-alt0 expandable">
3847 <td class="micon"><a class="exi" href="#expand"> </a></td>
3851 <a id="Roo.util.Observable-method-un" name=".un"></a>
3852 <div class="fixedFont">
3853 <span class="attributes"></span><b class="itemname">un</b>
3855 (<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>)
3862 <div class="short">Removes a listener (shorthand for removeListener)</div>
3868 Removes a listener (shorthand for removeListener)
3875 <dl class="detailList">
3876 <dt class="heading">Parameters:</dt>
3879 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3882 <dd>The type of event to listen for</dd>
3885 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3888 <dd>The handler to remove</dd>
3891 <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>
3894 <dd>(optional) The scope (this object) for the handler</dd>
3912 <td class="msource">
3914 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3920 <tr class="method-row config-row-alt1 expandable">
3921 <td class="micon"><a class="exi" href="#expand"> </a></td>
3925 <a id="Roo.tree.TreeNode-method-unselect" name=".unselect"></a>
3926 <div class="fixedFont">
3927 <span class="attributes"></span><b class="itemname">unselect</b>
3936 <div class="short">Triggers deselection of this node</div>
3942 Triggers deselection of this node
3963 <td class="msource">
3965 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
3974 <!-- ============================== events summary / details ======================== -->
3977 <a id="Roo.tree.AsyncTreeNode-events"></a>
3986 <table cellspacing="0" class="member-table">
3987 <caption>Events</caption>
3990 <th class="sig-header" colspan="2">Event</th>
3991 <th class="msource-header">Defined By</th>
4000 <tr class="method-row expandable config-row-alt0">
4001 <td class="micon"><a class="exi" href="#expand"> </a></td>
4004 <a id="Roo.data.Node-event-*append"></a>
4006 <div class="fixedFont">
4007 <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>)
4013 <div class="short">Fires when a new child node is appended
4019 Fires when a new child node is appended
4025 <dl class="detailList">
4026 <dt class="heading">Parameters:</dt>
4029 <span class="fixedFont">Tree</span> <b>tree</b>
4032 <dd>The owner tree</dd>
4035 <span class="fixedFont">Node</span> <b>this</b>
4041 <span class="fixedFont">Node</span> <b>node</b>
4044 <dd>The newly appended node</dd>
4047 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
4050 <dd>The index of the newly appended node</dd>
4068 <td class="msource">
4069 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
4073 <tr class="method-row expandable config-row-alt1">
4074 <td class="micon"><a class="exi" href="#expand"> </a></td>
4077 <a id="Roo.data.Node-event-*beforeappend"></a>
4079 <div class="fixedFont">
4080 <b class="itemname">beforeappend</b> (Tree <B><i>tree</i></B>, Node <B><i>this</i></B>, Node <B><i>node</i></B>)
4086 <div class="short">Fires before a new child is appended, return false to cancel the append.
4092 Fires before a new child is appended, return false to cancel the append.
4098 <dl class="detailList">
4099 <dt class="heading">Parameters:</dt>
4102 <span class="fixedFont">Tree</span> <b>tree</b>
4105 <dd>The owner tree</dd>
4108 <span class="fixedFont">Node</span> <b>this</b>
4114 <span class="fixedFont">Node</span> <b>node</b>
4117 <dd>The child node to be appended</dd>
4135 <td class="msource">
4136 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
4140 <tr class="method-row expandable config-row-alt0">
4141 <td class="micon"><a class="exi" href="#expand"> </a></td>
4144 <a id="Roo.tree.TreeNode-event-*beforechildrenrendered"></a>
4146 <div class="fixedFont">
4147 <b class="itemname">beforechildrenrendered</b> (Node <B><i>this</i></B>)
4153 <div class="short">Fires right before the child nodes for this node are rendered
4159 Fires right before the child nodes for this node are rendered
4165 <dl class="detailList">
4166 <dt class="heading">Parameters:</dt>
4169 <span class="fixedFont">Node</span> <b>this</b>
4190 <td class="msource">
4191 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
4195 <tr class="method-row expandable config-row-alt1">
4196 <td class="micon"><a class="exi" href="#expand"> </a></td>
4199 <a id="Roo.tree.TreeNode-event-*beforeclick"></a>
4201 <div class="fixedFont">
4202 <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>)
4208 <div class="short">Fires before click processing.
4214 Fires before click processing. Return false to cancel the default action.
4220 <dl class="detailList">
4221 <dt class="heading">Parameters:</dt>
4224 <span class="fixedFont">Node</span> <b>this</b>
4230 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4233 <dd>The event object</dd>
4251 <td class="msource">
4252 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
4256 <tr class="method-row expandable config-row-alt0">
4257 <td class="micon"><a class="exi" href="#expand"> </a></td>
4260 <a id="Roo.tree.TreeNode-event-*beforecollapse"></a>
4262 <div class="fixedFont">
4263 <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>)
4269 <div class="short">Fires before this node is collapsed, return false to cancel.
4275 Fires before this node is collapsed, return false to cancel.
4281 <dl class="detailList">
4282 <dt class="heading">Parameters:</dt>
4285 <span class="fixedFont">Node</span> <b>this</b>
4291 <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>
4297 <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>
4318 <td class="msource">
4319 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
4323 <tr class="method-row expandable config-row-alt1">
4324 <td class="micon"><a class="exi" href="#expand"> </a></td>
4327 <a id="Roo.tree.TreeNode-event-*beforeexpand"></a>
4329 <div class="fixedFont">
4330 <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>)
4336 <div class="short">Fires before this node is expanded, return false to cancel.
4342 Fires before this node is expanded, return false to cancel.
4348 <dl class="detailList">
4349 <dt class="heading">Parameters:</dt>
4352 <span class="fixedFont">Node</span> <b>this</b>
4358 <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>
4364 <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>
4385 <td class="msource">
4386 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
4390 <tr class="method-row expandable config-row-alt0">
4391 <td class="micon"><a class="exi" href="#expand"> </a></td>
4394 <a id="Roo.data.Node-event-*beforeinsert"></a>
4396 <div class="fixedFont">
4397 <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>)
4403 <div class="short">Fires before a new child is inserted, return false to cancel the insert.
4409 Fires before a new child is inserted, return false to cancel the insert.
4415 <dl class="detailList">
4416 <dt class="heading">Parameters:</dt>
4419 <span class="fixedFont">Tree</span> <b>tree</b>
4422 <dd>The owner tree</dd>
4425 <span class="fixedFont">Node</span> <b>this</b>
4431 <span class="fixedFont">Node</span> <b>node</b>
4434 <dd>The child node to be inserted</dd>
4437 <span class="fixedFont">Node</span> <b>refNode</b>
4440 <dd>The child node the node is being inserted before</dd>
4458 <td class="msource">
4459 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
4463 <tr class="method-row expandable config-row-alt1 notInherited">
4464 <td class="micon"><a class="exi" href="#expand"> </a></td>
4467 <a id="Roo.tree.AsyncTreeNode-event-*beforeload"></a>
4469 <div class="fixedFont">
4470 <b class="itemname">beforeload</b> (Node <B><i>this</i></B>)
4476 <div class="short">Fires before this node is loaded, return false to cancel
4482 Fires before this node is loaded, return false to cancel
4488 <dl class="detailList">
4489 <dt class="heading">Parameters:</dt>
4492 <span class="fixedFont">Node</span> <b>this</b>
4513 <td class="msource">
4514 Roo.tree.AsyncTreeNode
4518 <tr class="method-row expandable config-row-alt0">
4519 <td class="micon"><a class="exi" href="#expand"> </a></td>
4522 <a id="Roo.data.Node-event-*beforemove"></a>
4524 <div class="fixedFont">
4525 <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>)
4531 <div class="short">Fires before this node is moved to a new location in the tree.
4537 Fires before this node is moved to a new location in the tree. Return false to cancel the move.
4543 <dl class="detailList">
4544 <dt class="heading">Parameters:</dt>
4547 <span class="fixedFont">Tree</span> <b>tree</b>
4550 <dd>The owner tree</dd>
4553 <span class="fixedFont">Node</span> <b>this</b>
4559 <span class="fixedFont">Node</span> <b>oldParent</b>
4562 <dd>The parent of this node</dd>
4565 <span class="fixedFont">Node</span> <b>newParent</b>
4568 <dd>The new parent this node is moving to</dd>
4571 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
4574 <dd>The index it is being moved to</dd>
4592 <td class="msource">
4593 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
4597 <tr class="method-row expandable config-row-alt1">
4598 <td class="micon"><a class="exi" href="#expand"> </a></td>
4601 <a id="Roo.data.Node-event-*beforeremove"></a>
4603 <div class="fixedFont">
4604 <b class="itemname">beforeremove</b> (Tree <B><i>tree</i></B>, Node <B><i>this</i></B>, Node <B><i>node</i></B>)
4610 <div class="short">Fires before a child is removed, return false to cancel the remove.
4616 Fires before a child is removed, return false to cancel the remove.
4622 <dl class="detailList">
4623 <dt class="heading">Parameters:</dt>
4626 <span class="fixedFont">Tree</span> <b>tree</b>
4629 <dd>The owner tree</dd>
4632 <span class="fixedFont">Node</span> <b>this</b>
4638 <span class="fixedFont">Node</span> <b>node</b>
4641 <dd>The child node to be removed</dd>
4659 <td class="msource">
4660 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
4664 <tr class="method-row expandable config-row-alt0">
4665 <td class="micon"><a class="exi" href="#expand"> </a></td>
4668 <a id="Roo.tree.TreeNode-event-*checkchange"></a>
4670 <div class="fixedFont">
4671 <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>)
4677 <div class="short">Fires when a node with a checkbox's checked property changes
4683 Fires when a node with a checkbox's checked property changes
4689 <dl class="detailList">
4690 <dt class="heading">Parameters:</dt>
4693 <span class="fixedFont">Node</span> <b>this</b>
4699 <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>
4720 <td class="msource">
4721 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
4725 <tr class="method-row expandable config-row-alt1">
4726 <td class="micon"><a class="exi" href="#expand"> </a></td>
4729 <a id="Roo.tree.TreeNode-event-*click"></a>
4731 <div class="fixedFont">
4732 <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>)
4738 <div class="short">Fires when this node is clicked
4744 Fires when this node is clicked
4750 <dl class="detailList">
4751 <dt class="heading">Parameters:</dt>
4754 <span class="fixedFont">Node</span> <b>this</b>
4760 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4763 <dd>The event object</dd>
4781 <td class="msource">
4782 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
4786 <tr class="method-row expandable config-row-alt0">
4787 <td class="micon"><a class="exi" href="#expand"> </a></td>
4790 <a id="Roo.tree.TreeNode-event-*collapse"></a>
4792 <div class="fixedFont">
4793 <b class="itemname">collapse</b> (Node <B><i>this</i></B>)
4799 <div class="short">Fires when this node is collapsed
4805 Fires when this node is collapsed
4811 <dl class="detailList">
4812 <dt class="heading">Parameters:</dt>
4815 <span class="fixedFont">Node</span> <b>this</b>
4836 <td class="msource">
4837 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
4841 <tr class="method-row expandable config-row-alt1">
4842 <td class="micon"><a class="exi" href="#expand"> </a></td>
4845 <a id="Roo.tree.TreeNode-event-*contextmenu"></a>
4847 <div class="fixedFont">
4848 <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>)
4854 <div class="short">Fires when this node is right clicked
4860 Fires when this node is right clicked
4866 <dl class="detailList">
4867 <dt class="heading">Parameters:</dt>
4870 <span class="fixedFont">Node</span> <b>this</b>
4876 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4879 <dd>The event object</dd>
4897 <td class="msource">
4898 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
4902 <tr class="method-row expandable config-row-alt0">
4903 <td class="micon"><a class="exi" href="#expand"> </a></td>
4906 <a id="Roo.tree.TreeNode-event-*dblclick"></a>
4908 <div class="fixedFont">
4909 <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>)
4915 <div class="short">Fires when this node is double clicked
4921 Fires when this node is double clicked
4927 <dl class="detailList">
4928 <dt class="heading">Parameters:</dt>
4931 <span class="fixedFont">Node</span> <b>this</b>
4937 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4940 <dd>The event object</dd>
4958 <td class="msource">
4959 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
4963 <tr class="method-row expandable config-row-alt1">
4964 <td class="micon"><a class="exi" href="#expand"> </a></td>
4967 <a id="Roo.tree.TreeNode-event-*disabledchange"></a>
4969 <div class="fixedFont">
4970 <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>)
4976 <div class="short">Fires when the disabled status of this node changes
4982 Fires when the disabled status of this node changes
4988 <dl class="detailList">
4989 <dt class="heading">Parameters:</dt>
4992 <span class="fixedFont">Node</span> <b>this</b>
4998 <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>
5019 <td class="msource">
5020 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
5024 <tr class="method-row expandable config-row-alt0">
5025 <td class="micon"><a class="exi" href="#expand"> </a></td>
5028 <a id="Roo.tree.TreeNode-event-*expand"></a>
5030 <div class="fixedFont">
5031 <b class="itemname">expand</b> (Node <B><i>this</i></B>)
5037 <div class="short">Fires when this node is expanded
5043 Fires when this node is expanded
5049 <dl class="detailList">
5050 <dt class="heading">Parameters:</dt>
5053 <span class="fixedFont">Node</span> <b>this</b>
5074 <td class="msource">
5075 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
5079 <tr class="method-row expandable config-row-alt1">
5080 <td class="micon"><a class="exi" href="#expand"> </a></td>
5083 <a id="Roo.data.Node-event-*insert"></a>
5085 <div class="fixedFont">
5086 <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>)
5092 <div class="short">Fires when a new child node is inserted.
5098 Fires when a new child node is inserted.
5104 <dl class="detailList">
5105 <dt class="heading">Parameters:</dt>
5108 <span class="fixedFont">Tree</span> <b>tree</b>
5111 <dd>The owner tree</dd>
5114 <span class="fixedFont">Node</span> <b>this</b>
5120 <span class="fixedFont">Node</span> <b>node</b>
5123 <dd>The child node inserted</dd>
5126 <span class="fixedFont">Node</span> <b>refNode</b>
5129 <dd>The child node the node was inserted before</dd>
5147 <td class="msource">
5148 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
5152 <tr class="method-row expandable config-row-alt0 notInherited">
5153 <td class="micon"><a class="exi" href="#expand"> </a></td>
5156 <a id="Roo.tree.AsyncTreeNode-event-*load"></a>
5158 <div class="fixedFont">
5159 <b class="itemname">load</b> (Node <B><i>this</i></B>)
5165 <div class="short">Fires when this node is loaded
5171 Fires when this node is loaded
5177 <dl class="detailList">
5178 <dt class="heading">Parameters:</dt>
5181 <span class="fixedFont">Node</span> <b>this</b>
5202 <td class="msource">
5203 Roo.tree.AsyncTreeNode
5207 <tr class="method-row expandable config-row-alt1">
5208 <td class="micon"><a class="exi" href="#expand"> </a></td>
5211 <a id="Roo.data.Node-event-*move"></a>
5213 <div class="fixedFont">
5214 <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>)
5220 <div class="short">Fires when this node is moved to a new location in the tree
5226 Fires when this node is moved to a new location in the tree
5232 <dl class="detailList">
5233 <dt class="heading">Parameters:</dt>
5236 <span class="fixedFont">Tree</span> <b>tree</b>
5239 <dd>The owner tree</dd>
5242 <span class="fixedFont">Node</span> <b>this</b>
5248 <span class="fixedFont">Node</span> <b>oldParent</b>
5251 <dd>The old parent of this node</dd>
5254 <span class="fixedFont">Node</span> <b>newParent</b>
5257 <dd>The new parent of this node</dd>
5260 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
5263 <dd>The index it was moved to</dd>
5281 <td class="msource">
5282 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
5286 <tr class="method-row expandable config-row-alt0">
5287 <td class="micon"><a class="exi" href="#expand"> </a></td>
5290 <a id="Roo.data.Node-event-*remove"></a>
5292 <div class="fixedFont">
5293 <b class="itemname">remove</b> (Tree <B><i>tree</i></B>, Node <B><i>this</i></B>, Node <B><i>node</i></B>)
5299 <div class="short">Fires when a child node is removed
5305 Fires when a child node is removed
5311 <dl class="detailList">
5312 <dt class="heading">Parameters:</dt>
5315 <span class="fixedFont">Tree</span> <b>tree</b>
5318 <dd>The owner tree</dd>
5321 <span class="fixedFont">Node</span> <b>this</b>
5327 <span class="fixedFont">Node</span> <b>node</b>
5330 <dd>The removed node</dd>
5348 <td class="msource">
5349 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
5353 <tr class="method-row expandable config-row-alt1">
5354 <td class="micon"><a class="exi" href="#expand"> </a></td>
5357 <a id="Roo.tree.TreeNode-event-*textchange"></a>
5359 <div class="fixedFont">
5360 <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>)
5366 <div class="short">Fires when the text for this node is changed
5372 Fires when the text for this node is changed
5378 <dl class="detailList">
5379 <dt class="heading">Parameters:</dt>
5382 <span class="fixedFont">Node</span> <b>this</b>
5388 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>text</b>
5391 <dd>The new text</dd>
5394 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>oldText</b>
5397 <dd>The old text</dd>
5415 <td class="msource">
5416 <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a>
5427 <!-- ============================== footer ================================= -->
5428 <div class="fineprint" style="clear:both">
5430 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Mon Nov 06 2017 11:00:34 GMT+0800 (HKT)
5432 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>