sync
[roojs1] / docs / symbols / Roo.tree.TreeEditor.json
1 {
2   "name" : "Roo.tree.TreeEditor",
3   "augments" : [
4     "Roo.Editor",
5     "Roo.Component",
6     "Roo.util.Observable"
7   ],
8   "desc" : "Provides editor functionality for inline tree node editing.  Any valid {@link Roo.form.Field} can be used\nas the editor field.",
9   "isSingleton" : false,
10   "isStatic" : false,
11   "isBuiltin" : false,
12   "memberOf" : "TreeEditor",
13   "example" : "",
14   "deprecated" : "",
15   "since" : "",
16   "see" : "",
17   "params" : [
18     {
19       "name" : "config",
20       "type" : "Object",
21       "desc" : "(used to be the tree panel.)",
22       "isOptional" : false
23     },
24     {
25       "name" : "oldconfig",
26       "type" : "Object",
27       "desc" : "DEPRECIATED Either a prebuilt {@link Roo.form.Field} instance or a Field config object",
28       "isOptional" : false
29     }
30   ],
31   "returns" : [],
32   "throws" : "",
33   "requires" : "",
34   "config" : [
35     {
36       "name" : "listeners",
37       "type" : "Object",
38       "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>",
39       "memberOf" : "Roo.util.Observable"
40     },
41     {
42       "name" : "alignment",
43       "type" : "String",
44       "desc" : "The position to align to (see {@link Roo.Element#alignTo} for more details, defaults to \"l-l\").",
45       "memberOf" : ""
46     },
47     {
48       "name" : "hideEl",
49       "type" : "Boolean",
50       "desc" : "True to hide the bound element while the editor is displayed (defaults to false)",
51       "memberOf" : ""
52     },
53     {
54       "name" : "maxWidth",
55       "type" : "Number",
56       "desc" : "The maximum width in pixels of the editor field (defaults to 250).  Note that if the maxWidth would exceed\nthe containing tree element's size, it will be automatically limited for you to the container width, taking\nscroll and client offsets into account prior to each edit.",
57       "memberOf" : ""
58     },
59     {
60       "name" : "constrain",
61       "type" : "Boolean",
62       "desc" : "True to constrain the editor to the viewport",
63       "memberOf" : "Roo.Editor"
64     },
65     {
66       "name" : "shadow",
67       "type" : "Boolean/String",
68       "desc" : "\"sides\" for sides/bottom only, \"frame\" for 4-way shadow, and \"drop\"\nfor bottom-right shadow (defaults to \"frame\")",
69       "memberOf" : "Roo.Editor"
70     },
71     {
72       "name" : "field",
73       "type" : "Roo.form.TextField",
74       "desc" : "[required] The field configuration",
75       "memberOf" : ""
76     },
77     {
78       "name" : "hideMode",
79       "type" : "String",
80       "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
81       "memberOf" : "Roo.Component"
82     },
83     {
84       "name" : "value",
85       "type" : "Mixed",
86       "desc" : "The data value of the underlying field (defaults to \"\")",
87       "memberOf" : "Roo.Editor"
88     },
89     {
90       "name" : "allowDomMove",
91       "type" : "Boolean",
92       "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
93       "memberOf" : "Roo.Component"
94     },
95     {
96       "name" : "cls",
97       "type" : "String",
98       "desc" : "CSS class to apply to the editor (defaults to \"x-small-editor x-tree-editor\")",
99       "memberOf" : ""
100     },
101     {
102       "name" : "shim",
103       "type" : "Boolean",
104       "desc" : "True to shim the editor if selects/iframes could be displayed beneath it (defaults to false)",
105       "memberOf" : ""
106     },
107     {
108       "name" : "cancelOnEsc",
109       "type" : "Boolean",
110       "desc" : "True to cancel the edit when the escape key is pressed (defaults to false)",
111       "memberOf" : "Roo.Editor"
112     },
113     {
114       "name" : "actionMode",
115       "type" : "String",
116       "desc" : "which property holds the element that used for  hide() / show() / disable() / enable()\ndefault is 'el' for forms you probably want to set this to fieldEl",
117       "memberOf" : "Roo.Component"
118     },
119     {
120       "name" : "completeOnEnter",
121       "type" : "Boolean",
122       "desc" : "True to complete the edit when the enter key is pressed (defaults to false)",
123       "memberOf" : "Roo.Editor"
124     },
125     {
126       "name" : "revertInvalid",
127       "type" : "Boolean",
128       "desc" : "True to automatically revert the field value and cancel the edit when the user completes an edit and the field\nvalidation fails (defaults to true)",
129       "memberOf" : "Roo.Editor"
130     },
131     {
132       "name" : "tree",
133       "type" : "Roo.tree.TreePanel",
134       "desc" : "The tree to bind to.",
135       "memberOf" : ""
136     },
137     {
138       "name" : "disableClass",
139       "type" : "String",
140       "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
141       "memberOf" : "Roo.Component"
142     },
143     {
144       "name" : "ignoreNoChange",
145       "type" : "Boolean",
146       "desc" : "True to skip the the edit completion process (no save, no events fired) if the user completes an edit and\nthe value has not changed (defaults to false).  Applies only to string values - edits for other data types\nwill never be ignored.",
147       "memberOf" : "Roo.Editor"
148     },
149     {
150       "name" : "autosize",
151       "type" : "Boolean/String",
152       "desc" : "True for the editor to automatically adopt the size of the underlying field, \"width\" to adopt the width only,\nor \"height\" to adopt the height only (defaults to false)",
153       "memberOf" : "Roo.Editor"
154     },
155     {
156       "name" : "updateEl",
157       "type" : "Boolean",
158       "desc" : "True to update the innerHTML of the bound element when the update completes (defaults to false)",
159       "memberOf" : "Roo.Editor"
160     }
161   ],
162   "methods" : [
163     {
164       "name" : "cancelEdit",
165       "type" : "function",
166       "desc" : "Cancels the editing process and hides the editor without persisting any changes.  The field value will be\nreverted to the original starting value.",
167       "sig" : "(remainVisible)",
168       "static" : false,
169       "memberOf" : "Roo.Editor",
170       "isStatic" : false,
171       "isConstructor" : false,
172       "isPrivate" : false,
173       "example" : "",
174       "deprecated" : "",
175       "since" : "",
176       "see" : "",
177       "exceptions" : "",
178       "requires" : "",
179       "params" : [
180         {
181           "name" : "remainVisible",
182           "type" : "Boolean",
183           "desc" : "Override the default behavior and keep the editor visible after\ncancel (defaults to false)",
184           "isOptional" : false
185         }
186       ],
187       "returns" : []
188     },
189     {
190       "name" : "setSize",
191       "type" : "function",
192       "desc" : "Sets the height and width of this editor.",
193       "sig" : "(width, height)",
194       "static" : false,
195       "memberOf" : "Roo.Editor",
196       "isStatic" : false,
197       "isConstructor" : false,
198       "isPrivate" : false,
199       "example" : "",
200       "deprecated" : "",
201       "since" : "",
202       "see" : "",
203       "exceptions" : "",
204       "requires" : "",
205       "params" : [
206         {
207           "name" : "width",
208           "type" : "Number",
209           "desc" : "The new width",
210           "isOptional" : false
211         },
212         {
213           "name" : "height",
214           "type" : "Number",
215           "desc" : "The new height",
216           "isOptional" : false
217         }
218       ],
219       "returns" : []
220     },
221     {
222       "name" : "realign",
223       "type" : "function",
224       "desc" : "Realigns the editor to the bound field based on the current alignment config value.",
225       "sig" : "()\n{\n\n}",
226       "static" : false,
227       "memberOf" : "Roo.Editor",
228       "isStatic" : false,
229       "isConstructor" : false,
230       "isPrivate" : false,
231       "example" : "",
232       "deprecated" : "",
233       "since" : "",
234       "see" : "",
235       "exceptions" : "",
236       "requires" : "",
237       "params" : [],
238       "returns" : []
239     },
240     {
241       "name" : "getValue",
242       "type" : "function",
243       "desc" : "Gets the data value of the editor",
244       "sig" : "()\n{\n\n}",
245       "static" : false,
246       "memberOf" : "Roo.Editor",
247       "isStatic" : false,
248       "isConstructor" : false,
249       "isPrivate" : false,
250       "example" : "",
251       "deprecated" : "",
252       "since" : "",
253       "see" : "",
254       "exceptions" : "",
255       "requires" : "",
256       "params" : [],
257       "returns" : [
258         {
259           "name" : "",
260           "type" : "Mixed",
261           "desc" : "The data value"
262         }
263       ]
264     },
265     {
266       "name" : "completeEdit",
267       "type" : "function",
268       "desc" : "Ends the editing process, persists the changed value to the underlying field, and hides the editor.",
269       "sig" : "(remainVisible)",
270       "static" : false,
271       "memberOf" : "Roo.Editor",
272       "isStatic" : false,
273       "isConstructor" : false,
274       "isPrivate" : false,
275       "example" : "",
276       "deprecated" : "",
277       "since" : "",
278       "see" : "",
279       "exceptions" : "",
280       "requires" : "",
281       "params" : [
282         {
283           "name" : "remainVisible",
284           "type" : "Boolean",
285           "desc" : "Override the default behavior and keep the editor visible after edit (defaults to false)",
286           "isOptional" : false
287         }
288       ],
289       "returns" : []
290     },
291     {
292       "name" : "setValue",
293       "type" : "function",
294       "desc" : "Sets the data value of the editor",
295       "sig" : "(value)",
296       "static" : false,
297       "memberOf" : "Roo.Editor",
298       "isStatic" : false,
299       "isConstructor" : false,
300       "isPrivate" : false,
301       "example" : "",
302       "deprecated" : "",
303       "since" : "",
304       "see" : "",
305       "exceptions" : "",
306       "requires" : "",
307       "params" : [
308         {
309           "name" : "value",
310           "type" : "Mixed",
311           "desc" : "Any valid value supported by the underlying field",
312           "isOptional" : false
313         }
314       ],
315       "returns" : []
316     },
317     {
318       "name" : "startEdit",
319       "type" : "function",
320       "desc" : "Starts the editing process and shows the editor.",
321       "sig" : "(el, value)",
322       "static" : false,
323       "memberOf" : "Roo.Editor",
324       "isStatic" : false,
325       "isConstructor" : false,
326       "isPrivate" : false,
327       "example" : "",
328       "deprecated" : "",
329       "since" : "",
330       "see" : "",
331       "exceptions" : "",
332       "requires" : "",
333       "params" : [
334         {
335           "name" : "el",
336           "type" : "String/HTMLElement/Element",
337           "desc" : "The element to edit",
338           "isOptional" : false
339         },
340         {
341           "name" : "value",
342           "type" : "String",
343           "desc" : "(optional) A value to initialize the editor with. If a value is not provided, it defaults\nto the innerHTML of el.",
344           "isOptional" : false
345         }
346       ],
347       "returns" : []
348     },
349     {
350       "name" : "getId",
351       "type" : "function",
352       "desc" : "Returns the id of this component.",
353       "sig" : "()\n{\n\n}",
354       "static" : false,
355       "memberOf" : "Roo.Component",
356       "isStatic" : false,
357       "isConstructor" : false,
358       "isPrivate" : false,
359       "example" : "",
360       "deprecated" : "",
361       "since" : "",
362       "see" : "",
363       "exceptions" : "",
364       "requires" : "",
365       "params" : [],
366       "returns" : [
367         {
368           "name" : "",
369           "type" : "String",
370           "desc" : ""
371         }
372       ]
373     },
374     {
375       "name" : "render",
376       "type" : "function",
377       "desc" : "If this is a lazy rendering component, render it to its container element.",
378       "sig" : "(container)",
379       "static" : false,
380       "memberOf" : "Roo.Component",
381       "isStatic" : false,
382       "isConstructor" : false,
383       "isPrivate" : false,
384       "example" : "",
385       "deprecated" : "",
386       "since" : "",
387       "see" : "",
388       "exceptions" : "",
389       "requires" : "",
390       "params" : [
391         {
392           "name" : "container",
393           "type" : "String/HTMLElement/Element",
394           "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
395           "isOptional" : false
396         }
397       ],
398       "returns" : []
399     },
400     {
401       "name" : "destroy",
402       "type" : "function",
403       "desc" : "Destroys this component by purging any event listeners, removing the component's element from the DOM,\nremoving the component from its {@link Roo.Container} (if applicable) and unregistering it from {@link Roo.ComponentMgr}.",
404       "sig" : "()\n{\n\n}",
405       "static" : false,
406       "memberOf" : "Roo.Component",
407       "isStatic" : false,
408       "isConstructor" : false,
409       "isPrivate" : false,
410       "example" : "",
411       "deprecated" : "",
412       "since" : "",
413       "see" : "",
414       "exceptions" : "",
415       "requires" : "",
416       "params" : [],
417       "returns" : []
418     },
419     {
420       "name" : "isVisible",
421       "type" : "function",
422       "desc" : "Returns true if this component is visible.",
423       "sig" : "()\n{\n\n}",
424       "static" : false,
425       "memberOf" : "Roo.Component",
426       "isStatic" : false,
427       "isConstructor" : false,
428       "isPrivate" : false,
429       "example" : "",
430       "deprecated" : "",
431       "since" : "",
432       "see" : "",
433       "exceptions" : "",
434       "requires" : "",
435       "params" : [],
436       "returns" : []
437     },
438     {
439       "name" : "setDisabled",
440       "type" : "function",
441       "desc" : "Convenience function for setting disabled/enabled by boolean.",
442       "sig" : "(disabled)",
443       "static" : false,
444       "memberOf" : "Roo.Component",
445       "isStatic" : false,
446       "isConstructor" : false,
447       "isPrivate" : false,
448       "example" : "",
449       "deprecated" : "",
450       "since" : "",
451       "see" : "",
452       "exceptions" : "",
453       "requires" : "",
454       "params" : [
455         {
456           "name" : "disabled",
457           "type" : "Boolean",
458           "desc" : "",
459           "isOptional" : false
460         }
461       ],
462       "returns" : []
463     },
464     {
465       "name" : "hide",
466       "type" : "function",
467       "desc" : "Hide this component.",
468       "sig" : "()\n{\n\n}",
469       "static" : false,
470       "memberOf" : "Roo.Component",
471       "isStatic" : false,
472       "isConstructor" : false,
473       "isPrivate" : false,
474       "example" : "",
475       "deprecated" : "",
476       "since" : "",
477       "see" : "",
478       "exceptions" : "",
479       "requires" : "",
480       "params" : [],
481       "returns" : [
482         {
483           "name" : "",
484           "type" : "Roo.Component",
485           "desc" : "this"
486         }
487       ]
488     },
489     {
490       "name" : "focus",
491       "type" : "function",
492       "desc" : "Try to focus this component.",
493       "sig" : "(selectText)",
494       "static" : false,
495       "memberOf" : "Roo.Component",
496       "isStatic" : false,
497       "isConstructor" : false,
498       "isPrivate" : false,
499       "example" : "",
500       "deprecated" : "",
501       "since" : "",
502       "see" : "",
503       "exceptions" : "",
504       "requires" : "",
505       "params" : [
506         {
507           "name" : "selectText",
508           "type" : "Boolean",
509           "desc" : "True to also select the text in this component (if applicable)",
510           "isOptional" : false
511         }
512       ],
513       "returns" : [
514         {
515           "name" : "",
516           "type" : "Roo.Component",
517           "desc" : "this"
518         }
519       ]
520     },
521     {
522       "name" : "show",
523       "type" : "function",
524       "desc" : "Show this component.",
525       "sig" : "()\n{\n\n}",
526       "static" : false,
527       "memberOf" : "Roo.Component",
528       "isStatic" : false,
529       "isConstructor" : false,
530       "isPrivate" : false,
531       "example" : "",
532       "deprecated" : "",
533       "since" : "",
534       "see" : "",
535       "exceptions" : "",
536       "requires" : "",
537       "params" : [],
538       "returns" : [
539         {
540           "name" : "",
541           "type" : "Roo.Component",
542           "desc" : "this"
543         }
544       ]
545     },
546     {
547       "name" : "enable",
548       "type" : "function",
549       "desc" : "Enable this component.",
550       "sig" : "()\n{\n\n}",
551       "static" : false,
552       "memberOf" : "Roo.Component",
553       "isStatic" : false,
554       "isConstructor" : false,
555       "isPrivate" : false,
556       "example" : "",
557       "deprecated" : "",
558       "since" : "",
559       "see" : "",
560       "exceptions" : "",
561       "requires" : "",
562       "params" : [],
563       "returns" : [
564         {
565           "name" : "",
566           "type" : "Roo.Component",
567           "desc" : "this"
568         }
569       ]
570     },
571     {
572       "name" : "setVisible",
573       "type" : "function",
574       "desc" : "Convenience function to hide or show this component by boolean.",
575       "sig" : "(visible)",
576       "static" : false,
577       "memberOf" : "Roo.Component",
578       "isStatic" : false,
579       "isConstructor" : false,
580       "isPrivate" : false,
581       "example" : "",
582       "deprecated" : "",
583       "since" : "",
584       "see" : "",
585       "exceptions" : "",
586       "requires" : "",
587       "params" : [
588         {
589           "name" : "visible",
590           "type" : "Boolean",
591           "desc" : "True to show, false to hide",
592           "isOptional" : false
593         }
594       ],
595       "returns" : [
596         {
597           "name" : "",
598           "type" : "Roo.Component",
599           "desc" : "this"
600         }
601       ]
602     },
603     {
604       "name" : "disable",
605       "type" : "function",
606       "desc" : "Disable this component.",
607       "sig" : "()\n{\n\n}",
608       "static" : false,
609       "memberOf" : "Roo.Component",
610       "isStatic" : false,
611       "isConstructor" : false,
612       "isPrivate" : false,
613       "example" : "",
614       "deprecated" : "",
615       "since" : "",
616       "see" : "",
617       "exceptions" : "",
618       "requires" : "",
619       "params" : [],
620       "returns" : [
621         {
622           "name" : "",
623           "type" : "Roo.Component",
624           "desc" : "this"
625         }
626       ]
627     },
628     {
629       "name" : "getEl",
630       "type" : "function",
631       "desc" : "Returns the underlying {@link Roo.Element}.",
632       "sig" : "()\n{\n\n}",
633       "static" : false,
634       "memberOf" : "Roo.Component",
635       "isStatic" : false,
636       "isConstructor" : false,
637       "isPrivate" : false,
638       "example" : "",
639       "deprecated" : "",
640       "since" : "",
641       "see" : "",
642       "exceptions" : "",
643       "requires" : "",
644       "params" : [],
645       "returns" : [
646         {
647           "name" : "",
648           "type" : "Roo.Element",
649           "desc" : "The element"
650         }
651       ]
652     },
653     {
654       "name" : "purgeListeners",
655       "type" : "function",
656       "desc" : "Removes all listeners for this object",
657       "sig" : "()\n{\n\n}",
658       "static" : false,
659       "memberOf" : "Roo.util.Observable",
660       "isStatic" : false,
661       "isConstructor" : false,
662       "isPrivate" : false,
663       "example" : "",
664       "deprecated" : "",
665       "since" : "",
666       "see" : "",
667       "exceptions" : "",
668       "requires" : "",
669       "params" : [],
670       "returns" : []
671     },
672     {
673       "name" : "on",
674       "type" : "function",
675       "desc" : "Appends an event handler to this element (shorthand for addListener)",
676       "sig" : "(eventName, handler, scope, options)",
677       "static" : false,
678       "memberOf" : "Roo.util.Observable",
679       "isStatic" : false,
680       "isConstructor" : false,
681       "isPrivate" : false,
682       "example" : "",
683       "deprecated" : "",
684       "since" : "",
685       "see" : "",
686       "exceptions" : "",
687       "requires" : "",
688       "params" : [
689         {
690           "name" : "eventName",
691           "type" : "String",
692           "desc" : "The type of event to listen for",
693           "isOptional" : false
694         },
695         {
696           "name" : "handler",
697           "type" : "Function",
698           "desc" : "The method the event invokes",
699           "isOptional" : false
700         },
701         {
702           "name" : "scope",
703           "type" : "Object",
704           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
705           "isOptional" : false
706         },
707         {
708           "name" : "options",
709           "type" : "Object",
710           "desc" : "(optional)",
711           "isOptional" : false
712         }
713       ],
714       "returns" : []
715     },
716     {
717       "name" : "un",
718       "type" : "function",
719       "desc" : "Removes a listener (shorthand for removeListener)",
720       "sig" : "(eventName, handler, scope)",
721       "static" : false,
722       "memberOf" : "Roo.util.Observable",
723       "isStatic" : false,
724       "isConstructor" : false,
725       "isPrivate" : false,
726       "example" : "",
727       "deprecated" : "",
728       "since" : "",
729       "see" : "",
730       "exceptions" : "",
731       "requires" : "",
732       "params" : [
733         {
734           "name" : "eventName",
735           "type" : "String",
736           "desc" : "The type of event to listen for",
737           "isOptional" : false
738         },
739         {
740           "name" : "handler",
741           "type" : "Function",
742           "desc" : "The handler to remove",
743           "isOptional" : false
744         },
745         {
746           "name" : "scope",
747           "type" : "Object",
748           "desc" : "(optional) The scope (this object) for the handler",
749           "isOptional" : false
750         }
751       ],
752       "returns" : []
753     },
754     {
755       "name" : "addEvents",
756       "type" : "function",
757       "desc" : "Used to define events on this Observable",
758       "sig" : "(object)",
759       "static" : false,
760       "memberOf" : "Roo.util.Observable",
761       "isStatic" : false,
762       "isConstructor" : false,
763       "isPrivate" : false,
764       "example" : "",
765       "deprecated" : "",
766       "since" : "",
767       "see" : "",
768       "exceptions" : "",
769       "requires" : "",
770       "params" : [
771         {
772           "name" : "object",
773           "type" : "Object",
774           "desc" : "The object with the events defined",
775           "isOptional" : false
776         }
777       ],
778       "returns" : []
779     },
780     {
781       "name" : "releaseCapture",
782       "type" : "function",
783       "desc" : "Removes <b>all</b> added captures from the Observable.",
784       "sig" : "(o)",
785       "static" : true,
786       "memberOf" : "Roo.util.Observable",
787       "isStatic" : true,
788       "isConstructor" : false,
789       "isPrivate" : false,
790       "example" : "",
791       "deprecated" : "",
792       "since" : "",
793       "see" : "",
794       "exceptions" : "",
795       "requires" : "",
796       "params" : [
797         {
798           "name" : "o",
799           "type" : "Observable",
800           "desc" : "The Observable to release",
801           "isOptional" : false
802         }
803       ],
804       "returns" : []
805     },
806     {
807       "name" : "removeListener",
808       "type" : "function",
809       "desc" : "Removes a listener",
810       "sig" : "(eventName, handler, scope)",
811       "static" : false,
812       "memberOf" : "Roo.util.Observable",
813       "isStatic" : false,
814       "isConstructor" : false,
815       "isPrivate" : false,
816       "example" : "",
817       "deprecated" : "",
818       "since" : "",
819       "see" : "",
820       "exceptions" : "",
821       "requires" : "",
822       "params" : [
823         {
824           "name" : "eventName",
825           "type" : "String",
826           "desc" : "The type of event to listen for",
827           "isOptional" : false
828         },
829         {
830           "name" : "handler",
831           "type" : "Function",
832           "desc" : "The handler to remove",
833           "isOptional" : false
834         },
835         {
836           "name" : "scope",
837           "type" : "Object",
838           "desc" : "(optional) The scope (this object) for the handler",
839           "isOptional" : false
840         }
841       ],
842       "returns" : []
843     },
844     {
845       "name" : "fireEvent",
846       "type" : "function",
847       "desc" : "Fires the specified event with the passed parameters (minus the event name).",
848       "sig" : "(eventName, args)",
849       "static" : false,
850       "memberOf" : "Roo.util.Observable",
851       "isStatic" : false,
852       "isConstructor" : false,
853       "isPrivate" : false,
854       "example" : "",
855       "deprecated" : "",
856       "since" : "",
857       "see" : "",
858       "exceptions" : "",
859       "requires" : "",
860       "params" : [
861         {
862           "name" : "eventName",
863           "type" : "String",
864           "desc" : "",
865           "isOptional" : false
866         },
867         {
868           "name" : "args",
869           "type" : "Object...",
870           "desc" : "Variable number of parameters are passed to handlers",
871           "isOptional" : false
872         }
873       ],
874       "returns" : [
875         {
876           "name" : "",
877           "type" : "Boolean",
878           "desc" : "returns false if any of the handlers return false otherwise it returns true"
879         }
880       ]
881     },
882     {
883       "name" : "hasListener",
884       "type" : "function",
885       "desc" : "Checks to see if this object has any listeners for a specified event",
886       "sig" : "(eventName)",
887       "static" : false,
888       "memberOf" : "Roo.util.Observable",
889       "isStatic" : false,
890       "isConstructor" : false,
891       "isPrivate" : false,
892       "example" : "",
893       "deprecated" : "",
894       "since" : "",
895       "see" : "",
896       "exceptions" : "",
897       "requires" : "",
898       "params" : [
899         {
900           "name" : "eventName",
901           "type" : "String",
902           "desc" : "The name of the event to check for",
903           "isOptional" : false
904         }
905       ],
906       "returns" : [
907         {
908           "name" : "",
909           "type" : "Boolean",
910           "desc" : "True if the event is being listened for, else false"
911         }
912       ]
913     },
914     {
915       "name" : "capture",
916       "type" : "function",
917       "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.",
918       "sig" : "(o, fn, scope)",
919       "static" : true,
920       "memberOf" : "Roo.util.Observable",
921       "isStatic" : true,
922       "isConstructor" : false,
923       "isPrivate" : false,
924       "example" : "",
925       "deprecated" : "",
926       "since" : "",
927       "see" : "",
928       "exceptions" : "",
929       "requires" : "",
930       "params" : [
931         {
932           "name" : "o",
933           "type" : "Observable",
934           "desc" : "The Observable to capture",
935           "isOptional" : false
936         },
937         {
938           "name" : "fn",
939           "type" : "Function",
940           "desc" : "The function to call",
941           "isOptional" : false
942         },
943         {
944           "name" : "scope",
945           "type" : "Object",
946           "desc" : "(optional) The scope (this object) for the fn",
947           "isOptional" : false
948         }
949       ],
950       "returns" : []
951     },
952     {
953       "name" : "addListener",
954       "type" : "function",
955       "desc" : "Appends an event handler to this component",
956       "sig" : "(eventName, handler, scope, options)",
957       "static" : false,
958       "memberOf" : "Roo.util.Observable",
959       "isStatic" : false,
960       "isConstructor" : false,
961       "isPrivate" : false,
962       "example" : "",
963       "deprecated" : "",
964       "since" : "",
965       "see" : "",
966       "exceptions" : "",
967       "requires" : "",
968       "params" : [
969         {
970           "name" : "eventName",
971           "type" : "String",
972           "desc" : "The type of event to listen for",
973           "isOptional" : false
974         },
975         {
976           "name" : "handler",
977           "type" : "Function",
978           "desc" : "The method the event invokes",
979           "isOptional" : false
980         },
981         {
982           "name" : "scope",
983           "type" : "Object",
984           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
985           "isOptional" : false
986         },
987         {
988           "name" : "options",
989           "type" : "Object",
990           "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>",
991           "isOptional" : false
992         }
993       ],
994       "returns" : []
995     }
996   ],
997   "events" : [
998     {
999       "name" : "beforenodeedit",
1000       "type" : "function",
1001       "desc" : "Fires when editing is initiated, but before the value changes.  Editing can be canceled by returning\nfalse from the handler of this event.",
1002       "sig" : "function (_self, node)\n{\n\n}",
1003       "memberOf" : "",
1004       "example" : "",
1005       "deprecated" : "",
1006       "since" : "",
1007       "see" : "",
1008       "params" : [
1009         {
1010           "name" : "this",
1011           "type" : "Editor",
1012           "desc" : "",
1013           "isOptional" : false
1014         },
1015         {
1016           "name" : "node",
1017           "type" : "Roo.tree.Node",
1018           "desc" : "",
1019           "isOptional" : false
1020         }
1021       ],
1022       "returns" : []
1023     },
1024     {
1025       "name" : "beforestartedit",
1026       "type" : "function",
1027       "desc" : "Fires when editing is initiated, but before the value changes.  Editing can be canceled by returning\nfalse from the handler of this event.",
1028       "sig" : "function (_self, boundEl, value)\n{\n\n}",
1029       "memberOf" : "Roo.Editor",
1030       "example" : "",
1031       "deprecated" : "",
1032       "since" : "",
1033       "see" : "",
1034       "params" : [
1035         {
1036           "name" : "this",
1037           "type" : "Editor",
1038           "desc" : "",
1039           "isOptional" : false
1040         },
1041         {
1042           "name" : "boundEl",
1043           "type" : "Roo.Element",
1044           "desc" : "The underlying element bound to this editor",
1045           "isOptional" : false
1046         },
1047         {
1048           "name" : "value",
1049           "type" : "Mixed",
1050           "desc" : "The field value being set",
1051           "isOptional" : false
1052         }
1053       ],
1054       "returns" : []
1055     },
1056     {
1057       "name" : "beforecomplete",
1058       "type" : "function",
1059       "desc" : "Fires after a change has been made to the field, but before the change is reflected in the underlying\nfield.  Saving the change to the field can be canceled by returning false from the handler of this event.\nNote that if the value has not changed and ignoreNoChange = true, the editing will still end but this\nevent will not fire since no edit actually occurred.",
1060       "sig" : "function (_self, value, startValue)\n{\n\n}",
1061       "memberOf" : "Roo.Editor",
1062       "example" : "",
1063       "deprecated" : "",
1064       "since" : "",
1065       "see" : "",
1066       "params" : [
1067         {
1068           "name" : "this",
1069           "type" : "Editor",
1070           "desc" : "",
1071           "isOptional" : false
1072         },
1073         {
1074           "name" : "value",
1075           "type" : "Mixed",
1076           "desc" : "The current field value",
1077           "isOptional" : false
1078         },
1079         {
1080           "name" : "startValue",
1081           "type" : "Mixed",
1082           "desc" : "The original field value",
1083           "isOptional" : false
1084         }
1085       ],
1086       "returns" : []
1087     },
1088     {
1089       "name" : "complete",
1090       "type" : "function",
1091       "desc" : "Fires after editing is complete and any changed value has been written to the underlying field.",
1092       "sig" : "function (_self, value, startValue)\n{\n\n}",
1093       "memberOf" : "Roo.Editor",
1094       "example" : "",
1095       "deprecated" : "",
1096       "since" : "",
1097       "see" : "",
1098       "params" : [
1099         {
1100           "name" : "this",
1101           "type" : "Editor",
1102           "desc" : "",
1103           "isOptional" : false
1104         },
1105         {
1106           "name" : "value",
1107           "type" : "Mixed",
1108           "desc" : "The current field value",
1109           "isOptional" : false
1110         },
1111         {
1112           "name" : "startValue",
1113           "type" : "Mixed",
1114           "desc" : "The original field value",
1115           "isOptional" : false
1116         }
1117       ],
1118       "returns" : []
1119     },
1120     {
1121       "name" : "specialkey",
1122       "type" : "function",
1123       "desc" : "Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed.  You can check\n{@link Roo.EventObject#getKey} to determine which key was pressed.",
1124       "sig" : "function (_self, e)\n{\n\n}",
1125       "memberOf" : "Roo.Editor",
1126       "example" : "",
1127       "deprecated" : "",
1128       "since" : "",
1129       "see" : "",
1130       "params" : [
1131         {
1132           "name" : "this",
1133           "type" : "Roo.form.Field",
1134           "desc" : "",
1135           "isOptional" : false
1136         },
1137         {
1138           "name" : "e",
1139           "type" : "Roo.EventObject",
1140           "desc" : "The event object",
1141           "isOptional" : false
1142         }
1143       ],
1144       "returns" : []
1145     },
1146     {
1147       "name" : "startedit",
1148       "type" : "function",
1149       "desc" : "Fires when this editor is displayed",
1150       "sig" : "function (boundEl, value)\n{\n\n}",
1151       "memberOf" : "Roo.Editor",
1152       "example" : "",
1153       "deprecated" : "",
1154       "since" : "",
1155       "see" : "",
1156       "params" : [
1157         {
1158           "name" : "boundEl",
1159           "type" : "Roo.Element",
1160           "desc" : "The underlying element bound to this editor",
1161           "isOptional" : false
1162         },
1163         {
1164           "name" : "value",
1165           "type" : "Mixed",
1166           "desc" : "The starting field value",
1167           "isOptional" : false
1168         }
1169       ],
1170       "returns" : []
1171     },
1172     {
1173       "name" : "beforerender",
1174       "type" : "function",
1175       "desc" : "Fires before the component is rendered. Return false to stop the render.",
1176       "sig" : "function (_self)\n{\n\n}",
1177       "memberOf" : "Roo.Component",
1178       "example" : "",
1179       "deprecated" : "",
1180       "since" : "",
1181       "see" : "",
1182       "params" : [
1183         {
1184           "name" : "this",
1185           "type" : "Roo.Component",
1186           "desc" : "",
1187           "isOptional" : false
1188         }
1189       ],
1190       "returns" : []
1191     },
1192     {
1193       "name" : "disable",
1194       "type" : "function",
1195       "desc" : "Fires after the component is disabled.",
1196       "sig" : "function (_self)\n{\n\n}",
1197       "memberOf" : "Roo.Component",
1198       "example" : "",
1199       "deprecated" : "",
1200       "since" : "",
1201       "see" : "",
1202       "params" : [
1203         {
1204           "name" : "this",
1205           "type" : "Roo.Component",
1206           "desc" : "",
1207           "isOptional" : false
1208         }
1209       ],
1210       "returns" : []
1211     },
1212     {
1213       "name" : "render",
1214       "type" : "function",
1215       "desc" : "Fires after the component is rendered.",
1216       "sig" : "function (_self)\n{\n\n}",
1217       "memberOf" : "Roo.Component",
1218       "example" : "",
1219       "deprecated" : "",
1220       "since" : "",
1221       "see" : "",
1222       "params" : [
1223         {
1224           "name" : "this",
1225           "type" : "Roo.Component",
1226           "desc" : "",
1227           "isOptional" : false
1228         }
1229       ],
1230       "returns" : []
1231     },
1232     {
1233       "name" : "destroy",
1234       "type" : "function",
1235       "desc" : "Fires after the component is destroyed.",
1236       "sig" : "function (_self)\n{\n\n}",
1237       "memberOf" : "Roo.Component",
1238       "example" : "",
1239       "deprecated" : "",
1240       "since" : "",
1241       "see" : "",
1242       "params" : [
1243         {
1244           "name" : "this",
1245           "type" : "Roo.Component",
1246           "desc" : "",
1247           "isOptional" : false
1248         }
1249       ],
1250       "returns" : []
1251     },
1252     {
1253       "name" : "hide",
1254       "type" : "function",
1255       "desc" : "Fires after the component is hidden.",
1256       "sig" : "function (_self)\n{\n\n}",
1257       "memberOf" : "Roo.Component",
1258       "example" : "",
1259       "deprecated" : "",
1260       "since" : "",
1261       "see" : "",
1262       "params" : [
1263         {
1264           "name" : "this",
1265           "type" : "Roo.Component",
1266           "desc" : "",
1267           "isOptional" : false
1268         }
1269       ],
1270       "returns" : []
1271     },
1272     {
1273       "name" : "beforehide",
1274       "type" : "function",
1275       "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1276       "sig" : "function (_self)\n{\n\n}",
1277       "memberOf" : "Roo.Component",
1278       "example" : "",
1279       "deprecated" : "",
1280       "since" : "",
1281       "see" : "",
1282       "params" : [
1283         {
1284           "name" : "this",
1285           "type" : "Roo.Component",
1286           "desc" : "",
1287           "isOptional" : false
1288         }
1289       ],
1290       "returns" : []
1291     },
1292     {
1293       "name" : "show",
1294       "type" : "function",
1295       "desc" : "Fires after the component is shown.",
1296       "sig" : "function (_self)\n{\n\n}",
1297       "memberOf" : "Roo.Component",
1298       "example" : "",
1299       "deprecated" : "",
1300       "since" : "",
1301       "see" : "",
1302       "params" : [
1303         {
1304           "name" : "this",
1305           "type" : "Roo.Component",
1306           "desc" : "",
1307           "isOptional" : false
1308         }
1309       ],
1310       "returns" : []
1311     },
1312     {
1313       "name" : "beforeshow",
1314       "type" : "function",
1315       "desc" : "Fires before the component is shown.  Return false to stop the show.",
1316       "sig" : "function (_self)\n{\n\n}",
1317       "memberOf" : "Roo.Component",
1318       "example" : "",
1319       "deprecated" : "",
1320       "since" : "",
1321       "see" : "",
1322       "params" : [
1323         {
1324           "name" : "this",
1325           "type" : "Roo.Component",
1326           "desc" : "",
1327           "isOptional" : false
1328         }
1329       ],
1330       "returns" : []
1331     },
1332     {
1333       "name" : "enable",
1334       "type" : "function",
1335       "desc" : "Fires after the component is enabled.",
1336       "sig" : "function (_self)\n{\n\n}",
1337       "memberOf" : "Roo.Component",
1338       "example" : "",
1339       "deprecated" : "",
1340       "since" : "",
1341       "see" : "",
1342       "params" : [
1343         {
1344           "name" : "this",
1345           "type" : "Roo.Component",
1346           "desc" : "",
1347           "isOptional" : false
1348         }
1349       ],
1350       "returns" : []
1351     },
1352     {
1353       "name" : "beforedestroy",
1354       "type" : "function",
1355       "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1356       "sig" : "function (_self)\n{\n\n}",
1357       "memberOf" : "Roo.Component",
1358       "example" : "",
1359       "deprecated" : "",
1360       "since" : "",
1361       "see" : "",
1362       "params" : [
1363         {
1364           "name" : "this",
1365           "type" : "Roo.Component",
1366           "desc" : "",
1367           "isOptional" : false
1368         }
1369       ],
1370       "returns" : []
1371     }
1372   ]
1373 }