2 "name" : "Roo.bootstrap.UploadCropbox",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap UploadCropbox class",
12 "memberOf" : "UploadCropbox",
21 "desc" : "The config object",
30 "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>",
31 "memberOf" : "Roo.util.Observable",
37 "desc" : "Text for the tooltip",
38 "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",
49 "name" : "visibilityEl",
50 "type" : "string|object",
51 "desc" : "What element to use for visibility (@see getVisibilityEl())",
52 "memberOf" : "Roo.bootstrap.Component",
59 "name" : "errorTimeout",
61 "desc" : "default 3000",
62 "memberOf" : "Roo.bootstrap.UploadCropbox",
68 "desc" : "default ['rotateLeft', 'pictureBtn', 'rotateRight']",
69 "memberOf" : "Roo.bootstrap.UploadCropbox",
73 "name" : "can_build_overlaid",
75 "desc" : "True if element can be rebuild from a HTML page",
76 "memberOf" : "Roo.bootstrap.Component",
82 "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\".",
83 "memberOf" : "Roo.Component",
92 "desc" : "show when image has been loaded",
93 "memberOf" : "Roo.bootstrap.UploadCropbox",
99 "desc" : "default 300",
100 "memberOf" : "Roo.bootstrap.UploadCropbox",
106 "desc" : "default POST",
107 "memberOf" : "Roo.bootstrap.UploadCropbox",
113 "desc" : "any extra css",
114 "memberOf" : "Roo.bootstrap.Component",
118 "name" : "allowDomMove",
120 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
121 "memberOf" : "Roo.Component",
125 "name" : "paramName",
127 "desc" : "default 'imageUpload'",
128 "memberOf" : "Roo.bootstrap.UploadCropbox",
134 "desc" : "css class",
135 "memberOf" : "Roo.bootstrap.Component",
139 "name" : "minHeight",
141 "desc" : "default 300",
142 "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",
173 "name" : "actionMode",
175 "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",
176 "memberOf" : "Roo.Component",
182 "desc" : "cutomer id",
183 "memberOf" : "Roo.bootstrap.Component",
187 "name" : "rotateNotify",
189 "desc" : "show when image too small to rotate",
190 "memberOf" : "Roo.bootstrap.UploadCropbox",
196 "desc" : "action url",
197 "memberOf" : "Roo.bootstrap.UploadCropbox",
203 "desc" : "Specifies name attribute",
204 "memberOf" : "Roo.bootstrap.Component",
208 "name" : "disableClass",
210 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
211 "memberOf" : "Roo.Component",
215 "name" : "loadingText",
217 "desc" : "default 'Loading...'",
218 "memberOf" : "Roo.bootstrap.UploadCropbox",
224 "name" : "tooltipEl",
225 "desc" : "Fetch the element to display the tooltip on.",
227 "isConstructor" : false,
229 "memberOf" : "Roo.bootstrap.Component",
238 "type" : "Roo.Element",
239 "desc" : "defaults to this.el"
245 "desc" : "Hide a component - adds 'hidden' class",
247 "isConstructor" : false,
249 "memberOf" : "Roo.bootstrap.Component",
259 "desc" : "Show a component - removes 'hidden' class",
261 "isConstructor" : false,
263 "memberOf" : "Roo.bootstrap.Component",
272 "name" : "setVisibilityEl",
273 "desc" : "Set the element that will be used to show or hide",
275 "isConstructor" : false,
277 "memberOf" : "Roo.bootstrap.Component",
286 "name" : "getVisibilityEl",
287 "desc" : "Get the element that will be used to show or hide",
289 "isConstructor" : false,
291 "memberOf" : "Roo.bootstrap.Component",
300 "name" : "initEvents",
301 "desc" : "Initialize Events for the element",
303 "isConstructor" : false,
305 "memberOf" : "Roo.bootstrap.Component",
314 "name" : "getChildContainer",
315 "desc" : "Fetch the element to add children to",
317 "isConstructor" : false,
319 "memberOf" : "Roo.bootstrap.Component",
328 "type" : "Roo.Element",
329 "desc" : "defaults to this.el"
335 "desc" : "Returns the id of this component.",
337 "isConstructor" : false,
339 "memberOf" : "Roo.Component",
355 "desc" : "If this is a lazy rendering component, render it to its container element.",
357 "isConstructor" : false,
359 "memberOf" : "Roo.Component",
366 "name" : "container",
367 "type" : "String/HTMLElement/Element",
368 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
376 "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}.",
378 "isConstructor" : false,
380 "memberOf" : "Roo.Component",
389 "name" : "isVisible",
390 "desc" : "Returns true if this component is visible.",
392 "isConstructor" : false,
394 "memberOf" : "Roo.Component",
403 "name" : "setDisabled",
404 "desc" : "Convenience function for setting disabled/enabled by boolean.",
406 "isConstructor" : false,
408 "memberOf" : "Roo.Component",
425 "desc" : "Try to focus this component.",
427 "isConstructor" : false,
429 "memberOf" : "Roo.Component",
436 "name" : "selectText",
438 "desc" : "True to also select the text in this component (if applicable)",
445 "type" : "Roo.Component",
452 "desc" : "Enable this component.",
454 "isConstructor" : false,
456 "memberOf" : "Roo.Component",
465 "type" : "Roo.Component",
471 "name" : "setVisible",
472 "desc" : "Convenience function to hide or show this component by boolean.",
474 "isConstructor" : false,
476 "memberOf" : "Roo.Component",
485 "desc" : "True to show, false to hide",
492 "type" : "Roo.Component",
499 "desc" : "Disable this component.",
501 "isConstructor" : false,
503 "memberOf" : "Roo.Component",
512 "type" : "Roo.Component",
519 "desc" : "Returns the underlying {@link Roo.Element}.",
521 "isConstructor" : false,
523 "memberOf" : "Roo.Component",
532 "type" : "Roo.Element",
533 "desc" : "The element"
538 "name" : "purgeListeners",
539 "desc" : "Removes all listeners for this object",
541 "isConstructor" : false,
543 "memberOf" : "Roo.util.Observable",
553 "desc" : "Appends an event handler to this element (shorthand for addListener)",
555 "isConstructor" : false,
557 "memberOf" : "Roo.util.Observable",
564 "name" : "eventName",
566 "desc" : "The type of event to listen for",
572 "desc" : "The method the event invokes",
578 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
584 "desc" : "(optional)",
592 "desc" : "Removes a listener (shorthand for removeListener)",
594 "isConstructor" : false,
596 "memberOf" : "Roo.util.Observable",
603 "name" : "eventName",
605 "desc" : "The type of event to listen for",
611 "desc" : "The handler to remove",
617 "desc" : "(optional) The scope (this object) for the handler",
624 "name" : "addEvents",
625 "desc" : "Used to define events on this Observable",
627 "isConstructor" : false,
629 "memberOf" : "Roo.util.Observable",
638 "desc" : "The object with the events defined",
645 "name" : "releaseCapture",
646 "desc" : "Removes <b>all</b> added captures from the Observable.",
648 "isConstructor" : false,
650 "memberOf" : "Roo.util.Observable",
658 "type" : "Observable",
659 "desc" : "The Observable to release",
666 "name" : "removeListener",
667 "desc" : "Removes a listener",
669 "isConstructor" : false,
671 "memberOf" : "Roo.util.Observable",
678 "name" : "eventName",
680 "desc" : "The type of event to listen for",
686 "desc" : "The handler to remove",
692 "desc" : "(optional) The scope (this object) for the handler",
699 "name" : "fireEvent",
700 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
702 "isConstructor" : false,
704 "memberOf" : "Roo.util.Observable",
711 "name" : "eventName",
718 "type" : "Object...",
719 "desc" : "Variable number of parameters are passed to handlers",
727 "desc" : "returns false if any of the handlers return false otherwise it returns true"
732 "name" : "hasListener",
733 "desc" : "Checks to see if this object has any listeners for a specified event",
735 "isConstructor" : false,
737 "memberOf" : "Roo.util.Observable",
744 "name" : "eventName",
746 "desc" : "The name of the event to check for",
754 "desc" : "True if the event is being listened for, else false"
760 "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.",
762 "isConstructor" : false,
764 "memberOf" : "Roo.util.Observable",
772 "type" : "Observable",
773 "desc" : "The Observable to capture",
779 "desc" : "The function to call",
785 "desc" : "(optional) The scope (this object) for the fn",
792 "name" : "addListener",
793 "desc" : "Appends an event handler to this component",
795 "isConstructor" : false,
797 "memberOf" : "Roo.util.Observable",
804 "name" : "eventName",
806 "desc" : "The type of event to listen for",
812 "desc" : "The method the event invokes",
818 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
824 "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>",
834 "desc" : "Fire when arrange the file data",
835 "memberOf" : "Roo.bootstrap.UploadCropbox",
843 "type" : "Roo.bootstrap.UploadCropbox",
858 "desc" : "Fire when inspect the file",
859 "memberOf" : "Roo.bootstrap.UploadCropbox",
867 "type" : "Roo.bootstrap.UploadCropbox",
882 "desc" : "Fire after initEvent",
883 "memberOf" : "Roo.bootstrap.UploadCropbox",
891 "type" : "Roo.bootstrap.UploadCropbox",
906 "desc" : "Fire when xhr upload the file",
907 "memberOf" : "Roo.bootstrap.UploadCropbox",
915 "type" : "Roo.bootstrap.UploadCropbox",
930 "desc" : "Fire after initEvent",
931 "memberOf" : "Roo.bootstrap.UploadCropbox",
939 "type" : "Roo.bootstrap.UploadCropbox",
948 "desc" : "Fire when resize",
949 "memberOf" : "Roo.bootstrap.UploadCropbox",
957 "type" : "Roo.bootstrap.UploadCropbox",
966 "desc" : "Fire when rotate the image",
967 "memberOf" : "Roo.bootstrap.UploadCropbox",
975 "type" : "Roo.bootstrap.UploadCropbox",
990 "desc" : "Fire when preparing the file data",
991 "memberOf" : "Roo.bootstrap.UploadCropbox",
999 "type" : "Roo.bootstrap.UploadCropbox",
1001 "isOptional" : false
1007 "isOptional" : false
1013 "name" : "beforeloadcanvas",
1014 "desc" : "Fire before load the canvas",
1015 "memberOf" : "Roo.bootstrap.UploadCropbox",
1023 "type" : "Roo.bootstrap.UploadCropbox",
1025 "isOptional" : false
1031 "isOptional" : false
1038 "desc" : "Fire when trash image",
1039 "memberOf" : "Roo.bootstrap.UploadCropbox",
1047 "type" : "Roo.bootstrap.UploadCropbox",
1049 "isOptional" : false
1055 "name" : "beforeselectfile",
1056 "desc" : "Fire before select file",
1057 "memberOf" : "Roo.bootstrap.UploadCropbox",
1065 "type" : "Roo.bootstrap.UploadCropbox",
1067 "isOptional" : false
1073 "name" : "footerbuttonclick",
1074 "desc" : "Fire when footerbuttonclick",
1075 "memberOf" : "Roo.bootstrap.UploadCropbox",
1083 "type" : "Roo.bootstrap.UploadCropbox",
1085 "isOptional" : false
1091 "isOptional" : false
1097 "name" : "exception",
1098 "desc" : "Fire when get exception",
1099 "memberOf" : "Roo.bootstrap.UploadCropbox",
1107 "type" : "Roo.bootstrap.UploadCropbox",
1109 "isOptional" : false
1113 "type" : "XMLHttpRequest",
1115 "isOptional" : false
1121 "name" : "download",
1122 "desc" : "Fire when download the image",
1123 "memberOf" : "Roo.bootstrap.UploadCropbox",
1131 "type" : "Roo.bootstrap.UploadCropbox",
1133 "isOptional" : false
1139 "name" : "childrenrendered",
1140 "desc" : "Fires when the children have been rendered..",
1141 "memberOf" : "Roo.bootstrap.Component",
1149 "type" : "Roo.bootstrap.Component",
1151 "isOptional" : false
1157 "name" : "beforerender",
1158 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1159 "memberOf" : "Roo.Component",
1167 "type" : "Roo.Component",
1169 "isOptional" : false
1176 "desc" : "Fires after the component is disabled.",
1177 "memberOf" : "Roo.Component",
1185 "type" : "Roo.Component",
1187 "isOptional" : false
1194 "desc" : "Fires after the component is rendered.",
1195 "memberOf" : "Roo.Component",
1203 "type" : "Roo.Component",
1205 "isOptional" : false
1212 "desc" : "Fires after the component is destroyed.",
1213 "memberOf" : "Roo.Component",
1221 "type" : "Roo.Component",
1223 "isOptional" : false
1230 "desc" : "Fires after the component is hidden.",
1231 "memberOf" : "Roo.Component",
1239 "type" : "Roo.Component",
1241 "isOptional" : false
1247 "name" : "beforehide",
1248 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1249 "memberOf" : "Roo.Component",
1257 "type" : "Roo.Component",
1259 "isOptional" : false
1266 "desc" : "Fires after the component is shown.",
1267 "memberOf" : "Roo.Component",
1275 "type" : "Roo.Component",
1277 "isOptional" : false
1283 "name" : "beforeshow",
1284 "desc" : "Fires before the component is shown. Return false to stop the show.",
1285 "memberOf" : "Roo.Component",
1293 "type" : "Roo.Component",
1295 "isOptional" : false
1302 "desc" : "Fires after the component is enabled.",
1303 "memberOf" : "Roo.Component",
1311 "type" : "Roo.Component",
1313 "isOptional" : false
1319 "name" : "beforedestroy",
1320 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1321 "memberOf" : "Roo.Component",
1329 "type" : "Roo.Component",
1331 "isOptional" : false