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