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"
44 "desc" : "dark themed version",
45 "memberOf" : "Roo.bootstrap.Button"
50 "desc" : "text for badge",
51 "memberOf" : "Roo.bootstrap.Button"
56 "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\".",
57 "memberOf" : "Roo.Component"
62 "desc" : "an array of ?? Img objects ??? when loading existing files..",
63 "memberOf" : "Roo.bootstrap.ButtonUploader"
68 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
69 "memberOf" : "Roo.bootstrap.Component"
74 "desc" : "default false;",
75 "memberOf" : "Roo.bootstrap.Button"
80 "desc" : "Specifies name attribute",
81 "memberOf" : "Roo.bootstrap.Component"
86 "desc" : "k) default",
87 "memberOf" : "Roo.bootstrap.Button"
92 "desc" : "if parent is a btn group - then it turns it into a toogleGroup.",
93 "memberOf" : "Roo.bootstrap.Button"
98 "desc" : "Text for the tooltip",
99 "memberOf" : "Roo.bootstrap.Component"
104 "desc" : "text for on slidy toggle state",
105 "memberOf" : "Roo.bootstrap.Button"
108 "name" : "preventDefault",
110 "desc" : "default true (stop click event triggering the URL if it's a link.)",
111 "memberOf" : "Roo.bootstrap.Button"
117 "memberOf" : "Roo.bootstrap.Button"
122 "desc" : "r) target for a href.",
123 "memberOf" : "Roo.bootstrap.Button"
126 "name" : "glyphicon",
128 "desc" : "depricated - use fa",
129 "memberOf" : "Roo.bootstrap.Button"
132 "name" : "allowDomMove",
134 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
135 "memberOf" : "Roo.Component"
140 "desc" : "any extra css",
141 "memberOf" : "Roo.bootstrap.Component"
146 "desc" : "default false;",
147 "memberOf" : "Roo.bootstrap.Button"
150 "name" : "errorTimeout",
152 "desc" : "default 3000",
153 "memberOf" : "Roo.bootstrap.ButtonUploader"
156 "name" : "actionMode",
158 "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",
159 "memberOf" : "Roo.Component"
162 "name" : "listeners",
164 "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>",
165 "memberOf" : "Roo.util.Observable"
168 "name" : "container_method",
170 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
171 "memberOf" : "Roo.bootstrap.Component"
176 "desc" : "fontawesome icon - eg. 'comment' - without the fa/fas etc..",
177 "memberOf" : "Roo.bootstrap.Button"
183 "memberOf" : "Roo.bootstrap.Button"
188 "desc" : "css class",
189 "memberOf" : "Roo.bootstrap.Component"
192 "name" : "badge_weight",
194 "desc" : "k) default (same as button)",
195 "memberOf" : "Roo.bootstrap.Button"
198 "name" : "can_build_overlaid",
200 "desc" : "True if element can be rebuild from a HTML page",
201 "memberOf" : "Roo.bootstrap.Component"
204 "name" : "disableClass",
206 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
207 "memberOf" : "Roo.Component"
212 "desc" : "(default true) Should the upload allow multiple files to be uploaded.",
213 "memberOf" : "Roo.bootstrap.ButtonUploader"
216 "name" : "visibilityEl",
217 "type" : "string|object",
218 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
219 "memberOf" : "Roo.bootstrap.Component"
224 "desc" : "empty or href",
225 "memberOf" : "Roo.bootstrap.Button"
231 "memberOf" : "Roo.bootstrap.Button"
236 "desc" : "cutomer id",
237 "memberOf" : "Roo.bootstrap.Component"
242 "desc" : "default false (except for weight=default which emulates old behaveiour with an outline)",
243 "memberOf" : "Roo.bootstrap.Button"
248 "desc" : "text for off slidy toggle state",
249 "memberOf" : "Roo.bootstrap.Button"
252 "name" : "removeClass",
254 "desc" : "remove the standard class..",
255 "memberOf" : "Roo.bootstrap.Button"
260 "desc" : "The button text.",
261 "memberOf" : "Roo.bootstrap.ButtonUploader"
266 "desc" : "default null - if the button ahs active state",
267 "memberOf" : "Roo.bootstrap.Button"
271 "type" : "Roo.bootstrap.menu.Menu",
273 "memberOf" : "Roo.bootstrap.Button"
280 "desc" : "addCard - add an Attachment to the uploader",
285 "isConstructor" : false,
297 "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 }",
306 "desc" : "set the text of the first selected button",
307 "sig" : "()\n{\n\n}",
309 "memberOf" : "Roo.bootstrap.Button",
311 "isConstructor" : false,
325 "desc" : "get the current active state",
326 "sig" : "()\n{\n\n}",
328 "memberOf" : "Roo.bootstrap.Button",
330 "isConstructor" : false,
343 "desc" : "true if it's active"
348 "name" : "setActive",
350 "desc" : "sets the active state on/off,",
353 "memberOf" : "Roo.bootstrap.Button",
355 "isConstructor" : false,
367 "desc" : "(optional) Force a particular state",
374 "name" : "toggleActive",
376 "desc" : "toggles the current active state",
377 "sig" : "()\n{\n\n}",
379 "memberOf" : "Roo.bootstrap.Button",
381 "isConstructor" : false,
395 "desc" : "get the text of the first selected button",
396 "sig" : "()\n{\n\n}",
398 "memberOf" : "Roo.bootstrap.Button",
400 "isConstructor" : false,
414 "desc" : "Enables this button",
415 "sig" : "()\n{\n\n}",
417 "memberOf" : "Roo.bootstrap.Button",
419 "isConstructor" : false,
433 "desc" : "Disable this button",
434 "sig" : "()\n{\n\n}",
436 "memberOf" : "Roo.bootstrap.Button",
438 "isConstructor" : false,
450 "name" : "tooltipEl",
452 "desc" : "Fetch the element to display the tooltip on.",
453 "sig" : "()\n{\n\n}",
455 "memberOf" : "Roo.bootstrap.Component",
457 "isConstructor" : false,
469 "type" : "Roo.Element",
470 "desc" : "defaults to this.el"
477 "desc" : "Hide a component - adds 'hidden' class",
478 "sig" : "()\n{\n\n}",
480 "memberOf" : "Roo.bootstrap.Component",
482 "isConstructor" : false,
496 "desc" : "Show a component - removes 'hidden' class",
497 "sig" : "()\n{\n\n}",
499 "memberOf" : "Roo.bootstrap.Component",
501 "isConstructor" : false,
513 "name" : "setVisibilityEl",
515 "desc" : "Set the element that will be used to show or hide",
516 "sig" : "()\n{\n\n}",
518 "memberOf" : "Roo.bootstrap.Component",
520 "isConstructor" : false,
532 "name" : "getVisibilityEl",
534 "desc" : "Get the element that will be used to show or hide",
535 "sig" : "()\n{\n\n}",
537 "memberOf" : "Roo.bootstrap.Component",
539 "isConstructor" : false,
551 "name" : "initEvents",
553 "desc" : "Initialize Events for the element",
554 "sig" : "()\n{\n\n}",
556 "memberOf" : "Roo.bootstrap.Component",
558 "isConstructor" : false,
570 "name" : "getChildContainer",
572 "desc" : "Fetch the element to add children to",
573 "sig" : "()\n{\n\n}",
575 "memberOf" : "Roo.bootstrap.Component",
577 "isConstructor" : false,
589 "type" : "Roo.Element",
590 "desc" : "defaults to this.el"
597 "desc" : "Returns the id of this component.",
598 "sig" : "()\n{\n\n}",
600 "memberOf" : "Roo.Component",
602 "isConstructor" : false,
622 "desc" : "If this is a lazy rendering component, render it to its container element.",
623 "sig" : "(container)",
625 "memberOf" : "Roo.Component",
627 "isConstructor" : false,
637 "name" : "container",
638 "type" : "String/HTMLElement/Element",
639 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
648 "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}.",
649 "sig" : "()\n{\n\n}",
651 "memberOf" : "Roo.Component",
653 "isConstructor" : false,
665 "name" : "isVisible",
667 "desc" : "Returns true if this component is visible.",
668 "sig" : "()\n{\n\n}",
670 "memberOf" : "Roo.Component",
672 "isConstructor" : false,
684 "name" : "setDisabled",
686 "desc" : "Convenience function for setting disabled/enabled by boolean.",
687 "sig" : "(disabled)",
689 "memberOf" : "Roo.Component",
691 "isConstructor" : false,
712 "desc" : "Try to focus this component.",
713 "sig" : "(selectText)",
715 "memberOf" : "Roo.Component",
717 "isConstructor" : false,
727 "name" : "selectText",
729 "desc" : "True to also select the text in this component (if applicable)",
736 "type" : "Roo.Component",
742 "name" : "setVisible",
744 "desc" : "Convenience function to hide or show this component by boolean.",
747 "memberOf" : "Roo.Component",
749 "isConstructor" : false,
761 "desc" : "True to show, false to hide",
768 "type" : "Roo.Component",
776 "desc" : "Returns the underlying {@link Roo.Element}.",
777 "sig" : "()\n{\n\n}",
779 "memberOf" : "Roo.Component",
781 "isConstructor" : false,
793 "type" : "Roo.Element",
794 "desc" : "The element"
799 "name" : "purgeListeners",
801 "desc" : "Removes all listeners for this object",
802 "sig" : "()\n{\n\n}",
804 "memberOf" : "Roo.util.Observable",
806 "isConstructor" : false,
820 "desc" : "Appends an event handler to this element (shorthand for addListener)",
821 "sig" : "(eventName, handler, scope, options)",
823 "memberOf" : "Roo.util.Observable",
825 "isConstructor" : false,
835 "name" : "eventName",
837 "desc" : "The type of event to listen for",
843 "desc" : "The method the event invokes",
849 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
855 "desc" : "(optional)",
864 "desc" : "Removes a listener (shorthand for removeListener)",
865 "sig" : "(eventName, handler, scope)",
867 "memberOf" : "Roo.util.Observable",
869 "isConstructor" : false,
879 "name" : "eventName",
881 "desc" : "The type of event to listen for",
887 "desc" : "The handler to remove",
893 "desc" : "(optional) The scope (this object) for the handler",
900 "name" : "addEvents",
902 "desc" : "Used to define events on this Observable",
905 "memberOf" : "Roo.util.Observable",
907 "isConstructor" : false,
919 "desc" : "The object with the events defined",
926 "name" : "releaseCapture",
928 "desc" : "Removes <b>all</b> added captures from the Observable.",
931 "memberOf" : "Roo.util.Observable",
933 "isConstructor" : false,
944 "type" : "Observable",
945 "desc" : "The Observable to release",
952 "name" : "removeListener",
954 "desc" : "Removes a listener",
955 "sig" : "(eventName, handler, scope)",
957 "memberOf" : "Roo.util.Observable",
959 "isConstructor" : false,
969 "name" : "eventName",
971 "desc" : "The type of event to listen for",
977 "desc" : "The handler to remove",
983 "desc" : "(optional) The scope (this object) for the handler",
990 "name" : "fireEvent",
992 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
993 "sig" : "(eventName, args)",
995 "memberOf" : "Roo.util.Observable",
997 "isConstructor" : false,
1007 "name" : "eventName",
1010 "isOptional" : false
1014 "type" : "Object...",
1015 "desc" : "Variable number of parameters are passed to handlers",
1016 "isOptional" : false
1023 "desc" : "returns false if any of the handlers return false otherwise it returns true"
1028 "name" : "hasListener",
1029 "type" : "function",
1030 "desc" : "Checks to see if this object has any listeners for a specified event",
1031 "sig" : "(eventName)",
1033 "memberOf" : "Roo.util.Observable",
1035 "isConstructor" : false,
1036 "isPrivate" : false,
1045 "name" : "eventName",
1047 "desc" : "The name of the event to check for",
1048 "isOptional" : false
1055 "desc" : "True if the event is being listened for, else false"
1061 "type" : "function",
1062 "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.",
1063 "sig" : "(o, fn, scope)",
1065 "memberOf" : "Roo.util.Observable",
1067 "isConstructor" : false,
1068 "isPrivate" : false,
1078 "type" : "Observable",
1079 "desc" : "The Observable to capture",
1080 "isOptional" : false
1084 "type" : "Function",
1085 "desc" : "The function to call",
1086 "isOptional" : false
1091 "desc" : "(optional) The scope (this object) for the fn",
1092 "isOptional" : false
1098 "name" : "addListener",
1099 "type" : "function",
1100 "desc" : "Appends an event handler to this component",
1101 "sig" : "(eventName, handler, scope, options)",
1103 "memberOf" : "Roo.util.Observable",
1105 "isConstructor" : false,
1106 "isPrivate" : false,
1115 "name" : "eventName",
1117 "desc" : "The type of event to listen for",
1118 "isOptional" : false
1122 "type" : "Function",
1123 "desc" : "The method the event invokes",
1124 "isOptional" : false
1129 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1130 "isOptional" : false
1135 "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>",
1136 "isOptional" : false
1144 "name" : "fired when files have been selected,",
1145 "type" : "function",
1146 "desc" : "When a the download link is clicked",
1147 "sig" : "function (_self, Array)\n{\n\n}",
1156 "type" : "Roo.bootstrap.UploaderButton",
1158 "isOptional" : false
1163 "desc" : "of files that have been uploaded",
1164 "isOptional" : false
1170 "name" : "beforeselect",
1171 "type" : "function",
1172 "desc" : "When button is pressed, before show upload files dialog is shown",
1173 "sig" : "function (_self)\n{\n\n}",
1182 "type" : "Roo.bootstrap.UploaderButton",
1184 "isOptional" : false
1191 "type" : "function",
1192 "desc" : "After the button has been toggles",
1193 "sig" : "function (btn, e, pressed)\n{\n\n}",
1194 "memberOf" : "Roo.bootstrap.Button",
1202 "type" : "Roo.bootstrap.Button",
1204 "isOptional" : false
1208 "type" : "Roo.EventObject",
1210 "isOptional" : false
1215 "desc" : "(also available as button.pressed)",
1216 "isOptional" : false
1222 "name" : "dblclick",
1223 "type" : "function",
1224 "desc" : "When a button is double clicked",
1225 "sig" : "function (btn, e)\n{\n\n}",
1226 "memberOf" : "Roo.bootstrap.Button",
1234 "type" : "Roo.bootstrap.Button",
1236 "isOptional" : false
1240 "type" : "Roo.EventObject",
1242 "isOptional" : false
1249 "type" : "function",
1250 "desc" : "When a button is pressed",
1251 "sig" : "function (btn, e)\n{\n\n}",
1252 "memberOf" : "Roo.bootstrap.Button",
1260 "type" : "Roo.bootstrap.Button",
1262 "isOptional" : false
1266 "type" : "Roo.EventObject",
1268 "isOptional" : false
1274 "name" : "childrenrendered",
1275 "type" : "function",
1276 "desc" : "Fires when the children have been rendered..",
1277 "sig" : "function (_self)\n{\n\n}",
1278 "memberOf" : "Roo.bootstrap.Component",
1286 "type" : "Roo.bootstrap.Component",
1288 "isOptional" : false
1294 "name" : "beforerender",
1295 "type" : "function",
1296 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1297 "sig" : "function (_self)\n{\n\n}",
1298 "memberOf" : "Roo.Component",
1306 "type" : "Roo.Component",
1308 "isOptional" : false
1315 "type" : "function",
1316 "desc" : "Fires after the component is disabled.",
1317 "sig" : "function (_self)\n{\n\n}",
1318 "memberOf" : "Roo.Component",
1326 "type" : "Roo.Component",
1328 "isOptional" : false
1335 "type" : "function",
1336 "desc" : "Fires after the component is rendered.",
1337 "sig" : "function (_self)\n{\n\n}",
1338 "memberOf" : "Roo.Component",
1346 "type" : "Roo.Component",
1348 "isOptional" : false
1355 "type" : "function",
1356 "desc" : "Fires after the component is destroyed.",
1357 "sig" : "function (_self)\n{\n\n}",
1358 "memberOf" : "Roo.Component",
1366 "type" : "Roo.Component",
1368 "isOptional" : false
1375 "type" : "function",
1376 "desc" : "Fires after the component is hidden.",
1377 "sig" : "function (_self)\n{\n\n}",
1378 "memberOf" : "Roo.Component",
1386 "type" : "Roo.Component",
1388 "isOptional" : false
1394 "name" : "beforehide",
1395 "type" : "function",
1396 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1397 "sig" : "function (_self)\n{\n\n}",
1398 "memberOf" : "Roo.Component",
1406 "type" : "Roo.Component",
1408 "isOptional" : false
1415 "type" : "function",
1416 "desc" : "Fires after the component is shown.",
1417 "sig" : "function (_self)\n{\n\n}",
1418 "memberOf" : "Roo.Component",
1426 "type" : "Roo.Component",
1428 "isOptional" : false
1434 "name" : "beforeshow",
1435 "type" : "function",
1436 "desc" : "Fires before the component is shown. Return false to stop the show.",
1437 "sig" : "function (_self)\n{\n\n}",
1438 "memberOf" : "Roo.Component",
1446 "type" : "Roo.Component",
1448 "isOptional" : false
1455 "type" : "function",
1456 "desc" : "Fires after the component is enabled.",
1457 "sig" : "function (_self)\n{\n\n}",
1458 "memberOf" : "Roo.Component",
1466 "type" : "Roo.Component",
1468 "isOptional" : false
1474 "name" : "beforedestroy",
1475 "type" : "function",
1476 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1477 "sig" : "function (_self)\n{\n\n}",
1478 "memberOf" : "Roo.Component",
1486 "type" : "Roo.Component",
1488 "isOptional" : false