2 "name" : "Roo.bootstrap.UploadCropbox",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap UploadCropbox class",
16 "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>",
17 "memberOf" : "Roo.util.Observable",
24 "desc" : "Text for the tooltip",
25 "memberOf" : "Roo.bootstrap.Component",
30 "name" : "container_method",
32 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
33 "memberOf" : "Roo.bootstrap.Component",
38 "name" : "visibilityEl",
39 "type" : "string|object",
40 "desc" : "What element to use for visibility (@see getVisibilityEl())",
41 "memberOf" : "Roo.bootstrap.Component",
48 "name" : "errorTimeout",
50 "desc" : "default 3000",
51 "memberOf" : "Roo.bootstrap.UploadCropbox",
58 "desc" : "default ['rotateLeft', 'pictureBtn', 'rotateRight']",
59 "memberOf" : "Roo.bootstrap.UploadCropbox",
64 "name" : "can_build_overlaid",
66 "desc" : "True if element can be rebuild from a HTML page",
67 "memberOf" : "Roo.bootstrap.Component",
74 "desc" : "How this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
75 "memberOf" : "Roo.Component",
84 "desc" : "show when image has been loaded",
85 "memberOf" : "Roo.bootstrap.UploadCropbox",
92 "desc" : "default 300",
93 "memberOf" : "Roo.bootstrap.UploadCropbox",
100 "desc" : "default POST",
101 "memberOf" : "Roo.bootstrap.UploadCropbox",
108 "desc" : "any extra css",
109 "memberOf" : "Roo.bootstrap.Component",
114 "name" : "allowDomMove",
116 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
117 "memberOf" : "Roo.Component",
122 "name" : "paramName",
124 "desc" : "default 'imageUpload'",
125 "memberOf" : "Roo.bootstrap.UploadCropbox",
132 "desc" : "css class",
133 "memberOf" : "Roo.bootstrap.Component",
138 "name" : "minHeight",
140 "desc" : "default 300",
141 "memberOf" : "Roo.bootstrap.UploadCropbox",
146 "name" : "isDocument",
148 "desc" : "default false",
149 "memberOf" : "Roo.bootstrap.UploadCropbox",
158 "desc" : "default true",
159 "memberOf" : "Roo.bootstrap.UploadCropbox",
168 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
169 "memberOf" : "Roo.bootstrap.Component",
174 "name" : "actionMode",
176 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
177 "memberOf" : "Roo.Component",
184 "desc" : "cutomer id",
185 "memberOf" : "Roo.bootstrap.Component",
190 "name" : "rotateNotify",
192 "desc" : "show when image too small to rotate",
193 "memberOf" : "Roo.bootstrap.UploadCropbox",
200 "desc" : "action url",
201 "memberOf" : "Roo.bootstrap.UploadCropbox",
208 "desc" : "Specifies name attribute",
209 "memberOf" : "Roo.bootstrap.Component",
214 "name" : "disableClass",
216 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
217 "memberOf" : "Roo.Component",
222 "name" : "loadingText",
224 "desc" : "default 'Loading...'",
225 "memberOf" : "Roo.bootstrap.UploadCropbox",
232 "name" : "tooltipEl",
233 "desc" : "Fetch the element to display the tooltip on.",
235 "isConstructor" : false,
237 "memberOf" : "Roo.bootstrap.Component",
247 "type" : "Roo.Element",
248 "desc" : "defaults to this.el"
254 "desc" : "Hide a component - adds 'hidden' class",
256 "isConstructor" : false,
258 "memberOf" : "Roo.bootstrap.Component",
270 "desc" : "Show a component - removes 'hidden' class",
272 "isConstructor" : false,
274 "memberOf" : "Roo.bootstrap.Component",
285 "name" : "setVisibilityEl",
286 "desc" : "Set the element that will be used to show or hide",
288 "isConstructor" : false,
290 "memberOf" : "Roo.bootstrap.Component",
301 "name" : "getVisibilityEl",
302 "desc" : "Get the element that will be used to show or hide",
304 "isConstructor" : false,
306 "memberOf" : "Roo.bootstrap.Component",
317 "name" : "initEvents",
318 "desc" : "Initialize Events for the element",
320 "isConstructor" : false,
322 "memberOf" : "Roo.bootstrap.Component",
333 "name" : "getChildContainer",
334 "desc" : "Fetch the element to add children to",
336 "isConstructor" : false,
338 "memberOf" : "Roo.bootstrap.Component",
348 "type" : "Roo.Element",
349 "desc" : "defaults to this.el"
355 "desc" : "Returns the id of this component.",
357 "isConstructor" : false,
359 "memberOf" : "Roo.Component",
376 "desc" : "If this is a lazy rendering component, render it to its container element.",
378 "isConstructor" : false,
380 "memberOf" : "Roo.Component",
387 "name" : "container",
388 "type" : "String/HTMLElement/Element",
389 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
398 "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}.",
400 "isConstructor" : false,
402 "memberOf" : "Roo.Component",
413 "name" : "isVisible",
414 "desc" : "Returns true if this component is visible.",
416 "isConstructor" : false,
418 "memberOf" : "Roo.Component",
429 "name" : "setDisabled",
430 "desc" : "Convenience function for setting disabled/enabled by boolean.",
432 "isConstructor" : false,
434 "memberOf" : "Roo.Component",
452 "desc" : "Try to focus this component.",
454 "isConstructor" : false,
456 "memberOf" : "Roo.Component",
463 "name" : "selectText",
465 "desc" : "True to also select the text in this component (if applicable)",
472 "type" : "Roo.Component",
479 "desc" : "Enable this component.",
481 "isConstructor" : false,
483 "memberOf" : "Roo.Component",
493 "type" : "Roo.Component",
499 "name" : "setVisible",
500 "desc" : "Convenience function to hide or show this component by boolean.",
502 "isConstructor" : false,
504 "memberOf" : "Roo.Component",
513 "desc" : "True to show, false to hide",
520 "type" : "Roo.Component",
527 "desc" : "Disable this component.",
529 "isConstructor" : false,
531 "memberOf" : "Roo.Component",
541 "type" : "Roo.Component",
548 "desc" : "Returns the underlying {@link Roo.Element}.",
550 "isConstructor" : false,
552 "memberOf" : "Roo.Component",
562 "type" : "Roo.Element",
563 "desc" : "The element"
568 "name" : "purgeListeners",
569 "desc" : "Removes all listeners for this object",
571 "isConstructor" : false,
573 "memberOf" : "Roo.util.Observable",
585 "desc" : "Appends an event handler to this element (shorthand for addListener)",
587 "isConstructor" : false,
589 "memberOf" : "Roo.util.Observable",
596 "name" : "eventName",
598 "desc" : "The type of event to listen for",
604 "desc" : "The method the event invokes",
610 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
616 "desc" : "(optional)",
625 "desc" : "Removes a listener (shorthand for removeListener)",
627 "isConstructor" : false,
629 "memberOf" : "Roo.util.Observable",
636 "name" : "eventName",
638 "desc" : "The type of event to listen for",
644 "desc" : "The handler to remove",
650 "desc" : "(optional) The scope (this object) for the handler",
658 "name" : "addEvents",
659 "desc" : "Used to define events on this Observable",
661 "isConstructor" : false,
663 "memberOf" : "Roo.util.Observable",
672 "desc" : "The object with the events defined",
680 "name" : "releaseCapture",
681 "desc" : "Removes <b>all</b> added captures from the Observable.",
683 "isConstructor" : false,
685 "memberOf" : "Roo.util.Observable",
693 "type" : "Observable",
694 "desc" : "The Observable to release",
702 "name" : "removeListener",
703 "desc" : "Removes a listener",
705 "isConstructor" : false,
707 "memberOf" : "Roo.util.Observable",
714 "name" : "eventName",
716 "desc" : "The type of event to listen for",
722 "desc" : "The handler to remove",
728 "desc" : "(optional) The scope (this object) for the handler",
736 "name" : "fireEvent",
737 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
739 "isConstructor" : false,
741 "memberOf" : "Roo.util.Observable",
748 "name" : "eventName",
755 "type" : "Object...",
756 "desc" : "Variable number of parameters are passed to handlers",
764 "desc" : "returns false if any of the handlers return false otherwise it returns true"
769 "name" : "hasListener",
770 "desc" : "Checks to see if this object has any listeners for a specified event",
772 "isConstructor" : false,
774 "memberOf" : "Roo.util.Observable",
781 "name" : "eventName",
783 "desc" : "The name of the event to check for",
791 "desc" : "True if the event is being listened for, else false"
797 "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.",
799 "isConstructor" : false,
801 "memberOf" : "Roo.util.Observable",
809 "type" : "Observable",
810 "desc" : "The Observable to capture",
816 "desc" : "The function to call",
822 "desc" : "(optional) The scope (this object) for the fn",
830 "name" : "addListener",
831 "desc" : "Appends an event handler to this component",
833 "isConstructor" : false,
835 "memberOf" : "Roo.util.Observable",
842 "name" : "eventName",
844 "desc" : "The type of event to listen for",
850 "desc" : "The method the event invokes",
856 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
862 "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>",
873 "desc" : "Fire when arrange the file data",
882 "type" : "Roo.bootstrap.UploadCropbox",
898 "desc" : "Fire when inspect the file",
907 "type" : "Roo.bootstrap.UploadCropbox",
923 "desc" : "Fire after initEvent",
932 "type" : "Roo.bootstrap.UploadCropbox",
948 "desc" : "Fire when xhr upload the file",
957 "type" : "Roo.bootstrap.UploadCropbox",
973 "desc" : "Fire after initEvent",
982 "type" : "Roo.bootstrap.UploadCropbox",
992 "desc" : "Fire when resize",
1001 "type" : "Roo.bootstrap.UploadCropbox",
1003 "isOptional" : false
1011 "desc" : "Fire when rotate the image",
1020 "type" : "Roo.bootstrap.UploadCropbox",
1022 "isOptional" : false
1028 "isOptional" : false
1036 "desc" : "Fire when preparing the file data",
1045 "type" : "Roo.bootstrap.UploadCropbox",
1047 "isOptional" : false
1053 "isOptional" : false
1060 "name" : "beforeloadcanvas",
1061 "desc" : "Fire before load the canvas",
1070 "type" : "Roo.bootstrap.UploadCropbox",
1072 "isOptional" : false
1078 "isOptional" : false
1086 "desc" : "Fire when trash image",
1095 "type" : "Roo.bootstrap.UploadCropbox",
1097 "isOptional" : false
1104 "name" : "beforeselectfile",
1105 "desc" : "Fire before select file",
1114 "type" : "Roo.bootstrap.UploadCropbox",
1116 "isOptional" : false
1123 "name" : "footerbuttonclick",
1124 "desc" : "Fire when footerbuttonclick",
1133 "type" : "Roo.bootstrap.UploadCropbox",
1135 "isOptional" : false
1141 "isOptional" : false
1148 "name" : "exception",
1149 "desc" : "Fire when get exception",
1158 "type" : "Roo.bootstrap.UploadCropbox",
1160 "isOptional" : false
1164 "type" : "XMLHttpRequest",
1166 "isOptional" : false
1173 "name" : "download",
1174 "desc" : "Fire when download the image",
1183 "type" : "Roo.bootstrap.UploadCropbox",
1185 "isOptional" : false
1192 "name" : "childrenrendered",
1193 "desc" : "Fires when the children have been rendered..",
1194 "memberOf" : "Roo.bootstrap.Component",
1202 "type" : "Roo.bootstrap.Component",
1204 "isOptional" : false
1211 "name" : "beforerender",
1212 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1213 "memberOf" : "Roo.Component",
1221 "type" : "Roo.Component",
1223 "isOptional" : false
1231 "desc" : "Fires after the component is disabled.",
1232 "memberOf" : "Roo.Component",
1240 "type" : "Roo.Component",
1242 "isOptional" : false
1250 "desc" : "Fires after the component is rendered.",
1251 "memberOf" : "Roo.Component",
1259 "type" : "Roo.Component",
1261 "isOptional" : false
1269 "desc" : "Fires after the component is destroyed.",
1270 "memberOf" : "Roo.Component",
1278 "type" : "Roo.Component",
1280 "isOptional" : false
1288 "desc" : "Fires after the component is hidden.",
1289 "memberOf" : "Roo.Component",
1297 "type" : "Roo.Component",
1299 "isOptional" : false
1306 "name" : "beforehide",
1307 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1308 "memberOf" : "Roo.Component",
1316 "type" : "Roo.Component",
1318 "isOptional" : false
1326 "desc" : "Fires after the component is shown.",
1327 "memberOf" : "Roo.Component",
1335 "type" : "Roo.Component",
1337 "isOptional" : false
1344 "name" : "beforeshow",
1345 "desc" : "Fires before the component is shown. Return false to stop the show.",
1346 "memberOf" : "Roo.Component",
1354 "type" : "Roo.Component",
1356 "isOptional" : false
1364 "desc" : "Fires after the component is enabled.",
1365 "memberOf" : "Roo.Component",
1373 "type" : "Roo.Component",
1375 "isOptional" : false
1382 "name" : "beforedestroy",
1383 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1384 "memberOf" : "Roo.Component",
1392 "type" : "Roo.Component",
1394 "isOptional" : false