2 "name" : "Roo.bootstrap.ButtonUploader",
4 "Roo.bootstrap.Button",
5 "Roo.bootstrap.Component",
10 "desc" : "Bootstrap Button Uploader class - it's a button which when you add files to it",
11 "isSingleton" : false,
14 "memberOf" : "ButtonUploader",
23 "desc" : "The config object",
34 "desc" : "is it a slidy toggle button",
35 "memberOf" : "Roo.bootstrap.Button"
40 "desc" : "dark themed version",
41 "memberOf" : "Roo.bootstrap.Button"
46 "desc" : "text for badge",
47 "memberOf" : "Roo.bootstrap.Button"
52 "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\".",
53 "memberOf" : "Roo.Component"
58 "desc" : "an array of ?? Img objects ??? when loading existing files..",
64 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
65 "memberOf" : "Roo.bootstrap.Component"
70 "desc" : "default false;",
71 "memberOf" : "Roo.bootstrap.Button"
76 "desc" : "Specifies name attribute",
77 "memberOf" : "Roo.bootstrap.Component"
82 "desc" : "k) default",
83 "memberOf" : "Roo.bootstrap.Button"
88 "desc" : "if parent is a btn group - then it turns it into a toogleGroup.",
89 "memberOf" : "Roo.bootstrap.Button"
94 "desc" : "Text for the tooltip",
95 "memberOf" : "Roo.bootstrap.Component"
100 "desc" : "text for on slidy toggle state",
101 "memberOf" : "Roo.bootstrap.Button"
104 "name" : "preventDefault",
106 "desc" : "default true (stop click event triggering the URL if it's a link.)",
107 "memberOf" : "Roo.bootstrap.Button"
113 "memberOf" : "Roo.bootstrap.Button"
118 "desc" : "r) target for a href.",
119 "memberOf" : "Roo.bootstrap.Button"
122 "name" : "glyphicon",
124 "desc" : "depricated - use fa",
125 "memberOf" : "Roo.bootstrap.Button"
128 "name" : "allowDomMove",
130 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
131 "memberOf" : "Roo.Component"
136 "desc" : "any extra css",
137 "memberOf" : "Roo.bootstrap.Component"
142 "desc" : "default false;",
143 "memberOf" : "Roo.bootstrap.Button"
146 "name" : "errorTimeout",
148 "desc" : "default 3000",
152 "name" : "actionMode",
154 "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",
155 "memberOf" : "Roo.Component"
158 "name" : "listeners",
160 "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>",
161 "memberOf" : "Roo.util.Observable"
164 "name" : "container_method",
166 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
167 "memberOf" : "Roo.bootstrap.Component"
172 "desc" : "fontawesome icon - eg. 'comment' - without the fa/fas etc..",
173 "memberOf" : "Roo.bootstrap.Button"
179 "memberOf" : "Roo.bootstrap.Button"
184 "desc" : "css class",
185 "memberOf" : "Roo.bootstrap.Component"
188 "name" : "badge_weight",
190 "desc" : "k) default (same as button)",
191 "memberOf" : "Roo.bootstrap.Button"
194 "name" : "can_build_overlaid",
196 "desc" : "True if element can be rebuild from a HTML page",
197 "memberOf" : "Roo.bootstrap.Component"
200 "name" : "disableClass",
202 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
203 "memberOf" : "Roo.Component"
208 "desc" : "(default true) Should the upload allow multiple files to be uploaded.",
212 "name" : "visibilityEl",
213 "type" : "string|object",
214 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
215 "memberOf" : "Roo.bootstrap.Component"
220 "desc" : "empty or href",
221 "memberOf" : "Roo.bootstrap.Button"
227 "memberOf" : "Roo.bootstrap.Button"
232 "desc" : "cutomer id",
233 "memberOf" : "Roo.bootstrap.Component"
238 "desc" : "default false (except for weight=default which emulates old behaveiour with an outline)",
239 "memberOf" : "Roo.bootstrap.Button"
244 "desc" : "text for off slidy toggle state",
245 "memberOf" : "Roo.bootstrap.Button"
248 "name" : "removeClass",
250 "desc" : "remove the standard class..",
251 "memberOf" : "Roo.bootstrap.Button"
256 "desc" : "The button text.",
262 "desc" : "default null - if the button ahs active state",
263 "memberOf" : "Roo.bootstrap.Button"
267 "type" : "Roo.bootstrap.menu.Menu",
269 "memberOf" : "Roo.bootstrap.Button"
276 "desc" : "addCard - add an Attachment to the uploader",
281 "isConstructor" : false,
293 "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 }",
302 "desc" : "set the text of the first selected button",
303 "sig" : "()\n{\n\n}",
305 "memberOf" : "Roo.bootstrap.Button",
307 "isConstructor" : false,
321 "desc" : "get the current active state",
322 "sig" : "()\n{\n\n}",
324 "memberOf" : "Roo.bootstrap.Button",
326 "isConstructor" : false,
339 "desc" : "true if it's active"
344 "name" : "setActive",
346 "desc" : "sets the active state on/off,",
349 "memberOf" : "Roo.bootstrap.Button",
351 "isConstructor" : false,
363 "desc" : "(optional) Force a particular state",
370 "name" : "toggleActive",
372 "desc" : "toggles the current active state",
373 "sig" : "()\n{\n\n}",
375 "memberOf" : "Roo.bootstrap.Button",
377 "isConstructor" : false,
391 "desc" : "get the text of the first selected button",
392 "sig" : "()\n{\n\n}",
394 "memberOf" : "Roo.bootstrap.Button",
396 "isConstructor" : false,
410 "desc" : "Enables this button",
411 "sig" : "()\n{\n\n}",
413 "memberOf" : "Roo.bootstrap.Button",
415 "isConstructor" : false,
429 "desc" : "Disable this button",
430 "sig" : "()\n{\n\n}",
432 "memberOf" : "Roo.bootstrap.Button",
434 "isConstructor" : false,
446 "name" : "tooltipEl",
448 "desc" : "Fetch the element to display the tooltip on.",
449 "sig" : "()\n{\n\n}",
451 "memberOf" : "Roo.bootstrap.Component",
453 "isConstructor" : false,
465 "type" : "Roo.Element",
466 "desc" : "defaults to this.el"
473 "desc" : "Hide a component - adds 'hidden' class",
474 "sig" : "()\n{\n\n}",
476 "memberOf" : "Roo.bootstrap.Component",
478 "isConstructor" : false,
492 "desc" : "Show a component - removes 'hidden' class",
493 "sig" : "()\n{\n\n}",
495 "memberOf" : "Roo.bootstrap.Component",
497 "isConstructor" : false,
509 "name" : "setVisibilityEl",
511 "desc" : "Set the element that will be used to show or hide",
512 "sig" : "()\n{\n\n}",
514 "memberOf" : "Roo.bootstrap.Component",
516 "isConstructor" : false,
528 "name" : "getVisibilityEl",
530 "desc" : "Get the element that will be used to show or hide",
531 "sig" : "()\n{\n\n}",
533 "memberOf" : "Roo.bootstrap.Component",
535 "isConstructor" : false,
547 "name" : "initEvents",
549 "desc" : "Initialize Events for the element",
550 "sig" : "()\n{\n\n}",
552 "memberOf" : "Roo.bootstrap.Component",
554 "isConstructor" : false,
566 "name" : "getChildContainer",
568 "desc" : "Fetch the element to add children to",
569 "sig" : "()\n{\n\n}",
571 "memberOf" : "Roo.bootstrap.Component",
573 "isConstructor" : false,
585 "type" : "Roo.Element",
586 "desc" : "defaults to this.el"
593 "desc" : "Returns the id of this component.",
594 "sig" : "()\n{\n\n}",
596 "memberOf" : "Roo.Component",
598 "isConstructor" : false,
618 "desc" : "If this is a lazy rendering component, render it to its container element.",
619 "sig" : "(container)",
621 "memberOf" : "Roo.Component",
623 "isConstructor" : false,
633 "name" : "container",
634 "type" : "String/HTMLElement/Element",
635 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
644 "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}.",
645 "sig" : "()\n{\n\n}",
647 "memberOf" : "Roo.Component",
649 "isConstructor" : false,
661 "name" : "isVisible",
663 "desc" : "Returns true if this component is visible.",
664 "sig" : "()\n{\n\n}",
666 "memberOf" : "Roo.Component",
668 "isConstructor" : false,
680 "name" : "setDisabled",
682 "desc" : "Convenience function for setting disabled/enabled by boolean.",
683 "sig" : "(disabled)",
685 "memberOf" : "Roo.Component",
687 "isConstructor" : false,
708 "desc" : "Try to focus this component.",
709 "sig" : "(selectText)",
711 "memberOf" : "Roo.Component",
713 "isConstructor" : false,
723 "name" : "selectText",
725 "desc" : "True to also select the text in this component (if applicable)",
732 "type" : "Roo.Component",
738 "name" : "setVisible",
740 "desc" : "Convenience function to hide or show this component by boolean.",
743 "memberOf" : "Roo.Component",
745 "isConstructor" : false,
757 "desc" : "True to show, false to hide",
764 "type" : "Roo.Component",
772 "desc" : "Returns the underlying {@link Roo.Element}.",
773 "sig" : "()\n{\n\n}",
775 "memberOf" : "Roo.Component",
777 "isConstructor" : false,
789 "type" : "Roo.Element",
790 "desc" : "The element"
795 "name" : "purgeListeners",
797 "desc" : "Removes all listeners for this object",
798 "sig" : "()\n{\n\n}",
800 "memberOf" : "Roo.util.Observable",
802 "isConstructor" : false,
816 "desc" : "Appends an event handler to this element (shorthand for addListener)",
817 "sig" : "(eventName, handler, scope, options)",
819 "memberOf" : "Roo.util.Observable",
821 "isConstructor" : false,
831 "name" : "eventName",
833 "desc" : "The type of event to listen for",
839 "desc" : "The method the event invokes",
845 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
851 "desc" : "(optional)",
860 "desc" : "Removes a listener (shorthand for removeListener)",
861 "sig" : "(eventName, handler, scope)",
863 "memberOf" : "Roo.util.Observable",
865 "isConstructor" : false,
875 "name" : "eventName",
877 "desc" : "The type of event to listen for",
883 "desc" : "The handler to remove",
889 "desc" : "(optional) The scope (this object) for the handler",
896 "name" : "addEvents",
898 "desc" : "Used to define events on this Observable",
901 "memberOf" : "Roo.util.Observable",
903 "isConstructor" : false,
915 "desc" : "The object with the events defined",
922 "name" : "releaseCapture",
924 "desc" : "Removes <b>all</b> added captures from the Observable.",
927 "memberOf" : "Roo.util.Observable",
929 "isConstructor" : false,
940 "type" : "Observable",
941 "desc" : "The Observable to release",
948 "name" : "removeListener",
950 "desc" : "Removes a listener",
951 "sig" : "(eventName, handler, scope)",
953 "memberOf" : "Roo.util.Observable",
955 "isConstructor" : false,
965 "name" : "eventName",
967 "desc" : "The type of event to listen for",
973 "desc" : "The handler to remove",
979 "desc" : "(optional) The scope (this object) for the handler",
986 "name" : "fireEvent",
988 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
989 "sig" : "(eventName, args)",
991 "memberOf" : "Roo.util.Observable",
993 "isConstructor" : false,
1003 "name" : "eventName",
1006 "isOptional" : false
1010 "type" : "Object...",
1011 "desc" : "Variable number of parameters are passed to handlers",
1012 "isOptional" : false
1019 "desc" : "returns false if any of the handlers return false otherwise it returns true"
1024 "name" : "hasListener",
1025 "type" : "function",
1026 "desc" : "Checks to see if this object has any listeners for a specified event",
1027 "sig" : "(eventName)",
1029 "memberOf" : "Roo.util.Observable",
1031 "isConstructor" : false,
1032 "isPrivate" : false,
1041 "name" : "eventName",
1043 "desc" : "The name of the event to check for",
1044 "isOptional" : false
1051 "desc" : "True if the event is being listened for, else false"
1057 "type" : "function",
1058 "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.",
1059 "sig" : "(o, fn, scope)",
1061 "memberOf" : "Roo.util.Observable",
1063 "isConstructor" : false,
1064 "isPrivate" : false,
1074 "type" : "Observable",
1075 "desc" : "The Observable to capture",
1076 "isOptional" : false
1080 "type" : "Function",
1081 "desc" : "The function to call",
1082 "isOptional" : false
1087 "desc" : "(optional) The scope (this object) for the fn",
1088 "isOptional" : false
1094 "name" : "addListener",
1095 "type" : "function",
1096 "desc" : "Appends an event handler to this component",
1097 "sig" : "(eventName, handler, scope, options)",
1099 "memberOf" : "Roo.util.Observable",
1101 "isConstructor" : false,
1102 "isPrivate" : false,
1111 "name" : "eventName",
1113 "desc" : "The type of event to listen for",
1114 "isOptional" : false
1118 "type" : "Function",
1119 "desc" : "The method the event invokes",
1120 "isOptional" : false
1125 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1126 "isOptional" : false
1131 "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>",
1132 "isOptional" : false
1140 "name" : "fired when files have been selected,",
1141 "type" : "function",
1142 "desc" : "When a the download link is clicked",
1143 "sig" : "function (_self, Array)\n{\n\n}",
1152 "type" : "Roo.bootstrap.UploaderButton",
1154 "isOptional" : false
1159 "desc" : "of files that have been uploaded",
1160 "isOptional" : false
1166 "name" : "beforeselect",
1167 "type" : "function",
1168 "desc" : "When button is pressed, before show upload files dialog is shown",
1169 "sig" : "function (_self)\n{\n\n}",
1178 "type" : "Roo.bootstrap.UploaderButton",
1180 "isOptional" : false
1187 "type" : "function",
1188 "desc" : "After the button has been toggles",
1189 "sig" : "function (btn, e, pressed)\n{\n\n}",
1190 "memberOf" : "Roo.bootstrap.Button",
1198 "type" : "Roo.bootstrap.Button",
1200 "isOptional" : false
1204 "type" : "Roo.EventObject",
1206 "isOptional" : false
1211 "desc" : "(also available as button.pressed)",
1212 "isOptional" : false
1218 "name" : "dblclick",
1219 "type" : "function",
1220 "desc" : "When a button is double clicked",
1221 "sig" : "function (btn, e)\n{\n\n}",
1222 "memberOf" : "Roo.bootstrap.Button",
1230 "type" : "Roo.bootstrap.Button",
1232 "isOptional" : false
1236 "type" : "Roo.EventObject",
1238 "isOptional" : false
1245 "type" : "function",
1246 "desc" : "When a button is pressed",
1247 "sig" : "function (btn, e)\n{\n\n}",
1248 "memberOf" : "Roo.bootstrap.Button",
1256 "type" : "Roo.bootstrap.Button",
1258 "isOptional" : false
1262 "type" : "Roo.EventObject",
1264 "isOptional" : false
1270 "name" : "childrenrendered",
1271 "type" : "function",
1272 "desc" : "Fires when the children have been rendered..",
1273 "sig" : "function (_self)\n{\n\n}",
1274 "memberOf" : "Roo.bootstrap.Component",
1282 "type" : "Roo.bootstrap.Component",
1284 "isOptional" : false
1290 "name" : "beforerender",
1291 "type" : "function",
1292 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1293 "sig" : "function (_self)\n{\n\n}",
1294 "memberOf" : "Roo.Component",
1302 "type" : "Roo.Component",
1304 "isOptional" : false
1311 "type" : "function",
1312 "desc" : "Fires after the component is disabled.",
1313 "sig" : "function (_self)\n{\n\n}",
1314 "memberOf" : "Roo.Component",
1322 "type" : "Roo.Component",
1324 "isOptional" : false
1331 "type" : "function",
1332 "desc" : "Fires after the component is rendered.",
1333 "sig" : "function (_self)\n{\n\n}",
1334 "memberOf" : "Roo.Component",
1342 "type" : "Roo.Component",
1344 "isOptional" : false
1351 "type" : "function",
1352 "desc" : "Fires after the component is destroyed.",
1353 "sig" : "function (_self)\n{\n\n}",
1354 "memberOf" : "Roo.Component",
1362 "type" : "Roo.Component",
1364 "isOptional" : false
1371 "type" : "function",
1372 "desc" : "Fires after the component is hidden.",
1373 "sig" : "function (_self)\n{\n\n}",
1374 "memberOf" : "Roo.Component",
1382 "type" : "Roo.Component",
1384 "isOptional" : false
1390 "name" : "beforehide",
1391 "type" : "function",
1392 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1393 "sig" : "function (_self)\n{\n\n}",
1394 "memberOf" : "Roo.Component",
1402 "type" : "Roo.Component",
1404 "isOptional" : false
1411 "type" : "function",
1412 "desc" : "Fires after the component is shown.",
1413 "sig" : "function (_self)\n{\n\n}",
1414 "memberOf" : "Roo.Component",
1422 "type" : "Roo.Component",
1424 "isOptional" : false
1430 "name" : "beforeshow",
1431 "type" : "function",
1432 "desc" : "Fires before the component is shown. Return false to stop the show.",
1433 "sig" : "function (_self)\n{\n\n}",
1434 "memberOf" : "Roo.Component",
1442 "type" : "Roo.Component",
1444 "isOptional" : false
1451 "type" : "function",
1452 "desc" : "Fires after the component is enabled.",
1453 "sig" : "function (_self)\n{\n\n}",
1454 "memberOf" : "Roo.Component",
1462 "type" : "Roo.Component",
1464 "isOptional" : false
1470 "name" : "beforedestroy",
1471 "type" : "function",
1472 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1473 "sig" : "function (_self)\n{\n\n}",
1474 "memberOf" : "Roo.Component",
1482 "type" : "Roo.Component",
1484 "isOptional" : false