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