sync
[roojs1] / docs / symbols / Roo.tree.TreeLoader.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
3
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
6         <head>
7                 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8                 <meta name="generator" content="JsDoc Toolkit" />
9                 
10                 
11                 <title>JsDoc Reference - Roo.tree.TreeLoader</title>
12                 
13                 
14         <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />            
15         <link rel="stylesheet" type="text/css" href="../default.css" />
16         
17         
18         <script type="text/javascript" src="../page.js">
19         
20         </script>
21          
22                 
23         </head>
24
25         <body onload="RooDocsPage.onload();">
26          
27         
28 <div class="body-wrap">
29
30     <!-- ============================== links to methods. ================================= --> 
31
32     <div class="top-tools">
33     <!--
34         <a class="inner-link" href="#Roo.tree.TreeLoader-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35         <a class="inner-link" href="#Roo.tree.TreeLoader-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36         <a class="inner-link" href="#Roo.tree.TreeLoader-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37         <a class="inner-link" href="#Roo.tree.TreeLoader-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38         <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
39         -->
40     </div>
41
42     
43 <!-- ============================== inheritance Block. ================================= -->    
44         
45                 <div class="inheritance res-block">
46                    <pre class="res-block-inner"><a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
47 <img src="../../images/default/s.gif" height="1"  width="20"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.tree.TreeLoader 
48
49                    </pre>
50                 </div>
51        
52 <!-- ============================== class title / details ============================ -->
53     
54     
55     <h1 class="classTitle">
56                                 
57                                 Class Roo.tree.TreeLoader
58                         </h1>
59                         
60     <table cellspacing="0" class="class-summary-table">
61         
62                 <tr><td class="label">Package:</td><td class="hd-info">Roo.tree</td></tr>
63         
64         <tr><td class="label">Defined In:</td><td class="hd-info">
65                         
66                                         <a href="./src/Roo_tree_TreeLoader.js.html">Roo/tree/TreeLoader.js</a>.
67                         
68         </td></tr>
69         <tr><td class="label">Class:</td><td class="hd-info">TreeLoader</td></tr>
70         
71         
72         
73         
74                 <tr><td class="label">Extends:</td><td class="hd-info">
75                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
76         
77                 </td></tr>    
78         
79         
80     </table>
81
82     
83 <!-- ============================== class summary ========================== -->                        
84     <div class="description">
85         A TreeLoader provides for lazy loading of an {<b>link</b> Roo.tree.TreeNode}'s child<br/>nodes from a specified URL. The response must be a javascript Array definition<br/>who's elements are node definition objects. eg:<br/><pre><code><br/>   [{ 'id': 1, 'text': 'A folder Node', 'leaf': false },<br/>    { 'id': 2, 'text': 'A leaf Node', 'leaf': true }]<br/></code></pre><br/><br><br><br/>A server request is sent, and child nodes are loaded only when a node is expanded.<br/>The loading node's id is passed to the server under the parameter name "node" to<br/>enable the server to produce the correct child nodes.<br/><br><br><br/>To pass extra parameters, an event handler may be attached to the "beforeload"<br/>event, and the parameters specified in the TreeLoader's baseParams property:<br/><pre><code><br/>    myTreeLoader.on("beforeload", function(treeLoader, node) {<br/>        this.baseParams.category = node.attributes.category;<br/>    }, this);<br/></code></pre><<br/>This would pass an HTTP parameter called "category" to the server containing<br/>the value of the Node's "category" attribute.
86     </div>
87
88         
89 <!-- ============================== Class comment block... ========================== -->                                       
90
91 <div class="comments">
92         <b>Class Comments / Notes</B> =>  
93         <u onclick="parent.CommentDialog.showCommentId = 'Roo.tree.TreeLoader';">[Add Your comment/notes about this class]</u>
94         <br/>
95         <iframe frameborder="0"  id="comments-Roo.tree" style="border: none;width:100%;" 
96                 src="/blog.php/GtkDjsComments/Roo.tree.TreeLoader.html"></iframe>
97 </div>
98         
99
100                 
101 <!-- ============================== config options ========================== -->                                               
102                  
103     
104     
105                 
106     <div class="hr"></div>
107     <a id="Roo.tree.TreeLoader-configs"></a>
108                 
109     
110      
111     
112         
113       <table cellspacing="0" class="member-table">   
114       <caption>Config Options (Usually are also Properties)</caption>
115     
116         
117         <tr>
118             <th class="sig-header" colspan="2">Options</th>
119             
120             <th class="msource-header">Defined By</th>
121         </tr>
122         
123         
124         
125         
126         
127                 <tr class="config-row expandable config-row-alt0 notInherited">
128                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
129                     <td class="sig">
130
131                         <a id="Roo.tree.TreeLoader-cfg-baseAttrs" name=".baseAttrs"></a>
132                         <div class="fixedFont">
133                                 <b  class="itemname">baseAttrs</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
134                                 
135                                 
136                         </div>
137                   
138                         <div class="mdesc">
139                             <div class="short">(optional) An object containing attributes to be added to all nodes<br/>created by this loader.</div> 
140                         </div>
141                         
142                         <div class="mdesc">
143                             <div class="long">(optional) An object containing attributes to be added to all nodes<br/>created by this loader. If the attributes sent by the server have an attribute in this object,<br/>they take priority.</div> 
144                         </div>
145                         
146                         
147
148                     </td>
149                     <td class="msource">
150                         
151                         Roo.tree.TreeLoader
152                                 
153                     </td>
154                 </tr>
155         
156         
157                 <tr class="config-row expandable config-row-alt1 notInherited">
158                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
159                     <td class="sig">
160
161                         <a id="Roo.tree.TreeLoader-cfg-baseParams" name=".baseParams"></a>
162                         <div class="fixedFont">
163                                 <b  class="itemname">baseParams</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
164                                 
165                                 
166                         </div>
167                   
168                         <div class="mdesc">
169                             <div class="short">(optional) An object containing properties which<br/>specify HTTP parameters to be passed to each request for child nodes.</div> 
170                         </div>
171                         
172                         <div class="mdesc">
173                             <div class="long">(optional) An object containing properties which<br/>specify HTTP parameters to be passed to each request for child nodes.</div> 
174                         </div>
175                         
176                         
177
178                     </td>
179                     <td class="msource">
180                         
181                         Roo.tree.TreeLoader
182                                 
183                     </td>
184                 </tr>
185         
186         
187                 <tr class="config-row expandable config-row-alt0 notInherited">
188                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
189                     <td class="sig">
190
191                         <a id="Roo.tree.TreeLoader-cfg-clearOnLoad" name=".clearOnLoad"></a>
192                         <div class="fixedFont">
193                                 <b  class="itemname">clearOnLoad</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
194                                 
195                                 
196                         </div>
197                   
198                         <div class="mdesc">
199                             <div class="short">(optional) Default to true.</div> 
200                         </div>
201                         
202                         <div class="mdesc">
203                             <div class="long">(optional) Default to true. Remove previously existing<br/>child nodes before loading.</div> 
204                         </div>
205                         
206                         
207
208                     </td>
209                     <td class="msource">
210                         
211                         Roo.tree.TreeLoader
212                                 
213                     </td>
214                 </tr>
215         
216         
217                 <tr class="config-row expandable config-row-alt1 notInherited">
218                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
219                     <td class="sig">
220
221                         <a id="Roo.tree.TreeLoader-cfg-dataUrl" name=".dataUrl"></a>
222                         <div class="fixedFont">
223                                 <b  class="itemname">dataUrl</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
224                                 
225                                 
226                         </div>
227                   
228                         <div class="mdesc">
229                             <div class="short">The URL from which to request a Json string which<br/>specifies an array of node definition object representing the child nodes<br/>to be loaded.</div> 
230                         </div>
231                         
232                         <div class="mdesc">
233                             <div class="long">The URL from which to request a Json string which<br/>specifies an array of node definition object representing the child nodes<br/>to be loaded.</div> 
234                         </div>
235                         
236                         
237
238                     </td>
239                     <td class="msource">
240                         
241                         Roo.tree.TreeLoader
242                                 
243                     </td>
244                 </tr>
245         
246         
247                 <tr class="config-row expandable config-row-alt0">
248                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
249                     <td class="sig">
250
251                         <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
252                         <div class="fixedFont">
253                                 <b  class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
254                                 
255                                 
256                         </div>
257                   
258                         <div class="mdesc">
259                             <div class="short">list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/>    listeners :  { <br/>       'click' : function(e) {<br/>           .</div> 
260                         </div>
261                         
262                         <div class="mdesc">
263                             <div class="long">list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/>    listeners :  { <br/>       'click' : function(e) {<br/>           ..... <br/>        } ,<br/>        .... <br/>    } <br/>  </code></pre></div> 
264                         </div>
265                         
266                         
267
268                     </td>
269                     <td class="msource">
270                         
271                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
272                                 
273                     </td>
274                 </tr>
275         
276         
277                 <tr class="config-row expandable config-row-alt1 notInherited">
278                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
279                     <td class="sig">
280
281                         <a id="Roo.tree.TreeLoader-cfg-queryParam" name=".queryParam"></a>
282                         <div class="fixedFont">
283                                 <b  class="itemname">queryParam</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
284                                 
285                                 
286                         </div>
287                   
288                         <div class="mdesc">
289                             <div class="short">(optional) <br/>Name of the query as it will be passed on the querystring (defaults to 'node')<br/>eg.</div> 
290                         </div>
291                         
292                         <div class="mdesc">
293                             <div class="long">(optional) <br/>Name of the query as it will be passed on the querystring (defaults to 'node')<br/>eg. the request will be ?node=[id]</div> 
294                         </div>
295                         
296                         
297
298                     </td>
299                     <td class="msource">
300                         
301                         Roo.tree.TreeLoader
302                                 
303                     </td>
304                 </tr>
305         
306         
307                 <tr class="config-row expandable config-row-alt0 notInherited">
308                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
309                     <td class="sig">
310
311                         <a id="Roo.tree.TreeLoader-cfg-root" name=".root"></a>
312                         <div class="fixedFont">
313                                 <b  class="itemname">root</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
314                                 
315                                 
316                         </div>
317                   
318                         <div class="mdesc">
319                             <div class="short">(optional) Default to false.</div> 
320                         </div>
321                         
322                         <div class="mdesc">
323                             <div class="long">(optional) Default to false. Use this to read data from an object <br/>property on loading, rather than expecting an array. (eg. more compatible to a standard<br/>Grid query { data : [ .....] }</div> 
324                         </div>
325                         
326                         
327
328                     </td>
329                     <td class="msource">
330                         
331                         Roo.tree.TreeLoader
332                                 
333                     </td>
334                 </tr>
335         
336         
337                 <tr class="config-row expandable config-row-alt1 notInherited">
338                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
339                     <td class="sig">
340
341                         <a id="Roo.tree.TreeLoader-cfg-uiProviders" name=".uiProviders"></a>
342                         <div class="fixedFont">
343                                 <b  class="itemname">uiProviders</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
344                                 
345                                 
346                         </div>
347                   
348                         <div class="mdesc">
349                             <div class="short">(optional) An object containing properties which<br/><br/>DEPRECIATED - use 'create' event handler to modify attributes - which affect creation.</div> 
350                         </div>
351                         
352                         <div class="mdesc">
353                             <div class="long">(optional) An object containing properties which<br/><br/>DEPRECIATED - use 'create' event handler to modify attributes - which affect creation.<br/>specify custom {<b>link</b> Roo.tree.TreeNodeUI} implementations. If the optional<br/><i>uiProvider</i> attribute of a returned child node is a string rather<br/>than a reference to a TreeNodeUI implementation, this that string value<br/>is used as a property name in the uiProviders object. You can define the provider named<br/>'default' , and this will be used for all nodes (if no uiProvider is delivered by the node data)</div> 
354                         </div>
355                         
356                         
357
358                     </td>
359                     <td class="msource">
360                         
361                         Roo.tree.TreeLoader
362                                 
363                     </td>
364                 </tr>
365         
366         
367     </table>
368                 
369   
370   
371   
372   
373   
374   
375   
376   
377   <!-- ============================== public properties ==================== -->        
378   
379   
380   
381     <a id="Roo.tree.TreeLoader-props"></a>      
382     
383     
384
385     
386     
387      <table cellspacing="0" class="member-table">
388       <caption class="Empty">Public Properties - Has None</caption>
389      </table>
390     
391     
392      
393     
394   <!-- ============================== methods summary / details ======================== -->
395   
396   
397   <a id="Roo.tree.TreeLoader-methods"></a>
398         <!-- constructor?? -->
399         
400         <!-- static's first 
401         
402         
403         -->
404         
405         <!-- then dynamics first -->
406         
407   
408   
409     
410     
411     
412       <table cellspacing="0" class="member-table">
413       <caption>Public Methods</caption>
414         <tr>
415             <th class="sig-header" colspan="2">Method</th>            
416             <th class="msource-header">Defined By</th>
417
418         </tr>
419         
420         
421         
422          
423         
424         
425           
426           <tr class="method-row config-row-alt0 expandable notInherited">
427             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
428            
429            
430             <td class="sig">
431                 <a id="Roo.tree-method-TreeLoader"   name=".TreeLoader"></a>
432                 <div class="fixedFont">
433                         <span class="attributes">new <B>Roo.tree.</B></span><b class="itemname">TreeLoader</b>
434                                 
435                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>) 
436                         
437                                 
438                         
439                 </div>
440                 <div class="mdesc">
441                 
442                  
443                         <div class="short">Create a new Roo.tree.TreeLoader</div> 
444                  
445                  
446                     <div class="long">
447                         
448                         
449                         
450                                 Create a new Roo.tree.TreeLoader
451                         
452                         
453                                 <dl class="detailList">
454                                 <dt class="heading">Parameters:</dt>
455                                 
456                                         <dt>
457                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>config</b>
458                                                 
459                                         </dt>
460                                         <dd>A config object containing config properties.</dd>
461                                 
462                                 </dl>
463                         
464                         
465                         
466                         
467                         
468                         
469                         
470
471                     
472                     
473                      
474                     </div>                    
475                 </div>
476
477             </td>
478             <td class="msource">
479                 &nbsp;
480             </td>
481         </tr>
482         
483           
484           <tr class="method-row config-row-alt1 expandable">
485             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
486            
487            
488             <td class="sig">
489                 <a id="Roo.util.Observable-method-addEvents"   name=".addEvents"></a>
490                 <div class="fixedFont">
491                         <span class="attributes"></span><b class="itemname">addEvents</b>
492                                 
493                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>) 
494                         
495                                 
496                         
497                 </div>
498                 <div class="mdesc">
499                 
500                    <div class="short">Used to define events on this Observable</div> 
501                  
502                  
503                  
504                     <div class="long">
505                         
506                                 Used to define events on this Observable
507                     
508                                 
509                         
510                         
511                         
512                         
513                                 <dl class="detailList">
514                                 <dt class="heading">Parameters:</dt>
515                                 
516                                         <dt>
517                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>object</b>
518                                                 
519                                         </dt>
520                                         <dd>The object with the events defined</dd>
521                                 
522                                 </dl>
523                         
524                         
525                         
526                         
527                         
528                         
529                         
530
531                     
532                     
533                      
534                     </div>                    
535                 </div>
536
537             </td>
538             <td class="msource">
539                 
540                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
541                 &nbsp;
542             </td>
543         </tr>
544         
545           
546           <tr class="method-row config-row-alt0 expandable">
547             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
548            
549            
550             <td class="sig">
551                 <a id="Roo.util.Observable-method-addListener"   name=".addListener"></a>
552                 <div class="fixedFont">
553                         <span class="attributes"></span><b class="itemname">addListener</b>
554                                 
555                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
556                         
557                                 
558                         
559                 </div>
560                 <div class="mdesc">
561                 
562                    <div class="short">Appends an event handler to this component</div> 
563                  
564                  
565                  
566                     <div class="long">
567                         
568                                 Appends an event handler to this component
569                     
570                                 
571                         
572                         
573                         
574                         
575                                 <dl class="detailList">
576                                 <dt class="heading">Parameters:</dt>
577                                 
578                                         <dt>
579                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
580                                                 
581                                         </dt>
582                                         <dd>The type of event to listen for</dd>
583                                 
584                                         <dt>
585                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
586                                                 
587                                         </dt>
588                                         <dd>The method the event invokes</dd>
589                                 
590                                         <dt>
591                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>scope</b>
592                                                 
593                                         </dt>
594                                         <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
595                                 
596                                         <dt>
597                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>options</b>
598                                                 
599                                         </dt>
600                                         <dd>(optional) An object containing handler configuration<br/>properties. This may contain any of the following properties:<ul><br/><li>scope {Object} The scope in which to execute the handler function. The handler function's "this" context.</li><br/><li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li><br/><li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li><br/><li>buffer {Number} Causes the handler to be scheduled to run in an {<b>link</b> Roo.util.DelayedTask} delayed<br/>by the specified number of milliseconds. If the event fires again within that time, the original<br/>handler is <em>not</em> invoked, but the new handler is scheduled in its place.</li><br/></ul><br><br/><p><br/><b>Combining Options</b><br><br/>Using the options argument, it is possible to combine different types of listeners:<br><br/><br><br/>A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)<br/>             <pre><code><br/>                el.on('click', this.onClick, this, {<br/>                       single: true,<br/>              delay: 100,<br/>                forumId: 4<br/>         });<br/>                </code></pre><br/><p><br/><b>Attaching multiple handlers in 1 call</b><br><br/>The method also allows for a single argument to be passed which is a config object containing properties<br/>which specify multiple handlers.<br/><pre><code><br/>               el.on({<br/>                    'click': {<br/>                 fn: this.onClick,<br/>                  scope: this,<br/>                       delay: 100<br/>                 }, <br/>                'mouseover': {<br/>                     fn: this.onMouseOver,<br/>                      scope: this<br/>                },<br/>                 'mouseout': {<br/>                      fn: this.onMouseOut,<br/>                       scope: this<br/>                }<br/>          });<br/>                </code></pre><br/><p><br/>Or a shorthand syntax which passes the same scope object to all handlers:<br/>        <pre><code><br/>                el.on({<br/>                    'click': this.onClick,<br/>             'mouseover': this.onMouseOver,<br/>             'mouseout': this.onMouseOut,<br/>               scope: this<br/>                });<br/>                </code></pre></dd>
601                                 
602                                 </dl>
603                         
604                         
605                         
606                         
607                         
608                         
609                         
610
611                     
612                     
613                      
614                     </div>                    
615                 </div>
616
617             </td>
618             <td class="msource">
619                 
620                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
621                 &nbsp;
622             </td>
623         </tr>
624         
625           
626           <tr class="method-row config-row-alt1 expandable">
627             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
628            
629            
630             <td class="sig">
631                 <a id="Roo.util.Observable-method-fireEvent"   name=".fireEvent"></a>
632                 <div class="fixedFont">
633                         <span class="attributes"></span><b class="itemname">fireEvent</b>
634                                 
635                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object...</a> <B><i>args</i></B>) 
636                         
637                                 
638                                          : 
639                                         
640                                                 
641                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
642                                         
643                                         
644                                         
645                                 
646                         
647                 </div>
648                 <div class="mdesc">
649                 
650                    <div class="short">Fires the specified event with the passed parameters (minus the event name).</div> 
651                  
652                  
653                  
654                     <div class="long">
655                         
656                                 Fires the specified event with the passed parameters (minus the event name).
657                     
658                                 
659                         
660                         
661                         
662                         
663                                 <dl class="detailList">
664                                 <dt class="heading">Parameters:</dt>
665                                 
666                                         <dt>
667                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
668                                                 
669                                         </dt>
670                                         <dd></dd>
671                                 
672                                         <dt>
673                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object...</a></span>  <b>args</b>
674                                                 
675                                         </dt>
676                                         <dd>Variable number of parameters are passed to handlers</dd>
677                                 
678                                 </dl>
679                         
680                         
681                         
682                         
683                         
684                                 <dl class="detailList">
685                                 <dt class="heading">Returns:</dt>
686                                 
687                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  returns false if any of the handlers return false otherwise it returns true</dd>
688                                 
689                                 </dl>
690                         
691                         
692                         
693
694                     
695                     
696                      
697                     </div>                    
698                 </div>
699
700             </td>
701             <td class="msource">
702                 
703                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
704                 &nbsp;
705             </td>
706         </tr>
707         
708           
709           <tr class="method-row config-row-alt0 expandable">
710             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
711            
712            
713             <td class="sig">
714                 <a id="Roo.util.Observable-method-hasListener"   name=".hasListener"></a>
715                 <div class="fixedFont">
716                         <span class="attributes"></span><b class="itemname">hasListener</b>
717                                 
718                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>) 
719                         
720                                 
721                                          : 
722                                         
723                                                 
724                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
725                                         
726                                         
727                                         
728                                 
729                         
730                 </div>
731                 <div class="mdesc">
732                 
733                    <div class="short">Checks to see if this object has any listeners for a specified event</div> 
734                  
735                  
736                  
737                     <div class="long">
738                         
739                                 Checks to see if this object has any listeners for a specified event
740                     
741                                 
742                         
743                         
744                         
745                         
746                                 <dl class="detailList">
747                                 <dt class="heading">Parameters:</dt>
748                                 
749                                         <dt>
750                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
751                                                 
752                                         </dt>
753                                         <dd>The name of the event to check for</dd>
754                                 
755                                 </dl>
756                         
757                         
758                         
759                         
760                         
761                                 <dl class="detailList">
762                                 <dt class="heading">Returns:</dt>
763                                 
764                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  True if the event is being listened for, else false</dd>
765                                 
766                                 </dl>
767                         
768                         
769                         
770
771                     
772                     
773                      
774                     </div>                    
775                 </div>
776
777             </td>
778             <td class="msource">
779                 
780                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
781                 &nbsp;
782             </td>
783         </tr>
784         
785           
786           <tr class="method-row config-row-alt1 expandable notInherited">
787             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
788            
789            
790             <td class="sig">
791                 <a id="Roo.tree.TreeLoader-method-load"   name=".load"></a>
792                 <div class="fixedFont">
793                         <span class="attributes"></span><b class="itemname">load</b>
794                                 
795                                  (<a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a> <B><i>node</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>callback</i></B>) 
796                         
797                                 
798                         
799                 </div>
800                 <div class="mdesc">
801                 
802                    <div class="short">Load an {<b>link</b> Roo.tree.TreeNode} from the URL specified in the constructor.</div> 
803                  
804                  
805                  
806                     <div class="long">
807                         
808                                 Load an {<b>link</b> Roo.tree.TreeNode} from the URL specified in the constructor.<br/>This is called automatically when a node is expanded, but may be used to reload<br/>a node (or append new children if the {<b>link</b> <b>clearOnLoad</b>} option is false.)
809                     
810                                 
811                         
812                         
813                         
814                         
815                                 <dl class="detailList">
816                                 <dt class="heading">Parameters:</dt>
817                                 
818                                         <dt>
819                                                 <span class="fixedFont"><a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a></span>  <b>node</b>
820                                                 
821                                         </dt>
822                                         <dd></dd>
823                                 
824                                         <dt>
825                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>callback</b>
826                                                 
827                                         </dt>
828                                         <dd></dd>
829                                 
830                                 </dl>
831                         
832                         
833                         
834                         
835                         
836                         
837                         
838
839                     
840                     
841                      
842                     </div>                    
843                 </div>
844
845             </td>
846             <td class="msource">
847                 
848                         Roo.tree.TreeLoader
849                 &nbsp;
850             </td>
851         </tr>
852         
853           
854           <tr class="method-row config-row-alt0 expandable">
855             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
856            
857            
858             <td class="sig">
859                 <a id="Roo.util.Observable-method-on"   name=".on"></a>
860                 <div class="fixedFont">
861                         <span class="attributes"></span><b class="itemname">on</b>
862                                 
863                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
864                         
865                                 
866                         
867                 </div>
868                 <div class="mdesc">
869                 
870                    <div class="short">Appends an event handler to this element (shorthand for addListener)</div> 
871                  
872                  
873                  
874                     <div class="long">
875                         
876                                 Appends an event handler to this element (shorthand for addListener)
877                     
878                                 
879                         
880                         
881                         
882                         
883                                 <dl class="detailList">
884                                 <dt class="heading">Parameters:</dt>
885                                 
886                                         <dt>
887                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
888                                                 
889                                         </dt>
890                                         <dd>The type of event to listen for</dd>
891                                 
892                                         <dt>
893                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
894                                                 
895                                         </dt>
896                                         <dd>The method the event invokes</dd>
897                                 
898                                         <dt>
899                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>scope</b>
900                                                 
901                                         </dt>
902                                         <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
903                                 
904                                         <dt>
905                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>options</b>
906                                                 
907                                         </dt>
908                                         <dd>(optional)</dd>
909                                 
910                                 </dl>
911                         
912                         
913                         
914                         
915                         
916                         
917                         
918
919                     
920                     
921                      
922                     </div>                    
923                 </div>
924
925             </td>
926             <td class="msource">
927                 
928                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
929                 &nbsp;
930             </td>
931         </tr>
932         
933           
934           <tr class="method-row config-row-alt1 expandable">
935             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
936            
937            
938             <td class="sig">
939                 <a id="Roo.util.Observable-method-purgeListeners"   name=".purgeListeners"></a>
940                 <div class="fixedFont">
941                         <span class="attributes"></span><b class="itemname">purgeListeners</b>
942                                 
943                                  () 
944                         
945                                 
946                         
947                 </div>
948                 <div class="mdesc">
949                 
950                    <div class="short">Removes all listeners for this object</div> 
951                  
952                  
953                  
954                     <div class="long">
955                         
956                                 Removes all listeners for this object
957                     
958                                 
959                         
960                         
961                         
962                         
963                         
964                         
965                         
966                         
967                         
968                         
969
970                     
971                     
972                      
973                     </div>                    
974                 </div>
975
976             </td>
977             <td class="msource">
978                 
979                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
980                 &nbsp;
981             </td>
982         </tr>
983         
984           
985           <tr class="method-row config-row-alt0 expandable">
986             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
987            
988            
989             <td class="sig">
990                 <a id="Roo.util.Observable-method-removeListener"   name=".removeListener"></a>
991                 <div class="fixedFont">
992                         <span class="attributes"></span><b class="itemname">removeListener</b>
993                                 
994                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>) 
995                         
996                                 
997                         
998                 </div>
999                 <div class="mdesc">
1000                 
1001                    <div class="short">Removes a listener</div> 
1002                  
1003                  
1004                  
1005                     <div class="long">
1006                         
1007                                 Removes a listener
1008                     
1009                                 
1010                         
1011                         
1012                         
1013                         
1014                                 <dl class="detailList">
1015                                 <dt class="heading">Parameters:</dt>
1016                                 
1017                                         <dt>
1018                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1019                                                 
1020                                         </dt>
1021                                         <dd>The type of event to listen for</dd>
1022                                 
1023                                         <dt>
1024                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
1025                                                 
1026                                         </dt>
1027                                         <dd>The handler to remove</dd>
1028                                 
1029                                         <dt>
1030                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>scope</b>
1031                                                 
1032                                         </dt>
1033                                         <dd>(optional) The scope (this object) for the handler</dd>
1034                                 
1035                                 </dl>
1036                         
1037                         
1038                         
1039                         
1040                         
1041                         
1042                         
1043
1044                     
1045                     
1046                      
1047                     </div>                    
1048                 </div>
1049
1050             </td>
1051             <td class="msource">
1052                 
1053                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1054                 &nbsp;
1055             </td>
1056         </tr>
1057         
1058           
1059           <tr class="method-row config-row-alt1 expandable">
1060             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1061            
1062            
1063             <td class="sig">
1064                 <a id="Roo.util.Observable-method-un"   name=".un"></a>
1065                 <div class="fixedFont">
1066                         <span class="attributes"></span><b class="itemname">un</b>
1067                                 
1068                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>) 
1069                         
1070                                 
1071                         
1072                 </div>
1073                 <div class="mdesc">
1074                 
1075                    <div class="short">Removes a listener (shorthand for removeListener)</div> 
1076                  
1077                  
1078                  
1079                     <div class="long">
1080                         
1081                                 Removes a listener (shorthand for removeListener)
1082                     
1083                                 
1084                         
1085                         
1086                         
1087                         
1088                                 <dl class="detailList">
1089                                 <dt class="heading">Parameters:</dt>
1090                                 
1091                                         <dt>
1092                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1093                                                 
1094                                         </dt>
1095                                         <dd>The type of event to listen for</dd>
1096                                 
1097                                         <dt>
1098                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
1099                                                 
1100                                         </dt>
1101                                         <dd>The handler to remove</dd>
1102                                 
1103                                         <dt>
1104                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>scope</b>
1105                                                 
1106                                         </dt>
1107                                         <dd>(optional) The scope (this object) for the handler</dd>
1108                                 
1109                                 </dl>
1110                         
1111                         
1112                         
1113                         
1114                         
1115                         
1116                         
1117
1118                     
1119                     
1120                      
1121                     </div>                    
1122                 </div>
1123
1124             </td>
1125             <td class="msource">
1126                 
1127                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1128                 &nbsp;
1129             </td>
1130         </tr>
1131         
1132                                                        
1133     </table>
1134
1135   
1136   <!-- ============================== events summary / details ======================== -->
1137   
1138   
1139   <a id="Roo.tree.TreeLoader-events"></a>
1140     
1141   
1142         
1143    
1144   
1145     
1146     
1147     
1148       <table cellspacing="0" class="member-table">
1149                 <caption>Events</caption>
1150               <thead>
1151                 <tr>
1152                     <th class="sig-header" colspan="2">Event</th>            
1153                     <th class="msource-header">Defined By</th>
1154
1155                 </tr>
1156               </thead>  
1157         
1158         
1159          
1160         
1161         
1162           <tr class="method-row expandable config-row-alt0 notInherited">
1163             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1164             
1165             <td class="sig">
1166                 <a id="Roo.tree.TreeLoader-event-*beforeload"></a>
1167                 
1168                <div class="fixedFont">
1169                 <b class="itemname">beforeload</b> (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>This</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>node</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>callback</i></B>) 
1170                 
1171                 </div>
1172
1173                 <div class="mdesc">
1174
1175                    <div class="short">Fires before a network request is made to retrieve the Json text which specifies a node's children.
1176                    
1177                 </div> 
1178                     
1179                     <div class="long">
1180                     
1181                         Fires before a network request is made to retrieve the Json text which specifies a node's children.
1182                     
1183                         
1184                         
1185                 
1186                         
1187                                 <dl class="detailList">
1188                                 <dt class="heading">Parameters:</dt>
1189                                 
1190                                         <dt>
1191                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>This</b>
1192                                                 
1193                                         </dt>
1194                                         <dd>TreeLoader object.</dd>
1195                                 
1196                                         <dt>
1197                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>node</b>
1198                                                 
1199                                         </dt>
1200                                         <dd>The {<b>link</b> Roo.tree.TreeNode} object being loaded.</dd>
1201                                 
1202                                         <dt>
1203                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>callback</b>
1204                                                 
1205                                         </dt>
1206                                         <dd>The callback function specified in the {<b>link</b> <b>load</b>} call.</dd>
1207                                 
1208                                 </dl>
1209                         
1210                         
1211                         
1212                         
1213                         
1214                         
1215                         
1216
1217                     
1218                     
1219                      
1220                     </div>                    
1221                 </div>
1222
1223             </td>
1224             <td class="msource">
1225                 Roo.tree.TreeLoader
1226             </td>
1227         </tr>
1228         
1229           <tr class="method-row expandable config-row-alt1 notInherited">
1230             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1231             
1232             <td class="sig">
1233                 <a id="Roo.tree.TreeLoader-event-*create"></a>
1234                 
1235                <div class="fixedFont">
1236                 <b class="itemname">create</b> (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>This</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>attr</i></B>) 
1237                 
1238                 </div>
1239
1240                 <div class="mdesc">
1241
1242                    <div class="short">Fires before a node is created, enabling you to return custom Node types
1243                    
1244                 </div> 
1245                     
1246                     <div class="long">
1247                     
1248                         Fires before a node is created, enabling you to return custom Node types
1249                     
1250                         
1251                         
1252                 
1253                         
1254                                 <dl class="detailList">
1255                                 <dt class="heading">Parameters:</dt>
1256                                 
1257                                         <dt>
1258                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>This</b>
1259                                                 
1260                                         </dt>
1261                                         <dd>TreeLoader object.</dd>
1262                                 
1263                                         <dt>
1264                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>attr</b>
1265                                                 
1266                                         </dt>
1267                                         <dd>- the data returned from the AJAX call (modify it to suit)</dd>
1268                                 
1269                                 </dl>
1270                         
1271                         
1272                         
1273                         
1274                         
1275                         
1276                         
1277
1278                     
1279                     
1280                      
1281                     </div>                    
1282                 </div>
1283
1284             </td>
1285             <td class="msource">
1286                 Roo.tree.TreeLoader
1287             </td>
1288         </tr>
1289         
1290           <tr class="method-row expandable config-row-alt0 notInherited">
1291             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1292             
1293             <td class="sig">
1294                 <a id="Roo.tree.TreeLoader-event-*load"></a>
1295                 
1296                <div class="fixedFont">
1297                 <b class="itemname">load</b> (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>This</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>node</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>response</i></B>) 
1298                 
1299                 </div>
1300
1301                 <div class="mdesc">
1302
1303                    <div class="short">Fires when the node has been successfuly loaded.
1304                    
1305                 </div> 
1306                     
1307                     <div class="long">
1308                     
1309                         Fires when the node has been successfuly loaded.
1310                     
1311                         
1312                         
1313                 
1314                         
1315                                 <dl class="detailList">
1316                                 <dt class="heading">Parameters:</dt>
1317                                 
1318                                         <dt>
1319                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>This</b>
1320                                                 
1321                                         </dt>
1322                                         <dd>TreeLoader object.</dd>
1323                                 
1324                                         <dt>
1325                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>node</b>
1326                                                 
1327                                         </dt>
1328                                         <dd>The {<b>link</b> Roo.tree.TreeNode} object being loaded.</dd>
1329                                 
1330                                         <dt>
1331                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>response</b>
1332                                                 
1333                                         </dt>
1334                                         <dd>The response object containing the data from the server.</dd>
1335                                 
1336                                 </dl>
1337                         
1338                         
1339                         
1340                         
1341                         
1342                         
1343                         
1344
1345                     
1346                     
1347                      
1348                     </div>                    
1349                 </div>
1350
1351             </td>
1352             <td class="msource">
1353                 Roo.tree.TreeLoader
1354             </td>
1355         </tr>
1356         
1357           <tr class="method-row expandable config-row-alt1 notInherited">
1358             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1359             
1360             <td class="sig">
1361                 <a id="Roo.tree.TreeLoader-event-*loadexception"></a>
1362                 
1363                <div class="fixedFont">
1364                 <b class="itemname">loadexception</b> (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>This</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>node</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>response</i></B>) 
1365                 
1366                 </div>
1367
1368                 <div class="mdesc">
1369
1370                    <div class="short">Fires if the network request failed.
1371                    
1372                 </div> 
1373                     
1374                     <div class="long">
1375                     
1376                         Fires if the network request failed.
1377                     
1378                         
1379                         
1380                 
1381                         
1382                                 <dl class="detailList">
1383                                 <dt class="heading">Parameters:</dt>
1384                                 
1385                                         <dt>
1386                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>This</b>
1387                                                 
1388                                         </dt>
1389                                         <dd>TreeLoader object.</dd>
1390                                 
1391                                         <dt>
1392                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>node</b>
1393                                                 
1394                                         </dt>
1395                                         <dd>The {<b>link</b> Roo.tree.TreeNode} object being loaded.</dd>
1396                                 
1397                                         <dt>
1398                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>response</b>
1399                                                 
1400                                         </dt>
1401                                         <dd>The response object containing the data from the server.</dd>
1402                                 
1403                                 </dl>
1404                         
1405                         
1406                         
1407                         
1408                         
1409                         
1410                         
1411
1412                     
1413                     
1414                      
1415                     </div>                    
1416                 </div>
1417
1418             </td>
1419             <td class="msource">
1420                 Roo.tree.TreeLoader
1421             </td>
1422         </tr>
1423         
1424                                                        
1425     </table>
1426
1427   
1428   
1429   
1430  
1431 <!-- ============================== footer ================================= -->
1432                 <div class="fineprint" style="clear:both">
1433                         
1434                         Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Tue Jul 27 2010 11:05:09 GMT+0800 (HKT)
1435                         Based on 
1436                         <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
1437                 </div>
1438         </body>
1439 </html>