2 "name" : "Roo.bootstrap.ButtonUploader",
4 "Roo.bootstrap.Button",
5 "Roo.bootstrap.Component",
12 "desc" : "Bootstrap Button Uploader class - it's a button which when you add files to it",
13 "isSingleton" : false,
17 "isBuilderTop" : false,
18 "memberOf" : "ButtonUploader",
27 "desc" : "The config object",
38 "desc" : "is it a slidy toggle button",
39 "memberOf" : "Roo.bootstrap.Button",
46 "desc" : "dark themed version",
47 "memberOf" : "Roo.bootstrap.Button",
54 "desc" : "text for badge",
55 "memberOf" : "Roo.bootstrap.Button",
62 "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",
63 "memberOf" : "Roo.Component",
73 "desc" : "an array of ?? Img objects ??? when loading existing files..",
81 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
82 "memberOf" : "Roo.bootstrap.Component",
89 "desc" : "default false;",
90 "memberOf" : "Roo.bootstrap.Button",
97 "desc" : "Specifies name attribute",
98 "memberOf" : "Roo.bootstrap.Component",
106 "memberOf" : "Roo.bootstrap.Button",
107 "isOptional" : false,
124 "desc" : "if parent is a btn group - then it turns it into a toogleGroup.",
125 "memberOf" : "Roo.bootstrap.Button",
126 "isOptional" : false,
132 "desc" : "Text for the tooltip",
133 "memberOf" : "Roo.bootstrap.Component",
134 "isOptional" : false,
140 "desc" : "text for on slidy toggle state",
141 "memberOf" : "Roo.bootstrap.Button",
142 "isOptional" : false,
146 "name" : "preventDefault",
148 "desc" : "default true (stop click event triggering the URL if it's a link.)",
149 "memberOf" : "Roo.bootstrap.Button",
150 "isOptional" : false,
157 "memberOf" : "Roo.bootstrap.Button",
158 "isOptional" : false,
167 "desc" : "r) target for a hre",
168 "memberOf" : "Roo.bootstrap.Button",
169 "isOptional" : false,
179 "name" : "glyphicon",
181 "desc" : "depricated - use fa",
182 "memberOf" : "Roo.bootstrap.Button",
183 "isOptional" : false,
187 "name" : "allowDomMove",
189 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
190 "memberOf" : "Roo.Component",
191 "isOptional" : false,
197 "desc" : "any extra css",
198 "memberOf" : "Roo.bootstrap.Component",
199 "isOptional" : false,
205 "desc" : "default false;",
206 "memberOf" : "Roo.bootstrap.Button",
207 "isOptional" : false,
211 "name" : "errorTimeout",
213 "desc" : "default 3000",
215 "isOptional" : false,
219 "name" : "actionMode",
221 "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",
222 "memberOf" : "Roo.Component",
223 "isOptional" : false,
227 "name" : "listeners",
229 "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>",
230 "memberOf" : "Roo.util.Observable",
231 "isOptional" : false,
235 "name" : "container_method",
237 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
238 "memberOf" : "Roo.bootstrap.Component",
239 "isOptional" : false,
245 "desc" : "fontawesome icon - eg. 'comment' - without the fa/fas etc..",
246 "memberOf" : "Roo.bootstrap.Button",
247 "isOptional" : false,
254 "memberOf" : "Roo.bootstrap.Button",
255 "isOptional" : false,
265 "desc" : "css class",
266 "memberOf" : "Roo.bootstrap.Component",
267 "isOptional" : false,
271 "name" : "badge_weight",
273 "desc" : "k) default (same as butto",
274 "memberOf" : "Roo.bootstrap.Button",
275 "isOptional" : false,
290 "name" : "can_build_overlaid",
292 "desc" : "True if element can be rebuild from a HTML page",
293 "memberOf" : "Roo.bootstrap.Component",
294 "isOptional" : false,
298 "name" : "disableClass",
300 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
301 "memberOf" : "Roo.Component",
302 "isOptional" : false,
308 "desc" : "(default true) Should the upload allow multiple files to be uploaded.",
310 "isOptional" : false,
314 "name" : "visibilityEl",
315 "type" : "string|object",
316 "desc" : "t) What element to use for visibility (@see getVisibilityEl(",
317 "memberOf" : "Roo.bootstrap.Component",
318 "isOptional" : false,
327 "desc" : "empty or href",
328 "memberOf" : "Roo.bootstrap.Button",
329 "isOptional" : false,
336 "memberOf" : "Roo.bootstrap.Button",
337 "isOptional" : false,
347 "desc" : "cutomer id",
348 "memberOf" : "Roo.bootstrap.Component",
349 "isOptional" : false,
355 "desc" : "default false (except for weight=default which emulates old behaveiour with an outline)",
356 "memberOf" : "Roo.bootstrap.Button",
357 "isOptional" : false,
363 "desc" : "text for off slidy toggle state",
364 "memberOf" : "Roo.bootstrap.Button",
365 "isOptional" : false,
369 "name" : "removeClass",
371 "desc" : "remove the standard class..",
372 "memberOf" : "Roo.bootstrap.Button",
373 "isOptional" : false,
379 "desc" : "The button text.",
381 "isOptional" : false,
387 "desc" : "default null - if the button ahs active state",
388 "memberOf" : "Roo.bootstrap.Button",
389 "isOptional" : false,
394 "type" : "Roo.bootstrap.menu.Menu",
396 "memberOf" : "Roo.bootstrap.Button",
397 "isOptional" : false,
405 "desc" : "addCard - add an Attachment to the uploader",
410 "isConstructor" : false,
422 "desc" : "- the data about the image to upload\n\n{\n id : 123\n title : \"Title of file\",\n is_uploaded : false,\n src : \"http://.....\",\n srcfile : { the File upload object },\n mimetype : file.type,\n preview : false,\n is_deleted : 0\n .. any other data...\n }",
431 "desc" : "set the text of the first selected button",
432 "sig" : "()\n{\n\n}",
434 "memberOf" : "Roo.bootstrap.Button",
436 "isConstructor" : false,
450 "desc" : "get the current active state",
451 "sig" : "()\n{\n\n}",
453 "memberOf" : "Roo.bootstrap.Button",
455 "isConstructor" : false,
468 "desc" : "true if it's active"
473 "name" : "setActive",
475 "desc" : "sets the active state on/off,",
478 "memberOf" : "Roo.bootstrap.Button",
480 "isConstructor" : false,
492 "desc" : "(optional) Force a particular state",
499 "name" : "toggleActive",
501 "desc" : "toggles the current active state",
502 "sig" : "()\n{\n\n}",
504 "memberOf" : "Roo.bootstrap.Button",
506 "isConstructor" : false,
520 "desc" : "get the text of the first selected button",
521 "sig" : "()\n{\n\n}",
523 "memberOf" : "Roo.bootstrap.Button",
525 "isConstructor" : false,
539 "desc" : "Enables this button",
540 "sig" : "()\n{\n\n}",
542 "memberOf" : "Roo.bootstrap.Button",
544 "isConstructor" : false,
558 "desc" : "Disable this button",
559 "sig" : "()\n{\n\n}",
561 "memberOf" : "Roo.bootstrap.Button",
563 "isConstructor" : false,
575 "name" : "tooltipEl",
577 "desc" : "Fetch the element to display the tooltip on.",
578 "sig" : "()\n{\n\n}",
580 "memberOf" : "Roo.bootstrap.Component",
582 "isConstructor" : false,
594 "type" : "Roo.Element",
595 "desc" : "defaults to this.el"
602 "desc" : "Hide a component - adds 'hidden' class",
603 "sig" : "()\n{\n\n}",
605 "memberOf" : "Roo.bootstrap.Component",
607 "isConstructor" : false,
621 "desc" : "Show a component - removes 'hidden' class",
622 "sig" : "()\n{\n\n}",
624 "memberOf" : "Roo.bootstrap.Component",
626 "isConstructor" : false,
638 "name" : "setVisibilityEl",
640 "desc" : "Set the element that will be used to show or hide",
641 "sig" : "()\n{\n\n}",
643 "memberOf" : "Roo.bootstrap.Component",
645 "isConstructor" : false,
657 "name" : "getVisibilityEl",
659 "desc" : "Get the element that will be used to show or hide",
660 "sig" : "()\n{\n\n}",
662 "memberOf" : "Roo.bootstrap.Component",
664 "isConstructor" : false,
676 "name" : "initEvents",
678 "desc" : "Initialize Events for the element",
679 "sig" : "()\n{\n\n}",
681 "memberOf" : "Roo.bootstrap.Component",
683 "isConstructor" : false,
695 "name" : "getChildContainer",
697 "desc" : "Fetch the element to add children to",
698 "sig" : "()\n{\n\n}",
700 "memberOf" : "Roo.bootstrap.Component",
702 "isConstructor" : false,
714 "type" : "Roo.Element",
715 "desc" : "defaults to this.el"
722 "desc" : "Returns the id of this component.",
723 "sig" : "()\n{\n\n}",
725 "memberOf" : "Roo.Component",
727 "isConstructor" : false,
747 "desc" : "If this is a lazy rendering component, render it to its container element.",
748 "sig" : "(container)",
750 "memberOf" : "Roo.Component",
752 "isConstructor" : false,
762 "name" : "container",
763 "type" : "String/HTMLElement/Element",
764 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
773 "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}.",
774 "sig" : "()\n{\n\n}",
776 "memberOf" : "Roo.Component",
778 "isConstructor" : false,
790 "name" : "isVisible",
792 "desc" : "Returns true if this component is visible.",
793 "sig" : "()\n{\n\n}",
795 "memberOf" : "Roo.Component",
797 "isConstructor" : false,
809 "name" : "setDisabled",
811 "desc" : "Convenience function for setting disabled/enabled by boolean.",
812 "sig" : "(disabled)",
814 "memberOf" : "Roo.Component",
816 "isConstructor" : false,
837 "desc" : "Try to focus this component.",
838 "sig" : "(selectText)",
840 "memberOf" : "Roo.Component",
842 "isConstructor" : false,
852 "name" : "selectText",
854 "desc" : "True to also select the text in this component (if applicable)",
861 "type" : "Roo.Component",
867 "name" : "setVisible",
869 "desc" : "Convenience function to hide or show this component by boolean.",
872 "memberOf" : "Roo.Component",
874 "isConstructor" : false,
886 "desc" : "True to show, false to hide",
893 "type" : "Roo.Component",
901 "desc" : "Returns the underlying {@link Roo.Element}.",
902 "sig" : "()\n{\n\n}",
904 "memberOf" : "Roo.Component",
906 "isConstructor" : false,
918 "type" : "Roo.Element",
919 "desc" : "The element"
924 "name" : "purgeListeners",
926 "desc" : "Removes all listeners for this object",
927 "sig" : "()\n{\n\n}",
929 "memberOf" : "Roo.util.Observable",
931 "isConstructor" : false,
945 "desc" : "Appends an event handler to this element (shorthand for addListener)",
946 "sig" : "(eventName, handler, scope, options)",
948 "memberOf" : "Roo.util.Observable",
950 "isConstructor" : false,
960 "name" : "eventName",
962 "desc" : "The type of event to listen for",
968 "desc" : "The method the event invokes",
974 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
980 "desc" : "(optional)",
989 "desc" : "Removes a listener (shorthand for removeListener)",
990 "sig" : "(eventName, handler, scope)",
992 "memberOf" : "Roo.util.Observable",
994 "isConstructor" : false,
1004 "name" : "eventName",
1006 "desc" : "The type of event to listen for",
1007 "isOptional" : false
1011 "type" : "Function",
1012 "desc" : "The handler to remove",
1013 "isOptional" : false
1018 "desc" : "(optional) The scope (this object) for the handler",
1019 "isOptional" : false
1025 "name" : "addEvents",
1026 "type" : "function",
1027 "desc" : "Used to define events on this Observable",
1030 "memberOf" : "Roo.util.Observable",
1032 "isConstructor" : false,
1033 "isPrivate" : false,
1044 "desc" : "The object with the events defined",
1045 "isOptional" : false
1051 "name" : "releaseCapture",
1052 "type" : "function",
1053 "desc" : "Removes <b>all</b> added captures from the Observable.",
1056 "memberOf" : "Roo.util.Observable",
1058 "isConstructor" : false,
1059 "isPrivate" : false,
1069 "type" : "Observable",
1070 "desc" : "The Observable to release",
1071 "isOptional" : false
1077 "name" : "removeListener",
1078 "type" : "function",
1079 "desc" : "Removes a listener",
1080 "sig" : "(eventName, handler, scope)",
1082 "memberOf" : "Roo.util.Observable",
1084 "isConstructor" : false,
1085 "isPrivate" : false,
1094 "name" : "eventName",
1096 "desc" : "The type of event to listen for",
1097 "isOptional" : false
1101 "type" : "Function",
1102 "desc" : "The handler to remove",
1103 "isOptional" : false
1108 "desc" : "(optional) The scope (this object) for the handler",
1109 "isOptional" : false
1115 "name" : "fireEvent",
1116 "type" : "function",
1117 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
1118 "sig" : "(eventName, args)",
1120 "memberOf" : "Roo.util.Observable",
1122 "isConstructor" : false,
1123 "isPrivate" : false,
1132 "name" : "eventName",
1135 "isOptional" : false
1139 "type" : "Object...",
1140 "desc" : "Variable number of parameters are passed to handlers",
1141 "isOptional" : false
1148 "desc" : "returns false if any of the handlers return false otherwise it returns true"
1153 "name" : "hasListener",
1154 "type" : "function",
1155 "desc" : "Checks to see if this object has any listeners for a specified event",
1156 "sig" : "(eventName)",
1158 "memberOf" : "Roo.util.Observable",
1160 "isConstructor" : false,
1161 "isPrivate" : false,
1170 "name" : "eventName",
1172 "desc" : "The name of the event to check for",
1173 "isOptional" : false
1180 "desc" : "True if the event is being listened for, else false"
1186 "type" : "function",
1187 "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.",
1188 "sig" : "(o, fn, scope)",
1190 "memberOf" : "Roo.util.Observable",
1192 "isConstructor" : false,
1193 "isPrivate" : false,
1203 "type" : "Observable",
1204 "desc" : "The Observable to capture",
1205 "isOptional" : false
1209 "type" : "Function",
1210 "desc" : "The function to call",
1211 "isOptional" : false
1216 "desc" : "(optional) The scope (this object) for the fn",
1217 "isOptional" : false
1223 "name" : "addListener",
1224 "type" : "function",
1225 "desc" : "Appends an event handler to this component",
1226 "sig" : "(eventName, handler, scope, options)",
1228 "memberOf" : "Roo.util.Observable",
1230 "isConstructor" : false,
1231 "isPrivate" : false,
1240 "name" : "eventName",
1242 "desc" : "The type of event to listen for",
1243 "isOptional" : false
1247 "type" : "Function",
1248 "desc" : "The method the event invokes",
1249 "isOptional" : false
1254 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1255 "isOptional" : false
1260 "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>",
1261 "isOptional" : false
1269 "name" : "fired when files have been selected,",
1270 "type" : "function",
1271 "desc" : "When a the download link is clicked",
1272 "sig" : "function (_self, Array)\n{\n\n}",
1281 "type" : "Roo.bootstrap.UploaderButton",
1283 "isOptional" : false
1288 "desc" : "of files that have been uploaded",
1289 "isOptional" : false
1295 "name" : "beforeselect",
1296 "type" : "function",
1297 "desc" : "When button is pressed, before show upload files dialog is shown",
1298 "sig" : "function (_self)\n{\n\n}",
1307 "type" : "Roo.bootstrap.UploaderButton",
1309 "isOptional" : false
1316 "type" : "function",
1317 "desc" : "After the button has been toggles",
1318 "sig" : "function (btn, e, pressed)\n{\n\n}",
1319 "memberOf" : "Roo.bootstrap.Button",
1327 "type" : "Roo.bootstrap.Button",
1329 "isOptional" : false
1333 "type" : "Roo.EventObject",
1335 "isOptional" : false
1340 "desc" : "(also available as button.pressed)",
1341 "isOptional" : false
1347 "name" : "dblclick",
1348 "type" : "function",
1349 "desc" : "When a button is double clicked",
1350 "sig" : "function (btn, e)\n{\n\n}",
1351 "memberOf" : "Roo.bootstrap.Button",
1359 "type" : "Roo.bootstrap.Button",
1361 "isOptional" : false
1365 "type" : "Roo.EventObject",
1367 "isOptional" : false
1374 "type" : "function",
1375 "desc" : "When a button is pressed",
1376 "sig" : "function (btn, e)\n{\n\n}",
1377 "memberOf" : "Roo.bootstrap.Button",
1385 "type" : "Roo.bootstrap.Button",
1387 "isOptional" : false
1391 "type" : "Roo.EventObject",
1393 "isOptional" : false
1399 "name" : "childrenrendered",
1400 "type" : "function",
1401 "desc" : "Fires when the children have been rendered..",
1402 "sig" : "function (_self)\n{\n\n}",
1403 "memberOf" : "Roo.bootstrap.Component",
1411 "type" : "Roo.bootstrap.Component",
1413 "isOptional" : false
1419 "name" : "beforerender",
1420 "type" : "function",
1421 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1422 "sig" : "function (_self)\n{\n\n}",
1423 "memberOf" : "Roo.Component",
1431 "type" : "Roo.Component",
1433 "isOptional" : false
1440 "type" : "function",
1441 "desc" : "Fires after the component is disabled.",
1442 "sig" : "function (_self)\n{\n\n}",
1443 "memberOf" : "Roo.Component",
1451 "type" : "Roo.Component",
1453 "isOptional" : false
1460 "type" : "function",
1461 "desc" : "Fires after the component is rendered.",
1462 "sig" : "function (_self)\n{\n\n}",
1463 "memberOf" : "Roo.Component",
1471 "type" : "Roo.Component",
1473 "isOptional" : false
1480 "type" : "function",
1481 "desc" : "Fires after the component is destroyed.",
1482 "sig" : "function (_self)\n{\n\n}",
1483 "memberOf" : "Roo.Component",
1491 "type" : "Roo.Component",
1493 "isOptional" : false
1500 "type" : "function",
1501 "desc" : "Fires after the component is hidden.",
1502 "sig" : "function (_self)\n{\n\n}",
1503 "memberOf" : "Roo.Component",
1511 "type" : "Roo.Component",
1513 "isOptional" : false
1519 "name" : "beforehide",
1520 "type" : "function",
1521 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1522 "sig" : "function (_self)\n{\n\n}",
1523 "memberOf" : "Roo.Component",
1531 "type" : "Roo.Component",
1533 "isOptional" : false
1540 "type" : "function",
1541 "desc" : "Fires after the component is shown.",
1542 "sig" : "function (_self)\n{\n\n}",
1543 "memberOf" : "Roo.Component",
1551 "type" : "Roo.Component",
1553 "isOptional" : false
1559 "name" : "beforeshow",
1560 "type" : "function",
1561 "desc" : "Fires before the component is shown. Return false to stop the show.",
1562 "sig" : "function (_self)\n{\n\n}",
1563 "memberOf" : "Roo.Component",
1571 "type" : "Roo.Component",
1573 "isOptional" : false
1580 "type" : "function",
1581 "desc" : "Fires after the component is enabled.",
1582 "sig" : "function (_self)\n{\n\n}",
1583 "memberOf" : "Roo.Component",
1591 "type" : "Roo.Component",
1593 "isOptional" : false
1599 "name" : "beforedestroy",
1600 "type" : "function",
1601 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1602 "sig" : "function (_self)\n{\n\n}",
1603 "memberOf" : "Roo.Component",
1611 "type" : "Roo.Component",
1613 "isOptional" : false