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