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