1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8 <meta name="generator" content="JsDoc Toolkit" />
11 <title>JsDoc Reference - Roo.tree.TreeNode</title>
14 <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />
15 <link rel="stylesheet" type="text/css" href="../default.css" />
18 <script type="text/javascript" src="../page.js">
25 <body onload="RooDocsPage.onload();">
28 <div class="body-wrap">
30 <!-- ============================== links to methods. ================================= -->
32 <div class="top-tools">
34 <a class="inner-link" href="#Roo.tree.TreeNode-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.tree.TreeNode-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.tree.TreeNode-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.tree.TreeNode-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38 <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
43 <!-- ============================== inheritance Block. ================================= -->
45 <div class="inheritance res-block">
46 <pre class="res-block-inner"><a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
47 <img src="../../images/default/s.gif" height="1" width="20"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.tree.TreeNode
52 <!-- ============================== class title / details ============================ -->
55 <h1 class="classTitle">
57 Class Roo.tree.TreeNode
60 <table cellspacing="0" class="class-summary-table">
62 <tr><td class="label">Package:</td><td class="hd-info">Roo.tree</td></tr>
64 <tr><td class="label">Defined In:</td><td class="hd-info">
66 <a href="./src/Roo_tree_TreeNode.js.html">Roo/tree/TreeNode.js</a>.
69 <tr><td class="label">Class:</td><td class="hd-info">TreeNode</td></tr>
74 <tr><td class="label">Extends:</td><td class="hd-info">
75 <a href="./Roo.data.Node.html#constructor" roo:cls="Roo.data.Node.html#constructor">Roo.data.Node</a>
83 <!-- ============================== class summary ========================== -->
84 <div class="description">
85 is to use the cls or iconCls attributes and add the icon via a CSS background image.
89 <!-- ============================== Class comment block... ========================== -->
91 <div class="comments">
92 <b>Class Comments / Notes</B> =>
93 <u onclick="parent.CommentDialog.showCommentId = 'Roo.tree.TreeNode';">[Add Your comment/notes about this class]</u>
95 <iframe frameborder="0" id="comments-Roo.tree" style="border: none;width:100%;"
96 src="/blog.php/GtkDjsComments/Roo.tree.TreeNode.html"></iframe>
101 <!-- ============================== config options ========================== -->
106 <div class="hr"></div>
107 <a id="Roo.tree.TreeNode-configs"></a>
113 <table cellspacing="0" class="member-table">
114 <caption>Config Options (Usually are also Properties)</caption>
118 <th class="sig-header" colspan="2">Options</th>
120 <th class="msource-header">Defined By</th>
127 <tr class="config-row expandable config-row-alt0 notInherited">
128 <td class="micon"><a class="exi" href="#expand"> </a></td>
131 <a id="Roo.tree.TreeNode-cfg-allowDrag" name=".allowDrag"></a>
132 <div class="fixedFont">
133 <b class="itemname">allowDrag</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
139 <div class="short">false to make this node undraggable if DD is on (defaults to true)</div>
143 <div class="long">false to make this node undraggable if DD is on (defaults to true)</div>
157 <tr class="config-row expandable config-row-alt1 notInherited">
158 <td class="micon"><a class="exi" href="#expand"> </a></td>
161 <a id="Roo.tree.TreeNode-cfg-allowDrop" name=".allowDrop"></a>
162 <div class="fixedFont">
163 <b class="itemname">allowDrop</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
169 <div class="short">false if this node cannot be drop on</div>
173 <div class="long">false if this node cannot be drop on</div>
187 <tr class="config-row expandable config-row-alt0 notInherited">
188 <td class="micon"><a class="exi" href="#expand"> </a></td>
191 <a id="Roo.tree.TreeNode-cfg-checked" name=".checked"></a>
192 <div class="fixedFont">
193 <b class="itemname">checked</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
199 <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>
203 <div class="long">True to render a checked checkbox for this node, false to render an unchecked checkbox<br/>(defaults to undefined with no checkbox rendered)</div>
217 <tr class="config-row expandable config-row-alt1 notInherited">
218 <td class="micon"><a class="exi" href="#expand"> </a></td>
221 <a id="Roo.tree.TreeNode-cfg-cls" name=".cls"></a>
222 <div class="fixedFont">
223 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
229 <div class="short">A css class to be added to the node</div>
233 <div class="long">A css class to be added to the node</div>
247 <tr class="config-row expandable config-row-alt0 notInherited">
248 <td class="micon"><a class="exi" href="#expand"> </a></td>
251 <a id="Roo.tree.TreeNode-cfg-disabled" name=".disabled"></a>
252 <div class="fixedFont">
253 <b class="itemname">disabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
259 <div class="short">true to start the node disabled</div>
263 <div class="long">true to start the node disabled</div>
277 <tr class="config-row expandable config-row-alt1 notInherited">
278 <td class="micon"><a class="exi" href="#expand"> </a></td>
281 <a id="Roo.tree.TreeNode-cfg-expanded" name=".expanded"></a>
282 <div class="fixedFont">
283 <b class="itemname">expanded</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
289 <div class="short">true to start the node expanded</div>
293 <div class="long">true to start the node expanded</div>
307 <tr class="config-row expandable config-row-alt0 notInherited">
308 <td class="micon"><a class="exi" href="#expand"> </a></td>
311 <a id="Roo.tree.TreeNode-cfg-href" name=".href"></a>
312 <div class="fixedFont">
313 <b class="itemname">href</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
319 <div class="short">URL of the link used for the node (defaults to #)</div>
323 <div class="long">URL of the link used for the node (defaults to #)</div>
337 <tr class="config-row expandable config-row-alt1 notInherited">
338 <td class="micon"><a class="exi" href="#expand"> </a></td>
341 <a id="Roo.tree.TreeNode-cfg-hrefTarget" name=".hrefTarget"></a>
342 <div class="fixedFont">
343 <b class="itemname">hrefTarget</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
349 <div class="short">target frame for the link</div>
353 <div class="long">target frame for the link</div>
367 <tr class="config-row expandable config-row-alt0 notInherited">
368 <td class="micon"><a class="exi" href="#expand"> </a></td>
371 <a id="Roo.tree.TreeNode-cfg-icon" name=".icon"></a>
372 <div class="fixedFont">
373 <b class="itemname">icon</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
379 <div class="short">The path to an icon for the node.</div>
383 <div class="long">The path to an icon for the node. The preferred way to do this</div>
397 <tr class="config-row expandable config-row-alt1 notInherited">
398 <td class="micon"><a class="exi" href="#expand"> </a></td>
401 <a id="Roo.tree.TreeNode-cfg-iconCls" name=".iconCls"></a>
402 <div class="fixedFont">
403 <b class="itemname">iconCls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
409 <div class="short">A css class to be added to the nodes icon element for applying css background images</div>
413 <div class="long">A css class to be added to the nodes icon element for applying css background images</div>
427 <tr class="config-row expandable config-row-alt0 notInherited">
428 <td class="micon"><a class="exi" href="#expand"> </a></td>
431 <a id="Roo.tree.TreeNode-cfg-qtip" name=".qtip"></a>
432 <div class="fixedFont">
433 <b class="itemname">qtip</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
439 <div class="short">An Ext QuickTip for the node</div>
443 <div class="long">An Ext QuickTip for the node</div>
457 <tr class="config-row expandable config-row-alt1 notInherited">
458 <td class="micon"><a class="exi" href="#expand"> </a></td>
461 <a id="Roo.tree.TreeNode-cfg-qtipCfg" name=".qtipCfg"></a>
462 <div class="fixedFont">
463 <b class="itemname">qtipCfg</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
469 <div class="short">An Ext QuickTip config for the node (used instead of qtip)</div>
473 <div class="long">An Ext QuickTip config for the node (used instead of qtip)</div>
487 <tr class="config-row expandable config-row-alt0 notInherited">
488 <td class="micon"><a class="exi" href="#expand"> </a></td>
491 <a id="Roo.tree.TreeNode-cfg-singleClickExpand" name=".singleClickExpand"></a>
492 <div class="fixedFont">
493 <b class="itemname">singleClickExpand</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
499 <div class="short">True for single click expand on this node</div>
503 <div class="long">True for single click expand on this node</div>
517 <tr class="config-row expandable config-row-alt1 notInherited">
518 <td class="micon"><a class="exi" href="#expand"> </a></td>
521 <a id="Roo.tree.TreeNode-cfg-text" name=".text"></a>
522 <div class="fixedFont">
523 <b class="itemname">text</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
529 <div class="short">The text for this node</div>
533 <div class="long">The text for this node</div>
547 <tr class="config-row expandable config-row-alt0 notInherited">
548 <td class="micon"><a class="exi" href="#expand"> </a></td>
551 <a id="Roo.tree.TreeNode-cfg-uiProvider" name=".uiProvider"></a>
552 <div class="fixedFont">
553 <b class="itemname">uiProvider</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
559 <div class="short">A UI <b>class</b> to use for this node (defaults to Roo.tree.TreeNodeUI)</div>
563 <div class="long">A UI <b>class</b> to use for this node (defaults to Roo.tree.TreeNodeUI)</div>
587 <!-- ============================== public properties ==================== -->
591 <a id="Roo.tree.TreeNode-props"></a>
597 <table cellspacing="0" class="member-table">
598 <caption class="Empty">Public Properties - Has None</caption>
604 <!-- ============================== methods summary / details ======================== -->
607 <a id="Roo.tree.TreeNode-methods"></a>
608 <!-- constructor?? -->
615 <!-- then dynamics first -->
622 <table cellspacing="0" class="member-table">
623 <caption>Public Methods</caption>
625 <th class="sig-header" colspan="2">Method</th>
626 <th class="msource-header">Defined By</th>
636 <tr class="method-row config-row-alt0 expandable notInherited">
637 <td class="micon"><a class="exi" href="#expand"> </a></td>
641 <a id="Roo.tree-method-TreeNode" name=".TreeNode"></a>
642 <div class="fixedFont">
643 <span class="attributes">new <B>Roo.tree.</B></span><b class="itemname">TreeNode</b>
645 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>/String <B><i>attributes</i></B>)
653 <div class="short">Create a new Roo.tree.TreeNode</div>
660 Create a new Roo.tree.TreeNode
663 <dl class="detailList">
664 <dt class="heading">Parameters:</dt>
667 <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>
670 <dd>The attributes/config for the node or just a string with the text for the node</dd>
694 <tr class="method-row config-row-alt1 expandable notInherited">
695 <td class="micon"><a class="exi" href="#expand"> </a></td>
699 <a id="Roo.tree.TreeNode-method-collapse" name=".collapse"></a>
700 <div class="fixedFont">
701 <span class="attributes"></span><b class="itemname">collapse</b>
703 (<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>)
710 <div class="short">Collapse this node.</div>
723 <dl class="detailList">
724 <dt class="heading">Parameters:</dt>
727 <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>
730 <dd>(optional) True to collapse all children as well</dd>
733 <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>
736 <dd>(optional) false to cancel the default animation</dd>
762 <tr class="method-row config-row-alt0 expandable notInherited">
763 <td class="micon"><a class="exi" href="#expand"> </a></td>
767 <a id="Roo.tree.TreeNode-method-collapseChildNodes" name=".collapseChildNodes"></a>
768 <div class="fixedFont">
769 <span class="attributes"></span><b class="itemname">collapseChildNodes</b>
771 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>deep</i></B>)
778 <div class="short">Collapse all child nodes</div>
784 Collapse all child nodes
791 <dl class="detailList">
792 <dt class="heading">Parameters:</dt>
795 <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>
798 <dd>(optional) true if the child nodes should also collapse their child nodes</dd>
824 <tr class="method-row config-row-alt1 expandable notInherited">
825 <td class="micon"><a class="exi" href="#expand"> </a></td>
829 <a id="Roo.tree.TreeNode-method-disable" name=".disable"></a>
830 <div class="fixedFont">
831 <span class="attributes"></span><b class="itemname">disable</b>
840 <div class="short">Disables this node</div>
875 <tr class="method-row config-row-alt0 expandable notInherited">
876 <td class="micon"><a class="exi" href="#expand"> </a></td>
880 <a id="Roo.tree.TreeNode-method-enable" name=".enable"></a>
881 <div class="fixedFont">
882 <span class="attributes"></span><b class="itemname">enable</b>
891 <div class="short">Enables this node</div>
926 <tr class="method-row config-row-alt1 expandable notInherited">
927 <td class="micon"><a class="exi" href="#expand"> </a></td>
931 <a id="Roo.tree.TreeNode-method-ensureVisible" name=".ensureVisible"></a>
932 <div class="fixedFont">
933 <span class="attributes"></span><b class="itemname">ensureVisible</b>
942 <div class="short">Ensures all parent nodes are expanded</div>
948 Ensures all parent nodes are expanded
977 <tr class="method-row config-row-alt0 expandable notInherited">
978 <td class="micon"><a class="exi" href="#expand"> </a></td>
982 <a id="Roo.tree.TreeNode-method-expand" name=".expand"></a>
983 <div class="fixedFont">
984 <span class="attributes"></span><b class="itemname">expand</b>
986 (<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>)
993 <div class="short">Expand this node.</div>
1006 <dl class="detailList">
1007 <dt class="heading">Parameters:</dt>
1010 <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>
1013 <dd>(optional) True to expand all children as well</dd>
1016 <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>
1019 <dd>(optional) false to cancel the default animation</dd>
1022 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>callback</b>
1025 <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>
1043 <td class="msource">
1051 <tr class="method-row config-row-alt1 expandable notInherited">
1052 <td class="micon"><a class="exi" href="#expand"> </a></td>
1056 <a id="Roo.tree.TreeNode-method-expandChildNodes" name=".expandChildNodes"></a>
1057 <div class="fixedFont">
1058 <span class="attributes"></span><b class="itemname">expandChildNodes</b>
1060 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>deep</i></B>)
1067 <div class="short">Expand all child nodes</div>
1073 Expand all child nodes
1080 <dl class="detailList">
1081 <dt class="heading">Parameters:</dt>
1084 <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>
1087 <dd>(optional) true if the child nodes should also expand their child nodes</dd>
1105 <td class="msource">
1113 <tr class="method-row config-row-alt0 expandable notInherited">
1114 <td class="micon"><a class="exi" href="#expand"> </a></td>
1118 <a id="Roo.tree.TreeNode-method-getUI" name=".getUI"></a>
1119 <div class="fixedFont">
1120 <span class="attributes"></span><b class="itemname">getUI</b>
1137 <div class="short">Returns the UI object for this node</div>
1143 Returns the UI object for this node
1154 <dl class="detailList">
1155 <dt class="heading">Returns:</dt>
1157 <dd><span class="fixedFont">TreeNodeUI</span> </dd>
1171 <td class="msource">
1179 <tr class="method-row config-row-alt1 expandable notInherited">
1180 <td class="micon"><a class="exi" href="#expand"> </a></td>
1184 <a id="Roo.tree.TreeNode-method-isExpanded" name=".isExpanded"></a>
1185 <div class="fixedFont">
1186 <span class="attributes"></span><b class="itemname">isExpanded</b>
1194 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1203 <div class="short">Returns true if this node is expanded</div>
1209 Returns true if this node is expanded
1220 <dl class="detailList">
1221 <dt class="heading">Returns:</dt>
1223 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
1237 <td class="msource">
1245 <tr class="method-row config-row-alt0 expandable notInherited">
1246 <td class="micon"><a class="exi" href="#expand"> </a></td>
1250 <a id="Roo.tree.TreeNode-method-isSelected" name=".isSelected"></a>
1251 <div class="fixedFont">
1252 <span class="attributes"></span><b class="itemname">isSelected</b>
1260 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1269 <div class="short">Returns true if this node is selected</div>
1275 Returns true if this node is selected
1286 <dl class="detailList">
1287 <dt class="heading">Returns:</dt>
1289 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
1303 <td class="msource">
1311 <tr class="method-row config-row-alt1 expandable notInherited">
1312 <td class="micon"><a class="exi" href="#expand"> </a></td>
1316 <a id="Roo.tree.TreeNode-method-select" name=".select"></a>
1317 <div class="fixedFont">
1318 <span class="attributes"></span><b class="itemname">select</b>
1327 <div class="short">Triggers selection of this node</div>
1333 Triggers selection of this node
1354 <td class="msource">
1362 <tr class="method-row config-row-alt0 expandable notInherited">
1363 <td class="micon"><a class="exi" href="#expand"> </a></td>
1367 <a id="Roo.tree.TreeNode-method-setText" name=".setText"></a>
1368 <div class="fixedFont">
1369 <span class="attributes"></span><b class="itemname">setText</b>
1371 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>text</i></B>)
1378 <div class="short">Sets the text for this node</div>
1384 Sets the text for this node
1391 <dl class="detailList">
1392 <dt class="heading">Parameters:</dt>
1395 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>text</b>
1416 <td class="msource">
1424 <tr class="method-row config-row-alt1 expandable notInherited">
1425 <td class="micon"><a class="exi" href="#expand"> </a></td>
1429 <a id="Roo.tree.TreeNode-method-toggle" name=".toggle"></a>
1430 <div class="fixedFont">
1431 <span class="attributes"></span><b class="itemname">toggle</b>
1440 <div class="short">Toggles expanded/collapsed state of the node</div>
1446 Toggles expanded/collapsed state of the node
1467 <td class="msource">
1475 <tr class="method-row config-row-alt0 expandable notInherited">
1476 <td class="micon"><a class="exi" href="#expand"> </a></td>
1480 <a id="Roo.tree.TreeNode-method-unselect" name=".unselect"></a>
1481 <div class="fixedFont">
1482 <span class="attributes"></span><b class="itemname">unselect</b>
1491 <div class="short">Triggers deselection of this node</div>
1497 Triggers deselection of this node
1518 <td class="msource">
1529 <!-- ============================== events summary / details ======================== -->
1532 <a id="Roo.tree.TreeNode-events"></a>
1541 <table cellspacing="0" class="member-table">
1542 <caption>Events</caption>
1545 <th class="sig-header" colspan="2">Event</th>
1546 <th class="msource-header">Defined By</th>
1555 <tr class="method-row expandable config-row-alt0 notInherited">
1556 <td class="micon"><a class="exi" href="#expand"> </a></td>
1559 <a id="Roo.tree.TreeNode-event-*beforechildrenrendered"></a>
1561 <div class="fixedFont">
1562 <b class="itemname">beforechildrenrendered</b> (Node <B><i>this</i></B>)
1568 <div class="short">Fires right before the child nodes for this node are rendered
1574 Fires right before the child nodes for this node are rendered
1580 <dl class="detailList">
1581 <dt class="heading">Parameters:</dt>
1584 <span class="fixedFont">Node</span> <b>this</b>
1605 <td class="msource">
1610 <tr class="method-row expandable config-row-alt1 notInherited">
1611 <td class="micon"><a class="exi" href="#expand"> </a></td>
1614 <a id="Roo.tree.TreeNode-event-*beforeclick"></a>
1616 <div class="fixedFont">
1617 <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>)
1623 <div class="short">Fires before click processing.
1629 Fires before click processing. Return false to cancel the default action.
1635 <dl class="detailList">
1636 <dt class="heading">Parameters:</dt>
1639 <span class="fixedFont">Node</span> <b>this</b>
1645 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
1648 <dd>The event object</dd>
1666 <td class="msource">
1671 <tr class="method-row expandable config-row-alt0 notInherited">
1672 <td class="micon"><a class="exi" href="#expand"> </a></td>
1675 <a id="Roo.tree.TreeNode-event-*beforecollapse"></a>
1677 <div class="fixedFont">
1678 <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>)
1684 <div class="short">Fires before this node is collapsed, return false to cancel.
1690 Fires before this node is collapsed, return false to cancel.
1696 <dl class="detailList">
1697 <dt class="heading">Parameters:</dt>
1700 <span class="fixedFont">Node</span> <b>this</b>
1706 <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>
1712 <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>
1733 <td class="msource">
1738 <tr class="method-row expandable config-row-alt1 notInherited">
1739 <td class="micon"><a class="exi" href="#expand"> </a></td>
1742 <a id="Roo.tree.TreeNode-event-*beforeexpand"></a>
1744 <div class="fixedFont">
1745 <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>)
1751 <div class="short">Fires before this node is expanded, return false to cancel.
1757 Fires before this node is expanded, return false to cancel.
1763 <dl class="detailList">
1764 <dt class="heading">Parameters:</dt>
1767 <span class="fixedFont">Node</span> <b>this</b>
1773 <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>
1779 <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>
1800 <td class="msource">
1805 <tr class="method-row expandable config-row-alt0 notInherited">
1806 <td class="micon"><a class="exi" href="#expand"> </a></td>
1809 <a id="Roo.tree.TreeNode-event-*checkchange"></a>
1811 <div class="fixedFont">
1812 <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>)
1818 <div class="short">Fires when a node with a checkbox's checked property changes
1824 Fires when a node with a checkbox's checked property changes
1830 <dl class="detailList">
1831 <dt class="heading">Parameters:</dt>
1834 <span class="fixedFont">Node</span> <b>this</b>
1840 <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>
1861 <td class="msource">
1866 <tr class="method-row expandable config-row-alt1 notInherited">
1867 <td class="micon"><a class="exi" href="#expand"> </a></td>
1870 <a id="Roo.tree.TreeNode-event-*click"></a>
1872 <div class="fixedFont">
1873 <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>)
1879 <div class="short">Fires when this node is clicked
1885 Fires when this node is clicked
1891 <dl class="detailList">
1892 <dt class="heading">Parameters:</dt>
1895 <span class="fixedFont">Node</span> <b>this</b>
1901 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
1904 <dd>The event object</dd>
1922 <td class="msource">
1927 <tr class="method-row expandable config-row-alt0 notInherited">
1928 <td class="micon"><a class="exi" href="#expand"> </a></td>
1931 <a id="Roo.tree.TreeNode-event-*collapse"></a>
1933 <div class="fixedFont">
1934 <b class="itemname">collapse</b> (Node <B><i>this</i></B>)
1940 <div class="short">Fires when this node is collapsed
1946 Fires when this node is collapsed
1952 <dl class="detailList">
1953 <dt class="heading">Parameters:</dt>
1956 <span class="fixedFont">Node</span> <b>this</b>
1977 <td class="msource">
1982 <tr class="method-row expandable config-row-alt1 notInherited">
1983 <td class="micon"><a class="exi" href="#expand"> </a></td>
1986 <a id="Roo.tree.TreeNode-event-*contextmenu"></a>
1988 <div class="fixedFont">
1989 <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>)
1995 <div class="short">Fires when this node is right clicked
2001 Fires when this node is right clicked
2007 <dl class="detailList">
2008 <dt class="heading">Parameters:</dt>
2011 <span class="fixedFont">Node</span> <b>this</b>
2017 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2020 <dd>The event object</dd>
2038 <td class="msource">
2043 <tr class="method-row expandable config-row-alt0 notInherited">
2044 <td class="micon"><a class="exi" href="#expand"> </a></td>
2047 <a id="Roo.tree.TreeNode-event-*dblclick"></a>
2049 <div class="fixedFont">
2050 <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>)
2056 <div class="short">Fires when this node is double clicked
2062 Fires when this node is double clicked
2068 <dl class="detailList">
2069 <dt class="heading">Parameters:</dt>
2072 <span class="fixedFont">Node</span> <b>this</b>
2078 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2081 <dd>The event object</dd>
2099 <td class="msource">
2104 <tr class="method-row expandable config-row-alt1 notInherited">
2105 <td class="micon"><a class="exi" href="#expand"> </a></td>
2108 <a id="Roo.tree.TreeNode-event-*disabledchange"></a>
2110 <div class="fixedFont">
2111 <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>)
2117 <div class="short">Fires when the disabled status of this node changes
2123 Fires when the disabled status of this node changes
2129 <dl class="detailList">
2130 <dt class="heading">Parameters:</dt>
2133 <span class="fixedFont">Node</span> <b>this</b>
2139 <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>
2160 <td class="msource">
2165 <tr class="method-row expandable config-row-alt0 notInherited">
2166 <td class="micon"><a class="exi" href="#expand"> </a></td>
2169 <a id="Roo.tree.TreeNode-event-*expand"></a>
2171 <div class="fixedFont">
2172 <b class="itemname">expand</b> (Node <B><i>this</i></B>)
2178 <div class="short">Fires when this node is expanded
2184 Fires when this node is expanded
2190 <dl class="detailList">
2191 <dt class="heading">Parameters:</dt>
2194 <span class="fixedFont">Node</span> <b>this</b>
2215 <td class="msource">
2220 <tr class="method-row expandable config-row-alt1 notInherited">
2221 <td class="micon"><a class="exi" href="#expand"> </a></td>
2224 <a id="Roo.tree.TreeNode-event-*textchange"></a>
2226 <div class="fixedFont">
2227 <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>)
2233 <div class="short">Fires when the text for this node is changed
2239 Fires when the text for this node is changed
2245 <dl class="detailList">
2246 <dt class="heading">Parameters:</dt>
2249 <span class="fixedFont">Node</span> <b>this</b>
2255 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>text</b>
2258 <dd>The new text</dd>
2261 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>oldText</b>
2264 <dd>The old text</dd>
2282 <td class="msource">
2294 <!-- ============================== footer ================================= -->
2295 <div class="fineprint" style="clear:both">
2297 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Jul 16 2010 16:43:14 GMT+0800 (HKT)
2299 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>