ce3d8cd81fe2e0b7088933f5ab455cd8af427bc0
[roojs1] / docs / symbols / Roo.data.Node.json
1 {
2   "name" : "Roo.data.Node",
3   "augments" : [
4     "Roo.util.Observable"
5   ],
6   "childClasses" : {
7     "Roo.data.Node" : [
8       "Roo.tree.TreeNode"
9     ],
10     "Roo.tree.TreeNode" : [
11       "Roo.tree.AsyncTreeNode"
12     ]
13   },
14   "tree_children" : [],
15   "tree_parent" : [],
16   "desc" : "",
17   "isSingleton" : false,
18   "isStatic" : false,
19   "isBuiltin" : false,
20   "isAbstract" : false,
21   "isBuilderTop" : false,
22   "memberOf" : "Node",
23   "example" : "",
24   "deprecated" : "",
25   "since" : "",
26   "see" : "",
27   "params" : [
28     {
29       "name" : "attributes",
30       "type" : "Object",
31       "desc" : "The attributes/config for the node",
32       "isOptional" : false
33     }
34   ],
35   "returns" : [],
36   "throws" : "",
37   "requires" : "",
38   "config" : [
39     {
40       "name" : "listeners",
41       "type" : "Object",
42       "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n    listeners :  { \n       'click' : function(e) {\n           ..... \n        } ,\n        .... \n    } \n  </code></pre>",
43       "memberOf" : "Roo.util.Observable"
44     },
45     {
46       "name" : "id",
47       "type" : "String",
48       "desc" : "The id for this node. If one is not specified, one is generated.",
49       "memberOf" : "Roo.data.Node"
50     },
51     {
52       "name" : "leaf",
53       "type" : "Boolean",
54       "desc" : "true if this node is a leaf and does not have children",
55       "memberOf" : "Roo.data.Node"
56     }
57   ],
58   "methods" : [
59     {
60       "name" : "sort",
61       "type" : "function",
62       "desc" : "Sorts this nodes children using the supplied sort function",
63       "sig" : "(fn, scope)",
64       "static" : false,
65       "memberOf" : "",
66       "isStatic" : false,
67       "isConstructor" : false,
68       "isPrivate" : false,
69       "example" : "",
70       "deprecated" : "",
71       "since" : "",
72       "see" : "",
73       "exceptions" : "",
74       "requires" : "",
75       "params" : [
76         {
77           "name" : "fn",
78           "type" : "Function",
79           "desc" : "",
80           "isOptional" : false
81         },
82         {
83           "name" : "scope",
84           "type" : "Object",
85           "desc" : "(optional)",
86           "isOptional" : false
87         }
88       ],
89       "returns" : []
90     },
91     {
92       "name" : "removeChild",
93       "type" : "function",
94       "desc" : "Removes a child node from this node.",
95       "sig" : "(node)",
96       "static" : false,
97       "memberOf" : "",
98       "isStatic" : false,
99       "isConstructor" : false,
100       "isPrivate" : false,
101       "example" : "",
102       "deprecated" : "",
103       "since" : "",
104       "see" : "",
105       "exceptions" : "",
106       "requires" : "",
107       "params" : [
108         {
109           "name" : "node",
110           "type" : "Node",
111           "desc" : "The node to remove",
112           "isOptional" : false
113         }
114       ],
115       "returns" : [
116         {
117           "name" : "",
118           "type" : "Node",
119           "desc" : "The removed node"
120         }
121       ]
122     },
123     {
124       "name" : "isAncestor",
125       "type" : "function",
126       "desc" : "Returns true if the passed node is an ancestor (at any point) of this node.",
127       "sig" : "(node)",
128       "static" : false,
129       "memberOf" : "",
130       "isStatic" : false,
131       "isConstructor" : false,
132       "isPrivate" : false,
133       "example" : "",
134       "deprecated" : "",
135       "since" : "",
136       "see" : "",
137       "exceptions" : "",
138       "requires" : "",
139       "params" : [
140         {
141           "name" : "node",
142           "type" : "Node",
143           "desc" : "",
144           "isOptional" : false
145         }
146       ],
147       "returns" : [
148         {
149           "name" : "",
150           "type" : "Boolean",
151           "desc" : ""
152         }
153       ]
154     },
155     {
156       "name" : "contains",
157       "type" : "function",
158       "desc" : "Returns true if this node is an ancestor (at any point) of the passed node.",
159       "sig" : "(node)",
160       "static" : false,
161       "memberOf" : "",
162       "isStatic" : false,
163       "isConstructor" : false,
164       "isPrivate" : false,
165       "example" : "",
166       "deprecated" : "",
167       "since" : "",
168       "see" : "",
169       "exceptions" : "",
170       "requires" : "",
171       "params" : [
172         {
173           "name" : "node",
174           "type" : "Node",
175           "desc" : "",
176           "isOptional" : false
177         }
178       ],
179       "returns" : [
180         {
181           "name" : "",
182           "type" : "Boolean",
183           "desc" : ""
184         }
185       ]
186     },
187     {
188       "name" : "cascade",
189       "type" : "function",
190       "desc" : "Cascades down the tree from this node, calling the specified function with each node. The scope (<i>this</i>) of\nfunction call will be the scope provided or the current node. The arguments to the function\nwill be the args provided or the current node. If the function returns false at any point,\nthe cascade is stopped on that branch.",
191       "sig" : "(fn, scope, args)",
192       "static" : false,
193       "memberOf" : "",
194       "isStatic" : false,
195       "isConstructor" : false,
196       "isPrivate" : false,
197       "example" : "",
198       "deprecated" : "",
199       "since" : "",
200       "see" : "",
201       "exceptions" : "",
202       "requires" : "",
203       "params" : [
204         {
205           "name" : "fn",
206           "type" : "Function",
207           "desc" : "The function to call",
208           "isOptional" : false
209         },
210         {
211           "name" : "scope",
212           "type" : "Object",
213           "desc" : "(optional) The scope of the function (defaults to current node)",
214           "isOptional" : false
215         },
216         {
217           "name" : "args",
218           "type" : "Array",
219           "desc" : "(optional) The args to call the function with (default to passing the current node)",
220           "isOptional" : false
221         }
222       ],
223       "returns" : []
224     },
225     {
226       "name" : "getDepth",
227       "type" : "function",
228       "desc" : "Returns depth of this node (the root node has a depth of 0)",
229       "sig" : "()\n{\n\n}",
230       "static" : false,
231       "memberOf" : "",
232       "isStatic" : false,
233       "isConstructor" : false,
234       "isPrivate" : false,
235       "example" : "",
236       "deprecated" : "",
237       "since" : "",
238       "see" : "",
239       "exceptions" : "",
240       "requires" : "",
241       "params" : [],
242       "returns" : [
243         {
244           "name" : "",
245           "type" : "Number",
246           "desc" : ""
247         }
248       ]
249     },
250     {
251       "name" : "getPath",
252       "type" : "function",
253       "desc" : "Returns the path for this node. The path can be used to expand or select this node programmatically.",
254       "sig" : "(attr)",
255       "static" : false,
256       "memberOf" : "",
257       "isStatic" : false,
258       "isConstructor" : false,
259       "isPrivate" : false,
260       "example" : "",
261       "deprecated" : "",
262       "since" : "",
263       "see" : "",
264       "exceptions" : "",
265       "requires" : "",
266       "params" : [
267         {
268           "name" : "attr",
269           "type" : "String",
270           "desc" : "(optional) The attr to use for the path (defaults to the node's id)",
271           "isOptional" : false
272         }
273       ],
274       "returns" : [
275         {
276           "name" : "",
277           "type" : "String",
278           "desc" : "The path"
279         }
280       ]
281     },
282     {
283       "name" : "indexOf",
284       "type" : "function",
285       "desc" : "Returns the index of a child node",
286       "sig" : "(node)",
287       "static" : false,
288       "memberOf" : "",
289       "isStatic" : false,
290       "isConstructor" : false,
291       "isPrivate" : false,
292       "example" : "",
293       "deprecated" : "",
294       "since" : "",
295       "see" : "",
296       "exceptions" : "",
297       "requires" : "",
298       "params" : [
299         {
300           "name" : "node",
301           "type" : "Node",
302           "desc" : "",
303           "isOptional" : false
304         }
305       ],
306       "returns" : [
307         {
308           "name" : "",
309           "type" : "Number",
310           "desc" : "The index of the node or -1 if it was not found"
311         }
312       ]
313     },
314     {
315       "name" : "isFirst",
316       "type" : "function",
317       "desc" : "Returns true if this node is the first child of its parent",
318       "sig" : "()\n{\n\n}",
319       "static" : false,
320       "memberOf" : "",
321       "isStatic" : false,
322       "isConstructor" : false,
323       "isPrivate" : false,
324       "example" : "",
325       "deprecated" : "",
326       "since" : "",
327       "see" : "",
328       "exceptions" : "",
329       "requires" : "",
330       "params" : [],
331       "returns" : [
332         {
333           "name" : "",
334           "type" : "Boolean",
335           "desc" : ""
336         }
337       ]
338     },
339     {
340       "name" : "isLast",
341       "type" : "function",
342       "desc" : "Returns true if this node is the last child of its parent",
343       "sig" : "()\n{\n\n}",
344       "static" : false,
345       "memberOf" : "",
346       "isStatic" : false,
347       "isConstructor" : false,
348       "isPrivate" : false,
349       "example" : "",
350       "deprecated" : "",
351       "since" : "",
352       "see" : "",
353       "exceptions" : "",
354       "requires" : "",
355       "params" : [],
356       "returns" : [
357         {
358           "name" : "",
359           "type" : "Boolean",
360           "desc" : ""
361         }
362       ]
363     },
364     {
365       "name" : "isLeaf",
366       "type" : "function",
367       "desc" : "Returns true if this node is a leaf",
368       "sig" : "()\n{\n\n}",
369       "static" : false,
370       "memberOf" : "",
371       "isStatic" : false,
372       "isConstructor" : false,
373       "isPrivate" : false,
374       "example" : "",
375       "deprecated" : "",
376       "since" : "",
377       "see" : "",
378       "exceptions" : "",
379       "requires" : "",
380       "params" : [],
381       "returns" : [
382         {
383           "name" : "",
384           "type" : "Boolean",
385           "desc" : ""
386         }
387       ]
388     },
389     {
390       "name" : "insertBefore",
391       "type" : "function",
392       "desc" : "Inserts the first node before the second node in this nodes childNodes collection.",
393       "sig" : "(node, refNode)",
394       "static" : false,
395       "memberOf" : "",
396       "isStatic" : false,
397       "isConstructor" : false,
398       "isPrivate" : false,
399       "example" : "",
400       "deprecated" : "",
401       "since" : "",
402       "see" : "",
403       "exceptions" : "",
404       "requires" : "",
405       "params" : [
406         {
407           "name" : "node",
408           "type" : "Node",
409           "desc" : "The node to insert",
410           "isOptional" : false
411         },
412         {
413           "name" : "refNode",
414           "type" : "Node",
415           "desc" : "The node to insert before (if null the node is appended)",
416           "isOptional" : false
417         }
418       ],
419       "returns" : [
420         {
421           "name" : "",
422           "type" : "Node",
423           "desc" : "The inserted node"
424         }
425       ]
426     },
427     {
428       "name" : "item",
429       "type" : "function",
430       "desc" : "Returns the child node at the specified index.",
431       "sig" : "(index)",
432       "static" : false,
433       "memberOf" : "",
434       "isStatic" : false,
435       "isConstructor" : false,
436       "isPrivate" : false,
437       "example" : "",
438       "deprecated" : "",
439       "since" : "",
440       "see" : "",
441       "exceptions" : "",
442       "requires" : "",
443       "params" : [
444         {
445           "name" : "index",
446           "type" : "Number",
447           "desc" : "",
448           "isOptional" : false
449         }
450       ],
451       "returns" : [
452         {
453           "name" : "",
454           "type" : "Node",
455           "desc" : ""
456         }
457       ]
458     },
459     {
460       "name" : "getOwnerTree",
461       "type" : "function",
462       "desc" : "Returns the tree this node is in.",
463       "sig" : "()\n{\n\n}",
464       "static" : false,
465       "memberOf" : "",
466       "isStatic" : false,
467       "isConstructor" : false,
468       "isPrivate" : false,
469       "example" : "",
470       "deprecated" : "",
471       "since" : "",
472       "see" : "",
473       "exceptions" : "",
474       "requires" : "",
475       "params" : [],
476       "returns" : [
477         {
478           "name" : "",
479           "type" : "Tree",
480           "desc" : ""
481         }
482       ]
483     },
484     {
485       "name" : "appendChild",
486       "type" : "function",
487       "desc" : "Insert node(s) as the last child node of this node.",
488       "sig" : "(node)",
489       "static" : false,
490       "memberOf" : "",
491       "isStatic" : false,
492       "isConstructor" : false,
493       "isPrivate" : false,
494       "example" : "",
495       "deprecated" : "",
496       "since" : "",
497       "see" : "",
498       "exceptions" : "",
499       "requires" : "",
500       "params" : [
501         {
502           "name" : "node",
503           "type" : "Node/Array",
504           "desc" : "The node or Array of nodes to append",
505           "isOptional" : false
506         }
507       ],
508       "returns" : [
509         {
510           "name" : "",
511           "type" : "Node",
512           "desc" : "The appended node if single append, or null if an array was passed"
513         }
514       ]
515     },
516     {
517       "name" : "findChildBy",
518       "type" : "function",
519       "desc" : "Finds the first child by a custom function. The child matches if the function passed\nreturns true.",
520       "sig" : "(fn, scope)",
521       "static" : false,
522       "memberOf" : "",
523       "isStatic" : false,
524       "isConstructor" : false,
525       "isPrivate" : false,
526       "example" : "",
527       "deprecated" : "",
528       "since" : "",
529       "see" : "",
530       "exceptions" : "",
531       "requires" : "",
532       "params" : [
533         {
534           "name" : "fn",
535           "type" : "Function",
536           "desc" : "",
537           "isOptional" : false
538         },
539         {
540           "name" : "scope",
541           "type" : "Object",
542           "desc" : "(optional)",
543           "isOptional" : false
544         }
545       ],
546       "returns" : [
547         {
548           "name" : "",
549           "type" : "Node",
550           "desc" : "The found child or null if none was found"
551         }
552       ]
553     },
554     {
555       "name" : "replaceChild",
556       "type" : "function",
557       "desc" : "Replaces one child node in this node with another.",
558       "sig" : "(newChild, oldChild)",
559       "static" : false,
560       "memberOf" : "",
561       "isStatic" : false,
562       "isConstructor" : false,
563       "isPrivate" : false,
564       "example" : "",
565       "deprecated" : "",
566       "since" : "",
567       "see" : "",
568       "exceptions" : "",
569       "requires" : "",
570       "params" : [
571         {
572           "name" : "newChild",
573           "type" : "Node",
574           "desc" : "The replacement node",
575           "isOptional" : false
576         },
577         {
578           "name" : "oldChild",
579           "type" : "Node",
580           "desc" : "The node to replace",
581           "isOptional" : false
582         }
583       ],
584       "returns" : [
585         {
586           "name" : "",
587           "type" : "Node",
588           "desc" : "The replaced node"
589         }
590       ]
591     },
592     {
593       "name" : "bubble",
594       "type" : "function",
595       "desc" : "Bubbles up the tree from this node, calling the specified function with each node. The scope (<i>this</i>) of\nfunction call will be the scope provided or the current node. The arguments to the function\nwill be the args provided or the current node. If the function returns false at any point,\nthe bubble is stopped.",
596       "sig" : "(fn, scope, args)",
597       "static" : false,
598       "memberOf" : "",
599       "isStatic" : false,
600       "isConstructor" : false,
601       "isPrivate" : false,
602       "example" : "",
603       "deprecated" : "",
604       "since" : "",
605       "see" : "",
606       "exceptions" : "",
607       "requires" : "",
608       "params" : [
609         {
610           "name" : "fn",
611           "type" : "Function",
612           "desc" : "The function to call",
613           "isOptional" : false
614         },
615         {
616           "name" : "scope",
617           "type" : "Object",
618           "desc" : "(optional) The scope of the function (defaults to current node)",
619           "isOptional" : false
620         },
621         {
622           "name" : "args",
623           "type" : "Array",
624           "desc" : "(optional) The args to call the function with (default to passing the current node)",
625           "isOptional" : false
626         }
627       ],
628       "returns" : []
629     },
630     {
631       "name" : "eachChild",
632       "type" : "function",
633       "desc" : "Interates the child nodes of this node, calling the specified function with each node. The scope (<i>this</i>) of\nfunction call will be the scope provided or the current node. The arguments to the function\nwill be the args provided or the current node. If the function returns false at any point,\nthe iteration stops.",
634       "sig" : "(fn, scope, args)",
635       "static" : false,
636       "memberOf" : "",
637       "isStatic" : false,
638       "isConstructor" : false,
639       "isPrivate" : false,
640       "example" : "",
641       "deprecated" : "",
642       "since" : "",
643       "see" : "",
644       "exceptions" : "",
645       "requires" : "",
646       "params" : [
647         {
648           "name" : "fn",
649           "type" : "Function",
650           "desc" : "The function to call",
651           "isOptional" : false
652         },
653         {
654           "name" : "scope",
655           "type" : "Object",
656           "desc" : "(optional) The scope of the function (defaults to current node)",
657           "isOptional" : false
658         },
659         {
660           "name" : "args",
661           "type" : "Array",
662           "desc" : "(optional) The args to call the function with (default to passing the current node)",
663           "isOptional" : false
664         }
665       ],
666       "returns" : []
667     },
668     {
669       "name" : "findChild",
670       "type" : "function",
671       "desc" : "Finds the first child that has the attribute with the specified value.",
672       "sig" : "(attribute, value)",
673       "static" : false,
674       "memberOf" : "",
675       "isStatic" : false,
676       "isConstructor" : false,
677       "isPrivate" : false,
678       "example" : "",
679       "deprecated" : "",
680       "since" : "",
681       "see" : "",
682       "exceptions" : "",
683       "requires" : "",
684       "params" : [
685         {
686           "name" : "attribute",
687           "type" : "String",
688           "desc" : "The attribute name",
689           "isOptional" : false
690         },
691         {
692           "name" : "value",
693           "type" : "Mixed",
694           "desc" : "The value to search for",
695           "isOptional" : false
696         }
697       ],
698       "returns" : [
699         {
700           "name" : "",
701           "type" : "Node",
702           "desc" : "The found child or null if none was found"
703         }
704       ]
705     },
706     {
707       "name" : "purgeListeners",
708       "type" : "function",
709       "desc" : "Removes all listeners for this object",
710       "sig" : "()\n{\n\n}",
711       "static" : false,
712       "memberOf" : "Roo.util.Observable",
713       "isStatic" : false,
714       "isConstructor" : false,
715       "isPrivate" : false,
716       "example" : "",
717       "deprecated" : "",
718       "since" : "",
719       "see" : "",
720       "exceptions" : "",
721       "requires" : "",
722       "params" : [],
723       "returns" : []
724     },
725     {
726       "name" : "on",
727       "type" : "function",
728       "desc" : "Appends an event handler to this element (shorthand for addListener)",
729       "sig" : "(eventName, handler, scope, options)",
730       "static" : false,
731       "memberOf" : "Roo.util.Observable",
732       "isStatic" : false,
733       "isConstructor" : false,
734       "isPrivate" : false,
735       "example" : "",
736       "deprecated" : "",
737       "since" : "",
738       "see" : "",
739       "exceptions" : "",
740       "requires" : "",
741       "params" : [
742         {
743           "name" : "eventName",
744           "type" : "String",
745           "desc" : "The type of event to listen for",
746           "isOptional" : false
747         },
748         {
749           "name" : "handler",
750           "type" : "Function",
751           "desc" : "The method the event invokes",
752           "isOptional" : false
753         },
754         {
755           "name" : "scope",
756           "type" : "Object",
757           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
758           "isOptional" : false
759         },
760         {
761           "name" : "options",
762           "type" : "Object",
763           "desc" : "(optional)",
764           "isOptional" : false
765         }
766       ],
767       "returns" : []
768     },
769     {
770       "name" : "un",
771       "type" : "function",
772       "desc" : "Removes a listener (shorthand for removeListener)",
773       "sig" : "(eventName, handler, scope)",
774       "static" : false,
775       "memberOf" : "Roo.util.Observable",
776       "isStatic" : false,
777       "isConstructor" : false,
778       "isPrivate" : false,
779       "example" : "",
780       "deprecated" : "",
781       "since" : "",
782       "see" : "",
783       "exceptions" : "",
784       "requires" : "",
785       "params" : [
786         {
787           "name" : "eventName",
788           "type" : "String",
789           "desc" : "The type of event to listen for",
790           "isOptional" : false
791         },
792         {
793           "name" : "handler",
794           "type" : "Function",
795           "desc" : "The handler to remove",
796           "isOptional" : false
797         },
798         {
799           "name" : "scope",
800           "type" : "Object",
801           "desc" : "(optional) The scope (this object) for the handler",
802           "isOptional" : false
803         }
804       ],
805       "returns" : []
806     },
807     {
808       "name" : "addEvents",
809       "type" : "function",
810       "desc" : "Used to define events on this Observable",
811       "sig" : "(object)",
812       "static" : false,
813       "memberOf" : "Roo.util.Observable",
814       "isStatic" : false,
815       "isConstructor" : false,
816       "isPrivate" : false,
817       "example" : "",
818       "deprecated" : "",
819       "since" : "",
820       "see" : "",
821       "exceptions" : "",
822       "requires" : "",
823       "params" : [
824         {
825           "name" : "object",
826           "type" : "Object",
827           "desc" : "The object with the events defined",
828           "isOptional" : false
829         }
830       ],
831       "returns" : []
832     },
833     {
834       "name" : "releaseCapture",
835       "type" : "function",
836       "desc" : "Removes <b>all</b> added captures from the Observable.",
837       "sig" : "(o)",
838       "static" : true,
839       "memberOf" : "Roo.util.Observable",
840       "isStatic" : true,
841       "isConstructor" : false,
842       "isPrivate" : false,
843       "example" : "",
844       "deprecated" : "",
845       "since" : "",
846       "see" : "",
847       "exceptions" : "",
848       "requires" : "",
849       "params" : [
850         {
851           "name" : "o",
852           "type" : "Observable",
853           "desc" : "The Observable to release",
854           "isOptional" : false
855         }
856       ],
857       "returns" : []
858     },
859     {
860       "name" : "removeListener",
861       "type" : "function",
862       "desc" : "Removes a listener",
863       "sig" : "(eventName, handler, scope)",
864       "static" : false,
865       "memberOf" : "Roo.util.Observable",
866       "isStatic" : false,
867       "isConstructor" : false,
868       "isPrivate" : false,
869       "example" : "",
870       "deprecated" : "",
871       "since" : "",
872       "see" : "",
873       "exceptions" : "",
874       "requires" : "",
875       "params" : [
876         {
877           "name" : "eventName",
878           "type" : "String",
879           "desc" : "The type of event to listen for",
880           "isOptional" : false
881         },
882         {
883           "name" : "handler",
884           "type" : "Function",
885           "desc" : "The handler to remove",
886           "isOptional" : false
887         },
888         {
889           "name" : "scope",
890           "type" : "Object",
891           "desc" : "(optional) The scope (this object) for the handler",
892           "isOptional" : false
893         }
894       ],
895       "returns" : []
896     },
897     {
898       "name" : "fireEvent",
899       "type" : "function",
900       "desc" : "Fires the specified event with the passed parameters (minus the event name).",
901       "sig" : "(eventName, args)",
902       "static" : false,
903       "memberOf" : "Roo.util.Observable",
904       "isStatic" : false,
905       "isConstructor" : false,
906       "isPrivate" : false,
907       "example" : "",
908       "deprecated" : "",
909       "since" : "",
910       "see" : "",
911       "exceptions" : "",
912       "requires" : "",
913       "params" : [
914         {
915           "name" : "eventName",
916           "type" : "String",
917           "desc" : "",
918           "isOptional" : false
919         },
920         {
921           "name" : "args",
922           "type" : "Object...",
923           "desc" : "Variable number of parameters are passed to handlers",
924           "isOptional" : false
925         }
926       ],
927       "returns" : [
928         {
929           "name" : "",
930           "type" : "Boolean",
931           "desc" : "returns false if any of the handlers return false otherwise it returns true"
932         }
933       ]
934     },
935     {
936       "name" : "hasListener",
937       "type" : "function",
938       "desc" : "Checks to see if this object has any listeners for a specified event",
939       "sig" : "(eventName)",
940       "static" : false,
941       "memberOf" : "Roo.util.Observable",
942       "isStatic" : false,
943       "isConstructor" : false,
944       "isPrivate" : false,
945       "example" : "",
946       "deprecated" : "",
947       "since" : "",
948       "see" : "",
949       "exceptions" : "",
950       "requires" : "",
951       "params" : [
952         {
953           "name" : "eventName",
954           "type" : "String",
955           "desc" : "The name of the event to check for",
956           "isOptional" : false
957         }
958       ],
959       "returns" : [
960         {
961           "name" : "",
962           "type" : "Boolean",
963           "desc" : "True if the event is being listened for, else false"
964         }
965       ]
966     },
967     {
968       "name" : "capture",
969       "type" : "function",
970       "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.",
971       "sig" : "(o, fn, scope)",
972       "static" : true,
973       "memberOf" : "Roo.util.Observable",
974       "isStatic" : true,
975       "isConstructor" : false,
976       "isPrivate" : false,
977       "example" : "",
978       "deprecated" : "",
979       "since" : "",
980       "see" : "",
981       "exceptions" : "",
982       "requires" : "",
983       "params" : [
984         {
985           "name" : "o",
986           "type" : "Observable",
987           "desc" : "The Observable to capture",
988           "isOptional" : false
989         },
990         {
991           "name" : "fn",
992           "type" : "Function",
993           "desc" : "The function to call",
994           "isOptional" : false
995         },
996         {
997           "name" : "scope",
998           "type" : "Object",
999           "desc" : "(optional) The scope (this object) for the fn",
1000           "isOptional" : false
1001         }
1002       ],
1003       "returns" : []
1004     },
1005     {
1006       "name" : "addListener",
1007       "type" : "function",
1008       "desc" : "Appends an event handler to this component",
1009       "sig" : "(eventName, handler, scope, options)",
1010       "static" : false,
1011       "memberOf" : "Roo.util.Observable",
1012       "isStatic" : false,
1013       "isConstructor" : false,
1014       "isPrivate" : false,
1015       "example" : "",
1016       "deprecated" : "",
1017       "since" : "",
1018       "see" : "",
1019       "exceptions" : "",
1020       "requires" : "",
1021       "params" : [
1022         {
1023           "name" : "eventName",
1024           "type" : "String",
1025           "desc" : "The type of event to listen for",
1026           "isOptional" : false
1027         },
1028         {
1029           "name" : "handler",
1030           "type" : "Function",
1031           "desc" : "The method the event invokes",
1032           "isOptional" : false
1033         },
1034         {
1035           "name" : "scope",
1036           "type" : "Object",
1037           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1038           "isOptional" : false
1039         },
1040         {
1041           "name" : "options",
1042           "type" : "Object",
1043           "desc" : "(optional) An object containing handler configuration\nproperties. This may contain any of the following properties:<ul>\n<li>scope {Object} The scope in which to execute the handler function. The handler function's \"this\" context.</li>\n<li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li>\n<li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li>\n<li>buffer {Number} Causes the handler to be scheduled to run in an {@link Roo.util.DelayedTask} delayed\nby the specified number of milliseconds. If the event fires again within that time, the original\nhandler is <em>not</em> invoked, but the new handler is scheduled in its place.</li>\n</ul><br>\n<p>\n<b>Combining Options</b><br>\nUsing the options argument, it is possible to combine different types of listeners:<br>\n<br>\nA normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)\n\t\t<pre><code>\n\t\tel.on('click', this.onClick, this, {\n \t\t\tsingle: true,\n    \t\tdelay: 100,\n    \t\tforumId: 4\n\t\t});\n\t\t</code></pre>\n<p>\n<b>Attaching multiple handlers in 1 call</b><br>\nThe method also allows for a single argument to be passed which is a config object containing properties\nwhich specify multiple handlers.\n<pre><code>\n\t\tel.on({\n\t\t\t'click': {\n        \t\tfn: this.onClick,\n        \t\tscope: this,\n        \t\tdelay: 100\n    \t\t}, \n    \t\t'mouseover': {\n        \t\tfn: this.onMouseOver,\n        \t\tscope: this\n    \t\t},\n    \t\t'mouseout': {\n        \t\tfn: this.onMouseOut,\n        \t\tscope: this\n    \t\t}\n\t\t});\n\t\t</code></pre>\n<p>\nOr a shorthand syntax which passes the same scope object to all handlers:\n     \t<pre><code>\n\t\tel.on({\n\t\t\t'click': this.onClick,\n    \t\t'mouseover': this.onMouseOver,\n    \t\t'mouseout': this.onMouseOut,\n    \t\tscope: this\n\t\t});\n\t\t</code></pre>",
1044           "isOptional" : false
1045         }
1046       ],
1047       "returns" : []
1048     }
1049   ],
1050   "events" : [
1051     {
1052       "name" : "beforeappend",
1053       "type" : "function",
1054       "desc" : "Fires before a new child is appended, return false to cancel the append.",
1055       "sig" : "function (tree, _self, node)\n{\n\n}",
1056       "memberOf" : "",
1057       "example" : "",
1058       "deprecated" : "",
1059       "since" : "",
1060       "see" : "",
1061       "params" : [
1062         {
1063           "name" : "tree",
1064           "type" : "Tree",
1065           "desc" : "The owner tree",
1066           "isOptional" : false
1067         },
1068         {
1069           "name" : "this",
1070           "type" : "Node",
1071           "desc" : "This node",
1072           "isOptional" : false
1073         },
1074         {
1075           "name" : "node",
1076           "type" : "Node",
1077           "desc" : "The child node to be appended",
1078           "isOptional" : false
1079         }
1080       ],
1081       "returns" : []
1082     },
1083     {
1084       "name" : "move",
1085       "type" : "function",
1086       "desc" : "Fires when this node is moved to a new location in the tree",
1087       "sig" : "function (tree, _self, oldParent, newParent, index)\n{\n\n}",
1088       "memberOf" : "",
1089       "example" : "",
1090       "deprecated" : "",
1091       "since" : "",
1092       "see" : "",
1093       "params" : [
1094         {
1095           "name" : "tree",
1096           "type" : "Tree",
1097           "desc" : "The owner tree",
1098           "isOptional" : false
1099         },
1100         {
1101           "name" : "this",
1102           "type" : "Node",
1103           "desc" : "This node",
1104           "isOptional" : false
1105         },
1106         {
1107           "name" : "oldParent",
1108           "type" : "Node",
1109           "desc" : "The old parent of this node",
1110           "isOptional" : false
1111         },
1112         {
1113           "name" : "newParent",
1114           "type" : "Node",
1115           "desc" : "The new parent of this node",
1116           "isOptional" : false
1117         },
1118         {
1119           "name" : "index",
1120           "type" : "Number",
1121           "desc" : "The index it was moved to",
1122           "isOptional" : false
1123         }
1124       ],
1125       "returns" : []
1126     },
1127     {
1128       "name" : "append",
1129       "type" : "function",
1130       "desc" : "Fires when a new child node is appended",
1131       "sig" : "function (tree, _self, node, index)\n{\n\n}",
1132       "memberOf" : "",
1133       "example" : "",
1134       "deprecated" : "",
1135       "since" : "",
1136       "see" : "",
1137       "params" : [
1138         {
1139           "name" : "tree",
1140           "type" : "Tree",
1141           "desc" : "The owner tree",
1142           "isOptional" : false
1143         },
1144         {
1145           "name" : "this",
1146           "type" : "Node",
1147           "desc" : "This node",
1148           "isOptional" : false
1149         },
1150         {
1151           "name" : "node",
1152           "type" : "Node",
1153           "desc" : "The newly appended node",
1154           "isOptional" : false
1155         },
1156         {
1157           "name" : "index",
1158           "type" : "Number",
1159           "desc" : "The index of the newly appended node",
1160           "isOptional" : false
1161         }
1162       ],
1163       "returns" : []
1164     },
1165     {
1166       "name" : "beforeremove",
1167       "type" : "function",
1168       "desc" : "Fires before a child is removed, return false to cancel the remove.",
1169       "sig" : "function (tree, _self, node)\n{\n\n}",
1170       "memberOf" : "",
1171       "example" : "",
1172       "deprecated" : "",
1173       "since" : "",
1174       "see" : "",
1175       "params" : [
1176         {
1177           "name" : "tree",
1178           "type" : "Tree",
1179           "desc" : "The owner tree",
1180           "isOptional" : false
1181         },
1182         {
1183           "name" : "this",
1184           "type" : "Node",
1185           "desc" : "This node",
1186           "isOptional" : false
1187         },
1188         {
1189           "name" : "node",
1190           "type" : "Node",
1191           "desc" : "The child node to be removed",
1192           "isOptional" : false
1193         }
1194       ],
1195       "returns" : []
1196     },
1197     {
1198       "name" : "remove",
1199       "type" : "function",
1200       "desc" : "Fires when a child node is removed",
1201       "sig" : "function (tree, _self, node)\n{\n\n}",
1202       "memberOf" : "",
1203       "example" : "",
1204       "deprecated" : "",
1205       "since" : "",
1206       "see" : "",
1207       "params" : [
1208         {
1209           "name" : "tree",
1210           "type" : "Tree",
1211           "desc" : "The owner tree",
1212           "isOptional" : false
1213         },
1214         {
1215           "name" : "this",
1216           "type" : "Node",
1217           "desc" : "This node",
1218           "isOptional" : false
1219         },
1220         {
1221           "name" : "node",
1222           "type" : "Node",
1223           "desc" : "The removed node",
1224           "isOptional" : false
1225         }
1226       ],
1227       "returns" : []
1228     },
1229     {
1230       "name" : "beforeinsert",
1231       "type" : "function",
1232       "desc" : "Fires before a new child is inserted, return false to cancel the insert.",
1233       "sig" : "function (tree, _self, node, refNode)\n{\n\n}",
1234       "memberOf" : "",
1235       "example" : "",
1236       "deprecated" : "",
1237       "since" : "",
1238       "see" : "",
1239       "params" : [
1240         {
1241           "name" : "tree",
1242           "type" : "Tree",
1243           "desc" : "The owner tree",
1244           "isOptional" : false
1245         },
1246         {
1247           "name" : "this",
1248           "type" : "Node",
1249           "desc" : "This node",
1250           "isOptional" : false
1251         },
1252         {
1253           "name" : "node",
1254           "type" : "Node",
1255           "desc" : "The child node to be inserted",
1256           "isOptional" : false
1257         },
1258         {
1259           "name" : "refNode",
1260           "type" : "Node",
1261           "desc" : "The child node the node is being inserted before",
1262           "isOptional" : false
1263         }
1264       ],
1265       "returns" : []
1266     },
1267     {
1268       "name" : "insert",
1269       "type" : "function",
1270       "desc" : "Fires when a new child node is inserted.",
1271       "sig" : "function (tree, _self, node, refNode)\n{\n\n}",
1272       "memberOf" : "",
1273       "example" : "",
1274       "deprecated" : "",
1275       "since" : "",
1276       "see" : "",
1277       "params" : [
1278         {
1279           "name" : "tree",
1280           "type" : "Tree",
1281           "desc" : "The owner tree",
1282           "isOptional" : false
1283         },
1284         {
1285           "name" : "this",
1286           "type" : "Node",
1287           "desc" : "This node",
1288           "isOptional" : false
1289         },
1290         {
1291           "name" : "node",
1292           "type" : "Node",
1293           "desc" : "The child node inserted",
1294           "isOptional" : false
1295         },
1296         {
1297           "name" : "refNode",
1298           "type" : "Node",
1299           "desc" : "The child node the node was inserted before",
1300           "isOptional" : false
1301         }
1302       ],
1303       "returns" : []
1304     },
1305     {
1306       "name" : "beforemove",
1307       "type" : "function",
1308       "desc" : "Fires before this node is moved to a new location in the tree. Return false to cancel the move.",
1309       "sig" : "function (tree, _self, oldParent, newParent, index)\n{\n\n}",
1310       "memberOf" : "",
1311       "example" : "",
1312       "deprecated" : "",
1313       "since" : "",
1314       "see" : "",
1315       "params" : [
1316         {
1317           "name" : "tree",
1318           "type" : "Tree",
1319           "desc" : "The owner tree",
1320           "isOptional" : false
1321         },
1322         {
1323           "name" : "this",
1324           "type" : "Node",
1325           "desc" : "This node",
1326           "isOptional" : false
1327         },
1328         {
1329           "name" : "oldParent",
1330           "type" : "Node",
1331           "desc" : "The parent of this node",
1332           "isOptional" : false
1333         },
1334         {
1335           "name" : "newParent",
1336           "type" : "Node",
1337           "desc" : "The new parent this node is moving to",
1338           "isOptional" : false
1339         },
1340         {
1341           "name" : "index",
1342           "type" : "Number",
1343           "desc" : "The index it is being moved to",
1344           "isOptional" : false
1345         }
1346       ],
1347       "returns" : []
1348     }
1349   ]
1350 }