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