0a0cd97340ef1163b46cbb0593db63b724b8dfba
[roojs1] / docs / symbols / Roo.HtmlEditorCore.json
1 {
2   "name" : "Roo.HtmlEditorCore",
3   "augments" : [
4     "Roo.Component",
5     "Roo.util.Observable"
6   ],
7   "childClasses" : {  },
8   "tree_children" : [],
9   "tree_parent" : [],
10   "desc" : "Provides a the editing component for the HTML editors in Roo. (bootstrap and Roo.form)\n\nany element that has display set to 'none' can cause problems in Safari and Firefox.<br/><br/>",
11   "isSingleton" : false,
12   "isStatic" : false,
13   "isBuiltin" : false,
14   "isAbstract" : false,
15   "isBuilderTop" : false,
16   "memberOf" : "HtmlEditorCore",
17   "example" : "",
18   "deprecated" : "",
19   "since" : "",
20   "see" : "",
21   "params" : [],
22   "returns" : [],
23   "throws" : "",
24   "requires" : "",
25   "config" : [
26     {
27       "name" : "listeners",
28       "type" : "Object",
29       "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>",
30       "memberOf" : "Roo.util.Observable"
31     },
32     {
33       "name" : "allowComments",
34       "type" : "boolean",
35       "desc" : "- default false - allow comments in HTML source - by default they are stripped - if you are editing email you may need this.",
36       "memberOf" : "Roo.HtmlEditorCore"
37     },
38     {
39       "name" : "the",
40       "type" : "Roo.form.HtmlEditor|Roo.bootstrap.HtmlEditor",
41       "desc" : "owner field",
42       "memberOf" : "Roo.HtmlEditorCore"
43     },
44     {
45       "name" : "hideMode",
46       "type" : "String",
47       "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\".",
48       "memberOf" : "Roo.Component"
49     },
50     {
51       "name" : "allowDomMove",
52       "type" : "Boolean",
53       "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
54       "memberOf" : "Roo.Component"
55     },
56     {
57       "name" : "actionMode",
58       "type" : "String",
59       "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",
60       "memberOf" : "Roo.Component"
61     },
62     {
63       "name" : "width",
64       "type" : "Number",
65       "desc" : "(in pixels)",
66       "memberOf" : "Roo.HtmlEditorCore"
67     },
68     {
69       "name" : "resizable",
70       "type" : "String",
71       "desc" : "'s' or 'se' or 'e' - wrapps the element in a\n                       Roo.resizable.",
72       "memberOf" : "Roo.HtmlEditorCore"
73     },
74     {
75       "name" : "height",
76       "type" : "Number",
77       "desc" : "(in pixels)",
78       "memberOf" : "Roo.HtmlEditorCore"
79     },
80     {
81       "name" : "disableClass",
82       "type" : "String",
83       "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
84       "memberOf" : "Roo.Component"
85     },
86     {
87       "name" : "stylesheets",
88       "type" : "Array",
89       "desc" : "url of stylesheets. set to [] to disable stylesheets.",
90       "memberOf" : "Roo.HtmlEditorCore"
91     }
92   ],
93   "methods" : [
94     {
95       "name" : "relayCmd",
96       "type" : "function",
97       "desc" : "Executes a Midas editor command on the editor document and performs necessary focus and\ntoolbar updates. <b>This should only be called after the editor is initialized.</b>",
98       "sig" : "(cmd, value)",
99       "static" : false,
100       "memberOf" : "",
101       "isStatic" : false,
102       "isConstructor" : false,
103       "isPrivate" : false,
104       "example" : "",
105       "deprecated" : "",
106       "since" : "",
107       "see" : "",
108       "exceptions" : "",
109       "requires" : "",
110       "params" : [
111         {
112           "name" : "cmd",
113           "type" : "String",
114           "desc" : "The Midas command",
115           "isOptional" : false
116         },
117         {
118           "name" : "value",
119           "type" : "String/Boolean",
120           "desc" : "(optional) The value to pass to the command (defaults to null)",
121           "isOptional" : false
122         }
123       ],
124       "returns" : []
125     },
126     {
127       "name" : "execCmd",
128       "type" : "function",
129       "desc" : "Executes a Midas editor command directly on the editor document.\nFor visual commands, you should use {@link #relayCmd} instead.\n<b>This should only be called after the editor is initialized.</b>",
130       "sig" : "(cmd, value)",
131       "static" : false,
132       "memberOf" : "",
133       "isStatic" : false,
134       "isConstructor" : false,
135       "isPrivate" : false,
136       "example" : "",
137       "deprecated" : "",
138       "since" : "",
139       "see" : "",
140       "exceptions" : "",
141       "requires" : "",
142       "params" : [
143         {
144           "name" : "cmd",
145           "type" : "String",
146           "desc" : "The Midas command",
147           "isOptional" : false
148         },
149         {
150           "name" : "value",
151           "type" : "String/Boolean",
152           "desc" : "(optional) The value to pass to the command (defaults to null)",
153           "isOptional" : false
154         }
155       ],
156       "returns" : []
157     },
158     {
159       "name" : "cleanWord",
160       "type" : "function",
161       "desc" : "Clean up MS wordisms...",
162       "sig" : "()\n{\n\n}",
163       "static" : false,
164       "memberOf" : "",
165       "isStatic" : false,
166       "isConstructor" : false,
167       "isPrivate" : false,
168       "example" : "",
169       "deprecated" : "",
170       "since" : "",
171       "see" : "",
172       "exceptions" : "",
173       "requires" : "",
174       "params" : [],
175       "returns" : []
176     },
177     {
178       "name" : "syncValue",
179       "type" : "function",
180       "desc" : "HTML Editor -> Textarea\nProtected method that will not generally be called directly. Syncs the contents\nof the editor iframe with the textarea.",
181       "sig" : "()\n{\n\n}",
182       "static" : false,
183       "memberOf" : "",
184       "isStatic" : false,
185       "isConstructor" : false,
186       "isPrivate" : false,
187       "example" : "",
188       "deprecated" : "",
189       "since" : "",
190       "see" : "",
191       "exceptions" : "",
192       "requires" : "",
193       "params" : [],
194       "returns" : []
195     },
196     {
197       "name" : "cleanTableWidths",
198       "type" : "function",
199       "desc" : "cleanTableWidths.\n\nQuite often pasting from word etc.. results in tables with column and widths.\nThis does not work well on fluid HTML layouts - like emails. - so this code should hunt an destroy them..",
200       "sig" : "()\n{\n\n}",
201       "static" : false,
202       "memberOf" : "",
203       "isStatic" : false,
204       "isConstructor" : false,
205       "isPrivate" : false,
206       "example" : "",
207       "deprecated" : "",
208       "since" : "",
209       "see" : "",
210       "exceptions" : "",
211       "requires" : "",
212       "params" : [],
213       "returns" : []
214     },
215     {
216       "name" : "cleanHtml",
217       "type" : "function",
218       "desc" : "Protected method that will not generally be called directly. If you need/want\ncustom HTML cleanup, this is the method you should override.",
219       "sig" : "(html)",
220       "static" : false,
221       "memberOf" : "",
222       "isStatic" : false,
223       "isConstructor" : false,
224       "isPrivate" : false,
225       "example" : "",
226       "deprecated" : "",
227       "since" : "",
228       "see" : "",
229       "exceptions" : "",
230       "requires" : "",
231       "params" : [
232         {
233           "name" : "html",
234           "type" : "String",
235           "desc" : "The HTML to be cleaned\nreturn {String} The cleaned HTML",
236           "isOptional" : false
237         }
238       ],
239       "returns" : []
240     },
241     {
242       "name" : "toggleSourceEdit",
243       "type" : "function",
244       "desc" : "Toggles the editor between standard and source edit mode.",
245       "sig" : "(sourceEdit)",
246       "static" : false,
247       "memberOf" : "",
248       "isStatic" : false,
249       "isConstructor" : false,
250       "isPrivate" : false,
251       "example" : "",
252       "deprecated" : "",
253       "since" : "",
254       "see" : "",
255       "exceptions" : "",
256       "requires" : "",
257       "params" : [
258         {
259           "name" : "sourceEdit",
260           "type" : "Boolean",
261           "desc" : "(optional) True for source edit, false for standard",
262           "isOptional" : false
263         }
264       ],
265       "returns" : []
266     },
267     {
268       "name" : "getDocMarkup",
269       "type" : "function",
270       "desc" : "Protected method that will not generally be called directly. It\nis called when the editor initializes the iframe with HTML contents. Override this method if you\nwant to change the initialization markup of the iframe (e.g. to add stylesheets).",
271       "sig" : "()\n{\n\n}",
272       "static" : false,
273       "memberOf" : "",
274       "isStatic" : false,
275       "isConstructor" : false,
276       "isPrivate" : false,
277       "example" : "",
278       "deprecated" : "",
279       "since" : "",
280       "see" : "",
281       "exceptions" : "",
282       "requires" : "",
283       "params" : [],
284       "returns" : []
285     },
286     {
287       "name" : "iterateChildren",
288       "type" : "function",
289       "desc" : "iterateChildren of a Node, calling fn each time, using this as the scole..",
290       "sig" : "(node, fn)",
291       "static" : false,
292       "memberOf" : "",
293       "isStatic" : false,
294       "isConstructor" : false,
295       "isPrivate" : false,
296       "example" : "",
297       "deprecated" : "",
298       "since" : "",
299       "see" : "",
300       "exceptions" : "",
301       "requires" : "",
302       "params" : [
303         {
304           "name" : "node",
305           "type" : "DomNode",
306           "desc" : "node to iterate children of.",
307           "isOptional" : false
308         },
309         {
310           "name" : "fn",
311           "type" : "Function",
312           "desc" : "method of this class to call on each item.",
313           "isOptional" : false
314         }
315       ],
316       "returns" : []
317     },
318     {
319       "name" : "pushValue",
320       "type" : "function",
321       "desc" : "Protected method that will not generally be called directly. Pushes the value of the textarea\ninto the iframe editor.",
322       "sig" : "()\n{\n\n}",
323       "static" : false,
324       "memberOf" : "",
325       "isStatic" : false,
326       "isConstructor" : false,
327       "isPrivate" : false,
328       "example" : "",
329       "deprecated" : "",
330       "since" : "",
331       "see" : "",
332       "exceptions" : "",
333       "requires" : "",
334       "params" : [],
335       "returns" : []
336     },
337     {
338       "name" : "rangeIntersectsNode",
339       "type" : "function",
340       "desc" : "Range intersection.. the hard stuff...\n '-1' = before\n '0' = hits..\n '1' = after.\n        [ -- selected range --- ]\n  [fail]                        [fail]\n\n   basically..\n     if end is before start or  hits it. fail.\n     if start is after end or hits it fail.\n\n  if either hits (but other is outside. - then it's not",
341       "sig" : "()\n{\n\n}",
342       "static" : false,
343       "memberOf" : "",
344       "isStatic" : false,
345       "isConstructor" : false,
346       "isPrivate" : false,
347       "example" : "",
348       "deprecated" : "",
349       "since" : "",
350       "see" : "",
351       "exceptions" : "",
352       "requires" : "",
353       "params" : [],
354       "returns" : []
355     },
356     {
357       "name" : "insertAtCursor",
358       "type" : "function",
359       "desc" : "Inserts the passed text at the current cursor position. Note: the editor must be initialized and activated\nto insert tRoo.",
360       "sig" : "(text)",
361       "static" : false,
362       "memberOf" : "",
363       "isStatic" : false,
364       "isConstructor" : false,
365       "isPrivate" : false,
366       "example" : "",
367       "deprecated" : "",
368       "since" : "",
369       "see" : "",
370       "exceptions" : "",
371       "requires" : "",
372       "params" : [
373         {
374           "name" : "text",
375           "type" : "String",
376           "desc" : "| dom node..",
377           "isOptional" : false
378         }
379       ],
380       "returns" : []
381     },
382     {
383       "name" : "getId",
384       "type" : "function",
385       "desc" : "Returns the id of this component.",
386       "sig" : "()\n{\n\n}",
387       "static" : false,
388       "memberOf" : "Roo.Component",
389       "isStatic" : false,
390       "isConstructor" : false,
391       "isPrivate" : false,
392       "example" : "",
393       "deprecated" : "",
394       "since" : "",
395       "see" : "",
396       "exceptions" : "",
397       "requires" : "",
398       "params" : [],
399       "returns" : [
400         {
401           "name" : "",
402           "type" : "String",
403           "desc" : ""
404         }
405       ]
406     },
407     {
408       "name" : "render",
409       "type" : "function",
410       "desc" : "If this is a lazy rendering component, render it to its container element.",
411       "sig" : "(container)",
412       "static" : false,
413       "memberOf" : "Roo.Component",
414       "isStatic" : false,
415       "isConstructor" : false,
416       "isPrivate" : false,
417       "example" : "",
418       "deprecated" : "",
419       "since" : "",
420       "see" : "",
421       "exceptions" : "",
422       "requires" : "",
423       "params" : [
424         {
425           "name" : "container",
426           "type" : "String/HTMLElement/Element",
427           "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
428           "isOptional" : false
429         }
430       ],
431       "returns" : []
432     },
433     {
434       "name" : "destroy",
435       "type" : "function",
436       "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}.",
437       "sig" : "()\n{\n\n}",
438       "static" : false,
439       "memberOf" : "Roo.Component",
440       "isStatic" : false,
441       "isConstructor" : false,
442       "isPrivate" : false,
443       "example" : "",
444       "deprecated" : "",
445       "since" : "",
446       "see" : "",
447       "exceptions" : "",
448       "requires" : "",
449       "params" : [],
450       "returns" : []
451     },
452     {
453       "name" : "isVisible",
454       "type" : "function",
455       "desc" : "Returns true if this component is visible.",
456       "sig" : "()\n{\n\n}",
457       "static" : false,
458       "memberOf" : "Roo.Component",
459       "isStatic" : false,
460       "isConstructor" : false,
461       "isPrivate" : false,
462       "example" : "",
463       "deprecated" : "",
464       "since" : "",
465       "see" : "",
466       "exceptions" : "",
467       "requires" : "",
468       "params" : [],
469       "returns" : []
470     },
471     {
472       "name" : "setDisabled",
473       "type" : "function",
474       "desc" : "Convenience function for setting disabled/enabled by boolean.",
475       "sig" : "(disabled)",
476       "static" : false,
477       "memberOf" : "Roo.Component",
478       "isStatic" : false,
479       "isConstructor" : false,
480       "isPrivate" : false,
481       "example" : "",
482       "deprecated" : "",
483       "since" : "",
484       "see" : "",
485       "exceptions" : "",
486       "requires" : "",
487       "params" : [
488         {
489           "name" : "disabled",
490           "type" : "Boolean",
491           "desc" : "",
492           "isOptional" : false
493         }
494       ],
495       "returns" : []
496     },
497     {
498       "name" : "hide",
499       "type" : "function",
500       "desc" : "Hide this component.",
501       "sig" : "()\n{\n\n}",
502       "static" : false,
503       "memberOf" : "Roo.Component",
504       "isStatic" : false,
505       "isConstructor" : false,
506       "isPrivate" : false,
507       "example" : "",
508       "deprecated" : "",
509       "since" : "",
510       "see" : "",
511       "exceptions" : "",
512       "requires" : "",
513       "params" : [],
514       "returns" : [
515         {
516           "name" : "",
517           "type" : "Roo.Component",
518           "desc" : "this"
519         }
520       ]
521     },
522     {
523       "name" : "focus",
524       "type" : "function",
525       "desc" : "Try to focus this component.",
526       "sig" : "(selectText)",
527       "static" : false,
528       "memberOf" : "Roo.Component",
529       "isStatic" : false,
530       "isConstructor" : false,
531       "isPrivate" : false,
532       "example" : "",
533       "deprecated" : "",
534       "since" : "",
535       "see" : "",
536       "exceptions" : "",
537       "requires" : "",
538       "params" : [
539         {
540           "name" : "selectText",
541           "type" : "Boolean",
542           "desc" : "True to also select the text in this component (if applicable)",
543           "isOptional" : false
544         }
545       ],
546       "returns" : [
547         {
548           "name" : "",
549           "type" : "Roo.Component",
550           "desc" : "this"
551         }
552       ]
553     },
554     {
555       "name" : "show",
556       "type" : "function",
557       "desc" : "Show this component.",
558       "sig" : "()\n{\n\n}",
559       "static" : false,
560       "memberOf" : "Roo.Component",
561       "isStatic" : false,
562       "isConstructor" : false,
563       "isPrivate" : false,
564       "example" : "",
565       "deprecated" : "",
566       "since" : "",
567       "see" : "",
568       "exceptions" : "",
569       "requires" : "",
570       "params" : [],
571       "returns" : [
572         {
573           "name" : "",
574           "type" : "Roo.Component",
575           "desc" : "this"
576         }
577       ]
578     },
579     {
580       "name" : "enable",
581       "type" : "function",
582       "desc" : "Enable this component.",
583       "sig" : "()\n{\n\n}",
584       "static" : false,
585       "memberOf" : "Roo.Component",
586       "isStatic" : false,
587       "isConstructor" : false,
588       "isPrivate" : false,
589       "example" : "",
590       "deprecated" : "",
591       "since" : "",
592       "see" : "",
593       "exceptions" : "",
594       "requires" : "",
595       "params" : [],
596       "returns" : [
597         {
598           "name" : "",
599           "type" : "Roo.Component",
600           "desc" : "this"
601         }
602       ]
603     },
604     {
605       "name" : "setVisible",
606       "type" : "function",
607       "desc" : "Convenience function to hide or show this component by boolean.",
608       "sig" : "(visible)",
609       "static" : false,
610       "memberOf" : "Roo.Component",
611       "isStatic" : false,
612       "isConstructor" : false,
613       "isPrivate" : false,
614       "example" : "",
615       "deprecated" : "",
616       "since" : "",
617       "see" : "",
618       "exceptions" : "",
619       "requires" : "",
620       "params" : [
621         {
622           "name" : "visible",
623           "type" : "Boolean",
624           "desc" : "True to show, false to hide",
625           "isOptional" : false
626         }
627       ],
628       "returns" : [
629         {
630           "name" : "",
631           "type" : "Roo.Component",
632           "desc" : "this"
633         }
634       ]
635     },
636     {
637       "name" : "disable",
638       "type" : "function",
639       "desc" : "Disable this component.",
640       "sig" : "()\n{\n\n}",
641       "static" : false,
642       "memberOf" : "Roo.Component",
643       "isStatic" : false,
644       "isConstructor" : false,
645       "isPrivate" : false,
646       "example" : "",
647       "deprecated" : "",
648       "since" : "",
649       "see" : "",
650       "exceptions" : "",
651       "requires" : "",
652       "params" : [],
653       "returns" : [
654         {
655           "name" : "",
656           "type" : "Roo.Component",
657           "desc" : "this"
658         }
659       ]
660     },
661     {
662       "name" : "getEl",
663       "type" : "function",
664       "desc" : "Returns the underlying {@link Roo.Element}.",
665       "sig" : "()\n{\n\n}",
666       "static" : false,
667       "memberOf" : "Roo.Component",
668       "isStatic" : false,
669       "isConstructor" : false,
670       "isPrivate" : false,
671       "example" : "",
672       "deprecated" : "",
673       "since" : "",
674       "see" : "",
675       "exceptions" : "",
676       "requires" : "",
677       "params" : [],
678       "returns" : [
679         {
680           "name" : "",
681           "type" : "Roo.Element",
682           "desc" : "The element"
683         }
684       ]
685     },
686     {
687       "name" : "purgeListeners",
688       "type" : "function",
689       "desc" : "Removes all listeners for this object",
690       "sig" : "()\n{\n\n}",
691       "static" : false,
692       "memberOf" : "Roo.util.Observable",
693       "isStatic" : false,
694       "isConstructor" : false,
695       "isPrivate" : false,
696       "example" : "",
697       "deprecated" : "",
698       "since" : "",
699       "see" : "",
700       "exceptions" : "",
701       "requires" : "",
702       "params" : [],
703       "returns" : []
704     },
705     {
706       "name" : "on",
707       "type" : "function",
708       "desc" : "Appends an event handler to this element (shorthand for addListener)",
709       "sig" : "(eventName, handler, scope, options)",
710       "static" : false,
711       "memberOf" : "Roo.util.Observable",
712       "isStatic" : false,
713       "isConstructor" : false,
714       "isPrivate" : false,
715       "example" : "",
716       "deprecated" : "",
717       "since" : "",
718       "see" : "",
719       "exceptions" : "",
720       "requires" : "",
721       "params" : [
722         {
723           "name" : "eventName",
724           "type" : "String",
725           "desc" : "The type of event to listen for",
726           "isOptional" : false
727         },
728         {
729           "name" : "handler",
730           "type" : "Function",
731           "desc" : "The method the event invokes",
732           "isOptional" : false
733         },
734         {
735           "name" : "scope",
736           "type" : "Object",
737           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
738           "isOptional" : false
739         },
740         {
741           "name" : "options",
742           "type" : "Object",
743           "desc" : "(optional)",
744           "isOptional" : false
745         }
746       ],
747       "returns" : []
748     },
749     {
750       "name" : "un",
751       "type" : "function",
752       "desc" : "Removes a listener (shorthand for removeListener)",
753       "sig" : "(eventName, handler, scope)",
754       "static" : false,
755       "memberOf" : "Roo.util.Observable",
756       "isStatic" : false,
757       "isConstructor" : false,
758       "isPrivate" : false,
759       "example" : "",
760       "deprecated" : "",
761       "since" : "",
762       "see" : "",
763       "exceptions" : "",
764       "requires" : "",
765       "params" : [
766         {
767           "name" : "eventName",
768           "type" : "String",
769           "desc" : "The type of event to listen for",
770           "isOptional" : false
771         },
772         {
773           "name" : "handler",
774           "type" : "Function",
775           "desc" : "The handler to remove",
776           "isOptional" : false
777         },
778         {
779           "name" : "scope",
780           "type" : "Object",
781           "desc" : "(optional) The scope (this object) for the handler",
782           "isOptional" : false
783         }
784       ],
785       "returns" : []
786     },
787     {
788       "name" : "addEvents",
789       "type" : "function",
790       "desc" : "Used to define events on this Observable",
791       "sig" : "(object)",
792       "static" : false,
793       "memberOf" : "Roo.util.Observable",
794       "isStatic" : false,
795       "isConstructor" : false,
796       "isPrivate" : false,
797       "example" : "",
798       "deprecated" : "",
799       "since" : "",
800       "see" : "",
801       "exceptions" : "",
802       "requires" : "",
803       "params" : [
804         {
805           "name" : "object",
806           "type" : "Object",
807           "desc" : "The object with the events defined",
808           "isOptional" : false
809         }
810       ],
811       "returns" : []
812     },
813     {
814       "name" : "releaseCapture",
815       "type" : "function",
816       "desc" : "Removes <b>all</b> added captures from the Observable.",
817       "sig" : "(o)",
818       "static" : true,
819       "memberOf" : "Roo.util.Observable",
820       "isStatic" : true,
821       "isConstructor" : false,
822       "isPrivate" : false,
823       "example" : "",
824       "deprecated" : "",
825       "since" : "",
826       "see" : "",
827       "exceptions" : "",
828       "requires" : "",
829       "params" : [
830         {
831           "name" : "o",
832           "type" : "Observable",
833           "desc" : "The Observable to release",
834           "isOptional" : false
835         }
836       ],
837       "returns" : []
838     },
839     {
840       "name" : "removeListener",
841       "type" : "function",
842       "desc" : "Removes a listener",
843       "sig" : "(eventName, handler, scope)",
844       "static" : false,
845       "memberOf" : "Roo.util.Observable",
846       "isStatic" : false,
847       "isConstructor" : false,
848       "isPrivate" : false,
849       "example" : "",
850       "deprecated" : "",
851       "since" : "",
852       "see" : "",
853       "exceptions" : "",
854       "requires" : "",
855       "params" : [
856         {
857           "name" : "eventName",
858           "type" : "String",
859           "desc" : "The type of event to listen for",
860           "isOptional" : false
861         },
862         {
863           "name" : "handler",
864           "type" : "Function",
865           "desc" : "The handler to remove",
866           "isOptional" : false
867         },
868         {
869           "name" : "scope",
870           "type" : "Object",
871           "desc" : "(optional) The scope (this object) for the handler",
872           "isOptional" : false
873         }
874       ],
875       "returns" : []
876     },
877     {
878       "name" : "fireEvent",
879       "type" : "function",
880       "desc" : "Fires the specified event with the passed parameters (minus the event name).",
881       "sig" : "(eventName, args)",
882       "static" : false,
883       "memberOf" : "Roo.util.Observable",
884       "isStatic" : false,
885       "isConstructor" : false,
886       "isPrivate" : false,
887       "example" : "",
888       "deprecated" : "",
889       "since" : "",
890       "see" : "",
891       "exceptions" : "",
892       "requires" : "",
893       "params" : [
894         {
895           "name" : "eventName",
896           "type" : "String",
897           "desc" : "",
898           "isOptional" : false
899         },
900         {
901           "name" : "args",
902           "type" : "Object...",
903           "desc" : "Variable number of parameters are passed to handlers",
904           "isOptional" : false
905         }
906       ],
907       "returns" : [
908         {
909           "name" : "",
910           "type" : "Boolean",
911           "desc" : "returns false if any of the handlers return false otherwise it returns true"
912         }
913       ]
914     },
915     {
916       "name" : "hasListener",
917       "type" : "function",
918       "desc" : "Checks to see if this object has any listeners for a specified event",
919       "sig" : "(eventName)",
920       "static" : false,
921       "memberOf" : "Roo.util.Observable",
922       "isStatic" : false,
923       "isConstructor" : false,
924       "isPrivate" : false,
925       "example" : "",
926       "deprecated" : "",
927       "since" : "",
928       "see" : "",
929       "exceptions" : "",
930       "requires" : "",
931       "params" : [
932         {
933           "name" : "eventName",
934           "type" : "String",
935           "desc" : "The name of the event to check for",
936           "isOptional" : false
937         }
938       ],
939       "returns" : [
940         {
941           "name" : "",
942           "type" : "Boolean",
943           "desc" : "True if the event is being listened for, else false"
944         }
945       ]
946     },
947     {
948       "name" : "capture",
949       "type" : "function",
950       "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.",
951       "sig" : "(o, fn, scope)",
952       "static" : true,
953       "memberOf" : "Roo.util.Observable",
954       "isStatic" : true,
955       "isConstructor" : false,
956       "isPrivate" : false,
957       "example" : "",
958       "deprecated" : "",
959       "since" : "",
960       "see" : "",
961       "exceptions" : "",
962       "requires" : "",
963       "params" : [
964         {
965           "name" : "o",
966           "type" : "Observable",
967           "desc" : "The Observable to capture",
968           "isOptional" : false
969         },
970         {
971           "name" : "fn",
972           "type" : "Function",
973           "desc" : "The function to call",
974           "isOptional" : false
975         },
976         {
977           "name" : "scope",
978           "type" : "Object",
979           "desc" : "(optional) The scope (this object) for the fn",
980           "isOptional" : false
981         }
982       ],
983       "returns" : []
984     },
985     {
986       "name" : "addListener",
987       "type" : "function",
988       "desc" : "Appends an event handler to this component",
989       "sig" : "(eventName, handler, scope, options)",
990       "static" : false,
991       "memberOf" : "Roo.util.Observable",
992       "isStatic" : false,
993       "isConstructor" : false,
994       "isPrivate" : false,
995       "example" : "",
996       "deprecated" : "",
997       "since" : "",
998       "see" : "",
999       "exceptions" : "",
1000       "requires" : "",
1001       "params" : [
1002         {
1003           "name" : "eventName",
1004           "type" : "String",
1005           "desc" : "The type of event to listen for",
1006           "isOptional" : false
1007         },
1008         {
1009           "name" : "handler",
1010           "type" : "Function",
1011           "desc" : "The method the event invokes",
1012           "isOptional" : false
1013         },
1014         {
1015           "name" : "scope",
1016           "type" : "Object",
1017           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1018           "isOptional" : false
1019         },
1020         {
1021           "name" : "options",
1022           "type" : "Object",
1023           "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>",
1024           "isOptional" : false
1025         }
1026       ],
1027       "returns" : []
1028     }
1029   ],
1030   "events" : [
1031     {
1032       "name" : "specialkey",
1033       "type" : "function",
1034       "desc" : "",
1035       "sig" : "function ()\n{\n\n}",
1036       "memberOf" : "",
1037       "example" : "",
1038       "deprecated" : "",
1039       "since" : "",
1040       "see" : "",
1041       "params" : [],
1042       "returns" : []
1043     },
1044     {
1045       "name" : "editorevent",
1046       "type" : "function",
1047       "desc" : "Fires when on any editor (mouse up/down cursor movement etc.) - used for toolbar hooks.",
1048       "sig" : "function (_self)\n{\n\n}",
1049       "memberOf" : "",
1050       "example" : "",
1051       "deprecated" : "",
1052       "since" : "",
1053       "see" : "",
1054       "params" : [
1055         {
1056           "name" : "this",
1057           "type" : "Roo.HtmlEditorCore",
1058           "desc" : "",
1059           "isOptional" : false
1060         }
1061       ],
1062       "returns" : []
1063     },
1064     {
1065       "name" : "beforepush",
1066       "type" : "function",
1067       "desc" : "Fires before the iframe editor is updated with content from the textarea. Return false\nto cancel the push.",
1068       "sig" : "function (_self, html)\n{\n\n}",
1069       "memberOf" : "",
1070       "example" : "",
1071       "deprecated" : "",
1072       "since" : "",
1073       "see" : "",
1074       "params" : [
1075         {
1076           "name" : "this",
1077           "type" : "Roo.HtmlEditorCore",
1078           "desc" : "",
1079           "isOptional" : false
1080         },
1081         {
1082           "name" : "html",
1083           "type" : "String",
1084           "desc" : "",
1085           "isOptional" : false
1086         }
1087       ],
1088       "returns" : []
1089     },
1090     {
1091       "name" : "activate",
1092       "type" : "function",
1093       "desc" : "Fires when the editor is first receives the focus. Any insertion must wait\nuntil after this event.",
1094       "sig" : "function (_self)\n{\n\n}",
1095       "memberOf" : "",
1096       "example" : "",
1097       "deprecated" : "",
1098       "since" : "",
1099       "see" : "",
1100       "params" : [
1101         {
1102           "name" : "this",
1103           "type" : "Roo.HtmlEditorCore",
1104           "desc" : "",
1105           "isOptional" : false
1106         }
1107       ],
1108       "returns" : []
1109     },
1110     {
1111       "name" : "initialize",
1112       "type" : "function",
1113       "desc" : "Fires when the editor is fully initialized (including the iframe)",
1114       "sig" : "function (_self)\n{\n\n}",
1115       "memberOf" : "",
1116       "example" : "",
1117       "deprecated" : "",
1118       "since" : "",
1119       "see" : "",
1120       "params" : [
1121         {
1122           "name" : "this",
1123           "type" : "Roo.HtmlEditorCore",
1124           "desc" : "",
1125           "isOptional" : false
1126         }
1127       ],
1128       "returns" : []
1129     },
1130     {
1131       "name" : "beforesync",
1132       "type" : "function",
1133       "desc" : "Fires before the textarea is updated with content from the editor iframe. Return false\nto cancel the sync.",
1134       "sig" : "function (_self, html)\n{\n\n}",
1135       "memberOf" : "",
1136       "example" : "",
1137       "deprecated" : "",
1138       "since" : "",
1139       "see" : "",
1140       "params" : [
1141         {
1142           "name" : "this",
1143           "type" : "Roo.HtmlEditorCore",
1144           "desc" : "",
1145           "isOptional" : false
1146         },
1147         {
1148           "name" : "html",
1149           "type" : "String",
1150           "desc" : "",
1151           "isOptional" : false
1152         }
1153       ],
1154       "returns" : []
1155     },
1156     {
1157       "name" : "push",
1158       "type" : "function",
1159       "desc" : "Fires when the iframe editor is updated with content from the textarea.",
1160       "sig" : "function (_self, html)\n{\n\n}",
1161       "memberOf" : "",
1162       "example" : "",
1163       "deprecated" : "",
1164       "since" : "",
1165       "see" : "",
1166       "params" : [
1167         {
1168           "name" : "this",
1169           "type" : "Roo.HtmlEditorCore",
1170           "desc" : "",
1171           "isOptional" : false
1172         },
1173         {
1174           "name" : "html",
1175           "type" : "String",
1176           "desc" : "",
1177           "isOptional" : false
1178         }
1179       ],
1180       "returns" : []
1181     },
1182     {
1183       "name" : "sync",
1184       "type" : "function",
1185       "desc" : "Fires when the textarea is updated with content from the editor iframe.",
1186       "sig" : "function (_self, html)\n{\n\n}",
1187       "memberOf" : "",
1188       "example" : "",
1189       "deprecated" : "",
1190       "since" : "",
1191       "see" : "",
1192       "params" : [
1193         {
1194           "name" : "this",
1195           "type" : "Roo.HtmlEditorCore",
1196           "desc" : "",
1197           "isOptional" : false
1198         },
1199         {
1200           "name" : "html",
1201           "type" : "String",
1202           "desc" : "",
1203           "isOptional" : false
1204         }
1205       ],
1206       "returns" : []
1207     },
1208     {
1209       "name" : "change",
1210       "type" : "function",
1211       "desc" : "",
1212       "sig" : "function ()\n{\n\n}",
1213       "memberOf" : "",
1214       "example" : "",
1215       "deprecated" : "",
1216       "since" : "",
1217       "see" : "",
1218       "params" : [],
1219       "returns" : []
1220     },
1221     {
1222       "name" : "blur",
1223       "type" : "function",
1224       "desc" : "",
1225       "sig" : "function ()\n{\n\n}",
1226       "memberOf" : "",
1227       "example" : "",
1228       "deprecated" : "",
1229       "since" : "",
1230       "see" : "",
1231       "params" : [],
1232       "returns" : []
1233     },
1234     {
1235       "name" : "focus",
1236       "type" : "function",
1237       "desc" : "",
1238       "sig" : "function ()\n{\n\n}",
1239       "memberOf" : "",
1240       "example" : "",
1241       "deprecated" : "",
1242       "since" : "",
1243       "see" : "",
1244       "params" : [],
1245       "returns" : []
1246     },
1247     {
1248       "name" : "beforerender",
1249       "type" : "function",
1250       "desc" : "Fires before the component is rendered. Return false to stop the render.",
1251       "sig" : "function (_self)\n{\n\n}",
1252       "memberOf" : "Roo.Component",
1253       "example" : "",
1254       "deprecated" : "",
1255       "since" : "",
1256       "see" : "",
1257       "params" : [
1258         {
1259           "name" : "this",
1260           "type" : "Roo.Component",
1261           "desc" : "",
1262           "isOptional" : false
1263         }
1264       ],
1265       "returns" : []
1266     },
1267     {
1268       "name" : "disable",
1269       "type" : "function",
1270       "desc" : "Fires after the component is disabled.",
1271       "sig" : "function (_self)\n{\n\n}",
1272       "memberOf" : "Roo.Component",
1273       "example" : "",
1274       "deprecated" : "",
1275       "since" : "",
1276       "see" : "",
1277       "params" : [
1278         {
1279           "name" : "this",
1280           "type" : "Roo.Component",
1281           "desc" : "",
1282           "isOptional" : false
1283         }
1284       ],
1285       "returns" : []
1286     },
1287     {
1288       "name" : "render",
1289       "type" : "function",
1290       "desc" : "Fires after the component is rendered.",
1291       "sig" : "function (_self)\n{\n\n}",
1292       "memberOf" : "Roo.Component",
1293       "example" : "",
1294       "deprecated" : "",
1295       "since" : "",
1296       "see" : "",
1297       "params" : [
1298         {
1299           "name" : "this",
1300           "type" : "Roo.Component",
1301           "desc" : "",
1302           "isOptional" : false
1303         }
1304       ],
1305       "returns" : []
1306     },
1307     {
1308       "name" : "destroy",
1309       "type" : "function",
1310       "desc" : "Fires after the component is destroyed.",
1311       "sig" : "function (_self)\n{\n\n}",
1312       "memberOf" : "Roo.Component",
1313       "example" : "",
1314       "deprecated" : "",
1315       "since" : "",
1316       "see" : "",
1317       "params" : [
1318         {
1319           "name" : "this",
1320           "type" : "Roo.Component",
1321           "desc" : "",
1322           "isOptional" : false
1323         }
1324       ],
1325       "returns" : []
1326     },
1327     {
1328       "name" : "hide",
1329       "type" : "function",
1330       "desc" : "Fires after the component is hidden.",
1331       "sig" : "function (_self)\n{\n\n}",
1332       "memberOf" : "Roo.Component",
1333       "example" : "",
1334       "deprecated" : "",
1335       "since" : "",
1336       "see" : "",
1337       "params" : [
1338         {
1339           "name" : "this",
1340           "type" : "Roo.Component",
1341           "desc" : "",
1342           "isOptional" : false
1343         }
1344       ],
1345       "returns" : []
1346     },
1347     {
1348       "name" : "beforehide",
1349       "type" : "function",
1350       "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1351       "sig" : "function (_self)\n{\n\n}",
1352       "memberOf" : "Roo.Component",
1353       "example" : "",
1354       "deprecated" : "",
1355       "since" : "",
1356       "see" : "",
1357       "params" : [
1358         {
1359           "name" : "this",
1360           "type" : "Roo.Component",
1361           "desc" : "",
1362           "isOptional" : false
1363         }
1364       ],
1365       "returns" : []
1366     },
1367     {
1368       "name" : "show",
1369       "type" : "function",
1370       "desc" : "Fires after the component is shown.",
1371       "sig" : "function (_self)\n{\n\n}",
1372       "memberOf" : "Roo.Component",
1373       "example" : "",
1374       "deprecated" : "",
1375       "since" : "",
1376       "see" : "",
1377       "params" : [
1378         {
1379           "name" : "this",
1380           "type" : "Roo.Component",
1381           "desc" : "",
1382           "isOptional" : false
1383         }
1384       ],
1385       "returns" : []
1386     },
1387     {
1388       "name" : "beforeshow",
1389       "type" : "function",
1390       "desc" : "Fires before the component is shown.  Return false to stop the show.",
1391       "sig" : "function (_self)\n{\n\n}",
1392       "memberOf" : "Roo.Component",
1393       "example" : "",
1394       "deprecated" : "",
1395       "since" : "",
1396       "see" : "",
1397       "params" : [
1398         {
1399           "name" : "this",
1400           "type" : "Roo.Component",
1401           "desc" : "",
1402           "isOptional" : false
1403         }
1404       ],
1405       "returns" : []
1406     },
1407     {
1408       "name" : "enable",
1409       "type" : "function",
1410       "desc" : "Fires after the component is enabled.",
1411       "sig" : "function (_self)\n{\n\n}",
1412       "memberOf" : "Roo.Component",
1413       "example" : "",
1414       "deprecated" : "",
1415       "since" : "",
1416       "see" : "",
1417       "params" : [
1418         {
1419           "name" : "this",
1420           "type" : "Roo.Component",
1421           "desc" : "",
1422           "isOptional" : false
1423         }
1424       ],
1425       "returns" : []
1426     },
1427     {
1428       "name" : "beforedestroy",
1429       "type" : "function",
1430       "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1431       "sig" : "function (_self)\n{\n\n}",
1432       "memberOf" : "Roo.Component",
1433       "example" : "",
1434       "deprecated" : "",
1435       "since" : "",
1436       "see" : "",
1437       "params" : [
1438         {
1439           "name" : "this",
1440           "type" : "Roo.Component",
1441           "desc" : "",
1442           "isOptional" : false
1443         }
1444       ],
1445       "returns" : []
1446     }
1447   ]
1448 }