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