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