commit extjs-2.2.1
[extjs.git] / docs / output / Ext.data.Node.html
1         <div class="body-wrap">
2         <div class="top-tools">
3             <a class="inner-link" href="#Ext.data.Node-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
4             <a class="inner-link" href="#Ext.data.Node-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
5             <a class="inner-link" href="#Ext.data.Node-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
6                             <a class="inner-link" href="#Ext.data.Node-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a>
7                         <a class="bookmark" href="../docs/?class=Ext.data.Node"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
8         </div>
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"/>Node</pre></div>
12                 <h1>Class Ext.data.Node</h1>
13         <table cellspacing="0">
14             <tr><td class="label">Package:</td><td class="hd-info">Ext.data</td></tr>
15             <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/Tree.js" target="_blank">Tree.js</a></td></tr>
16             <tr><td class="label">Class:</td><td class="hd-info">Node</td></tr>
17                         <tr><td class="label">Subclasses:</td><td class="hd-info"><a ext:cls="Ext.tree.TreeNode" href="output/Ext.tree.TreeNode.html">TreeNode</a></td></tr>
18                                     <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.util.Observable" ext:member="" href="output/Ext.util.Observable.html">Observable</a></td></tr>
19                     </table>
20         <div class="description">
21                     </div>
22         
23         <div class="hr"></div>
24                 <a id="Ext.data.Node-configs"></a>
25         <h2>Config Options</h2>
26         <table cellspacing="0" class="member-table">
27             <tr>
28                 <th class="sig-header" colspan="2">Config Options</th>
29                 <th class="msource-header">Defined By</th>
30             </tr>
31                 <tr class="config-row">\r
32         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
33         <td class="sig">\r
34         <a id="Ext.data.Node-id"></a>\r
35             <b>id</b> : String            <div class="mdesc">\r
36                             The id for this node. If one is not specified, one is generated.                        </div>\r
37         </td>\r
38         <td class="msource">Node</td>\r
39     </tr>\r
40         <tr class="config-row alt">\r
41         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
42         <td class="sig">\r
43         <a id="Ext.data.Node-leaf"></a>\r
44             <b>leaf</b> : Boolean            <div class="mdesc">\r
45                             true if this node is a leaf and does not have children                        </div>\r
46         </td>\r
47         <td class="msource">Node</td>\r
48     </tr>\r
49         <tr class="config-row inherited expandable">\r
50         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
51         <td class="sig">\r
52         <a id="Ext.data.Node-listeners"></a>\r
53             <b>listeners</b> : Object            <div class="mdesc">\r
54                         <div class="short">(optional) A config object containing one or more event handlers to be added to this object during initialization. Th...</div>\r
55             <div class="long">\r
56                 (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
57                         </div>\r
58         </td>\r
59         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>\r
60     </tr>\r
61             </table>
62                 <a id="Ext.data.Node-props"></a>
63         <h2>Public Properties</h2>
64                 <table cellspacing="0" class="member-table">
65             <tr>
66                 <th class="sig-header" colspan="2">Property</th>
67                 <th class="msource-header">Defined By</th>
68             </tr>
69                 <tr class="property-row">\r
70         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
71         <td class="sig">\r
72         <a id="Ext.data.Node-attributes"></a>\r
73             <b>attributes</b> : Object            <div class="mdesc">\r
74                             The attributes supplied for the node. You can use this property to access any custom attributes you supplied.                        </div>\r
75         </td>\r
76         <td class="msource">Node</td>\r
77     </tr>\r
78         <tr class="property-row alt">\r
79         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
80         <td class="sig">\r
81         <a id="Ext.data.Node-childNodes"></a>\r
82             <b>childNodes</b> : Array            <div class="mdesc">\r
83                             All child nodes of this node.                        </div>\r
84         </td>\r
85         <td class="msource">Node</td>\r
86     </tr>\r
87         <tr class="property-row">\r
88         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
89         <td class="sig">\r
90         <a id="Ext.data.Node-firstChild"></a>\r
91             <b>firstChild</b> : Node            <div class="mdesc">\r
92                             The first direct child node of this node, or null if this node has no child nodes.                        </div>\r
93         </td>\r
94         <td class="msource">Node</td>\r
95     </tr>\r
96         <tr class="property-row alt">\r
97         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
98         <td class="sig">\r
99         <a id="Ext.data.Node-id"></a>\r
100             <b>id</b> : String            <div class="mdesc">\r
101                             The node id.                        </div>\r
102         </td>\r
103         <td class="msource">Node</td>\r
104     </tr>\r
105         <tr class="property-row">\r
106         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
107         <td class="sig">\r
108         <a id="Ext.data.Node-lastChild"></a>\r
109             <b>lastChild</b> : Node            <div class="mdesc">\r
110                             The last direct child node of this node, or null if this node has no child nodes.                        </div>\r
111         </td>\r
112         <td class="msource">Node</td>\r
113     </tr>\r
114         <tr class="property-row alt">\r
115         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
116         <td class="sig">\r
117         <a id="Ext.data.Node-nextSibling"></a>\r
118             <b>nextSibling</b> : Node            <div class="mdesc">\r
119                             The node immediately following this node in the tree, or null if there is no sibling node.                        </div>\r
120         </td>\r
121         <td class="msource">Node</td>\r
122     </tr>\r
123         <tr class="property-row">\r
124         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
125         <td class="sig">\r
126         <a id="Ext.data.Node-parentNode"></a>\r
127             <b>parentNode</b> : Node            <div class="mdesc">\r
128                             The parent node for this node.                        </div>\r
129         </td>\r
130         <td class="msource">Node</td>\r
131     </tr>\r
132         <tr class="property-row alt">\r
133         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
134         <td class="sig">\r
135         <a id="Ext.data.Node-previousSibling"></a>\r
136             <b>previousSibling</b> : Node            <div class="mdesc">\r
137                             The node immediately preceding this node in the tree, or null if there is no sibling node.                        </div>\r
138         </td>\r
139         <td class="msource">Node</td>\r
140     </tr>\r
141             </table>
142                 <a id="Ext.data.Node-methods"></a>
143         <h2>Public Methods</h2>
144                 <table cellspacing="0" class="member-table">
145             <tr>
146                 <th class="sig-header" colspan="2">Method</th>
147                 <th class="msource-header">Defined By</th>
148             </tr>
149                 <tr class="method-row expandable">\r
150         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
151         <td class="sig">\r
152         <a id="Ext.data.Node-Node"></a>\r
153             <b>Node</b>(&nbsp;<code>Object attributes</code>&nbsp;)            <div class="mdesc">\r
154                         <div class="short"></div>\r
155             <div class="long">\r
156                     <div class="mdetail-params">\r
157         <strong>Parameters:</strong>\r
158         <ul><li><code>attributes</code> : Object<div class="sub-desc">The attributes/config for the node</div></li>        </ul>\r
159         <strong>Returns:</strong>\r
160         <ul>\r
161             <li><code></code></li>\r
162         </ul>\r
163     </div>\r
164                 </div>\r
165                         </div>\r
166         </td>\r
167         <td class="msource">Node</td>\r
168     </tr>\r
169         <tr class="method-row inherited alt expandable">\r
170         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
171         <td class="sig">\r
172         <a id="Ext.data.Node-addEvents"></a>\r
173             <b>addEvents</b>(&nbsp;<code>Object object</code>&nbsp;) : void            <div class="mdesc">\r
174                         <div class="short">Used to define events on this Observable</div>\r
175             <div class="long">\r
176                 Used to define events on this Observable    <div class="mdetail-params">\r
177         <strong>Parameters:</strong>\r
178         <ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li>        </ul>\r
179         <strong>Returns:</strong>\r
180         <ul>\r
181             <li><code>void</code></li>\r
182         </ul>\r
183     </div>\r
184                 </div>\r
185                         </div>\r
186         </td>\r
187         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addEvents" href="output/Ext.util.Observable.html#addEvents">Observable</a></td>\r
188     </tr>\r
189         <tr class="method-row inherited expandable">\r
190         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
191         <td class="sig">\r
192         <a id="Ext.data.Node-addListener"></a>\r
193             <b>addListener</b>(&nbsp;<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>&nbsp;) : void            <div class="mdesc">\r
194                         <div class="short">Appends an event handler to this component</div>\r
195             <div class="long">\r
196                 Appends an event handler to this component    <div class="mdetail-params">\r
197         <strong>Parameters:</strong>\r
198         <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
199 function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration
200 properties. This may contain any of the following properties:<ul>
201 <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>
202 <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>
203 <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>
204 <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
205 by the specified number of milliseconds. If the event fires again within that time, the original
206 handler is <em>not</em> invoked, but the new handler is scheduled in its place.</p></li>
207 </ul><br>
208 <p>
209 <b>Combining Options</b><br>
210 Using the options argument, it is possible to combine different types of listeners:<br>
211 <br>
212 A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)
213 <pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
214     single: true,
215     delay: 100,
216     forumId: 4
217 });</code></pre>
218 <p>
219 <b>Attaching multiple handlers in 1 call</b><br>
220 The method also allows for a single argument to be passed which is a config object containing properties
221 which specify multiple handlers.
222 <p>
223 <pre><code>foo.on({
224     <em>'click'</em> : {
225         fn: <b>this</b>.onClick,
226         scope: <b>this</b>,
227         delay: 100
228     },
229     <em>'mouseover'</em> : {
230         fn: <b>this</b>.onMouseOver,
231         scope: <b>this</b>
232     },
233     <em>'mouseout'</em> : {
234         fn: <b>this</b>.onMouseOut,
235         scope: <b>this</b>
236     }
237 });</code></pre>
238 <p>
239 Or a shorthand syntax:<br>
240 <pre><code>foo.on({
241     <em>'click'</em> : <b>this</b>.onClick,
242     <em>'mouseover'</em> : <b>this</b>.onMouseOver,
243     <em>'mouseout'</em> : <b>this</b>.onMouseOut,
244      scope: <b>this</b>
245 });</code></pre></div></li>        </ul>\r
246         <strong>Returns:</strong>\r
247         <ul>\r
248             <li><code>void</code></li>\r
249         </ul>\r
250     </div>\r
251                 </div>\r
252                         </div>\r
253         </td>\r
254         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addListener" href="output/Ext.util.Observable.html#addListener">Observable</a></td>\r
255     </tr>\r
256         <tr class="method-row alt expandable">\r
257         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
258         <td class="sig">\r
259         <a id="Ext.data.Node-appendChild"></a>\r
260             <b>appendChild</b>(&nbsp;<code>Node/Array node</code>&nbsp;) : Node            <div class="mdesc">\r
261                         <div class="short">Insert node(s) as the last child node of this node.</div>\r
262             <div class="long">\r
263                 Insert node(s) as the last child node of this node.    <div class="mdetail-params">\r
264         <strong>Parameters:</strong>\r
265         <ul><li><code>node</code> : Node/Array<div class="sub-desc">The node or Array of nodes to append</div></li>        </ul>\r
266         <strong>Returns:</strong>\r
267         <ul>\r
268             <li><code>Node</code><div class="sub-desc">The appended node if single append, or null if an array was passed</div></li>\r
269         </ul>\r
270     </div>\r
271                 </div>\r
272                         </div>\r
273         </td>\r
274         <td class="msource">Node</td>\r
275     </tr>\r
276         <tr class="method-row expandable">\r
277         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
278         <td class="sig">\r
279         <a id="Ext.data.Node-bubble"></a>\r
280             <b>bubble</b>(&nbsp;<code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Array args</code>]</span>&nbsp;) : void            <div class="mdesc">\r
281                         <div class="short">Bubbles up the tree from this node, calling the specified function with each node. The scope (this) of
282 function call ...</div>\r
283             <div class="long">\r
284                 Bubbles up the tree from this node, calling the specified function with each node. The scope (<i>this</i>) of
285 function call will be the scope provided or the current node. The arguments to the function
286 will be the args provided or the current node. If the function returns false at any point,
287 the bubble is stopped.    <div class="mdetail-params">\r
288         <strong>Parameters:</strong>\r
289         <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
290         <strong>Returns:</strong>\r
291         <ul>\r
292             <li><code>void</code></li>\r
293         </ul>\r
294     </div>\r
295                 </div>\r
296                         </div>\r
297         </td>\r
298         <td class="msource">Node</td>\r
299     </tr>\r
300         <tr class="method-row alt expandable">\r
301         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
302         <td class="sig">\r
303         <a id="Ext.data.Node-cascade"></a>\r
304             <b>cascade</b>(&nbsp;<code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Array args</code>]</span>&nbsp;) : void            <div class="mdesc">\r
305                         <div class="short">Cascades down the tree from this node, calling the specified function with each node. The scope (this) of
306 function ca...</div>\r
307             <div class="long">\r
308                 Cascades down the tree from this node, calling the specified function with each node. The scope (<i>this</i>) of
309 function call will be the scope provided or the current node. The arguments to the function
310 will be the args provided or the current node. If the function returns false at any point,
311 the cascade is stopped on that branch.    <div class="mdetail-params">\r
312         <strong>Parameters:</strong>\r
313         <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
314         <strong>Returns:</strong>\r
315         <ul>\r
316             <li><code>void</code></li>\r
317         </ul>\r
318     </div>\r
319                 </div>\r
320                         </div>\r
321         </td>\r
322         <td class="msource">Node</td>\r
323     </tr>\r
324         <tr class="method-row expandable">\r
325         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
326         <td class="sig">\r
327         <a id="Ext.data.Node-contains"></a>\r
328             <b>contains</b>(&nbsp;<code>Node node</code>&nbsp;) : Boolean            <div class="mdesc">\r
329                         <div class="short">Returns true if this node is an ancestor (at any point) of the passed node.</div>\r
330             <div class="long">\r
331                 Returns true if this node is an ancestor (at any point) of the passed node.    <div class="mdetail-params">\r
332         <strong>Parameters:</strong>\r
333         <ul><li><code>node</code> : Node<div class="sub-desc"></div></li>        </ul>\r
334         <strong>Returns:</strong>\r
335         <ul>\r
336             <li><code>Boolean</code></li>\r
337         </ul>\r
338     </div>\r
339                 </div>\r
340                         </div>\r
341         </td>\r
342         <td class="msource">Node</td>\r
343     </tr>\r
344         <tr class="method-row alt expandable">\r
345         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
346         <td class="sig">\r
347         <a id="Ext.data.Node-eachChild"></a>\r
348             <b>eachChild</b>(&nbsp;<code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Array args</code>]</span>&nbsp;) : void            <div class="mdesc">\r
349                         <div class="short">Iterates the child nodes of this node, calling the specified function with each node. The scope (this) of
350 function ca...</div>\r
351             <div class="long">\r
352                 Iterates the child nodes of this node, calling the specified function with each node. The scope (<i>this</i>) of
353 function call will be the scope provided or the current node. The arguments to the function
354 will be the args provided or the current node. If the function returns false at any point,
355 the iteration stops.    <div class="mdetail-params">\r
356         <strong>Parameters:</strong>\r
357         <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
358         <strong>Returns:</strong>\r
359         <ul>\r
360             <li><code>void</code></li>\r
361         </ul>\r
362     </div>\r
363                 </div>\r
364                         </div>\r
365         </td>\r
366         <td class="msource">Node</td>\r
367     </tr>\r
368         <tr class="method-row expandable">\r
369         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
370         <td class="sig">\r
371         <a id="Ext.data.Node-findChild"></a>\r
372             <b>findChild</b>(&nbsp;<code>String attribute</code>, <code>Mixed value</code>&nbsp;) : Node            <div class="mdesc">\r
373                         <div class="short">Finds the first child that has the attribute with the specified value.</div>\r
374             <div class="long">\r
375                 Finds the first child that has the attribute with the specified value.    <div class="mdetail-params">\r
376         <strong>Parameters:</strong>\r
377         <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
378         <strong>Returns:</strong>\r
379         <ul>\r
380             <li><code>Node</code><div class="sub-desc">The found child or null if none was found</div></li>\r
381         </ul>\r
382     </div>\r
383                 </div>\r
384                         </div>\r
385         </td>\r
386         <td class="msource">Node</td>\r
387     </tr>\r
388         <tr class="method-row alt expandable">\r
389         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
390         <td class="sig">\r
391         <a id="Ext.data.Node-findChildBy"></a>\r
392             <b>findChildBy</b>(&nbsp;<code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : Node            <div class="mdesc">\r
393                         <div class="short">Finds the first child by a custom function. The child matches if the function passed
394 returns true.</div>\r
395             <div class="long">\r
396                 Finds the first child by a custom function. The child matches if the function passed
397 returns true.    <div class="mdetail-params">\r
398         <strong>Parameters:</strong>\r
399         <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
400         <strong>Returns:</strong>\r
401         <ul>\r
402             <li><code>Node</code><div class="sub-desc">The found child or null if none was found</div></li>\r
403         </ul>\r
404     </div>\r
405                 </div>\r
406                         </div>\r
407         </td>\r
408         <td class="msource">Node</td>\r
409     </tr>\r
410         <tr class="method-row inherited expandable">\r
411         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
412         <td class="sig">\r
413         <a id="Ext.data.Node-fireEvent"></a>\r
414             <b>fireEvent</b>(&nbsp;<code>String eventName</code>, <code>Object... args</code>&nbsp;) : Boolean            <div class="mdesc">\r
415                         <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>\r
416             <div class="long">\r
417                 Fires the specified event with the passed parameters (minus the event name).    <div class="mdetail-params">\r
418         <strong>Parameters:</strong>\r
419         <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
420         <strong>Returns:</strong>\r
421         <ul>\r
422             <li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li>\r
423         </ul>\r
424     </div>\r
425                 </div>\r
426                         </div>\r
427         </td>\r
428         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>\r
429     </tr>\r
430         <tr class="method-row alt expandable">\r
431         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
432         <td class="sig">\r
433         <a id="Ext.data.Node-getDepth"></a>\r
434             <b>getDepth</b>() : Number            <div class="mdesc">\r
435                         <div class="short">Returns depth of this node (the root node has a depth of 0)</div>\r
436             <div class="long">\r
437                 Returns depth of this node (the root node has a depth of 0)    <div class="mdetail-params">\r
438         <strong>Parameters:</strong>\r
439         <ul><li>None.</li>        </ul>\r
440         <strong>Returns:</strong>\r
441         <ul>\r
442             <li><code>Number</code></li>\r
443         </ul>\r
444     </div>\r
445                 </div>\r
446                         </div>\r
447         </td>\r
448         <td class="msource">Node</td>\r
449     </tr>\r
450         <tr class="method-row expandable">\r
451         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
452         <td class="sig">\r
453         <a id="Ext.data.Node-getOwnerTree"></a>\r
454             <b>getOwnerTree</b>() : Tree            <div class="mdesc">\r
455                         <div class="short">Returns the tree this node is in.</div>\r
456             <div class="long">\r
457                 Returns the tree this node is in.    <div class="mdetail-params">\r
458         <strong>Parameters:</strong>\r
459         <ul><li>None.</li>        </ul>\r
460         <strong>Returns:</strong>\r
461         <ul>\r
462             <li><code>Tree</code></li>\r
463         </ul>\r
464     </div>\r
465                 </div>\r
466                         </div>\r
467         </td>\r
468         <td class="msource">Node</td>\r
469     </tr>\r
470         <tr class="method-row alt expandable">\r
471         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
472         <td class="sig">\r
473         <a id="Ext.data.Node-getPath"></a>\r
474             <b>getPath</b>(&nbsp;<span class="optional" title="Optional">[<code>String attr</code>]</span>&nbsp;) : String            <div class="mdesc">\r
475                         <div class="short">Returns the path for this node. The path can be used to expand or select this node programmatically.</div>\r
476             <div class="long">\r
477                 Returns the path for this node. The path can be used to expand or select this node programmatically.    <div class="mdetail-params">\r
478         <strong>Parameters:</strong>\r
479         <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
480         <strong>Returns:</strong>\r
481         <ul>\r
482             <li><code>String</code><div class="sub-desc">The path</div></li>\r
483         </ul>\r
484     </div>\r
485                 </div>\r
486                         </div>\r
487         </td>\r
488         <td class="msource">Node</td>\r
489     </tr>\r
490         <tr class="method-row expandable">\r
491         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
492         <td class="sig">\r
493         <a id="Ext.data.Node-hasChildNodes"></a>\r
494             <b>hasChildNodes</b>() : Boolean            <div class="mdesc">\r
495                         <div class="short">Returns true if this node has one or more child nodes, else false.</div>\r
496             <div class="long">\r
497                 Returns true if this node has one or more child nodes, else false.    <div class="mdetail-params">\r
498         <strong>Parameters:</strong>\r
499         <ul><li>None.</li>        </ul>\r
500         <strong>Returns:</strong>\r
501         <ul>\r
502             <li><code>Boolean</code></li>\r
503         </ul>\r
504     </div>\r
505                 </div>\r
506                         </div>\r
507         </td>\r
508         <td class="msource">Node</td>\r
509     </tr>\r
510         <tr class="method-row inherited alt expandable">\r
511         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
512         <td class="sig">\r
513         <a id="Ext.data.Node-hasListener"></a>\r
514             <b>hasListener</b>(&nbsp;<code>String eventName</code>&nbsp;) : Boolean            <div class="mdesc">\r
515                         <div class="short">Checks to see if this object has any listeners for a specified event</div>\r
516             <div class="long">\r
517                 Checks to see if this object has any listeners for a specified event    <div class="mdetail-params">\r
518         <strong>Parameters:</strong>\r
519         <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li>        </ul>\r
520         <strong>Returns:</strong>\r
521         <ul>\r
522             <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>\r
523         </ul>\r
524     </div>\r
525                 </div>\r
526                         </div>\r
527         </td>\r
528         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td>\r
529     </tr>\r
530         <tr class="method-row expandable">\r
531         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
532         <td class="sig">\r
533         <a id="Ext.data.Node-indexOf"></a>\r
534             <b>indexOf</b>(&nbsp;<code>Node node</code>&nbsp;) : Number            <div class="mdesc">\r
535                         <div class="short">Returns the index of a child node</div>\r
536             <div class="long">\r
537                 Returns the index of a child node    <div class="mdetail-params">\r
538         <strong>Parameters:</strong>\r
539         <ul><li><code>node</code> : Node<div class="sub-desc"></div></li>        </ul>\r
540         <strong>Returns:</strong>\r
541         <ul>\r
542             <li><code>Number</code><div class="sub-desc">The index of the node or -1 if it was not found</div></li>\r
543         </ul>\r
544     </div>\r
545                 </div>\r
546                         </div>\r
547         </td>\r
548         <td class="msource">Node</td>\r
549     </tr>\r
550         <tr class="method-row alt expandable">\r
551         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
552         <td class="sig">\r
553         <a id="Ext.data.Node-insertBefore"></a>\r
554             <b>insertBefore</b>(&nbsp;<code>Node node</code>, <code>Node refNode</code>&nbsp;) : Node            <div class="mdesc">\r
555                         <div class="short">Inserts the first node before the second node in this nodes childNodes collection.</div>\r
556             <div class="long">\r
557                 Inserts the first node before the second node in this nodes childNodes collection.    <div class="mdetail-params">\r
558         <strong>Parameters:</strong>\r
559         <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
560         <strong>Returns:</strong>\r
561         <ul>\r
562             <li><code>Node</code><div class="sub-desc">The inserted node</div></li>\r
563         </ul>\r
564     </div>\r
565                 </div>\r
566                         </div>\r
567         </td>\r
568         <td class="msource">Node</td>\r
569     </tr>\r
570         <tr class="method-row expandable">\r
571         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
572         <td class="sig">\r
573         <a id="Ext.data.Node-isAncestor"></a>\r
574             <b>isAncestor</b>(&nbsp;<code>Node node</code>&nbsp;) : Boolean            <div class="mdesc">\r
575                         <div class="short">Returns true if the passed node is an ancestor (at any point) of this node.</div>\r
576             <div class="long">\r
577                 Returns true if the passed node is an ancestor (at any point) of this node.    <div class="mdetail-params">\r
578         <strong>Parameters:</strong>\r
579         <ul><li><code>node</code> : Node<div class="sub-desc"></div></li>        </ul>\r
580         <strong>Returns:</strong>\r
581         <ul>\r
582             <li><code>Boolean</code></li>\r
583         </ul>\r
584     </div>\r
585                 </div>\r
586                         </div>\r
587         </td>\r
588         <td class="msource">Node</td>\r
589     </tr>\r
590         <tr class="method-row alt expandable">\r
591         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
592         <td class="sig">\r
593         <a id="Ext.data.Node-isExpandable"></a>\r
594             <b>isExpandable</b>() : Boolean            <div class="mdesc">\r
595                         <div class="short">Returns true if this node has one or more child nodes, or if the expandable
596 node attribute is explicitly specified as...</div>\r
597             <div class="long">\r
598                 Returns true if this node has one or more child nodes, or if the <tt>expandable</tt>
599 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
600         <strong>Parameters:</strong>\r
601         <ul><li>None.</li>        </ul>\r
602         <strong>Returns:</strong>\r
603         <ul>\r
604             <li><code>Boolean</code></li>\r
605         </ul>\r
606     </div>\r
607                 </div>\r
608                         </div>\r
609         </td>\r
610         <td class="msource">Node</td>\r
611     </tr>\r
612         <tr class="method-row expandable">\r
613         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
614         <td class="sig">\r
615         <a id="Ext.data.Node-isFirst"></a>\r
616             <b>isFirst</b>() : Boolean            <div class="mdesc">\r
617                         <div class="short">Returns true if this node is the first child of its parent</div>\r
618             <div class="long">\r
619                 Returns true if this node is the first child of its parent    <div class="mdetail-params">\r
620         <strong>Parameters:</strong>\r
621         <ul><li>None.</li>        </ul>\r
622         <strong>Returns:</strong>\r
623         <ul>\r
624             <li><code>Boolean</code></li>\r
625         </ul>\r
626     </div>\r
627                 </div>\r
628                         </div>\r
629         </td>\r
630         <td class="msource">Node</td>\r
631     </tr>\r
632         <tr class="method-row alt expandable">\r
633         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
634         <td class="sig">\r
635         <a id="Ext.data.Node-isLast"></a>\r
636             <b>isLast</b>() : Boolean            <div class="mdesc">\r
637                         <div class="short">Returns true if this node is the last child of its parent</div>\r
638             <div class="long">\r
639                 Returns true if this node is the last child of its parent    <div class="mdetail-params">\r
640         <strong>Parameters:</strong>\r
641         <ul><li>None.</li>        </ul>\r
642         <strong>Returns:</strong>\r
643         <ul>\r
644             <li><code>Boolean</code></li>\r
645         </ul>\r
646     </div>\r
647                 </div>\r
648                         </div>\r
649         </td>\r
650         <td class="msource">Node</td>\r
651     </tr>\r
652         <tr class="method-row expandable">\r
653         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
654         <td class="sig">\r
655         <a id="Ext.data.Node-isLeaf"></a>\r
656             <b>isLeaf</b>() : Boolean            <div class="mdesc">\r
657                         <div class="short">Returns true if this node is a leaf</div>\r
658             <div class="long">\r
659                 Returns true if this node is a leaf    <div class="mdetail-params">\r
660         <strong>Parameters:</strong>\r
661         <ul><li>None.</li>        </ul>\r
662         <strong>Returns:</strong>\r
663         <ul>\r
664             <li><code>Boolean</code></li>\r
665         </ul>\r
666     </div>\r
667                 </div>\r
668                         </div>\r
669         </td>\r
670         <td class="msource">Node</td>\r
671     </tr>\r
672         <tr class="method-row alt expandable">\r
673         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
674         <td class="sig">\r
675         <a id="Ext.data.Node-item"></a>\r
676             <b>item</b>(&nbsp;<code>Number index</code>&nbsp;) : Node            <div class="mdesc">\r
677                         <div class="short">Returns the child node at the specified index.</div>\r
678             <div class="long">\r
679                 Returns the child node at the specified index.    <div class="mdetail-params">\r
680         <strong>Parameters:</strong>\r
681         <ul><li><code>index</code> : Number<div class="sub-desc"></div></li>        </ul>\r
682         <strong>Returns:</strong>\r
683         <ul>\r
684             <li><code>Node</code></li>\r
685         </ul>\r
686     </div>\r
687                 </div>\r
688                         </div>\r
689         </td>\r
690         <td class="msource">Node</td>\r
691     </tr>\r
692         <tr class="method-row inherited expandable">\r
693         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
694         <td class="sig">\r
695         <a id="Ext.data.Node-on"></a>\r
696             <b>on</b>(&nbsp;<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>&nbsp;) : void            <div class="mdesc">\r
697                         <div class="short">Appends an event handler to this element (shorthand for addListener)</div>\r
698             <div class="long">\r
699                 Appends an event handler to this element (shorthand for addListener)    <div class="mdetail-params">\r
700         <strong>Parameters:</strong>\r
701         <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
702 function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional)</div></li>        </ul>\r
703         <strong>Returns:</strong>\r
704         <ul>\r
705             <li><code>void</code></li>\r
706         </ul>\r
707     </div>\r
708                 </div>\r
709                         </div>\r
710         </td>\r
711         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#on" href="output/Ext.util.Observable.html#on">Observable</a></td>\r
712     </tr>\r
713         <tr class="method-row inherited alt expandable">\r
714         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
715         <td class="sig">\r
716         <a id="Ext.data.Node-purgeListeners"></a>\r
717             <b>purgeListeners</b>() : void            <div class="mdesc">\r
718                         <div class="short">Removes all listeners for this object</div>\r
719             <div class="long">\r
720                 Removes all listeners for this object    <div class="mdetail-params">\r
721         <strong>Parameters:</strong>\r
722         <ul><li>None.</li>        </ul>\r
723         <strong>Returns:</strong>\r
724         <ul>\r
725             <li><code>void</code></li>\r
726         </ul>\r
727     </div>\r
728                 </div>\r
729                         </div>\r
730         </td>\r
731         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#purgeListeners" href="output/Ext.util.Observable.html#purgeListeners">Observable</a></td>\r
732     </tr>\r
733         <tr class="method-row inherited expandable">\r
734         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
735         <td class="sig">\r
736         <a id="Ext.data.Node-relayEvents"></a>\r
737             <b>relayEvents</b>(&nbsp;<code>Object o</code>, <code>Array events</code>&nbsp;) : void            <div class="mdesc">\r
738                         <div class="short">Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>.</div>\r
739             <div class="long">\r
740                 Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>.    <div class="mdetail-params">\r
741         <strong>Parameters:</strong>\r
742         <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
743         <strong>Returns:</strong>\r
744         <ul>\r
745             <li><code>void</code></li>\r
746         </ul>\r
747     </div>\r
748                 </div>\r
749                         </div>\r
750         </td>\r
751         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#relayEvents" href="output/Ext.util.Observable.html#relayEvents">Observable</a></td>\r
752     </tr>\r
753         <tr class="method-row alt expandable">\r
754         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
755         <td class="sig">\r
756         <a id="Ext.data.Node-remove"></a>\r
757             <b>remove</b>() : Node            <div class="mdesc">\r
758                         <div class="short">Removes this node from it's parent</div>\r
759             <div class="long">\r
760                 Removes this node from it's parent    <div class="mdetail-params">\r
761         <strong>Parameters:</strong>\r
762         <ul><li>None.</li>        </ul>\r
763         <strong>Returns:</strong>\r
764         <ul>\r
765             <li><code>Node</code><div class="sub-desc">this</div></li>\r
766         </ul>\r
767     </div>\r
768                 </div>\r
769                         </div>\r
770         </td>\r
771         <td class="msource">Node</td>\r
772     </tr>\r
773         <tr class="method-row expandable">\r
774         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
775         <td class="sig">\r
776         <a id="Ext.data.Node-removeChild"></a>\r
777             <b>removeChild</b>(&nbsp;<code>Node node</code>&nbsp;) : Node            <div class="mdesc">\r
778                         <div class="short">Removes a child node from this node.</div>\r
779             <div class="long">\r
780                 Removes a child node from this node.    <div class="mdetail-params">\r
781         <strong>Parameters:</strong>\r
782         <ul><li><code>node</code> : Node<div class="sub-desc">The node to remove</div></li>        </ul>\r
783         <strong>Returns:</strong>\r
784         <ul>\r
785             <li><code>Node</code><div class="sub-desc">The removed node</div></li>\r
786         </ul>\r
787     </div>\r
788                 </div>\r
789                         </div>\r
790         </td>\r
791         <td class="msource">Node</td>\r
792     </tr>\r
793         <tr class="method-row inherited alt expandable">\r
794         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
795         <td class="sig">\r
796         <a id="Ext.data.Node-removeListener"></a>\r
797             <b>removeListener</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">\r
798                         <div class="short">Removes a listener</div>\r
799             <div class="long">\r
800                 Removes a listener    <div class="mdetail-params">\r
801         <strong>Parameters:</strong>\r
802         <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
803         <strong>Returns:</strong>\r
804         <ul>\r
805             <li><code>void</code></li>\r
806         </ul>\r
807     </div>\r
808                 </div>\r
809                         </div>\r
810         </td>\r
811         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#removeListener" href="output/Ext.util.Observable.html#removeListener">Observable</a></td>\r
812     </tr>\r
813         <tr class="method-row expandable">\r
814         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
815         <td class="sig">\r
816         <a id="Ext.data.Node-replaceChild"></a>\r
817             <b>replaceChild</b>(&nbsp;<code>Node newChild</code>, <code>Node oldChild</code>&nbsp;) : Node            <div class="mdesc">\r
818                         <div class="short">Replaces one child node in this node with another.</div>\r
819             <div class="long">\r
820                 Replaces one child node in this node with another.    <div class="mdetail-params">\r
821         <strong>Parameters:</strong>\r
822         <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
823         <strong>Returns:</strong>\r
824         <ul>\r
825             <li><code>Node</code><div class="sub-desc">The replaced node</div></li>\r
826         </ul>\r
827     </div>\r
828                 </div>\r
829                         </div>\r
830         </td>\r
831         <td class="msource">Node</td>\r
832     </tr>\r
833         <tr class="method-row inherited alt expandable">\r
834         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
835         <td class="sig">\r
836         <a id="Ext.data.Node-resumeEvents"></a>\r
837             <b>resumeEvents</b>() : void            <div class="mdesc">\r
838                         <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
839             <div class="long">\r
840                 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
841         <strong>Parameters:</strong>\r
842         <ul><li>None.</li>        </ul>\r
843         <strong>Returns:</strong>\r
844         <ul>\r
845             <li><code>void</code></li>\r
846         </ul>\r
847     </div>\r
848                 </div>\r
849                         </div>\r
850         </td>\r
851         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">Observable</a></td>\r
852     </tr>\r
853         <tr class="method-row expandable">\r
854         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
855         <td class="sig">\r
856         <a id="Ext.data.Node-sort"></a>\r
857             <b>sort</b>(&nbsp;<code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">\r
858                         <div class="short">Sorts this nodes children using the supplied sort function</div>\r
859             <div class="long">\r
860                 Sorts this nodes children using the supplied sort function    <div class="mdetail-params">\r
861         <strong>Parameters:</strong>\r
862         <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
863         <strong>Returns:</strong>\r
864         <ul>\r
865             <li><code>void</code></li>\r
866         </ul>\r
867     </div>\r
868                 </div>\r
869                         </div>\r
870         </td>\r
871         <td class="msource">Node</td>\r
872     </tr>\r
873         <tr class="method-row inherited alt expandable">\r
874         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
875         <td class="sig">\r
876         <a id="Ext.data.Node-suspendEvents"></a>\r
877             <b>suspendEvents</b>() : void            <div class="mdesc">\r
878                         <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
879             <div class="long">\r
880                 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
881         <strong>Parameters:</strong>\r
882         <ul><li>None.</li>        </ul>\r
883         <strong>Returns:</strong>\r
884         <ul>\r
885             <li><code>void</code></li>\r
886         </ul>\r
887     </div>\r
888                 </div>\r
889                         </div>\r
890         </td>\r
891         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">Observable</a></td>\r
892     </tr>\r
893         <tr class="method-row inherited expandable">\r
894         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
895         <td class="sig">\r
896         <a id="Ext.data.Node-un"></a>\r
897             <b>un</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">\r
898                         <div class="short">Removes a listener (shorthand for removeListener)</div>\r
899             <div class="long">\r
900                 Removes a listener (shorthand for removeListener)    <div class="mdetail-params">\r
901         <strong>Parameters:</strong>\r
902         <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
903         <strong>Returns:</strong>\r
904         <ul>\r
905             <li><code>void</code></li>\r
906         </ul>\r
907     </div>\r
908                 </div>\r
909                         </div>\r
910         </td>\r
911         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#un" href="output/Ext.util.Observable.html#un">Observable</a></td>\r
912     </tr>\r
913             </table>
914                 <a id="Ext.data.Node-events"></a>
915         <h2>Public Events</h2>
916                 <table cellspacing="0" class="member-table">
917             <tr>
918                 <th class="sig-header" colspan="2">Event</th>
919                 <th class="msource-header">Defined By</th>
920             </tr>
921                 <tr class="event-row expandable">\r
922         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
923         <td class="sig">\r
924         <a id="Ext.data.Node-append"></a>\r
925             <b>append</b> : (&nbsp;<code>Tree tree</code>, <code>Node this</code>, <code>Node node</code>, <code>Number index</code>&nbsp;)            <div class="mdesc">\r
926                         <div class="short">Fires when a new child node is appended</div>\r
927             <div class="long">\r
928                 Fires when a new child node is appended    <div class="mdetail-params">\r
929         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
930         <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
931     </div>\r
932                 </div>\r
933                         </div>\r
934         </td>\r
935         <td class="msource">Node</td>\r
936     </tr>\r
937         <tr class="event-row alt expandable">\r
938         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
939         <td class="sig">\r
940         <a id="Ext.data.Node-beforeappend"></a>\r
941             <b>beforeappend</b> : (&nbsp;<code>Tree tree</code>, <code>Node this</code>, <code>Node node</code>&nbsp;)            <div class="mdesc">\r
942                         <div class="short">Fires before a new child is appended, return false to cancel the append.</div>\r
943             <div class="long">\r
944                 Fires before a new child is appended, return false to cancel the append.    <div class="mdetail-params">\r
945         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
946         <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
947     </div>\r
948                 </div>\r
949                         </div>\r
950         </td>\r
951         <td class="msource">Node</td>\r
952     </tr>\r
953         <tr class="event-row expandable">\r
954         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
955         <td class="sig">\r
956         <a id="Ext.data.Node-beforeinsert"></a>\r
957             <b>beforeinsert</b> : (&nbsp;<code>Tree tree</code>, <code>Node this</code>, <code>Node node</code>, <code>Node refNode</code>&nbsp;)            <div class="mdesc">\r
958                         <div class="short">Fires before a new child is inserted, return false to cancel the insert.</div>\r
959             <div class="long">\r
960                 Fires before a new child is inserted, return false to cancel the insert.    <div class="mdetail-params">\r
961         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
962         <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
963     </div>\r
964                 </div>\r
965                         </div>\r
966         </td>\r
967         <td class="msource">Node</td>\r
968     </tr>\r
969         <tr class="event-row alt expandable">\r
970         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
971         <td class="sig">\r
972         <a id="Ext.data.Node-beforemove"></a>\r
973             <b>beforemove</b> : (&nbsp;<code>Tree tree</code>, <code>Node this</code>, <code>Node oldParent</code>, <code>Node newParent</code>, <code>Number index</code>&nbsp;)            <div class="mdesc">\r
974                         <div class="short">Fires before this node is moved to a new location in the tree. Return false to cancel the move.</div>\r
975             <div class="long">\r
976                 Fires before this node is moved to a new location in the tree. Return false to cancel the move.    <div class="mdetail-params">\r
977         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
978         <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
979     </div>\r
980                 </div>\r
981                         </div>\r
982         </td>\r
983         <td class="msource">Node</td>\r
984     </tr>\r
985         <tr class="event-row expandable">\r
986         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
987         <td class="sig">\r
988         <a id="Ext.data.Node-beforeremove"></a>\r
989             <b>beforeremove</b> : (&nbsp;<code>Tree tree</code>, <code>Node this</code>, <code>Node node</code>&nbsp;)            <div class="mdesc">\r
990                         <div class="short">Fires before a child is removed, return false to cancel the remove.</div>\r
991             <div class="long">\r
992                 Fires before a child is removed, return false to cancel the remove.    <div class="mdetail-params">\r
993         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
994         <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
995     </div>\r
996                 </div>\r
997                         </div>\r
998         </td>\r
999         <td class="msource">Node</td>\r
1000     </tr>\r
1001         <tr class="event-row alt expandable">\r
1002         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1003         <td class="sig">\r
1004         <a id="Ext.data.Node-insert"></a>\r
1005             <b>insert</b> : (&nbsp;<code>Tree tree</code>, <code>Node this</code>, <code>Node node</code>, <code>Node refNode</code>&nbsp;)            <div class="mdesc">\r
1006                         <div class="short">Fires when a new child node is inserted.</div>\r
1007             <div class="long">\r
1008                 Fires when a new child node is inserted.    <div class="mdetail-params">\r
1009         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1010         <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
1011     </div>\r
1012                 </div>\r
1013                         </div>\r
1014         </td>\r
1015         <td class="msource">Node</td>\r
1016     </tr>\r
1017         <tr class="event-row expandable">\r
1018         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1019         <td class="sig">\r
1020         <a id="Ext.data.Node-move"></a>\r
1021             <b>move</b> : (&nbsp;<code>Tree tree</code>, <code>Node this</code>, <code>Node oldParent</code>, <code>Node newParent</code>, <code>Number index</code>&nbsp;)            <div class="mdesc">\r
1022                         <div class="short">Fires when this node is moved to a new location in the tree</div>\r
1023             <div class="long">\r
1024                 Fires when this node is moved to a new location in the tree    <div class="mdetail-params">\r
1025         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1026         <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
1027     </div>\r
1028                 </div>\r
1029                         </div>\r
1030         </td>\r
1031         <td class="msource">Node</td>\r
1032     </tr>\r
1033         <tr class="event-row alt expandable">\r
1034         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1035         <td class="sig">\r
1036         <a id="Ext.data.Node-remove"></a>\r
1037             <b>remove</b> : (&nbsp;<code>Tree tree</code>, <code>Node this</code>, <code>Node node</code>&nbsp;)            <div class="mdesc">\r
1038                         <div class="short">Fires when a child node is removed</div>\r
1039             <div class="long">\r
1040                 Fires when a child node is removed    <div class="mdetail-params">\r
1041         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1042         <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
1043     </div>\r
1044                 </div>\r
1045                         </div>\r
1046         </td>\r
1047         <td class="msource">Node</td>\r
1048     </tr>\r
1049             </table>
1050         
1051         </div>