2 "name" : "Roo.bootstrap.UploadCropbox",
4 "Roo.bootstrap.Component",
9 "desc" : "Bootstrap UploadCropbox class",
10 "isSingleton" : false,
13 "memberOf" : "UploadCropbox",
22 "desc" : "The config object",
33 "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>",
34 "memberOf" : "Roo.util.Observable"
39 "desc" : "Text for the tooltip",
40 "memberOf" : "Roo.bootstrap.Component"
43 "name" : "container_method",
45 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
46 "memberOf" : "Roo.bootstrap.Component"
49 "name" : "visibilityEl",
50 "type" : "string|object",
51 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
52 "memberOf" : "Roo.bootstrap.Component"
55 "name" : "errorTimeout",
57 "desc" : "default 3000",
63 "desc" : "default ['rotateLeft', 'pictureBtn', 'rotateRight']",
67 "name" : "can_build_overlaid",
69 "desc" : "True if element can be rebuild from a HTML page",
70 "memberOf" : "Roo.bootstrap.Component"
75 "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\".",
76 "memberOf" : "Roo.Component"
81 "desc" : "show when image has been loaded",
87 "desc" : "default 300",
93 "desc" : "default POST",
99 "desc" : "any extra css",
100 "memberOf" : "Roo.bootstrap.Component"
103 "name" : "allowDomMove",
105 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
106 "memberOf" : "Roo.Component"
109 "name" : "paramName",
111 "desc" : "default 'imageUpload'",
117 "desc" : "css class",
118 "memberOf" : "Roo.bootstrap.Component"
121 "name" : "minHeight",
123 "desc" : "default 300",
127 "name" : "isDocument",
129 "desc" : "e) default false",
135 "desc" : "e) default true",
141 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
142 "memberOf" : "Roo.bootstrap.Component"
145 "name" : "actionMode",
147 "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",
148 "memberOf" : "Roo.Component"
153 "desc" : "cutomer id",
154 "memberOf" : "Roo.bootstrap.Component"
157 "name" : "rotateNotify",
159 "desc" : "show when image too small to rotate",
165 "desc" : "action url",
171 "desc" : "Specifies name attribute",
172 "memberOf" : "Roo.bootstrap.Component"
175 "name" : "disableClass",
177 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
178 "memberOf" : "Roo.Component"
181 "name" : "loadingText",
183 "desc" : "default 'Loading...'",
189 "name" : "tooltipEl",
191 "desc" : "Fetch the element to display the tooltip on.",
192 "sig" : "()\n{\n\n}",
194 "memberOf" : "Roo.bootstrap.Component",
196 "isConstructor" : false,
208 "type" : "Roo.Element",
209 "desc" : "defaults to this.el"
216 "desc" : "Hide a component - adds 'hidden' class",
217 "sig" : "()\n{\n\n}",
219 "memberOf" : "Roo.bootstrap.Component",
221 "isConstructor" : false,
235 "desc" : "Show a component - removes 'hidden' class",
236 "sig" : "()\n{\n\n}",
238 "memberOf" : "Roo.bootstrap.Component",
240 "isConstructor" : false,
252 "name" : "setVisibilityEl",
254 "desc" : "Set the element that will be used to show or hide",
255 "sig" : "()\n{\n\n}",
257 "memberOf" : "Roo.bootstrap.Component",
259 "isConstructor" : false,
271 "name" : "getVisibilityEl",
273 "desc" : "Get the element that will be used to show or hide",
274 "sig" : "()\n{\n\n}",
276 "memberOf" : "Roo.bootstrap.Component",
278 "isConstructor" : false,
290 "name" : "initEvents",
292 "desc" : "Initialize Events for the element",
293 "sig" : "()\n{\n\n}",
295 "memberOf" : "Roo.bootstrap.Component",
297 "isConstructor" : false,
309 "name" : "getChildContainer",
311 "desc" : "Fetch the element to add children to",
312 "sig" : "()\n{\n\n}",
314 "memberOf" : "Roo.bootstrap.Component",
316 "isConstructor" : false,
328 "type" : "Roo.Element",
329 "desc" : "defaults to this.el"
336 "desc" : "Returns the id of this component.",
337 "sig" : "()\n{\n\n}",
339 "memberOf" : "Roo.Component",
341 "isConstructor" : false,
361 "desc" : "If this is a lazy rendering component, render it to its container element.",
362 "sig" : "(container)",
364 "memberOf" : "Roo.Component",
366 "isConstructor" : false,
376 "name" : "container",
377 "type" : "String/HTMLElement/Element",
378 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
387 "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}.",
388 "sig" : "()\n{\n\n}",
390 "memberOf" : "Roo.Component",
392 "isConstructor" : false,
404 "name" : "isVisible",
406 "desc" : "Returns true if this component is visible.",
407 "sig" : "()\n{\n\n}",
409 "memberOf" : "Roo.Component",
411 "isConstructor" : false,
423 "name" : "setDisabled",
425 "desc" : "Convenience function for setting disabled/enabled by boolean.",
426 "sig" : "(disabled)",
428 "memberOf" : "Roo.Component",
430 "isConstructor" : false,
451 "desc" : "Try to focus this component.",
452 "sig" : "(selectText)",
454 "memberOf" : "Roo.Component",
456 "isConstructor" : false,
466 "name" : "selectText",
468 "desc" : "True to also select the text in this component (if applicable)",
475 "type" : "Roo.Component",
483 "desc" : "Enable this component.",
484 "sig" : "()\n{\n\n}",
486 "memberOf" : "Roo.Component",
488 "isConstructor" : false,
500 "type" : "Roo.Component",
506 "name" : "setVisible",
508 "desc" : "Convenience function to hide or show this component by boolean.",
511 "memberOf" : "Roo.Component",
513 "isConstructor" : false,
525 "desc" : "True to show, false to hide",
532 "type" : "Roo.Component",
540 "desc" : "Disable this component.",
541 "sig" : "()\n{\n\n}",
543 "memberOf" : "Roo.Component",
545 "isConstructor" : false,
557 "type" : "Roo.Component",
565 "desc" : "Returns the underlying {@link Roo.Element}.",
566 "sig" : "()\n{\n\n}",
568 "memberOf" : "Roo.Component",
570 "isConstructor" : false,
582 "type" : "Roo.Element",
583 "desc" : "The element"
588 "name" : "purgeListeners",
590 "desc" : "Removes all listeners for this object",
591 "sig" : "()\n{\n\n}",
593 "memberOf" : "Roo.util.Observable",
595 "isConstructor" : false,
609 "desc" : "Appends an event handler to this element (shorthand for addListener)",
610 "sig" : "(eventName, handler, scope, options)",
612 "memberOf" : "Roo.util.Observable",
614 "isConstructor" : false,
624 "name" : "eventName",
626 "desc" : "The type of event to listen for",
632 "desc" : "The method the event invokes",
638 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
644 "desc" : "(optional)",
653 "desc" : "Removes a listener (shorthand for removeListener)",
654 "sig" : "(eventName, handler, scope)",
656 "memberOf" : "Roo.util.Observable",
658 "isConstructor" : false,
668 "name" : "eventName",
670 "desc" : "The type of event to listen for",
676 "desc" : "The handler to remove",
682 "desc" : "(optional) The scope (this object) for the handler",
689 "name" : "addEvents",
691 "desc" : "Used to define events on this Observable",
694 "memberOf" : "Roo.util.Observable",
696 "isConstructor" : false,
708 "desc" : "The object with the events defined",
715 "name" : "releaseCapture",
717 "desc" : "Removes <b>all</b> added captures from the Observable.",
720 "memberOf" : "Roo.util.Observable",
722 "isConstructor" : false,
733 "type" : "Observable",
734 "desc" : "The Observable to release",
741 "name" : "removeListener",
743 "desc" : "Removes a listener",
744 "sig" : "(eventName, handler, scope)",
746 "memberOf" : "Roo.util.Observable",
748 "isConstructor" : false,
758 "name" : "eventName",
760 "desc" : "The type of event to listen for",
766 "desc" : "The handler to remove",
772 "desc" : "(optional) The scope (this object) for the handler",
779 "name" : "fireEvent",
781 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
782 "sig" : "(eventName, args)",
784 "memberOf" : "Roo.util.Observable",
786 "isConstructor" : false,
796 "name" : "eventName",
803 "type" : "Object...",
804 "desc" : "Variable number of parameters are passed to handlers",
812 "desc" : "returns false if any of the handlers return false otherwise it returns true"
817 "name" : "hasListener",
819 "desc" : "Checks to see if this object has any listeners for a specified event",
820 "sig" : "(eventName)",
822 "memberOf" : "Roo.util.Observable",
824 "isConstructor" : false,
834 "name" : "eventName",
836 "desc" : "The name of the event to check for",
844 "desc" : "True if the event is being listened for, else false"
851 "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.",
852 "sig" : "(o, fn, scope)",
854 "memberOf" : "Roo.util.Observable",
856 "isConstructor" : false,
867 "type" : "Observable",
868 "desc" : "The Observable to capture",
874 "desc" : "The function to call",
880 "desc" : "(optional) The scope (this object) for the fn",
887 "name" : "addListener",
889 "desc" : "Appends an event handler to this component",
890 "sig" : "(eventName, handler, scope, options)",
892 "memberOf" : "Roo.util.Observable",
894 "isConstructor" : false,
904 "name" : "eventName",
906 "desc" : "The type of event to listen for",
912 "desc" : "The method the event invokes",
918 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
924 "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>",
935 "desc" : "Fire when arrange the file data",
936 "sig" : "function (_self, formData)\n{\n\n}",
945 "type" : "Roo.bootstrap.UploadCropbox",
961 "desc" : "Fire when inspect the file",
962 "sig" : "function (_self, file)\n{\n\n}",
971 "type" : "Roo.bootstrap.UploadCropbox",
987 "desc" : "Fire after initEvent",
988 "sig" : "function (_self, data)\n{\n\n}",
997 "type" : "Roo.bootstrap.UploadCropbox",
1005 "isOptional" : false
1012 "type" : "function",
1013 "desc" : "Fire when xhr upload the file",
1014 "sig" : "function (_self, data)\n{\n\n}",
1023 "type" : "Roo.bootstrap.UploadCropbox",
1025 "isOptional" : false
1031 "isOptional" : false
1038 "type" : "function",
1039 "desc" : "Fire after initEvent",
1040 "sig" : "function (_self)\n{\n\n}",
1049 "type" : "Roo.bootstrap.UploadCropbox",
1051 "isOptional" : false
1058 "type" : "function",
1059 "desc" : "Fire when resize",
1060 "sig" : "function (_self)\n{\n\n}",
1069 "type" : "Roo.bootstrap.UploadCropbox",
1071 "isOptional" : false
1078 "type" : "function",
1079 "desc" : "Fire when rotate the image",
1080 "sig" : "function (_self, pos)\n{\n\n}",
1089 "type" : "Roo.bootstrap.UploadCropbox",
1091 "isOptional" : false
1097 "isOptional" : false
1104 "type" : "function",
1105 "desc" : "Fire when preparing the file data",
1106 "sig" : "function (_self, file)\n{\n\n}",
1115 "type" : "Roo.bootstrap.UploadCropbox",
1117 "isOptional" : false
1123 "isOptional" : false
1129 "name" : "beforeloadcanvas",
1130 "type" : "function",
1131 "desc" : "Fire before load the canvas",
1132 "sig" : "function (_self, src)\n{\n\n}",
1141 "type" : "Roo.bootstrap.UploadCropbox",
1143 "isOptional" : false
1149 "isOptional" : false
1156 "type" : "function",
1157 "desc" : "Fire when trash image",
1158 "sig" : "function (_self)\n{\n\n}",
1167 "type" : "Roo.bootstrap.UploadCropbox",
1169 "isOptional" : false
1175 "name" : "beforeselectfile",
1176 "type" : "function",
1177 "desc" : "Fire before select file",
1178 "sig" : "function (_self)\n{\n\n}",
1187 "type" : "Roo.bootstrap.UploadCropbox",
1189 "isOptional" : false
1195 "name" : "footerbuttonclick",
1196 "type" : "function",
1197 "desc" : "Fire when footerbuttonclick",
1198 "sig" : "function (_self, type)\n{\n\n}",
1207 "type" : "Roo.bootstrap.UploadCropbox",
1209 "isOptional" : false
1215 "isOptional" : false
1221 "name" : "exception",
1222 "type" : "function",
1223 "desc" : "Fire when get exception",
1224 "sig" : "function (_self, xhr)\n{\n\n}",
1233 "type" : "Roo.bootstrap.UploadCropbox",
1235 "isOptional" : false
1239 "type" : "XMLHttpRequest",
1241 "isOptional" : false
1247 "name" : "download",
1248 "type" : "function",
1249 "desc" : "Fire when download the image",
1250 "sig" : "function (_self)\n{\n\n}",
1259 "type" : "Roo.bootstrap.UploadCropbox",
1261 "isOptional" : false
1267 "name" : "childrenrendered",
1268 "type" : "function",
1269 "desc" : "Fires when the children have been rendered..",
1270 "sig" : "function (_self)\n{\n\n}",
1271 "memberOf" : "Roo.bootstrap.Component",
1279 "type" : "Roo.bootstrap.Component",
1281 "isOptional" : false
1287 "name" : "beforerender",
1288 "type" : "function",
1289 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1290 "sig" : "function (_self)\n{\n\n}",
1291 "memberOf" : "Roo.Component",
1299 "type" : "Roo.Component",
1301 "isOptional" : false
1308 "type" : "function",
1309 "desc" : "Fires after the component is disabled.",
1310 "sig" : "function (_self)\n{\n\n}",
1311 "memberOf" : "Roo.Component",
1319 "type" : "Roo.Component",
1321 "isOptional" : false
1328 "type" : "function",
1329 "desc" : "Fires after the component is rendered.",
1330 "sig" : "function (_self)\n{\n\n}",
1331 "memberOf" : "Roo.Component",
1339 "type" : "Roo.Component",
1341 "isOptional" : false
1348 "type" : "function",
1349 "desc" : "Fires after the component is destroyed.",
1350 "sig" : "function (_self)\n{\n\n}",
1351 "memberOf" : "Roo.Component",
1359 "type" : "Roo.Component",
1361 "isOptional" : false
1368 "type" : "function",
1369 "desc" : "Fires after the component is hidden.",
1370 "sig" : "function (_self)\n{\n\n}",
1371 "memberOf" : "Roo.Component",
1379 "type" : "Roo.Component",
1381 "isOptional" : false
1387 "name" : "beforehide",
1388 "type" : "function",
1389 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1390 "sig" : "function (_self)\n{\n\n}",
1391 "memberOf" : "Roo.Component",
1399 "type" : "Roo.Component",
1401 "isOptional" : false
1408 "type" : "function",
1409 "desc" : "Fires after the component is shown.",
1410 "sig" : "function (_self)\n{\n\n}",
1411 "memberOf" : "Roo.Component",
1419 "type" : "Roo.Component",
1421 "isOptional" : false
1427 "name" : "beforeshow",
1428 "type" : "function",
1429 "desc" : "Fires before the component is shown. Return false to stop the show.",
1430 "sig" : "function (_self)\n{\n\n}",
1431 "memberOf" : "Roo.Component",
1439 "type" : "Roo.Component",
1441 "isOptional" : false
1448 "type" : "function",
1449 "desc" : "Fires after the component is enabled.",
1450 "sig" : "function (_self)\n{\n\n}",
1451 "memberOf" : "Roo.Component",
1459 "type" : "Roo.Component",
1461 "isOptional" : false
1467 "name" : "beforedestroy",
1468 "type" : "function",
1469 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1470 "sig" : "function (_self)\n{\n\n}",
1471 "memberOf" : "Roo.Component",
1479 "type" : "Roo.Component",
1481 "isOptional" : false