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