2 "name" : "Roo.bootstrap.UploadCropbox",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap UploadCropbox class",
12 "memberOf" : "UploadCropbox",
21 "desc" : "The config object",
32 "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>",
33 "memberOf" : "Roo.util.Observable"
38 "desc" : "Text for the tooltip",
39 "memberOf" : "Roo.bootstrap.Component"
42 "name" : "container_method",
44 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
45 "memberOf" : "Roo.bootstrap.Component"
48 "name" : "visibilityEl",
49 "type" : "string|object",
50 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
51 "memberOf" : "Roo.bootstrap.Component"
54 "name" : "errorTimeout",
56 "desc" : "default 3000",
62 "desc" : "default ['rotateLeft', 'pictureBtn', 'rotateRight']",
66 "name" : "can_build_overlaid",
68 "desc" : "True if element can be rebuild from a HTML page",
69 "memberOf" : "Roo.bootstrap.Component"
74 "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\".",
75 "memberOf" : "Roo.Component"
80 "desc" : "show when image has been loaded",
86 "desc" : "default 300",
92 "desc" : "default POST",
98 "desc" : "any extra css",
99 "memberOf" : "Roo.bootstrap.Component"
102 "name" : "allowDomMove",
104 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
105 "memberOf" : "Roo.Component"
108 "name" : "paramName",
110 "desc" : "default 'imageUpload'",
116 "desc" : "css class",
117 "memberOf" : "Roo.bootstrap.Component"
120 "name" : "minHeight",
122 "desc" : "default 300",
126 "name" : "isDocument",
128 "desc" : "e) default false",
134 "desc" : "e) default true",
140 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
141 "memberOf" : "Roo.bootstrap.Component"
144 "name" : "actionMode",
146 "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",
147 "memberOf" : "Roo.Component"
152 "desc" : "cutomer id",
153 "memberOf" : "Roo.bootstrap.Component"
156 "name" : "rotateNotify",
158 "desc" : "show when image too small to rotate",
164 "desc" : "action url",
170 "desc" : "Specifies name attribute",
171 "memberOf" : "Roo.bootstrap.Component"
174 "name" : "disableClass",
176 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
177 "memberOf" : "Roo.Component"
180 "name" : "loadingText",
182 "desc" : "default 'Loading...'",
188 "name" : "tooltipEl",
190 "desc" : "Fetch the element to display the tooltip on.",
191 "sig" : "()\n{\n\n}",
193 "memberOf" : "Roo.bootstrap.Component",
195 "isConstructor" : false,
207 "type" : "Roo.Element",
208 "desc" : "defaults to this.el"
215 "desc" : "Hide a component - adds 'hidden' class",
216 "sig" : "()\n{\n\n}",
218 "memberOf" : "Roo.bootstrap.Component",
220 "isConstructor" : false,
234 "desc" : "Show a component - removes 'hidden' class",
235 "sig" : "()\n{\n\n}",
237 "memberOf" : "Roo.bootstrap.Component",
239 "isConstructor" : false,
251 "name" : "setVisibilityEl",
253 "desc" : "Set the element that will be used to show or hide",
254 "sig" : "()\n{\n\n}",
256 "memberOf" : "Roo.bootstrap.Component",
258 "isConstructor" : false,
270 "name" : "getVisibilityEl",
272 "desc" : "Get the element that will be used to show or hide",
273 "sig" : "()\n{\n\n}",
275 "memberOf" : "Roo.bootstrap.Component",
277 "isConstructor" : false,
289 "name" : "initEvents",
291 "desc" : "Initialize Events for the element",
292 "sig" : "()\n{\n\n}",
294 "memberOf" : "Roo.bootstrap.Component",
296 "isConstructor" : false,
308 "name" : "getChildContainer",
310 "desc" : "Fetch the element to add children to",
311 "sig" : "()\n{\n\n}",
313 "memberOf" : "Roo.bootstrap.Component",
315 "isConstructor" : false,
327 "type" : "Roo.Element",
328 "desc" : "defaults to this.el"
335 "desc" : "Returns the id of this component.",
336 "sig" : "()\n{\n\n}",
338 "memberOf" : "Roo.Component",
340 "isConstructor" : false,
360 "desc" : "If this is a lazy rendering component, render it to its container element.",
361 "sig" : "(container)",
363 "memberOf" : "Roo.Component",
365 "isConstructor" : false,
375 "name" : "container",
376 "type" : "String/HTMLElement/Element",
377 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
386 "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}.",
387 "sig" : "()\n{\n\n}",
389 "memberOf" : "Roo.Component",
391 "isConstructor" : false,
403 "name" : "isVisible",
405 "desc" : "Returns true if this component is visible.",
406 "sig" : "()\n{\n\n}",
408 "memberOf" : "Roo.Component",
410 "isConstructor" : false,
422 "name" : "setDisabled",
424 "desc" : "Convenience function for setting disabled/enabled by boolean.",
425 "sig" : "(disabled)",
427 "memberOf" : "Roo.Component",
429 "isConstructor" : false,
450 "desc" : "Try to focus this component.",
451 "sig" : "(selectText)",
453 "memberOf" : "Roo.Component",
455 "isConstructor" : false,
465 "name" : "selectText",
467 "desc" : "True to also select the text in this component (if applicable)",
474 "type" : "Roo.Component",
482 "desc" : "Enable this component.",
483 "sig" : "()\n{\n\n}",
485 "memberOf" : "Roo.Component",
487 "isConstructor" : false,
499 "type" : "Roo.Component",
505 "name" : "setVisible",
507 "desc" : "Convenience function to hide or show this component by boolean.",
510 "memberOf" : "Roo.Component",
512 "isConstructor" : false,
524 "desc" : "True to show, false to hide",
531 "type" : "Roo.Component",
539 "desc" : "Disable this component.",
540 "sig" : "()\n{\n\n}",
542 "memberOf" : "Roo.Component",
544 "isConstructor" : false,
556 "type" : "Roo.Component",
564 "desc" : "Returns the underlying {@link Roo.Element}.",
565 "sig" : "()\n{\n\n}",
567 "memberOf" : "Roo.Component",
569 "isConstructor" : false,
581 "type" : "Roo.Element",
582 "desc" : "The element"
587 "name" : "purgeListeners",
589 "desc" : "Removes all listeners for this object",
590 "sig" : "()\n{\n\n}",
592 "memberOf" : "Roo.util.Observable",
594 "isConstructor" : false,
608 "desc" : "Appends an event handler to this element (shorthand for addListener)",
609 "sig" : "(eventName, handler, scope, options)",
611 "memberOf" : "Roo.util.Observable",
613 "isConstructor" : false,
623 "name" : "eventName",
625 "desc" : "The type of event to listen for",
631 "desc" : "The method the event invokes",
637 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
643 "desc" : "(optional)",
652 "desc" : "Removes a listener (shorthand for removeListener)",
653 "sig" : "(eventName, handler, scope)",
655 "memberOf" : "Roo.util.Observable",
657 "isConstructor" : false,
667 "name" : "eventName",
669 "desc" : "The type of event to listen for",
675 "desc" : "The handler to remove",
681 "desc" : "(optional) The scope (this object) for the handler",
688 "name" : "addEvents",
690 "desc" : "Used to define events on this Observable",
693 "memberOf" : "Roo.util.Observable",
695 "isConstructor" : false,
707 "desc" : "The object with the events defined",
714 "name" : "releaseCapture",
716 "desc" : "Removes <b>all</b> added captures from the Observable.",
719 "memberOf" : "Roo.util.Observable",
721 "isConstructor" : false,
732 "type" : "Observable",
733 "desc" : "The Observable to release",
740 "name" : "removeListener",
742 "desc" : "Removes a listener",
743 "sig" : "(eventName, handler, scope)",
745 "memberOf" : "Roo.util.Observable",
747 "isConstructor" : false,
757 "name" : "eventName",
759 "desc" : "The type of event to listen for",
765 "desc" : "The handler to remove",
771 "desc" : "(optional) The scope (this object) for the handler",
778 "name" : "fireEvent",
780 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
781 "sig" : "(eventName, args)",
783 "memberOf" : "Roo.util.Observable",
785 "isConstructor" : false,
795 "name" : "eventName",
802 "type" : "Object...",
803 "desc" : "Variable number of parameters are passed to handlers",
811 "desc" : "returns false if any of the handlers return false otherwise it returns true"
816 "name" : "hasListener",
818 "desc" : "Checks to see if this object has any listeners for a specified event",
819 "sig" : "(eventName)",
821 "memberOf" : "Roo.util.Observable",
823 "isConstructor" : false,
833 "name" : "eventName",
835 "desc" : "The name of the event to check for",
843 "desc" : "True if the event is being listened for, else false"
850 "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.",
851 "sig" : "(o, fn, scope)",
853 "memberOf" : "Roo.util.Observable",
855 "isConstructor" : false,
866 "type" : "Observable",
867 "desc" : "The Observable to capture",
873 "desc" : "The function to call",
879 "desc" : "(optional) The scope (this object) for the fn",
886 "name" : "addListener",
888 "desc" : "Appends an event handler to this component",
889 "sig" : "(eventName, handler, scope, options)",
891 "memberOf" : "Roo.util.Observable",
893 "isConstructor" : false,
903 "name" : "eventName",
905 "desc" : "The type of event to listen for",
911 "desc" : "The method the event invokes",
917 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
923 "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>",
934 "desc" : "Fire when arrange the file data",
935 "sig" : "function (_self, formData)\n{\n\n}",
944 "type" : "Roo.bootstrap.UploadCropbox",
960 "desc" : "Fire when inspect the file",
961 "sig" : "function (_self, file)\n{\n\n}",
970 "type" : "Roo.bootstrap.UploadCropbox",
986 "desc" : "Fire after initEvent",
987 "sig" : "function (_self, data)\n{\n\n}",
996 "type" : "Roo.bootstrap.UploadCropbox",
1004 "isOptional" : false
1011 "type" : "function",
1012 "desc" : "Fire when xhr upload the file",
1013 "sig" : "function (_self, data)\n{\n\n}",
1022 "type" : "Roo.bootstrap.UploadCropbox",
1024 "isOptional" : false
1030 "isOptional" : false
1037 "type" : "function",
1038 "desc" : "Fire after initEvent",
1039 "sig" : "function (_self)\n{\n\n}",
1048 "type" : "Roo.bootstrap.UploadCropbox",
1050 "isOptional" : false
1057 "type" : "function",
1058 "desc" : "Fire when resize",
1059 "sig" : "function (_self)\n{\n\n}",
1068 "type" : "Roo.bootstrap.UploadCropbox",
1070 "isOptional" : false
1077 "type" : "function",
1078 "desc" : "Fire when rotate the image",
1079 "sig" : "function (_self, pos)\n{\n\n}",
1088 "type" : "Roo.bootstrap.UploadCropbox",
1090 "isOptional" : false
1096 "isOptional" : false
1103 "type" : "function",
1104 "desc" : "Fire when preparing the file data",
1105 "sig" : "function (_self, file)\n{\n\n}",
1114 "type" : "Roo.bootstrap.UploadCropbox",
1116 "isOptional" : false
1122 "isOptional" : false
1128 "name" : "beforeloadcanvas",
1129 "type" : "function",
1130 "desc" : "Fire before load the canvas",
1131 "sig" : "function (_self, src)\n{\n\n}",
1140 "type" : "Roo.bootstrap.UploadCropbox",
1142 "isOptional" : false
1148 "isOptional" : false
1155 "type" : "function",
1156 "desc" : "Fire when trash image",
1157 "sig" : "function (_self)\n{\n\n}",
1166 "type" : "Roo.bootstrap.UploadCropbox",
1168 "isOptional" : false
1174 "name" : "beforeselectfile",
1175 "type" : "function",
1176 "desc" : "Fire before select file",
1177 "sig" : "function (_self)\n{\n\n}",
1186 "type" : "Roo.bootstrap.UploadCropbox",
1188 "isOptional" : false
1194 "name" : "footerbuttonclick",
1195 "type" : "function",
1196 "desc" : "Fire when footerbuttonclick",
1197 "sig" : "function (_self, type)\n{\n\n}",
1206 "type" : "Roo.bootstrap.UploadCropbox",
1208 "isOptional" : false
1214 "isOptional" : false
1220 "name" : "exception",
1221 "type" : "function",
1222 "desc" : "Fire when get exception",
1223 "sig" : "function (_self, xhr)\n{\n\n}",
1232 "type" : "Roo.bootstrap.UploadCropbox",
1234 "isOptional" : false
1238 "type" : "XMLHttpRequest",
1240 "isOptional" : false
1246 "name" : "download",
1247 "type" : "function",
1248 "desc" : "Fire when download the image",
1249 "sig" : "function (_self)\n{\n\n}",
1258 "type" : "Roo.bootstrap.UploadCropbox",
1260 "isOptional" : false
1266 "name" : "childrenrendered",
1267 "type" : "function",
1268 "desc" : "Fires when the children have been rendered..",
1269 "sig" : "function (_self)\n{\n\n}",
1270 "memberOf" : "Roo.bootstrap.Component",
1278 "type" : "Roo.bootstrap.Component",
1280 "isOptional" : false
1286 "name" : "beforerender",
1287 "type" : "function",
1288 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1289 "sig" : "function (_self)\n{\n\n}",
1290 "memberOf" : "Roo.Component",
1298 "type" : "Roo.Component",
1300 "isOptional" : false
1307 "type" : "function",
1308 "desc" : "Fires after the component is disabled.",
1309 "sig" : "function (_self)\n{\n\n}",
1310 "memberOf" : "Roo.Component",
1318 "type" : "Roo.Component",
1320 "isOptional" : false
1327 "type" : "function",
1328 "desc" : "Fires after the component is rendered.",
1329 "sig" : "function (_self)\n{\n\n}",
1330 "memberOf" : "Roo.Component",
1338 "type" : "Roo.Component",
1340 "isOptional" : false
1347 "type" : "function",
1348 "desc" : "Fires after the component is destroyed.",
1349 "sig" : "function (_self)\n{\n\n}",
1350 "memberOf" : "Roo.Component",
1358 "type" : "Roo.Component",
1360 "isOptional" : false
1367 "type" : "function",
1368 "desc" : "Fires after the component is hidden.",
1369 "sig" : "function (_self)\n{\n\n}",
1370 "memberOf" : "Roo.Component",
1378 "type" : "Roo.Component",
1380 "isOptional" : false
1386 "name" : "beforehide",
1387 "type" : "function",
1388 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1389 "sig" : "function (_self)\n{\n\n}",
1390 "memberOf" : "Roo.Component",
1398 "type" : "Roo.Component",
1400 "isOptional" : false
1407 "type" : "function",
1408 "desc" : "Fires after the component is shown.",
1409 "sig" : "function (_self)\n{\n\n}",
1410 "memberOf" : "Roo.Component",
1418 "type" : "Roo.Component",
1420 "isOptional" : false
1426 "name" : "beforeshow",
1427 "type" : "function",
1428 "desc" : "Fires before the component is shown. Return false to stop the show.",
1429 "sig" : "function (_self)\n{\n\n}",
1430 "memberOf" : "Roo.Component",
1438 "type" : "Roo.Component",
1440 "isOptional" : false
1447 "type" : "function",
1448 "desc" : "Fires after the component is enabled.",
1449 "sig" : "function (_self)\n{\n\n}",
1450 "memberOf" : "Roo.Component",
1458 "type" : "Roo.Component",
1460 "isOptional" : false
1466 "name" : "beforedestroy",
1467 "type" : "function",
1468 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1469 "sig" : "function (_self)\n{\n\n}",
1470 "memberOf" : "Roo.Component",
1478 "type" : "Roo.Component",
1480 "isOptional" : false