1 <div class="body-wrap">
2 <div class="top-tools">
3 <a class="inner-link" href="#Ext.tree.AsyncTreeNode-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
4 <a class="inner-link" href="#Ext.tree.AsyncTreeNode-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
5 <a class="inner-link" href="#Ext.tree.AsyncTreeNode-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
6 <a class="inner-link" href="#Ext.tree.AsyncTreeNode-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a>
7 <a class="bookmark" href="../docs/?class=Ext.tree.AsyncTreeNode"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
9 <div class="inheritance res-block">
10 <pre class="res-block-inner"><a ext:cls="Ext.util.Observable" ext:member="" href="output/Ext.util.Observable.html">Observable</a>
11 <img src="resources/elbow-end.gif"/><a ext:cls="Ext.data.Node" ext:member="" href="output/Ext.data.Node.html">Node</a>
12 <img src="resources/elbow-end.gif"/><a ext:cls="Ext.tree.TreeNode" ext:member="" href="output/Ext.tree.TreeNode.html">TreeNode</a>
13 <img src="resources/elbow-end.gif"/>AsyncTreeNode</pre></div>
14 <h1>Class Ext.tree.AsyncTreeNode</h1>
15 <table cellspacing="0">
16 <tr><td class="label">Package:</td><td class="hd-info">Ext.tree</td></tr>
17 <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/AsyncTreeNode.js" target="_blank">AsyncTreeNode.js</a></td></tr>
18 <tr><td class="label">Class:</td><td class="hd-info">AsyncTreeNode</td></tr>
19 <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.tree.TreeNode" ext:member="" href="output/Ext.tree.TreeNode.html">TreeNode</a></td></tr>
21 <div class="description">
24 <div class="hr"></div>
25 <a id="Ext.tree.AsyncTreeNode-configs"></a>
26 <h2>Config Options</h2>
27 <table cellspacing="0" class="member-table">
29 <th class="sig-header" colspan="2">Config Options</th>
30 <th class="msource-header">Defined By</th>
32 <tr class="config-row inherited">
\r
33 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
35 <a id="Ext.tree.AsyncTreeNode-allowChildren"></a>
\r
36 <b>allowChildren</b> : Boolean <div class="mdesc">
\r
37 False to not allow this node to have child nodes (defaults to true) </div>
\r
39 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#allowChildren" href="output/Ext.tree.TreeNode.html#allowChildren">TreeNode</a></td>
\r
41 <tr class="config-row inherited alt">
\r
42 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
44 <a id="Ext.tree.AsyncTreeNode-allowDrag"></a>
\r
45 <b>allowDrag</b> : Boolean <div class="mdesc">
\r
46 False to make this node undraggable if <a ext:cls="Ext.tree.TreeNode" ext:member="draggable" href="output/Ext.tree.TreeNode.html#draggable">draggable</a> = true (defaults to true) </div>
\r
48 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#allowDrag" href="output/Ext.tree.TreeNode.html#allowDrag">TreeNode</a></td>
\r
50 <tr class="config-row inherited">
\r
51 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
53 <a id="Ext.tree.AsyncTreeNode-allowDrop"></a>
\r
54 <b>allowDrop</b> : Boolean <div class="mdesc">
\r
55 False if this node cannot have child nodes dropped on it (defaults to true) </div>
\r
57 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#allowDrop" href="output/Ext.tree.TreeNode.html#allowDrop">TreeNode</a></td>
\r
59 <tr class="config-row inherited alt expandable">
\r
60 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
62 <a id="Ext.tree.AsyncTreeNode-checked"></a>
\r
63 <b>checked</b> : Boolean <div class="mdesc">
\r
64 <div class="short">True to render a checked checkbox for this node, false to render an unchecked checkbox (defaults to undefined with no...</div>
\r
66 True to render a checked checkbox for this node, false to render an unchecked checkbox (defaults to undefined with no checkbox rendered) </div>
\r
69 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#checked" href="output/Ext.tree.TreeNode.html#checked">TreeNode</a></td>
\r
71 <tr class="config-row inherited">
\r
72 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
74 <a id="Ext.tree.AsyncTreeNode-cls"></a>
\r
75 <b>cls</b> : String <div class="mdesc">
\r
76 A css class to be added to the node </div>
\r
78 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#cls" href="output/Ext.tree.TreeNode.html#cls">TreeNode</a></td>
\r
80 <tr class="config-row inherited alt">
\r
81 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
83 <a id="Ext.tree.AsyncTreeNode-disabled"></a>
\r
84 <b>disabled</b> : Boolean <div class="mdesc">
\r
85 true to start the node disabled </div>
\r
87 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#disabled" href="output/Ext.tree.TreeNode.html#disabled">TreeNode</a></td>
\r
89 <tr class="config-row inherited">
\r
90 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
92 <a id="Ext.tree.AsyncTreeNode-draggable"></a>
\r
93 <b>draggable</b> : Boolean <div class="mdesc">
\r
94 True to make this node draggable (defaults to false) </div>
\r
96 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#draggable" href="output/Ext.tree.TreeNode.html#draggable">TreeNode</a></td>
\r
98 <tr class="config-row inherited alt">
\r
99 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
101 <a id="Ext.tree.AsyncTreeNode-expandable"></a>
\r
102 <b>expandable</b> : Boolean <div class="mdesc">
\r
103 If set to true, the node will always show a plus/minus icon, even when empty </div>
\r
105 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#expandable" href="output/Ext.tree.TreeNode.html#expandable">TreeNode</a></td>
\r
107 <tr class="config-row inherited">
\r
108 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
110 <a id="Ext.tree.AsyncTreeNode-expanded"></a>
\r
111 <b>expanded</b> : Boolean <div class="mdesc">
\r
112 true to start the node expanded </div>
\r
114 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#expanded" href="output/Ext.tree.TreeNode.html#expanded">TreeNode</a></td>
\r
116 <tr class="config-row inherited alt">
\r
117 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
119 <a id="Ext.tree.AsyncTreeNode-href"></a>
\r
120 <b>href</b> : String <div class="mdesc">
\r
121 URL of the link used for the node (defaults to #) </div>
\r
123 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#href" href="output/Ext.tree.TreeNode.html#href">TreeNode</a></td>
\r
125 <tr class="config-row inherited">
\r
126 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
128 <a id="Ext.tree.AsyncTreeNode-hrefTarget"></a>
\r
129 <b>hrefTarget</b> : String <div class="mdesc">
\r
130 target frame for the link </div>
\r
132 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#hrefTarget" href="output/Ext.tree.TreeNode.html#hrefTarget">TreeNode</a></td>
\r
134 <tr class="config-row inherited alt expandable">
\r
135 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
137 <a id="Ext.tree.AsyncTreeNode-icon"></a>
\r
138 <b>icon</b> : String <div class="mdesc">
\r
139 <div class="short">The path to an icon for the node. The preferred way to do this is to use the cls or iconCls attributes and add the ic...</div>
\r
141 The path to an icon for the node. The preferred way to do this is to use the cls or iconCls attributes and add the icon via a CSS background image. </div>
\r
144 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#icon" href="output/Ext.tree.TreeNode.html#icon">TreeNode</a></td>
\r
146 <tr class="config-row inherited">
\r
147 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
149 <a id="Ext.tree.AsyncTreeNode-iconCls"></a>
\r
150 <b>iconCls</b> : String <div class="mdesc">
\r
151 A css class to be added to the nodes icon element for applying css background images </div>
\r
153 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#iconCls" href="output/Ext.tree.TreeNode.html#iconCls">TreeNode</a></td>
\r
155 <tr class="config-row inherited alt">
\r
156 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
158 <a id="Ext.tree.AsyncTreeNode-id"></a>
\r
159 <b>id</b> : String <div class="mdesc">
\r
160 The id for this node. If one is not specified, one is generated. </div>
\r
162 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#id" href="output/Ext.data.Node.html#id">Node</a></td>
\r
164 <tr class="config-row inherited">
\r
165 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
167 <a id="Ext.tree.AsyncTreeNode-isTarget"></a>
\r
168 <b>isTarget</b> : Boolean <div class="mdesc">
\r
169 False to not allow this node to act as a drop target (defaults to true) </div>
\r
171 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#isTarget" href="output/Ext.tree.TreeNode.html#isTarget">TreeNode</a></td>
\r
173 <tr class="config-row inherited alt">
\r
174 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
176 <a id="Ext.tree.AsyncTreeNode-leaf"></a>
\r
177 <b>leaf</b> : Boolean <div class="mdesc">
\r
178 true if this node is a leaf and does not have children </div>
\r
180 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#leaf" href="output/Ext.data.Node.html#leaf">Node</a></td>
\r
182 <tr class="config-row inherited expandable">
\r
183 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
185 <a id="Ext.tree.AsyncTreeNode-listeners"></a>
\r
186 <b>listeners</b> : Object <div class="mdesc">
\r
187 <div class="short">(optional) A config object containing one or more event handlers to be added to this object during initialization. Th...</div>
\r
189 (optional) A config object containing one or more event handlers to be added to this object during initialization. This should be a valid listeners config object as specified in the <a ext:cls="Ext.util.Observable" ext:member="addListener" href="output/Ext.util.Observable.html#addListener">addListener</a> example for attaching multiple handlers at once. </div>
\r
192 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>
\r
194 <tr class="config-row alt">
\r
195 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
197 <a id="Ext.tree.AsyncTreeNode-loader"></a>
\r
198 <b>loader</b> : TreeLoader <div class="mdesc">
\r
199 A TreeLoader to be used by this node (defaults to the loader defined on the tree) </div>
\r
201 <td class="msource">AsyncTreeNode</td>
\r
203 <tr class="config-row inherited">
\r
204 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
206 <a id="Ext.tree.AsyncTreeNode-qtip"></a>
\r
207 <b>qtip</b> : String <div class="mdesc">
\r
208 An Ext QuickTip for the node </div>
\r
210 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#qtip" href="output/Ext.tree.TreeNode.html#qtip">TreeNode</a></td>
\r
212 <tr class="config-row inherited alt">
\r
213 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
215 <a id="Ext.tree.AsyncTreeNode-qtipCfg"></a>
\r
216 <b>qtipCfg</b> : String <div class="mdesc">
\r
217 An Ext QuickTip config for the node (used instead of qtip) </div>
\r
219 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#qtipCfg" href="output/Ext.tree.TreeNode.html#qtipCfg">TreeNode</a></td>
\r
221 <tr class="config-row inherited">
\r
222 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
224 <a id="Ext.tree.AsyncTreeNode-singleClickExpand"></a>
\r
225 <b>singleClickExpand</b> : Boolean <div class="mdesc">
\r
226 True for single click expand on this node </div>
\r
228 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#singleClickExpand" href="output/Ext.tree.TreeNode.html#singleClickExpand">TreeNode</a></td>
\r
230 <tr class="config-row inherited alt">
\r
231 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
233 <a id="Ext.tree.AsyncTreeNode-text"></a>
\r
234 <b>text</b> : String <div class="mdesc">
\r
235 The text for this node </div>
\r
237 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#text" href="output/Ext.tree.TreeNode.html#text">TreeNode</a></td>
\r
239 <tr class="config-row inherited">
\r
240 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
242 <a id="Ext.tree.AsyncTreeNode-uiProvider"></a>
\r
243 <b>uiProvider</b> : Function <div class="mdesc">
\r
244 A UI <b>class</b> to use for this node (defaults to Ext.tree.TreeNodeUI) </div>
\r
246 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#uiProvider" href="output/Ext.tree.TreeNode.html#uiProvider">TreeNode</a></td>
\r
249 <a id="Ext.tree.AsyncTreeNode-props"></a>
250 <h2>Public Properties</h2>
251 <table cellspacing="0" class="member-table">
253 <th class="sig-header" colspan="2">Property</th>
254 <th class="msource-header">Defined By</th>
256 <tr class="property-row inherited">
\r
257 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
259 <a id="Ext.tree.AsyncTreeNode-attributes"></a>
\r
260 <b>attributes</b> : Object <div class="mdesc">
\r
261 The attributes supplied for the node. You can use this property to access any custom attributes you supplied. </div>
\r
263 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#attributes" href="output/Ext.data.Node.html#attributes">Node</a></td>
\r
265 <tr class="property-row inherited alt">
\r
266 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
268 <a id="Ext.tree.AsyncTreeNode-childNodes"></a>
\r
269 <b>childNodes</b> : Array <div class="mdesc">
\r
270 All child nodes of this node. </div>
\r
272 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#childNodes" href="output/Ext.data.Node.html#childNodes">Node</a></td>
\r
274 <tr class="property-row inherited">
\r
275 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
277 <a id="Ext.tree.AsyncTreeNode-disabled"></a>
\r
278 <b>disabled</b> : Boolean <div class="mdesc">
\r
279 True if this node is disabled. </div>
\r
281 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#disabled" href="output/Ext.tree.TreeNode.html#disabled">TreeNode</a></td>
\r
283 <tr class="property-row inherited alt">
\r
284 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
286 <a id="Ext.tree.AsyncTreeNode-firstChild"></a>
\r
287 <b>firstChild</b> : Node <div class="mdesc">
\r
288 The first direct child node of this node, or null if this node has no child nodes. </div>
\r
290 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#firstChild" href="output/Ext.data.Node.html#firstChild">Node</a></td>
\r
292 <tr class="property-row inherited">
\r
293 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
295 <a id="Ext.tree.AsyncTreeNode-id"></a>
\r
296 <b>id</b> : String <div class="mdesc">
\r
297 The node id. </div>
\r
299 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#id" href="output/Ext.data.Node.html#id">Node</a></td>
\r
301 <tr class="property-row inherited alt">
\r
302 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
304 <a id="Ext.tree.AsyncTreeNode-lastChild"></a>
\r
305 <b>lastChild</b> : Node <div class="mdesc">
\r
306 The last direct child node of this node, or null if this node has no child nodes. </div>
\r
308 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#lastChild" href="output/Ext.data.Node.html#lastChild">Node</a></td>
\r
310 <tr class="property-row">
\r
311 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
313 <a id="Ext.tree.AsyncTreeNode-loader"></a>
\r
314 <b>loader</b> : TreeLoader <div class="mdesc">
\r
316 The loader used by this node (defaults to using the tree's defined loader) </div>
\r
318 <td class="msource">AsyncTreeNode</td>
\r
320 <tr class="property-row inherited alt">
\r
321 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
323 <a id="Ext.tree.AsyncTreeNode-nextSibling"></a>
\r
324 <b>nextSibling</b> : Node <div class="mdesc">
\r
325 The node immediately following this node in the tree, or null if there is no sibling node. </div>
\r
327 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#nextSibling" href="output/Ext.data.Node.html#nextSibling">Node</a></td>
\r
329 <tr class="property-row inherited">
\r
330 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
332 <a id="Ext.tree.AsyncTreeNode-parentNode"></a>
\r
333 <b>parentNode</b> : Node <div class="mdesc">
\r
334 The parent node for this node. </div>
\r
336 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#parentNode" href="output/Ext.data.Node.html#parentNode">Node</a></td>
\r
338 <tr class="property-row inherited alt">
\r
339 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
341 <a id="Ext.tree.AsyncTreeNode-previousSibling"></a>
\r
342 <b>previousSibling</b> : Node <div class="mdesc">
\r
343 The node immediately preceding this node in the tree, or null if there is no sibling node. </div>
\r
345 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#previousSibling" href="output/Ext.data.Node.html#previousSibling">Node</a></td>
\r
347 <tr class="property-row inherited">
\r
348 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
350 <a id="Ext.tree.AsyncTreeNode-text"></a>
\r
351 <b>text</b> : String <div class="mdesc">
\r
352 Read-only. The text for this node. To change it use setText(). </div>
\r
354 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#text" href="output/Ext.tree.TreeNode.html#text">TreeNode</a></td>
\r
356 <tr class="property-row inherited alt">
\r
357 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
359 <a id="Ext.tree.AsyncTreeNode-ui"></a>
\r
360 <b>ui</b> : TreeNodeUI <div class="mdesc">
\r
361 Read-only. The UI for this node </div>
\r
363 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#ui" href="output/Ext.tree.TreeNode.html#ui">TreeNode</a></td>
\r
366 <a id="Ext.tree.AsyncTreeNode-methods"></a>
367 <h2>Public Methods</h2>
368 <table cellspacing="0" class="member-table">
370 <th class="sig-header" colspan="2">Method</th>
371 <th class="msource-header">Defined By</th>
373 <tr class="method-row expandable">
\r
374 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
376 <a id="Ext.tree.AsyncTreeNode-AsyncTreeNode"></a>
\r
377 <b>AsyncTreeNode</b>( <code>Object/String attributes</code> ) <div class="mdesc">
\r
378 <div class="short"></div>
\r
380 <div class="mdetail-params">
\r
381 <strong>Parameters:</strong>
\r
382 <ul><li><code>attributes</code> : Object/String<div class="sub-desc">The attributes/config for the node or just a string with the text for the node</div></li> </ul>
\r
383 <strong>Returns:</strong>
\r
385 <li><code></code></li>
\r
391 <td class="msource">AsyncTreeNode</td>
\r
393 <tr class="method-row inherited alt expandable">
\r
394 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
396 <a id="Ext.tree.AsyncTreeNode-addEvents"></a>
\r
397 <b>addEvents</b>( <code>Object object</code> ) : void <div class="mdesc">
\r
398 <div class="short">Used to define events on this Observable</div>
\r
400 Used to define events on this Observable <div class="mdetail-params">
\r
401 <strong>Parameters:</strong>
\r
402 <ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li> </ul>
\r
403 <strong>Returns:</strong>
\r
405 <li><code>void</code></li>
\r
411 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addEvents" href="output/Ext.util.Observable.html#addEvents">Observable</a></td>
\r
413 <tr class="method-row inherited expandable">
\r
414 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
416 <a id="Ext.tree.AsyncTreeNode-addListener"></a>
\r
417 <b>addListener</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span> ) : void <div class="mdesc">
\r
418 <div class="short">Appends an event handler to this component</div>
\r
420 Appends an event handler to this component <div class="mdetail-params">
\r
421 <strong>Parameters:</strong>
\r
422 <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler
423 function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration
424 properties. This may contain any of the following properties:<ul>
425 <li><b>scope</b> : Object<p class="sub-desc">The scope in which to execute the handler function. The handler function's "this" context.</p></li>
426 <li><b>delay</b> : Number<p class="sub-desc">The number of milliseconds to delay the invocation of the handler after the event fires.</p></li>
427 <li><b>single</b> : Boolean<p class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</p></li>
428 <li><b>buffer</b> : Number<p class="sub-desc">Causes the handler to be scheduled to run in an <a ext:cls="Ext.util.DelayedTask" href="output/Ext.util.DelayedTask.html">Ext.util.DelayedTask</a> delayed
429 by the specified number of milliseconds. If the event fires again within that time, the original
430 handler is <em>not</em> invoked, but the new handler is scheduled in its place.</p></li>
433 <b>Combining Options</b><br>
434 Using the options argument, it is possible to combine different types of listeners:<br>
436 A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)
437 <pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
443 <b>Attaching multiple handlers in 1 call</b><br>
444 The method also allows for a single argument to be passed which is a config object containing properties
445 which specify multiple handlers.
449 fn: <b>this</b>.onClick,
453 <em>'mouseover'</em> : {
454 fn: <b>this</b>.onMouseOver,
457 <em>'mouseout'</em> : {
458 fn: <b>this</b>.onMouseOut,
463 Or a shorthand syntax:<br>
465 <em>'click'</em> : <b>this</b>.onClick,
466 <em>'mouseover'</em> : <b>this</b>.onMouseOver,
467 <em>'mouseout'</em> : <b>this</b>.onMouseOut,
469 });</code></pre></div></li> </ul>
\r
470 <strong>Returns:</strong>
\r
472 <li><code>void</code></li>
\r
478 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addListener" href="output/Ext.util.Observable.html#addListener">Observable</a></td>
\r
480 <tr class="method-row inherited alt expandable">
\r
481 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
483 <a id="Ext.tree.AsyncTreeNode-appendChild"></a>
\r
484 <b>appendChild</b>( <code>Node/Array node</code> ) : Node <div class="mdesc">
\r
485 <div class="short">Insert node(s) as the last child node of this node.</div>
\r
487 Insert node(s) as the last child node of this node. <div class="mdetail-params">
\r
488 <strong>Parameters:</strong>
\r
489 <ul><li><code>node</code> : Node/Array<div class="sub-desc">The node or Array of nodes to append</div></li> </ul>
\r
490 <strong>Returns:</strong>
\r
492 <li><code>Node</code><div class="sub-desc">The appended node if single append, or null if an array was passed</div></li>
\r
498 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#appendChild" href="output/Ext.data.Node.html#appendChild">Node</a></td>
\r
500 <tr class="method-row inherited expandable">
\r
501 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
503 <a id="Ext.tree.AsyncTreeNode-bubble"></a>
\r
504 <b>bubble</b>( <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Array args</code>]</span> ) : void <div class="mdesc">
\r
505 <div class="short">Bubbles up the tree from this node, calling the specified function with each node. The scope (this) of
506 function call ...</div>
\r
508 Bubbles up the tree from this node, calling the specified function with each node. The scope (<i>this</i>) of
509 function call will be the scope provided or the current node. The arguments to the function
510 will be the args provided or the current node. If the function returns false at any point,
511 the bubble is stopped. <div class="mdetail-params">
\r
512 <strong>Parameters:</strong>
\r
513 <ul><li><code>fn</code> : Function<div class="sub-desc">The function to call</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope of the function (defaults to current node)</div></li><li><code>args</code> : Array<div class="sub-desc">(optional) The args to call the function with (default to passing the current node)</div></li> </ul>
\r
514 <strong>Returns:</strong>
\r
516 <li><code>void</code></li>
\r
522 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#bubble" href="output/Ext.data.Node.html#bubble">Node</a></td>
\r
524 <tr class="method-row inherited alt expandable">
\r
525 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
527 <a id="Ext.tree.AsyncTreeNode-cascade"></a>
\r
528 <b>cascade</b>( <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Array args</code>]</span> ) : void <div class="mdesc">
\r
529 <div class="short">Cascades down the tree from this node, calling the specified function with each node. The scope (this) of
530 function ca...</div>
\r
532 Cascades down the tree from this node, calling the specified function with each node. The scope (<i>this</i>) of
533 function call will be the scope provided or the current node. The arguments to the function
534 will be the args provided or the current node. If the function returns false at any point,
535 the cascade is stopped on that branch. <div class="mdetail-params">
\r
536 <strong>Parameters:</strong>
\r
537 <ul><li><code>fn</code> : Function<div class="sub-desc">The function to call</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope of the function (defaults to current node)</div></li><li><code>args</code> : Array<div class="sub-desc">(optional) The args to call the function with (default to passing the current node)</div></li> </ul>
\r
538 <strong>Returns:</strong>
\r
540 <li><code>void</code></li>
\r
546 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#cascade" href="output/Ext.data.Node.html#cascade">Node</a></td>
\r
548 <tr class="method-row inherited expandable">
\r
549 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
551 <a id="Ext.tree.AsyncTreeNode-collapse"></a>
\r
552 <b>collapse</b>( <span class="optional" title="Optional">[<code>Boolean deep</code>]</span>, <span class="optional" title="Optional">[<code>Boolean anim</code>]</span> ) : void <div class="mdesc">
\r
553 <div class="short">Collapse this node.</div>
\r
555 Collapse this node. <div class="mdetail-params">
\r
556 <strong>Parameters:</strong>
\r
557 <ul><li><code>deep</code> : Boolean<div class="sub-desc">(optional) True to collapse all children as well</div></li><li><code>anim</code> : Boolean<div class="sub-desc">(optional) false to cancel the default animation</div></li> </ul>
\r
558 <strong>Returns:</strong>
\r
560 <li><code>void</code></li>
\r
566 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#collapse" href="output/Ext.tree.TreeNode.html#collapse">TreeNode</a></td>
\r
568 <tr class="method-row inherited alt expandable">
\r
569 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
571 <a id="Ext.tree.AsyncTreeNode-collapseChildNodes"></a>
\r
572 <b>collapseChildNodes</b>( <span class="optional" title="Optional">[<code>Boolean deep</code>]</span> ) : void <div class="mdesc">
\r
573 <div class="short">Collapse all child nodes</div>
\r
575 Collapse all child nodes <div class="mdetail-params">
\r
576 <strong>Parameters:</strong>
\r
577 <ul><li><code>deep</code> : Boolean<div class="sub-desc">(optional) true if the child nodes should also collapse their child nodes</div></li> </ul>
\r
578 <strong>Returns:</strong>
\r
580 <li><code>void</code></li>
\r
586 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#collapseChildNodes" href="output/Ext.tree.TreeNode.html#collapseChildNodes">TreeNode</a></td>
\r
588 <tr class="method-row inherited expandable">
\r
589 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
591 <a id="Ext.tree.AsyncTreeNode-contains"></a>
\r
592 <b>contains</b>( <code>Node node</code> ) : Boolean <div class="mdesc">
\r
593 <div class="short">Returns true if this node is an ancestor (at any point) of the passed node.</div>
\r
595 Returns true if this node is an ancestor (at any point) of the passed node. <div class="mdetail-params">
\r
596 <strong>Parameters:</strong>
\r
597 <ul><li><code>node</code> : Node<div class="sub-desc"></div></li> </ul>
\r
598 <strong>Returns:</strong>
\r
600 <li><code>Boolean</code></li>
\r
606 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#contains" href="output/Ext.data.Node.html#contains">Node</a></td>
\r
608 <tr class="method-row inherited alt expandable">
\r
609 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
611 <a id="Ext.tree.AsyncTreeNode-disable"></a>
\r
612 <b>disable</b>() : void <div class="mdesc">
\r
613 <div class="short">Disables this node</div>
\r
615 Disables this node <div class="mdetail-params">
\r
616 <strong>Parameters:</strong>
\r
617 <ul><li>None.</li> </ul>
\r
618 <strong>Returns:</strong>
\r
620 <li><code>void</code></li>
\r
626 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#disable" href="output/Ext.tree.TreeNode.html#disable">TreeNode</a></td>
\r
628 <tr class="method-row inherited expandable">
\r
629 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
631 <a id="Ext.tree.AsyncTreeNode-eachChild"></a>
\r
632 <b>eachChild</b>( <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Array args</code>]</span> ) : void <div class="mdesc">
\r
633 <div class="short">Iterates the child nodes of this node, calling the specified function with each node. The scope (this) of
634 function ca...</div>
\r
636 Iterates the child nodes of this node, calling the specified function with each node. The scope (<i>this</i>) of
637 function call will be the scope provided or the current node. The arguments to the function
638 will be the args provided or the current node. If the function returns false at any point,
639 the iteration stops. <div class="mdetail-params">
\r
640 <strong>Parameters:</strong>
\r
641 <ul><li><code>fn</code> : Function<div class="sub-desc">The function to call</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope of the function (defaults to current node)</div></li><li><code>args</code> : Array<div class="sub-desc">(optional) The args to call the function with (default to passing the current node)</div></li> </ul>
\r
642 <strong>Returns:</strong>
\r
644 <li><code>void</code></li>
\r
650 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#eachChild" href="output/Ext.data.Node.html#eachChild">Node</a></td>
\r
652 <tr class="method-row inherited alt expandable">
\r
653 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
655 <a id="Ext.tree.AsyncTreeNode-enable"></a>
\r
656 <b>enable</b>() : void <div class="mdesc">
\r
657 <div class="short">Enables this node</div>
\r
659 Enables this node <div class="mdetail-params">
\r
660 <strong>Parameters:</strong>
\r
661 <ul><li>None.</li> </ul>
\r
662 <strong>Returns:</strong>
\r
664 <li><code>void</code></li>
\r
670 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#enable" href="output/Ext.tree.TreeNode.html#enable">TreeNode</a></td>
\r
672 <tr class="method-row inherited expandable">
\r
673 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
675 <a id="Ext.tree.AsyncTreeNode-ensureVisible"></a>
\r
676 <b>ensureVisible</b>( <span class="optional" title="Optional">[<code>Function callback</code>]</span> ) : void <div class="mdesc">
\r
677 <div class="short">Ensures all parent nodes are expanded, and if necessary, scrolls
678 the node into view.</div>
\r
680 Ensures all parent nodes are expanded, and if necessary, scrolls
681 the node into view. <div class="mdetail-params">
\r
682 <strong>Parameters:</strong>
\r
683 <ul><li><code>callback</code> : Function<div class="sub-desc">(optional) A function to call when the node has been made visible.</div></li> </ul>
\r
684 <strong>Returns:</strong>
\r
686 <li><code>void</code></li>
\r
692 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#ensureVisible" href="output/Ext.tree.TreeNode.html#ensureVisible">TreeNode</a></td>
\r
694 <tr class="method-row inherited alt expandable">
\r
695 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
697 <a id="Ext.tree.AsyncTreeNode-expand"></a>
\r
698 <b>expand</b>( <span class="optional" title="Optional">[<code>Boolean deep</code>]</span>, <span class="optional" title="Optional">[<code>Boolean anim</code>]</span>, <span class="optional" title="Optional">[<code>Function callback</code>]</span> ) : void <div class="mdesc">
\r
699 <div class="short">Expand this node.</div>
\r
701 Expand this node. <div class="mdetail-params">
\r
702 <strong>Parameters:</strong>
\r
703 <ul><li><code>deep</code> : Boolean<div class="sub-desc">(optional) True to expand all children as well</div></li><li><code>anim</code> : Boolean<div class="sub-desc">(optional) false to cancel the default animation</div></li><li><code>callback</code> : Function<div class="sub-desc">(optional) A callback to be called when
704 expanding this node completes (does not wait for deep expand to complete).
705 Called with 1 parameter, this node.</div></li> </ul>
\r
706 <strong>Returns:</strong>
\r
708 <li><code>void</code></li>
\r
714 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#expand" href="output/Ext.tree.TreeNode.html#expand">TreeNode</a></td>
\r
716 <tr class="method-row inherited expandable">
\r
717 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
719 <a id="Ext.tree.AsyncTreeNode-expandChildNodes"></a>
\r
720 <b>expandChildNodes</b>( <span class="optional" title="Optional">[<code>Boolean deep</code>]</span> ) : void <div class="mdesc">
\r
721 <div class="short">Expand all child nodes</div>
\r
723 Expand all child nodes <div class="mdetail-params">
\r
724 <strong>Parameters:</strong>
\r
725 <ul><li><code>deep</code> : Boolean<div class="sub-desc">(optional) true if the child nodes should also expand their child nodes</div></li> </ul>
\r
726 <strong>Returns:</strong>
\r
728 <li><code>void</code></li>
\r
734 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#expandChildNodes" href="output/Ext.tree.TreeNode.html#expandChildNodes">TreeNode</a></td>
\r
736 <tr class="method-row inherited alt expandable">
\r
737 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
739 <a id="Ext.tree.AsyncTreeNode-findChild"></a>
\r
740 <b>findChild</b>( <code>String attribute</code>, <code>Mixed value</code> ) : Node <div class="mdesc">
\r
741 <div class="short">Finds the first child that has the attribute with the specified value.</div>
\r
743 Finds the first child that has the attribute with the specified value. <div class="mdetail-params">
\r
744 <strong>Parameters:</strong>
\r
745 <ul><li><code>attribute</code> : String<div class="sub-desc">The attribute name</div></li><li><code>value</code> : Mixed<div class="sub-desc">The value to search for</div></li> </ul>
\r
746 <strong>Returns:</strong>
\r
748 <li><code>Node</code><div class="sub-desc">The found child or null if none was found</div></li>
\r
754 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#findChild" href="output/Ext.data.Node.html#findChild">Node</a></td>
\r
756 <tr class="method-row inherited expandable">
\r
757 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
759 <a id="Ext.tree.AsyncTreeNode-findChildBy"></a>
\r
760 <b>findChildBy</b>( <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : Node <div class="mdesc">
\r
761 <div class="short">Finds the first child by a custom function. The child matches if the function passed
762 returns true.</div>
\r
764 Finds the first child by a custom function. The child matches if the function passed
765 returns true. <div class="mdetail-params">
\r
766 <strong>Parameters:</strong>
\r
767 <ul><li><code>fn</code> : Function<div class="sub-desc"></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional)</div></li> </ul>
\r
768 <strong>Returns:</strong>
\r
770 <li><code>Node</code><div class="sub-desc">The found child or null if none was found</div></li>
\r
776 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#findChildBy" href="output/Ext.data.Node.html#findChildBy">Node</a></td>
\r
778 <tr class="method-row inherited alt expandable">
\r
779 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
781 <a id="Ext.tree.AsyncTreeNode-fireEvent"></a>
\r
782 <b>fireEvent</b>( <code>String eventName</code>, <code>Object... args</code> ) : Boolean <div class="mdesc">
\r
783 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
\r
785 Fires the specified event with the passed parameters (minus the event name). <div class="mdetail-params">
\r
786 <strong>Parameters:</strong>
\r
787 <ul><li><code>eventName</code> : String<div class="sub-desc"></div></li><li><code>args</code> : Object...<div class="sub-desc">Variable number of parameters are passed to handlers</div></li> </ul>
\r
788 <strong>Returns:</strong>
\r
790 <li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li>
\r
796 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>
\r
798 <tr class="method-row inherited expandable">
\r
799 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
801 <a id="Ext.tree.AsyncTreeNode-getDepth"></a>
\r
802 <b>getDepth</b>() : Number <div class="mdesc">
\r
803 <div class="short">Returns depth of this node (the root node has a depth of 0)</div>
\r
805 Returns depth of this node (the root node has a depth of 0) <div class="mdetail-params">
\r
806 <strong>Parameters:</strong>
\r
807 <ul><li>None.</li> </ul>
\r
808 <strong>Returns:</strong>
\r
810 <li><code>Number</code></li>
\r
816 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#getDepth" href="output/Ext.data.Node.html#getDepth">Node</a></td>
\r
818 <tr class="method-row inherited alt expandable">
\r
819 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
821 <a id="Ext.tree.AsyncTreeNode-getOwnerTree"></a>
\r
822 <b>getOwnerTree</b>() : Tree <div class="mdesc">
\r
823 <div class="short">Returns the tree this node is in.</div>
\r
825 Returns the tree this node is in. <div class="mdetail-params">
\r
826 <strong>Parameters:</strong>
\r
827 <ul><li>None.</li> </ul>
\r
828 <strong>Returns:</strong>
\r
830 <li><code>Tree</code></li>
\r
836 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#getOwnerTree" href="output/Ext.data.Node.html#getOwnerTree">Node</a></td>
\r
838 <tr class="method-row inherited expandable">
\r
839 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
841 <a id="Ext.tree.AsyncTreeNode-getPath"></a>
\r
842 <b>getPath</b>( <span class="optional" title="Optional">[<code>String attr</code>]</span> ) : String <div class="mdesc">
\r
843 <div class="short">Returns the path for this node. The path can be used to expand or select this node programmatically.</div>
\r
845 Returns the path for this node. The path can be used to expand or select this node programmatically. <div class="mdetail-params">
\r
846 <strong>Parameters:</strong>
\r
847 <ul><li><code>attr</code> : String<div class="sub-desc">(optional) The attr to use for the path (defaults to the node's id)</div></li> </ul>
\r
848 <strong>Returns:</strong>
\r
850 <li><code>String</code><div class="sub-desc">The path</div></li>
\r
856 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#getPath" href="output/Ext.data.Node.html#getPath">Node</a></td>
\r
858 <tr class="method-row inherited alt expandable">
\r
859 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
861 <a id="Ext.tree.AsyncTreeNode-getUI"></a>
\r
862 <b>getUI</b>() : TreeNodeUI <div class="mdesc">
\r
863 <div class="short">Returns the UI object for this node.</div>
\r
865 Returns the UI object for this node. <div class="mdetail-params">
\r
866 <strong>Parameters:</strong>
\r
867 <ul><li>None.</li> </ul>
\r
868 <strong>Returns:</strong>
\r
870 <li><code>TreeNodeUI</code><div class="sub-desc">The object which is providing the user interface for this tree node. Unless otherwise specified in the {@link #uiProvider}, this will be an instance of {@link Ext.tree.TreeNodeUI}</div></li>
\r
876 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#getUI" href="output/Ext.tree.TreeNode.html#getUI">TreeNode</a></td>
\r
878 <tr class="method-row inherited expandable">
\r
879 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
881 <a id="Ext.tree.AsyncTreeNode-hasChildNodes"></a>
\r
882 <b>hasChildNodes</b>() : Boolean <div class="mdesc">
\r
883 <div class="short">Returns true if this node has one or more child nodes, else false.</div>
\r
885 Returns true if this node has one or more child nodes, else false. <div class="mdetail-params">
\r
886 <strong>Parameters:</strong>
\r
887 <ul><li>None.</li> </ul>
\r
888 <strong>Returns:</strong>
\r
890 <li><code>Boolean</code></li>
\r
896 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#hasChildNodes" href="output/Ext.data.Node.html#hasChildNodes">Node</a></td>
\r
898 <tr class="method-row inherited alt expandable">
\r
899 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
901 <a id="Ext.tree.AsyncTreeNode-hasListener"></a>
\r
902 <b>hasListener</b>( <code>String eventName</code> ) : Boolean <div class="mdesc">
\r
903 <div class="short">Checks to see if this object has any listeners for a specified event</div>
\r
905 Checks to see if this object has any listeners for a specified event <div class="mdetail-params">
\r
906 <strong>Parameters:</strong>
\r
907 <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li> </ul>
\r
908 <strong>Returns:</strong>
\r
910 <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>
\r
916 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td>
\r
918 <tr class="method-row inherited expandable">
\r
919 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
921 <a id="Ext.tree.AsyncTreeNode-indexOf"></a>
\r
922 <b>indexOf</b>( <code>Node node</code> ) : Number <div class="mdesc">
\r
923 <div class="short">Returns the index of a child node</div>
\r
925 Returns the index of a child node <div class="mdetail-params">
\r
926 <strong>Parameters:</strong>
\r
927 <ul><li><code>node</code> : Node<div class="sub-desc"></div></li> </ul>
\r
928 <strong>Returns:</strong>
\r
930 <li><code>Number</code><div class="sub-desc">The index of the node or -1 if it was not found</div></li>
\r
936 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#indexOf" href="output/Ext.data.Node.html#indexOf">Node</a></td>
\r
938 <tr class="method-row inherited alt expandable">
\r
939 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
941 <a id="Ext.tree.AsyncTreeNode-insertBefore"></a>
\r
942 <b>insertBefore</b>( <code>Node node</code>, <code>Node refNode</code> ) : Node <div class="mdesc">
\r
943 <div class="short">Inserts the first node before the second node in this nodes childNodes collection.</div>
\r
945 Inserts the first node before the second node in this nodes childNodes collection. <div class="mdetail-params">
\r
946 <strong>Parameters:</strong>
\r
947 <ul><li><code>node</code> : Node<div class="sub-desc">The node to insert</div></li><li><code>refNode</code> : Node<div class="sub-desc">The node to insert before (if null the node is appended)</div></li> </ul>
\r
948 <strong>Returns:</strong>
\r
950 <li><code>Node</code><div class="sub-desc">The inserted node</div></li>
\r
956 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#insertBefore" href="output/Ext.data.Node.html#insertBefore">Node</a></td>
\r
958 <tr class="method-row inherited expandable">
\r
959 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
961 <a id="Ext.tree.AsyncTreeNode-isAncestor"></a>
\r
962 <b>isAncestor</b>( <code>Node node</code> ) : Boolean <div class="mdesc">
\r
963 <div class="short">Returns true if the passed node is an ancestor (at any point) of this node.</div>
\r
965 Returns true if the passed node is an ancestor (at any point) of this node. <div class="mdetail-params">
\r
966 <strong>Parameters:</strong>
\r
967 <ul><li><code>node</code> : Node<div class="sub-desc"></div></li> </ul>
\r
968 <strong>Returns:</strong>
\r
970 <li><code>Boolean</code></li>
\r
976 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#isAncestor" href="output/Ext.data.Node.html#isAncestor">Node</a></td>
\r
978 <tr class="method-row inherited alt expandable">
\r
979 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
981 <a id="Ext.tree.AsyncTreeNode-isExpandable"></a>
\r
982 <b>isExpandable</b>() : Boolean <div class="mdesc">
\r
983 <div class="short">Returns true if this node has one or more child nodes, or if the expandable
984 node attribute is explicitly specified as...</div>
\r
986 Returns true if this node has one or more child nodes, or if the <tt>expandable</tt>
987 node attribute is explicitly specified as true (see <a ext:cls="Ext.data.Node" ext:member="attributes" href="output/Ext.data.Node.html#attributes">attributes</a>), otherwise returns false. <div class="mdetail-params">
\r
988 <strong>Parameters:</strong>
\r
989 <ul><li>None.</li> </ul>
\r
990 <strong>Returns:</strong>
\r
992 <li><code>Boolean</code></li>
\r
998 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#isExpandable" href="output/Ext.data.Node.html#isExpandable">Node</a></td>
\r
1000 <tr class="method-row inherited expandable">
\r
1001 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1003 <a id="Ext.tree.AsyncTreeNode-isExpanded"></a>
\r
1004 <b>isExpanded</b>() : Boolean <div class="mdesc">
\r
1005 <div class="short">Returns true if this node is expanded</div>
\r
1006 <div class="long">
\r
1007 Returns true if this node is expanded <div class="mdetail-params">
\r
1008 <strong>Parameters:</strong>
\r
1009 <ul><li>None.</li> </ul>
\r
1010 <strong>Returns:</strong>
\r
1012 <li><code>Boolean</code></li>
\r
1018 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#isExpanded" href="output/Ext.tree.TreeNode.html#isExpanded">TreeNode</a></td>
\r
1020 <tr class="method-row inherited alt expandable">
\r
1021 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1023 <a id="Ext.tree.AsyncTreeNode-isFirst"></a>
\r
1024 <b>isFirst</b>() : Boolean <div class="mdesc">
\r
1025 <div class="short">Returns true if this node is the first child of its parent</div>
\r
1026 <div class="long">
\r
1027 Returns true if this node is the first child of its parent <div class="mdetail-params">
\r
1028 <strong>Parameters:</strong>
\r
1029 <ul><li>None.</li> </ul>
\r
1030 <strong>Returns:</strong>
\r
1032 <li><code>Boolean</code></li>
\r
1038 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#isFirst" href="output/Ext.data.Node.html#isFirst">Node</a></td>
\r
1040 <tr class="method-row inherited expandable">
\r
1041 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1043 <a id="Ext.tree.AsyncTreeNode-isLast"></a>
\r
1044 <b>isLast</b>() : Boolean <div class="mdesc">
\r
1045 <div class="short">Returns true if this node is the last child of its parent</div>
\r
1046 <div class="long">
\r
1047 Returns true if this node is the last child of its parent <div class="mdetail-params">
\r
1048 <strong>Parameters:</strong>
\r
1049 <ul><li>None.</li> </ul>
\r
1050 <strong>Returns:</strong>
\r
1052 <li><code>Boolean</code></li>
\r
1058 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#isLast" href="output/Ext.data.Node.html#isLast">Node</a></td>
\r
1060 <tr class="method-row inherited alt expandable">
\r
1061 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1063 <a id="Ext.tree.AsyncTreeNode-isLeaf"></a>
\r
1064 <b>isLeaf</b>() : Boolean <div class="mdesc">
\r
1065 <div class="short">Returns true if this node is a leaf</div>
\r
1066 <div class="long">
\r
1067 Returns true if this node is a leaf <div class="mdetail-params">
\r
1068 <strong>Parameters:</strong>
\r
1069 <ul><li>None.</li> </ul>
\r
1070 <strong>Returns:</strong>
\r
1072 <li><code>Boolean</code></li>
\r
1078 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#isLeaf" href="output/Ext.data.Node.html#isLeaf">Node</a></td>
\r
1080 <tr class="method-row expandable">
\r
1081 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1083 <a id="Ext.tree.AsyncTreeNode-isLoaded"></a>
\r
1084 <b>isLoaded</b>() : Boolean <div class="mdesc">
\r
1085 <div class="short">Returns true if this node has been loaded</div>
\r
1086 <div class="long">
\r
1087 Returns true if this node has been loaded <div class="mdetail-params">
\r
1088 <strong>Parameters:</strong>
\r
1089 <ul><li>None.</li> </ul>
\r
1090 <strong>Returns:</strong>
\r
1092 <li><code>Boolean</code></li>
\r
1098 <td class="msource">AsyncTreeNode</td>
\r
1100 <tr class="method-row alt expandable">
\r
1101 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1103 <a id="Ext.tree.AsyncTreeNode-isLoading"></a>
\r
1104 <b>isLoading</b>() : Boolean <div class="mdesc">
\r
1105 <div class="short">Returns true if this node is currently loading</div>
\r
1106 <div class="long">
\r
1107 Returns true if this node is currently loading <div class="mdetail-params">
\r
1108 <strong>Parameters:</strong>
\r
1109 <ul><li>None.</li> </ul>
\r
1110 <strong>Returns:</strong>
\r
1112 <li><code>Boolean</code></li>
\r
1118 <td class="msource">AsyncTreeNode</td>
\r
1120 <tr class="method-row inherited expandable">
\r
1121 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1123 <a id="Ext.tree.AsyncTreeNode-isSelected"></a>
\r
1124 <b>isSelected</b>() : Boolean <div class="mdesc">
\r
1125 <div class="short">Returns true if this node is selected</div>
\r
1126 <div class="long">
\r
1127 Returns true if this node is selected <div class="mdetail-params">
\r
1128 <strong>Parameters:</strong>
\r
1129 <ul><li>None.</li> </ul>
\r
1130 <strong>Returns:</strong>
\r
1132 <li><code>Boolean</code></li>
\r
1138 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#isSelected" href="output/Ext.tree.TreeNode.html#isSelected">TreeNode</a></td>
\r
1140 <tr class="method-row inherited alt expandable">
\r
1141 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1143 <a id="Ext.tree.AsyncTreeNode-item"></a>
\r
1144 <b>item</b>( <code>Number index</code> ) : Node <div class="mdesc">
\r
1145 <div class="short">Returns the child node at the specified index.</div>
\r
1146 <div class="long">
\r
1147 Returns the child node at the specified index. <div class="mdetail-params">
\r
1148 <strong>Parameters:</strong>
\r
1149 <ul><li><code>index</code> : Number<div class="sub-desc"></div></li> </ul>
\r
1150 <strong>Returns:</strong>
\r
1152 <li><code>Node</code></li>
\r
1158 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#item" href="output/Ext.data.Node.html#item">Node</a></td>
\r
1160 <tr class="method-row inherited expandable">
\r
1161 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1163 <a id="Ext.tree.AsyncTreeNode-on"></a>
\r
1164 <b>on</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span> ) : void <div class="mdesc">
\r
1165 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
\r
1166 <div class="long">
\r
1167 Appends an event handler to this element (shorthand for addListener) <div class="mdetail-params">
\r
1168 <strong>Parameters:</strong>
\r
1169 <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler
1170 function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional)</div></li> </ul>
\r
1171 <strong>Returns:</strong>
\r
1173 <li><code>void</code></li>
\r
1179 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#on" href="output/Ext.util.Observable.html#on">Observable</a></td>
\r
1181 <tr class="method-row inherited alt expandable">
\r
1182 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1184 <a id="Ext.tree.AsyncTreeNode-purgeListeners"></a>
\r
1185 <b>purgeListeners</b>() : void <div class="mdesc">
\r
1186 <div class="short">Removes all listeners for this object</div>
\r
1187 <div class="long">
\r
1188 Removes all listeners for this object <div class="mdetail-params">
\r
1189 <strong>Parameters:</strong>
\r
1190 <ul><li>None.</li> </ul>
\r
1191 <strong>Returns:</strong>
\r
1193 <li><code>void</code></li>
\r
1199 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#purgeListeners" href="output/Ext.util.Observable.html#purgeListeners">Observable</a></td>
\r
1201 <tr class="method-row inherited expandable">
\r
1202 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1204 <a id="Ext.tree.AsyncTreeNode-relayEvents"></a>
\r
1205 <b>relayEvents</b>( <code>Object o</code>, <code>Array events</code> ) : void <div class="mdesc">
\r
1206 <div class="short">Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>.</div>
\r
1207 <div class="long">
\r
1208 Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>. <div class="mdetail-params">
\r
1209 <strong>Parameters:</strong>
\r
1210 <ul><li><code>o</code> : Object<div class="sub-desc">The Observable whose events this object is to relay.</div></li><li><code>events</code> : Array<div class="sub-desc">Array of event names to relay.</div></li> </ul>
\r
1211 <strong>Returns:</strong>
\r
1213 <li><code>void</code></li>
\r
1219 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#relayEvents" href="output/Ext.util.Observable.html#relayEvents">Observable</a></td>
\r
1221 <tr class="method-row alt expandable">
\r
1222 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1224 <a id="Ext.tree.AsyncTreeNode-reload"></a>
\r
1225 <b>reload</b>( <code>Function callback</code> ) : void <div class="mdesc">
\r
1226 <div class="short">Trigger a reload for this node</div>
\r
1227 <div class="long">
\r
1228 Trigger a reload for this node <div class="mdetail-params">
\r
1229 <strong>Parameters:</strong>
\r
1230 <ul><li><code>callback</code> : Function<div class="sub-desc"></div></li> </ul>
\r
1231 <strong>Returns:</strong>
\r
1233 <li><code>void</code></li>
\r
1239 <td class="msource">AsyncTreeNode</td>
\r
1241 <tr class="method-row inherited expandable">
\r
1242 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1244 <a id="Ext.tree.AsyncTreeNode-remove"></a>
\r
1245 <b>remove</b>() : Node <div class="mdesc">
\r
1246 <div class="short">Removes this node from it's parent</div>
\r
1247 <div class="long">
\r
1248 Removes this node from it's parent <div class="mdetail-params">
\r
1249 <strong>Parameters:</strong>
\r
1250 <ul><li>None.</li> </ul>
\r
1251 <strong>Returns:</strong>
\r
1253 <li><code>Node</code><div class="sub-desc">this</div></li>
\r
1259 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#remove" href="output/Ext.data.Node.html#remove">Node</a></td>
\r
1261 <tr class="method-row inherited alt expandable">
\r
1262 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1264 <a id="Ext.tree.AsyncTreeNode-removeChild"></a>
\r
1265 <b>removeChild</b>( <code>Node node</code> ) : Node <div class="mdesc">
\r
1266 <div class="short">Removes a child node from this node.</div>
\r
1267 <div class="long">
\r
1268 Removes a child node from this node. <div class="mdetail-params">
\r
1269 <strong>Parameters:</strong>
\r
1270 <ul><li><code>node</code> : Node<div class="sub-desc">The node to remove</div></li> </ul>
\r
1271 <strong>Returns:</strong>
\r
1273 <li><code>Node</code><div class="sub-desc">The removed node</div></li>
\r
1279 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#removeChild" href="output/Ext.data.Node.html#removeChild">Node</a></td>
\r
1281 <tr class="method-row inherited expandable">
\r
1282 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1284 <a id="Ext.tree.AsyncTreeNode-removeListener"></a>
\r
1285 <b>removeListener</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : void <div class="mdesc">
\r
1286 <div class="short">Removes a listener</div>
\r
1287 <div class="long">
\r
1288 Removes a listener <div class="mdetail-params">
\r
1289 <strong>Parameters:</strong>
\r
1290 <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li> </ul>
\r
1291 <strong>Returns:</strong>
\r
1293 <li><code>void</code></li>
\r
1299 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#removeListener" href="output/Ext.util.Observable.html#removeListener">Observable</a></td>
\r
1301 <tr class="method-row inherited alt expandable">
\r
1302 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1304 <a id="Ext.tree.AsyncTreeNode-replaceChild"></a>
\r
1305 <b>replaceChild</b>( <code>Node newChild</code>, <code>Node oldChild</code> ) : Node <div class="mdesc">
\r
1306 <div class="short">Replaces one child node in this node with another.</div>
\r
1307 <div class="long">
\r
1308 Replaces one child node in this node with another. <div class="mdetail-params">
\r
1309 <strong>Parameters:</strong>
\r
1310 <ul><li><code>newChild</code> : Node<div class="sub-desc">The replacement node</div></li><li><code>oldChild</code> : Node<div class="sub-desc">The node to replace</div></li> </ul>
\r
1311 <strong>Returns:</strong>
\r
1313 <li><code>Node</code><div class="sub-desc">The replaced node</div></li>
\r
1319 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#replaceChild" href="output/Ext.data.Node.html#replaceChild">Node</a></td>
\r
1321 <tr class="method-row inherited expandable">
\r
1322 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1324 <a id="Ext.tree.AsyncTreeNode-resumeEvents"></a>
\r
1325 <b>resumeEvents</b>() : void <div class="mdesc">
\r
1326 <div class="short">Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>)</div>
\r
1327 <div class="long">
\r
1328 Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>) <div class="mdetail-params">
\r
1329 <strong>Parameters:</strong>
\r
1330 <ul><li>None.</li> </ul>
\r
1331 <strong>Returns:</strong>
\r
1333 <li><code>void</code></li>
\r
1339 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">Observable</a></td>
\r
1341 <tr class="method-row inherited alt expandable">
\r
1342 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1344 <a id="Ext.tree.AsyncTreeNode-select"></a>
\r
1345 <b>select</b>() : void <div class="mdesc">
\r
1346 <div class="short">Triggers selection of this node</div>
\r
1347 <div class="long">
\r
1348 Triggers selection of this node <div class="mdetail-params">
\r
1349 <strong>Parameters:</strong>
\r
1350 <ul><li>None.</li> </ul>
\r
1351 <strong>Returns:</strong>
\r
1353 <li><code>void</code></li>
\r
1359 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#select" href="output/Ext.tree.TreeNode.html#select">TreeNode</a></td>
\r
1361 <tr class="method-row inherited expandable">
\r
1362 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1364 <a id="Ext.tree.AsyncTreeNode-setText"></a>
\r
1365 <b>setText</b>( <code>String text</code> ) : void <div class="mdesc">
\r
1366 <div class="short">Sets the text for this node</div>
\r
1367 <div class="long">
\r
1368 Sets the text for this node <div class="mdetail-params">
\r
1369 <strong>Parameters:</strong>
\r
1370 <ul><li><code>text</code> : String<div class="sub-desc"></div></li> </ul>
\r
1371 <strong>Returns:</strong>
\r
1373 <li><code>void</code></li>
\r
1379 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#setText" href="output/Ext.tree.TreeNode.html#setText">TreeNode</a></td>
\r
1381 <tr class="method-row inherited alt expandable">
\r
1382 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1384 <a id="Ext.tree.AsyncTreeNode-sort"></a>
\r
1385 <b>sort</b>( <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : void <div class="mdesc">
\r
1386 <div class="short">Sorts this nodes children using the supplied sort function</div>
\r
1387 <div class="long">
\r
1388 Sorts this nodes children using the supplied sort function <div class="mdetail-params">
\r
1389 <strong>Parameters:</strong>
\r
1390 <ul><li><code>fn</code> : Function<div class="sub-desc"></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional)</div></li> </ul>
\r
1391 <strong>Returns:</strong>
\r
1393 <li><code>void</code></li>
\r
1399 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#sort" href="output/Ext.data.Node.html#sort">Node</a></td>
\r
1401 <tr class="method-row inherited expandable">
\r
1402 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1404 <a id="Ext.tree.AsyncTreeNode-suspendEvents"></a>
\r
1405 <b>suspendEvents</b>() : void <div class="mdesc">
\r
1406 <div class="short">Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>)</div>
\r
1407 <div class="long">
\r
1408 Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>) <div class="mdetail-params">
\r
1409 <strong>Parameters:</strong>
\r
1410 <ul><li>None.</li> </ul>
\r
1411 <strong>Returns:</strong>
\r
1413 <li><code>void</code></li>
\r
1419 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">Observable</a></td>
\r
1421 <tr class="method-row inherited alt expandable">
\r
1422 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1424 <a id="Ext.tree.AsyncTreeNode-toggle"></a>
\r
1425 <b>toggle</b>() : void <div class="mdesc">
\r
1426 <div class="short">Toggles expanded/collapsed state of the node</div>
\r
1427 <div class="long">
\r
1428 Toggles expanded/collapsed state of the node <div class="mdetail-params">
\r
1429 <strong>Parameters:</strong>
\r
1430 <ul><li>None.</li> </ul>
\r
1431 <strong>Returns:</strong>
\r
1433 <li><code>void</code></li>
\r
1439 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#toggle" href="output/Ext.tree.TreeNode.html#toggle">TreeNode</a></td>
\r
1441 <tr class="method-row inherited expandable">
\r
1442 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1444 <a id="Ext.tree.AsyncTreeNode-un"></a>
\r
1445 <b>un</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : void <div class="mdesc">
\r
1446 <div class="short">Removes a listener (shorthand for removeListener)</div>
\r
1447 <div class="long">
\r
1448 Removes a listener (shorthand for removeListener) <div class="mdetail-params">
\r
1449 <strong>Parameters:</strong>
\r
1450 <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li> </ul>
\r
1451 <strong>Returns:</strong>
\r
1453 <li><code>void</code></li>
\r
1459 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#un" href="output/Ext.util.Observable.html#un">Observable</a></td>
\r
1461 <tr class="method-row inherited alt expandable">
\r
1462 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1464 <a id="Ext.tree.AsyncTreeNode-unselect"></a>
\r
1465 <b>unselect</b>() : void <div class="mdesc">
\r
1466 <div class="short">Triggers deselection of this node</div>
\r
1467 <div class="long">
\r
1468 Triggers deselection of this node <div class="mdetail-params">
\r
1469 <strong>Parameters:</strong>
\r
1470 <ul><li>None.</li> </ul>
\r
1471 <strong>Returns:</strong>
\r
1473 <li><code>void</code></li>
\r
1479 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#unselect" href="output/Ext.tree.TreeNode.html#unselect">TreeNode</a></td>
\r
1482 <a id="Ext.tree.AsyncTreeNode-events"></a>
1483 <h2>Public Events</h2>
1484 <table cellspacing="0" class="member-table">
1486 <th class="sig-header" colspan="2">Event</th>
1487 <th class="msource-header">Defined By</th>
1489 <tr class="event-row inherited expandable">
\r
1490 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1492 <a id="Ext.tree.AsyncTreeNode-append"></a>
\r
1493 <b>append</b> : ( <code>Tree tree</code>, <code>Node this</code>, <code>Node node</code>, <code>Number index</code> ) <div class="mdesc">
\r
1494 <div class="short">Fires when a new child node is appended</div>
\r
1495 <div class="long">
\r
1496 Fires when a new child node is appended <div class="mdetail-params">
\r
1497 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
1498 <ul><li><code>tree</code> : Tree<div class="sub-desc">The owner tree</div></li><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>node</code> : Node<div class="sub-desc">The newly appended node</div></li><li><code>index</code> : Number<div class="sub-desc">The index of the newly appended node</div></li> </ul>
\r
1503 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#event-append" href="output/Ext.data.Node.html#event-append">Node</a></td>
\r
1505 <tr class="event-row inherited alt expandable">
\r
1506 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1508 <a id="Ext.tree.AsyncTreeNode-beforeappend"></a>
\r
1509 <b>beforeappend</b> : ( <code>Tree tree</code>, <code>Node this</code>, <code>Node node</code> ) <div class="mdesc">
\r
1510 <div class="short">Fires before a new child is appended, return false to cancel the append.</div>
\r
1511 <div class="long">
\r
1512 Fires before a new child is appended, return false to cancel the append. <div class="mdetail-params">
\r
1513 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
1514 <ul><li><code>tree</code> : Tree<div class="sub-desc">The owner tree</div></li><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>node</code> : Node<div class="sub-desc">The child node to be appended</div></li> </ul>
\r
1519 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#event-beforeappend" href="output/Ext.data.Node.html#event-beforeappend">Node</a></td>
\r
1521 <tr class="event-row inherited expandable">
\r
1522 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1524 <a id="Ext.tree.AsyncTreeNode-beforechildrenrendered"></a>
\r
1525 <b>beforechildrenrendered</b> : ( <code>Node this</code> ) <div class="mdesc">
\r
1526 <div class="short">Fires right before the child nodes for this node are rendered</div>
\r
1527 <div class="long">
\r
1528 Fires right before the child nodes for this node are rendered <div class="mdetail-params">
\r
1529 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
1530 <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li> </ul>
\r
1535 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-beforechildrenrendered" href="output/Ext.tree.TreeNode.html#event-beforechildrenrendered">TreeNode</a></td>
\r
1537 <tr class="event-row inherited alt expandable">
\r
1538 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1540 <a id="Ext.tree.AsyncTreeNode-beforeclick"></a>
\r
1541 <b>beforeclick</b> : ( <code>Node this</code>, <code>Ext.EventObject e</code> ) <div class="mdesc">
\r
1542 <div class="short">Fires before click processing. Return false to cancel the default action.</div>
\r
1543 <div class="long">
\r
1544 Fires before click processing. Return false to cancel the default action. <div class="mdetail-params">
\r
1545 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
1546 <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>e</code> : Ext.EventObject<div class="sub-desc">The event object</div></li> </ul>
\r
1551 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-beforeclick" href="output/Ext.tree.TreeNode.html#event-beforeclick">TreeNode</a></td>
\r
1553 <tr class="event-row inherited expandable">
\r
1554 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1556 <a id="Ext.tree.AsyncTreeNode-beforecollapse"></a>
\r
1557 <b>beforecollapse</b> : ( <code>Node this</code>, <code>Boolean deep</code>, <code>Boolean anim</code> ) <div class="mdesc">
\r
1558 <div class="short">Fires before this node is collapsed, return false to cancel.</div>
\r
1559 <div class="long">
\r
1560 Fires before this node is collapsed, return false to cancel. <div class="mdetail-params">
\r
1561 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
1562 <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>deep</code> : Boolean<div class="sub-desc"></div></li><li><code>anim</code> : Boolean<div class="sub-desc"></div></li> </ul>
\r
1567 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-beforecollapse" href="output/Ext.tree.TreeNode.html#event-beforecollapse">TreeNode</a></td>
\r
1569 <tr class="event-row inherited alt expandable">
\r
1570 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1572 <a id="Ext.tree.AsyncTreeNode-beforeexpand"></a>
\r
1573 <b>beforeexpand</b> : ( <code>Node this</code>, <code>Boolean deep</code>, <code>Boolean anim</code> ) <div class="mdesc">
\r
1574 <div class="short">Fires before this node is expanded, return false to cancel.</div>
\r
1575 <div class="long">
\r
1576 Fires before this node is expanded, return false to cancel. <div class="mdetail-params">
\r
1577 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
1578 <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>deep</code> : Boolean<div class="sub-desc"></div></li><li><code>anim</code> : Boolean<div class="sub-desc"></div></li> </ul>
\r
1583 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-beforeexpand" href="output/Ext.tree.TreeNode.html#event-beforeexpand">TreeNode</a></td>
\r
1585 <tr class="event-row inherited expandable">
\r
1586 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1588 <a id="Ext.tree.AsyncTreeNode-beforeinsert"></a>
\r
1589 <b>beforeinsert</b> : ( <code>Tree tree</code>, <code>Node this</code>, <code>Node node</code>, <code>Node refNode</code> ) <div class="mdesc">
\r
1590 <div class="short">Fires before a new child is inserted, return false to cancel the insert.</div>
\r
1591 <div class="long">
\r
1592 Fires before a new child is inserted, return false to cancel the insert. <div class="mdetail-params">
\r
1593 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
1594 <ul><li><code>tree</code> : Tree<div class="sub-desc">The owner tree</div></li><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>node</code> : Node<div class="sub-desc">The child node to be inserted</div></li><li><code>refNode</code> : Node<div class="sub-desc">The child node the node is being inserted before</div></li> </ul>
\r
1599 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#event-beforeinsert" href="output/Ext.data.Node.html#event-beforeinsert">Node</a></td>
\r
1601 <tr class="event-row alt expandable">
\r
1602 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1604 <a id="Ext.tree.AsyncTreeNode-beforeload"></a>
\r
1605 <b>beforeload</b> : ( <code>Node this</code> ) <div class="mdesc">
\r
1606 <div class="short">Fires before this node is loaded, return false to cancel</div>
\r
1607 <div class="long">
\r
1608 Fires before this node is loaded, return false to cancel <div class="mdetail-params">
\r
1609 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
1610 <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li> </ul>
\r
1615 <td class="msource">AsyncTreeNode</td>
\r
1617 <tr class="event-row inherited expandable">
\r
1618 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1620 <a id="Ext.tree.AsyncTreeNode-beforemove"></a>
\r
1621 <b>beforemove</b> : ( <code>Tree tree</code>, <code>Node this</code>, <code>Node oldParent</code>, <code>Node newParent</code>, <code>Number index</code> ) <div class="mdesc">
\r
1622 <div class="short">Fires before this node is moved to a new location in the tree. Return false to cancel the move.</div>
\r
1623 <div class="long">
\r
1624 Fires before this node is moved to a new location in the tree. Return false to cancel the move. <div class="mdetail-params">
\r
1625 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
1626 <ul><li><code>tree</code> : Tree<div class="sub-desc">The owner tree</div></li><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>oldParent</code> : Node<div class="sub-desc">The parent of this node</div></li><li><code>newParent</code> : Node<div class="sub-desc">The new parent this node is moving to</div></li><li><code>index</code> : Number<div class="sub-desc">The index it is being moved to</div></li> </ul>
\r
1631 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#event-beforemove" href="output/Ext.data.Node.html#event-beforemove">Node</a></td>
\r
1633 <tr class="event-row inherited alt expandable">
\r
1634 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1636 <a id="Ext.tree.AsyncTreeNode-beforeremove"></a>
\r
1637 <b>beforeremove</b> : ( <code>Tree tree</code>, <code>Node this</code>, <code>Node node</code> ) <div class="mdesc">
\r
1638 <div class="short">Fires before a child is removed, return false to cancel the remove.</div>
\r
1639 <div class="long">
\r
1640 Fires before a child is removed, return false to cancel the remove. <div class="mdetail-params">
\r
1641 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
1642 <ul><li><code>tree</code> : Tree<div class="sub-desc">The owner tree</div></li><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>node</code> : Node<div class="sub-desc">The child node to be removed</div></li> </ul>
\r
1647 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#event-beforeremove" href="output/Ext.data.Node.html#event-beforeremove">Node</a></td>
\r
1649 <tr class="event-row inherited expandable">
\r
1650 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1652 <a id="Ext.tree.AsyncTreeNode-checkchange"></a>
\r
1653 <b>checkchange</b> : ( <code>Node this</code>, <code>Boolean checked</code> ) <div class="mdesc">
\r
1654 <div class="short">Fires when a node with a checkbox's checked property changes</div>
\r
1655 <div class="long">
\r
1656 Fires when a node with a checkbox's checked property changes <div class="mdetail-params">
\r
1657 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
1658 <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>checked</code> : Boolean<div class="sub-desc"></div></li> </ul>
\r
1663 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-checkchange" href="output/Ext.tree.TreeNode.html#event-checkchange">TreeNode</a></td>
\r
1665 <tr class="event-row inherited alt expandable">
\r
1666 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1668 <a id="Ext.tree.AsyncTreeNode-click"></a>
\r
1669 <b>click</b> : ( <code>Node this</code>, <code>Ext.EventObject e</code> ) <div class="mdesc">
\r
1670 <div class="short">Fires when this node is clicked</div>
\r
1671 <div class="long">
\r
1672 Fires when this node is clicked <div class="mdetail-params">
\r
1673 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
1674 <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>e</code> : Ext.EventObject<div class="sub-desc">The event object</div></li> </ul>
\r
1679 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-click" href="output/Ext.tree.TreeNode.html#event-click">TreeNode</a></td>
\r
1681 <tr class="event-row inherited expandable">
\r
1682 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1684 <a id="Ext.tree.AsyncTreeNode-collapse"></a>
\r
1685 <b>collapse</b> : ( <code>Node this</code> ) <div class="mdesc">
\r
1686 <div class="short">Fires when this node is collapsed</div>
\r
1687 <div class="long">
\r
1688 Fires when this node is collapsed <div class="mdetail-params">
\r
1689 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
1690 <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li> </ul>
\r
1695 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-collapse" href="output/Ext.tree.TreeNode.html#event-collapse">TreeNode</a></td>
\r
1697 <tr class="event-row inherited alt expandable">
\r
1698 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1700 <a id="Ext.tree.AsyncTreeNode-contextmenu"></a>
\r
1701 <b>contextmenu</b> : ( <code>Node this</code>, <code>Ext.EventObject e</code> ) <div class="mdesc">
\r
1702 <div class="short">Fires when this node is right clicked</div>
\r
1703 <div class="long">
\r
1704 Fires when this node is right clicked <div class="mdetail-params">
\r
1705 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
1706 <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>e</code> : Ext.EventObject<div class="sub-desc">The event object</div></li> </ul>
\r
1711 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-contextmenu" href="output/Ext.tree.TreeNode.html#event-contextmenu">TreeNode</a></td>
\r
1713 <tr class="event-row inherited expandable">
\r
1714 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1716 <a id="Ext.tree.AsyncTreeNode-dblclick"></a>
\r
1717 <b>dblclick</b> : ( <code>Node this</code>, <code>Ext.EventObject e</code> ) <div class="mdesc">
\r
1718 <div class="short">Fires when this node is double clicked</div>
\r
1719 <div class="long">
\r
1720 Fires when this node is double clicked <div class="mdetail-params">
\r
1721 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
1722 <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>e</code> : Ext.EventObject<div class="sub-desc">The event object</div></li> </ul>
\r
1727 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-dblclick" href="output/Ext.tree.TreeNode.html#event-dblclick">TreeNode</a></td>
\r
1729 <tr class="event-row inherited alt expandable">
\r
1730 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1732 <a id="Ext.tree.AsyncTreeNode-disabledchange"></a>
\r
1733 <b>disabledchange</b> : ( <code>Node this</code>, <code>Boolean disabled</code> ) <div class="mdesc">
\r
1734 <div class="short">Fires when the disabled status of this node changes</div>
\r
1735 <div class="long">
\r
1736 Fires when the disabled status of this node changes <div class="mdetail-params">
\r
1737 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
1738 <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>disabled</code> : Boolean<div class="sub-desc"></div></li> </ul>
\r
1743 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-disabledchange" href="output/Ext.tree.TreeNode.html#event-disabledchange">TreeNode</a></td>
\r
1745 <tr class="event-row inherited expandable">
\r
1746 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1748 <a id="Ext.tree.AsyncTreeNode-expand"></a>
\r
1749 <b>expand</b> : ( <code>Node this</code> ) <div class="mdesc">
\r
1750 <div class="short">Fires when this node is expanded</div>
\r
1751 <div class="long">
\r
1752 Fires when this node is expanded <div class="mdetail-params">
\r
1753 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
1754 <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li> </ul>
\r
1759 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-expand" href="output/Ext.tree.TreeNode.html#event-expand">TreeNode</a></td>
\r
1761 <tr class="event-row inherited alt expandable">
\r
1762 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1764 <a id="Ext.tree.AsyncTreeNode-insert"></a>
\r
1765 <b>insert</b> : ( <code>Tree tree</code>, <code>Node this</code>, <code>Node node</code>, <code>Node refNode</code> ) <div class="mdesc">
\r
1766 <div class="short">Fires when a new child node is inserted.</div>
\r
1767 <div class="long">
\r
1768 Fires when a new child node is inserted. <div class="mdetail-params">
\r
1769 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
1770 <ul><li><code>tree</code> : Tree<div class="sub-desc">The owner tree</div></li><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>node</code> : Node<div class="sub-desc">The child node inserted</div></li><li><code>refNode</code> : Node<div class="sub-desc">The child node the node was inserted before</div></li> </ul>
\r
1775 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#event-insert" href="output/Ext.data.Node.html#event-insert">Node</a></td>
\r
1777 <tr class="event-row expandable">
\r
1778 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1780 <a id="Ext.tree.AsyncTreeNode-load"></a>
\r
1781 <b>load</b> : ( <code>Node this</code> ) <div class="mdesc">
\r
1782 <div class="short">Fires when this node is loaded</div>
\r
1783 <div class="long">
\r
1784 Fires when this node is loaded <div class="mdetail-params">
\r
1785 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
1786 <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li> </ul>
\r
1791 <td class="msource">AsyncTreeNode</td>
\r
1793 <tr class="event-row inherited alt expandable">
\r
1794 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1796 <a id="Ext.tree.AsyncTreeNode-move"></a>
\r
1797 <b>move</b> : ( <code>Tree tree</code>, <code>Node this</code>, <code>Node oldParent</code>, <code>Node newParent</code>, <code>Number index</code> ) <div class="mdesc">
\r
1798 <div class="short">Fires when this node is moved to a new location in the tree</div>
\r
1799 <div class="long">
\r
1800 Fires when this node is moved to a new location in the tree <div class="mdetail-params">
\r
1801 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
1802 <ul><li><code>tree</code> : Tree<div class="sub-desc">The owner tree</div></li><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>oldParent</code> : Node<div class="sub-desc">The old parent of this node</div></li><li><code>newParent</code> : Node<div class="sub-desc">The new parent of this node</div></li><li><code>index</code> : Number<div class="sub-desc">The index it was moved to</div></li> </ul>
\r
1807 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#event-move" href="output/Ext.data.Node.html#event-move">Node</a></td>
\r
1809 <tr class="event-row inherited expandable">
\r
1810 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1812 <a id="Ext.tree.AsyncTreeNode-remove"></a>
\r
1813 <b>remove</b> : ( <code>Tree tree</code>, <code>Node this</code>, <code>Node node</code> ) <div class="mdesc">
\r
1814 <div class="short">Fires when a child node is removed</div>
\r
1815 <div class="long">
\r
1816 Fires when a child node is removed <div class="mdetail-params">
\r
1817 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
1818 <ul><li><code>tree</code> : Tree<div class="sub-desc">The owner tree</div></li><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>node</code> : Node<div class="sub-desc">The removed node</div></li> </ul>
\r
1823 <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#event-remove" href="output/Ext.data.Node.html#event-remove">Node</a></td>
\r
1825 <tr class="event-row inherited alt expandable">
\r
1826 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1828 <a id="Ext.tree.AsyncTreeNode-textchange"></a>
\r
1829 <b>textchange</b> : ( <code>Node this</code>, <code>String text</code>, <code>String oldText</code> ) <div class="mdesc">
\r
1830 <div class="short">Fires when the text for this node is changed</div>
\r
1831 <div class="long">
\r
1832 Fires when the text for this node is changed <div class="mdetail-params">
\r
1833 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
1834 <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>text</code> : String<div class="sub-desc">The new text</div></li><li><code>oldText</code> : String<div class="sub-desc">The old text</div></li> </ul>
\r
1839 <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-textchange" href="output/Ext.tree.TreeNode.html#event-textchange">TreeNode</a></td>
\r