2 "name" : "Roo.bootstrap.UploadCropbox",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap UploadCropbox class",
12 "memberOf" : "UploadCropbox",
21 "desc" : "The config object",
31 "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>",
32 "memberOf" : "Roo.util.Observable",
39 "desc" : "Text for the tooltip",
40 "memberOf" : "Roo.bootstrap.Component",
45 "name" : "container_method",
47 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
48 "memberOf" : "Roo.bootstrap.Component",
53 "name" : "visibilityEl",
54 "type" : "string|object",
55 "desc" : "What element to use for visibility (@see getVisibilityEl())",
56 "memberOf" : "Roo.bootstrap.Component",
63 "name" : "errorTimeout",
65 "desc" : "default 3000",
66 "memberOf" : "Roo.bootstrap.UploadCropbox",
73 "desc" : "default ['rotateLeft', 'pictureBtn', 'rotateRight']",
74 "memberOf" : "Roo.bootstrap.UploadCropbox",
79 "name" : "can_build_overlaid",
81 "desc" : "True if element can be rebuild from a HTML page",
82 "memberOf" : "Roo.bootstrap.Component",
89 "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\".",
90 "memberOf" : "Roo.Component",
99 "desc" : "show when image has been loaded",
100 "memberOf" : "Roo.bootstrap.UploadCropbox",
107 "desc" : "default 300",
108 "memberOf" : "Roo.bootstrap.UploadCropbox",
115 "desc" : "default POST",
116 "memberOf" : "Roo.bootstrap.UploadCropbox",
123 "desc" : "any extra css",
124 "memberOf" : "Roo.bootstrap.Component",
129 "name" : "allowDomMove",
131 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
132 "memberOf" : "Roo.Component",
137 "name" : "paramName",
139 "desc" : "default 'imageUpload'",
140 "memberOf" : "Roo.bootstrap.UploadCropbox",
147 "desc" : "css class",
148 "memberOf" : "Roo.bootstrap.Component",
153 "name" : "minHeight",
155 "desc" : "default 300",
156 "memberOf" : "Roo.bootstrap.UploadCropbox",
161 "name" : "isDocument",
163 "desc" : "default false",
164 "memberOf" : "Roo.bootstrap.UploadCropbox",
173 "desc" : "default true",
174 "memberOf" : "Roo.bootstrap.UploadCropbox",
183 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
184 "memberOf" : "Roo.bootstrap.Component",
189 "name" : "actionMode",
191 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
192 "memberOf" : "Roo.Component",
199 "desc" : "cutomer id",
200 "memberOf" : "Roo.bootstrap.Component",
205 "name" : "rotateNotify",
207 "desc" : "show when image too small to rotate",
208 "memberOf" : "Roo.bootstrap.UploadCropbox",
215 "desc" : "action url",
216 "memberOf" : "Roo.bootstrap.UploadCropbox",
223 "desc" : "Specifies name attribute",
224 "memberOf" : "Roo.bootstrap.Component",
229 "name" : "disableClass",
231 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
232 "memberOf" : "Roo.Component",
237 "name" : "loadingText",
239 "desc" : "default 'Loading...'",
240 "memberOf" : "Roo.bootstrap.UploadCropbox",
247 "name" : "tooltipEl",
248 "desc" : "Fetch the element to display the tooltip on.",
250 "isConstructor" : false,
252 "memberOf" : "Roo.bootstrap.Component",
262 "type" : "Roo.Element",
263 "desc" : "defaults to this.el"
269 "desc" : "Hide a component - adds 'hidden' class",
271 "isConstructor" : false,
273 "memberOf" : "Roo.bootstrap.Component",
285 "desc" : "Show a component - removes 'hidden' class",
287 "isConstructor" : false,
289 "memberOf" : "Roo.bootstrap.Component",
300 "name" : "setVisibilityEl",
301 "desc" : "Set the element that will be used to show or hide",
303 "isConstructor" : false,
305 "memberOf" : "Roo.bootstrap.Component",
316 "name" : "getVisibilityEl",
317 "desc" : "Get the element that will be used to show or hide",
319 "isConstructor" : false,
321 "memberOf" : "Roo.bootstrap.Component",
332 "name" : "initEvents",
333 "desc" : "Initialize Events for the element",
335 "isConstructor" : false,
337 "memberOf" : "Roo.bootstrap.Component",
348 "name" : "getChildContainer",
349 "desc" : "Fetch the element to add children to",
351 "isConstructor" : false,
353 "memberOf" : "Roo.bootstrap.Component",
363 "type" : "Roo.Element",
364 "desc" : "defaults to this.el"
370 "desc" : "Returns the id of this component.",
372 "isConstructor" : false,
374 "memberOf" : "Roo.Component",
391 "desc" : "If this is a lazy rendering component, render it to its container element.",
393 "isConstructor" : false,
395 "memberOf" : "Roo.Component",
402 "name" : "container",
403 "type" : "String/HTMLElement/Element",
404 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
413 "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}.",
415 "isConstructor" : false,
417 "memberOf" : "Roo.Component",
428 "name" : "isVisible",
429 "desc" : "Returns true if this component is visible.",
431 "isConstructor" : false,
433 "memberOf" : "Roo.Component",
444 "name" : "setDisabled",
445 "desc" : "Convenience function for setting disabled/enabled by boolean.",
447 "isConstructor" : false,
449 "memberOf" : "Roo.Component",
467 "desc" : "Try to focus this component.",
469 "isConstructor" : false,
471 "memberOf" : "Roo.Component",
478 "name" : "selectText",
480 "desc" : "True to also select the text in this component (if applicable)",
487 "type" : "Roo.Component",
494 "desc" : "Enable this component.",
496 "isConstructor" : false,
498 "memberOf" : "Roo.Component",
508 "type" : "Roo.Component",
514 "name" : "setVisible",
515 "desc" : "Convenience function to hide or show this component by boolean.",
517 "isConstructor" : false,
519 "memberOf" : "Roo.Component",
528 "desc" : "True to show, false to hide",
535 "type" : "Roo.Component",
542 "desc" : "Disable this component.",
544 "isConstructor" : false,
546 "memberOf" : "Roo.Component",
556 "type" : "Roo.Component",
563 "desc" : "Returns the underlying {@link Roo.Element}.",
565 "isConstructor" : false,
567 "memberOf" : "Roo.Component",
577 "type" : "Roo.Element",
578 "desc" : "The element"
583 "name" : "purgeListeners",
584 "desc" : "Removes all listeners for this object",
586 "isConstructor" : false,
588 "memberOf" : "Roo.util.Observable",
600 "desc" : "Appends an event handler to this element (shorthand for addListener)",
602 "isConstructor" : false,
604 "memberOf" : "Roo.util.Observable",
611 "name" : "eventName",
613 "desc" : "The type of event to listen for",
619 "desc" : "The method the event invokes",
625 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
631 "desc" : "(optional)",
640 "desc" : "Removes a listener (shorthand for removeListener)",
642 "isConstructor" : false,
644 "memberOf" : "Roo.util.Observable",
651 "name" : "eventName",
653 "desc" : "The type of event to listen for",
659 "desc" : "The handler to remove",
665 "desc" : "(optional) The scope (this object) for the handler",
673 "name" : "addEvents",
674 "desc" : "Used to define events on this Observable",
676 "isConstructor" : false,
678 "memberOf" : "Roo.util.Observable",
687 "desc" : "The object with the events defined",
695 "name" : "releaseCapture",
696 "desc" : "Removes <b>all</b> added captures from the Observable.",
698 "isConstructor" : false,
700 "memberOf" : "Roo.util.Observable",
708 "type" : "Observable",
709 "desc" : "The Observable to release",
717 "name" : "removeListener",
718 "desc" : "Removes a listener",
720 "isConstructor" : false,
722 "memberOf" : "Roo.util.Observable",
729 "name" : "eventName",
731 "desc" : "The type of event to listen for",
737 "desc" : "The handler to remove",
743 "desc" : "(optional) The scope (this object) for the handler",
751 "name" : "fireEvent",
752 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
754 "isConstructor" : false,
756 "memberOf" : "Roo.util.Observable",
763 "name" : "eventName",
770 "type" : "Object...",
771 "desc" : "Variable number of parameters are passed to handlers",
779 "desc" : "returns false if any of the handlers return false otherwise it returns true"
784 "name" : "hasListener",
785 "desc" : "Checks to see if this object has any listeners for a specified event",
787 "isConstructor" : false,
789 "memberOf" : "Roo.util.Observable",
796 "name" : "eventName",
798 "desc" : "The name of the event to check for",
806 "desc" : "True if the event is being listened for, else false"
812 "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.",
814 "isConstructor" : false,
816 "memberOf" : "Roo.util.Observable",
824 "type" : "Observable",
825 "desc" : "The Observable to capture",
831 "desc" : "The function to call",
837 "desc" : "(optional) The scope (this object) for the fn",
845 "name" : "addListener",
846 "desc" : "Appends an event handler to this component",
848 "isConstructor" : false,
850 "memberOf" : "Roo.util.Observable",
857 "name" : "eventName",
859 "desc" : "The type of event to listen for",
865 "desc" : "The method the event invokes",
871 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
877 "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>",
888 "desc" : "Fire when arrange the file data",
889 "memberOf" : "Roo.bootstrap.UploadCropbox",
897 "type" : "Roo.bootstrap.UploadCropbox",
913 "desc" : "Fire when inspect the file",
914 "memberOf" : "Roo.bootstrap.UploadCropbox",
922 "type" : "Roo.bootstrap.UploadCropbox",
938 "desc" : "Fire after initEvent",
939 "memberOf" : "Roo.bootstrap.UploadCropbox",
947 "type" : "Roo.bootstrap.UploadCropbox",
963 "desc" : "Fire when xhr upload the file",
964 "memberOf" : "Roo.bootstrap.UploadCropbox",
972 "type" : "Roo.bootstrap.UploadCropbox",
988 "desc" : "Fire after initEvent",
989 "memberOf" : "Roo.bootstrap.UploadCropbox",
997 "type" : "Roo.bootstrap.UploadCropbox",
1007 "desc" : "Fire when resize",
1008 "memberOf" : "Roo.bootstrap.UploadCropbox",
1016 "type" : "Roo.bootstrap.UploadCropbox",
1018 "isOptional" : false
1026 "desc" : "Fire when rotate the image",
1027 "memberOf" : "Roo.bootstrap.UploadCropbox",
1035 "type" : "Roo.bootstrap.UploadCropbox",
1037 "isOptional" : false
1043 "isOptional" : false
1051 "desc" : "Fire when preparing the file data",
1052 "memberOf" : "Roo.bootstrap.UploadCropbox",
1060 "type" : "Roo.bootstrap.UploadCropbox",
1062 "isOptional" : false
1068 "isOptional" : false
1075 "name" : "beforeloadcanvas",
1076 "desc" : "Fire before load the canvas",
1077 "memberOf" : "Roo.bootstrap.UploadCropbox",
1085 "type" : "Roo.bootstrap.UploadCropbox",
1087 "isOptional" : false
1093 "isOptional" : false
1101 "desc" : "Fire when trash image",
1102 "memberOf" : "Roo.bootstrap.UploadCropbox",
1110 "type" : "Roo.bootstrap.UploadCropbox",
1112 "isOptional" : false
1119 "name" : "beforeselectfile",
1120 "desc" : "Fire before select file",
1121 "memberOf" : "Roo.bootstrap.UploadCropbox",
1129 "type" : "Roo.bootstrap.UploadCropbox",
1131 "isOptional" : false
1138 "name" : "footerbuttonclick",
1139 "desc" : "Fire when footerbuttonclick",
1140 "memberOf" : "Roo.bootstrap.UploadCropbox",
1148 "type" : "Roo.bootstrap.UploadCropbox",
1150 "isOptional" : false
1156 "isOptional" : false
1163 "name" : "exception",
1164 "desc" : "Fire when get exception",
1165 "memberOf" : "Roo.bootstrap.UploadCropbox",
1173 "type" : "Roo.bootstrap.UploadCropbox",
1175 "isOptional" : false
1179 "type" : "XMLHttpRequest",
1181 "isOptional" : false
1188 "name" : "download",
1189 "desc" : "Fire when download the image",
1190 "memberOf" : "Roo.bootstrap.UploadCropbox",
1198 "type" : "Roo.bootstrap.UploadCropbox",
1200 "isOptional" : false
1207 "name" : "childrenrendered",
1208 "desc" : "Fires when the children have been rendered..",
1209 "memberOf" : "Roo.bootstrap.Component",
1217 "type" : "Roo.bootstrap.Component",
1219 "isOptional" : false
1226 "name" : "beforerender",
1227 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1228 "memberOf" : "Roo.Component",
1236 "type" : "Roo.Component",
1238 "isOptional" : false
1246 "desc" : "Fires after the component is disabled.",
1247 "memberOf" : "Roo.Component",
1255 "type" : "Roo.Component",
1257 "isOptional" : false
1265 "desc" : "Fires after the component is rendered.",
1266 "memberOf" : "Roo.Component",
1274 "type" : "Roo.Component",
1276 "isOptional" : false
1284 "desc" : "Fires after the component is destroyed.",
1285 "memberOf" : "Roo.Component",
1293 "type" : "Roo.Component",
1295 "isOptional" : false
1303 "desc" : "Fires after the component is hidden.",
1304 "memberOf" : "Roo.Component",
1312 "type" : "Roo.Component",
1314 "isOptional" : false
1321 "name" : "beforehide",
1322 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1323 "memberOf" : "Roo.Component",
1331 "type" : "Roo.Component",
1333 "isOptional" : false
1341 "desc" : "Fires after the component is shown.",
1342 "memberOf" : "Roo.Component",
1350 "type" : "Roo.Component",
1352 "isOptional" : false
1359 "name" : "beforeshow",
1360 "desc" : "Fires before the component is shown. Return false to stop the show.",
1361 "memberOf" : "Roo.Component",
1369 "type" : "Roo.Component",
1371 "isOptional" : false
1379 "desc" : "Fires after the component is enabled.",
1380 "memberOf" : "Roo.Component",
1388 "type" : "Roo.Component",
1390 "isOptional" : false
1397 "name" : "beforedestroy",
1398 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1399 "memberOf" : "Roo.Component",
1407 "type" : "Roo.Component",
1409 "isOptional" : false