2 "name" : "Roo.bootstrap.ButtonUploader",
4 "Roo.bootstrap.Button",
5 "Roo.bootstrap.Component",
9 "desc" : "Bootstrap Button Uploader class - it's a button which when you add files to it",
10 "isSingleton" : false,
13 "memberOf" : "ButtonUploader",
22 "desc" : "The config object",
31 "desc" : "is it a slidy toggle button",
32 "memberOf" : "Roo.bootstrap.Button",
38 "desc" : "dark themed version",
39 "memberOf" : "Roo.bootstrap.Button",
45 "desc" : "text for badge",
46 "memberOf" : "Roo.bootstrap.Button",
52 "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\".",
53 "memberOf" : "Roo.Component",
62 "desc" : "an array of ?? Img objects ??? when loading existing files..",
63 "memberOf" : "Roo.bootstrap.ButtonUploader",
69 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
70 "memberOf" : "Roo.bootstrap.Component",
76 "desc" : "default false;",
77 "memberOf" : "Roo.bootstrap.Button",
83 "desc" : "Specifies name attribute",
84 "memberOf" : "Roo.bootstrap.Component",
91 "memberOf" : "Roo.bootstrap.Button",
108 "desc" : "if parent is a btn group - then it turns it into a toogleGroup.",
109 "memberOf" : "Roo.bootstrap.Button",
115 "desc" : "Text for the tooltip",
116 "memberOf" : "Roo.bootstrap.Component",
122 "desc" : "text for on slidy toggle state",
123 "memberOf" : "Roo.bootstrap.Button",
127 "name" : "preventDefault",
129 "desc" : "default true (stop click event triggering the URL if it's a link.)",
130 "memberOf" : "Roo.bootstrap.Button",
137 "memberOf" : "Roo.bootstrap.Button",
146 "desc" : "target for a href.",
147 "memberOf" : "Roo.bootstrap.Button",
157 "name" : "glyphicon",
159 "desc" : "depricated - use fa",
160 "memberOf" : "Roo.bootstrap.Button",
164 "name" : "allowDomMove",
166 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
167 "memberOf" : "Roo.Component",
173 "desc" : "any extra css",
174 "memberOf" : "Roo.bootstrap.Component",
180 "desc" : "default false;",
181 "memberOf" : "Roo.bootstrap.Button",
185 "name" : "errorTimeout",
187 "desc" : "default 3000",
188 "memberOf" : "Roo.bootstrap.ButtonUploader",
192 "name" : "actionMode",
194 "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",
195 "memberOf" : "Roo.Component",
199 "name" : "listeners",
201 "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>",
202 "memberOf" : "Roo.util.Observable",
206 "name" : "container_method",
208 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
209 "memberOf" : "Roo.bootstrap.Component",
215 "desc" : "fontawesome icon - eg. 'comment' - without the fa/fas etc..",
216 "memberOf" : "Roo.bootstrap.Button",
223 "memberOf" : "Roo.bootstrap.Button",
233 "desc" : "css class",
234 "memberOf" : "Roo.bootstrap.Component",
238 "name" : "badge_weight",
240 "desc" : "default (same as button)",
241 "memberOf" : "Roo.bootstrap.Button",
256 "name" : "can_build_overlaid",
258 "desc" : "True if element can be rebuild from a HTML page",
259 "memberOf" : "Roo.bootstrap.Component",
263 "name" : "disableClass",
265 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
266 "memberOf" : "Roo.Component",
272 "desc" : "(default true) Should the upload allow multiple files to be uploaded.",
273 "memberOf" : "Roo.bootstrap.ButtonUploader",
277 "name" : "visibilityEl",
278 "type" : "string|object",
279 "desc" : "What element to use for visibility (@see getVisibilityEl())",
280 "memberOf" : "Roo.bootstrap.Component",
289 "desc" : "empty or href",
290 "memberOf" : "Roo.bootstrap.Button",
297 "memberOf" : "Roo.bootstrap.Button",
307 "desc" : "cutomer id",
308 "memberOf" : "Roo.bootstrap.Component",
314 "desc" : "default false (except for weight=default which emulates old behaveiour with an outline)",
315 "memberOf" : "Roo.bootstrap.Button",
321 "desc" : "text for off slidy toggle state",
322 "memberOf" : "Roo.bootstrap.Button",
326 "name" : "removeClass",
328 "desc" : "remove the standard class..",
329 "memberOf" : "Roo.bootstrap.Button",
335 "desc" : "The button text.",
336 "memberOf" : "Roo.bootstrap.ButtonUploader",
342 "desc" : "default null - if the button ahs active state",
343 "memberOf" : "Roo.bootstrap.Button",
350 "desc" : "addCard - add an Attachment to the uploader",
352 "isConstructor" : false,
354 "memberOf" : "Roo.bootstrap.ButtonUploader",
363 "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 }",
371 "desc" : "set the text of the first selected button",
373 "isConstructor" : false,
375 "memberOf" : "Roo.bootstrap.Button",
385 "desc" : "get the current active state",
387 "isConstructor" : false,
389 "memberOf" : "Roo.bootstrap.Button",
399 "desc" : "true if it's active"
404 "name" : "setActive",
405 "desc" : "sets the active state on/off,",
407 "isConstructor" : false,
409 "memberOf" : "Roo.bootstrap.Button",
418 "desc" : "(optional) Force a particular state",
425 "name" : "toggleActive",
426 "desc" : "toggles the current active state",
428 "isConstructor" : false,
430 "memberOf" : "Roo.bootstrap.Button",
440 "desc" : "get the text of the first selected button",
442 "isConstructor" : false,
444 "memberOf" : "Roo.bootstrap.Button",
454 "desc" : "Enables this button",
456 "isConstructor" : false,
458 "memberOf" : "Roo.bootstrap.Button",
468 "desc" : "Disable this button",
470 "isConstructor" : false,
472 "memberOf" : "Roo.bootstrap.Button",
481 "name" : "tooltipEl",
482 "desc" : "Fetch the element to display the tooltip on.",
484 "isConstructor" : false,
486 "memberOf" : "Roo.bootstrap.Component",
495 "type" : "Roo.Element",
496 "desc" : "defaults to this.el"
502 "desc" : "Hide a component - adds 'hidden' class",
504 "isConstructor" : false,
506 "memberOf" : "Roo.bootstrap.Component",
516 "desc" : "Show a component - removes 'hidden' class",
518 "isConstructor" : false,
520 "memberOf" : "Roo.bootstrap.Component",
529 "name" : "setVisibilityEl",
530 "desc" : "Set the element that will be used to show or hide",
532 "isConstructor" : false,
534 "memberOf" : "Roo.bootstrap.Component",
543 "name" : "getVisibilityEl",
544 "desc" : "Get the element that will be used to show or hide",
546 "isConstructor" : false,
548 "memberOf" : "Roo.bootstrap.Component",
557 "name" : "initEvents",
558 "desc" : "Initialize Events for the element",
560 "isConstructor" : false,
562 "memberOf" : "Roo.bootstrap.Component",
571 "name" : "getChildContainer",
572 "desc" : "Fetch the element to add children to",
574 "isConstructor" : false,
576 "memberOf" : "Roo.bootstrap.Component",
585 "type" : "Roo.Element",
586 "desc" : "defaults to this.el"
592 "desc" : "Returns the id of this component.",
594 "isConstructor" : false,
596 "memberOf" : "Roo.Component",
612 "desc" : "If this is a lazy rendering component, render it to its container element.",
614 "isConstructor" : false,
616 "memberOf" : "Roo.Component",
623 "name" : "container",
624 "type" : "String/HTMLElement/Element",
625 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
633 "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}.",
635 "isConstructor" : false,
637 "memberOf" : "Roo.Component",
646 "name" : "isVisible",
647 "desc" : "Returns true if this component is visible.",
649 "isConstructor" : false,
651 "memberOf" : "Roo.Component",
660 "name" : "setDisabled",
661 "desc" : "Convenience function for setting disabled/enabled by boolean.",
663 "isConstructor" : false,
665 "memberOf" : "Roo.Component",
682 "desc" : "Try to focus this component.",
684 "isConstructor" : false,
686 "memberOf" : "Roo.Component",
693 "name" : "selectText",
695 "desc" : "True to also select the text in this component (if applicable)",
702 "type" : "Roo.Component",
708 "name" : "setVisible",
709 "desc" : "Convenience function to hide or show this component by boolean.",
711 "isConstructor" : false,
713 "memberOf" : "Roo.Component",
722 "desc" : "True to show, false to hide",
729 "type" : "Roo.Component",
736 "desc" : "Returns the underlying {@link Roo.Element}.",
738 "isConstructor" : false,
740 "memberOf" : "Roo.Component",
749 "type" : "Roo.Element",
750 "desc" : "The element"
755 "name" : "purgeListeners",
756 "desc" : "Removes all listeners for this object",
758 "isConstructor" : false,
760 "memberOf" : "Roo.util.Observable",
770 "desc" : "Appends an event handler to this element (shorthand for addListener)",
772 "isConstructor" : false,
774 "memberOf" : "Roo.util.Observable",
781 "name" : "eventName",
783 "desc" : "The type of event to listen for",
789 "desc" : "The method the event invokes",
795 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
801 "desc" : "(optional)",
809 "desc" : "Removes a listener (shorthand for removeListener)",
811 "isConstructor" : false,
813 "memberOf" : "Roo.util.Observable",
820 "name" : "eventName",
822 "desc" : "The type of event to listen for",
828 "desc" : "The handler to remove",
834 "desc" : "(optional) The scope (this object) for the handler",
841 "name" : "addEvents",
842 "desc" : "Used to define events on this Observable",
844 "isConstructor" : false,
846 "memberOf" : "Roo.util.Observable",
855 "desc" : "The object with the events defined",
862 "name" : "releaseCapture",
863 "desc" : "Removes <b>all</b> added captures from the Observable.",
865 "isConstructor" : false,
867 "memberOf" : "Roo.util.Observable",
875 "type" : "Observable",
876 "desc" : "The Observable to release",
883 "name" : "removeListener",
884 "desc" : "Removes a listener",
886 "isConstructor" : false,
888 "memberOf" : "Roo.util.Observable",
895 "name" : "eventName",
897 "desc" : "The type of event to listen for",
903 "desc" : "The handler to remove",
909 "desc" : "(optional) The scope (this object) for the handler",
916 "name" : "fireEvent",
917 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
919 "isConstructor" : false,
921 "memberOf" : "Roo.util.Observable",
928 "name" : "eventName",
935 "type" : "Object...",
936 "desc" : "Variable number of parameters are passed to handlers",
944 "desc" : "returns false if any of the handlers return false otherwise it returns true"
949 "name" : "hasListener",
950 "desc" : "Checks to see if this object has any listeners for a specified event",
952 "isConstructor" : false,
954 "memberOf" : "Roo.util.Observable",
961 "name" : "eventName",
963 "desc" : "The name of the event to check for",
971 "desc" : "True if the event is being listened for, else false"
977 "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.",
979 "isConstructor" : false,
981 "memberOf" : "Roo.util.Observable",
989 "type" : "Observable",
990 "desc" : "The Observable to capture",
996 "desc" : "The function to call",
1002 "desc" : "(optional) The scope (this object) for the fn",
1003 "isOptional" : false
1009 "name" : "addListener",
1010 "desc" : "Appends an event handler to this component",
1012 "isConstructor" : false,
1013 "isPrivate" : false,
1014 "memberOf" : "Roo.util.Observable",
1021 "name" : "eventName",
1023 "desc" : "The type of event to listen for",
1024 "isOptional" : false
1028 "type" : "Function",
1029 "desc" : "The method the event invokes",
1030 "isOptional" : false
1035 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1036 "isOptional" : false
1041 "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>",
1042 "isOptional" : false
1050 "name" : "fired when files have been selected,",
1051 "desc" : "When a the download link is clicked",
1052 "memberOf" : "Roo.bootstrap.ButtonUploader",
1060 "type" : "Roo.bootstrap.UploaderButton",
1062 "isOptional" : false
1067 "desc" : "of files that have been uploaded",
1068 "isOptional" : false
1074 "name" : "beforeselect",
1075 "desc" : "When button is pressed, before show upload files dialog is shown",
1076 "memberOf" : "Roo.bootstrap.ButtonUploader",
1084 "type" : "Roo.bootstrap.UploaderButton",
1086 "isOptional" : false
1093 "desc" : "After the button has been toggles",
1094 "memberOf" : "Roo.bootstrap.Button",
1102 "type" : "Roo.bootstrap.Button",
1104 "isOptional" : false
1108 "type" : "Roo.EventObject",
1110 "isOptional" : false
1115 "desc" : "(also available as button.pressed)",
1116 "isOptional" : false
1122 "name" : "dblclick",
1123 "desc" : "When a button is double clicked",
1124 "memberOf" : "Roo.bootstrap.Button",
1132 "type" : "Roo.bootstrap.Button",
1134 "isOptional" : false
1138 "type" : "Roo.EventObject",
1140 "isOptional" : false
1147 "desc" : "When a button is pressed",
1148 "memberOf" : "Roo.bootstrap.Button",
1156 "type" : "Roo.bootstrap.Button",
1158 "isOptional" : false
1162 "type" : "Roo.EventObject",
1164 "isOptional" : false
1170 "name" : "childrenrendered",
1171 "desc" : "Fires when the children have been rendered..",
1172 "memberOf" : "Roo.bootstrap.Component",
1180 "type" : "Roo.bootstrap.Component",
1182 "isOptional" : false
1188 "name" : "beforerender",
1189 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1190 "memberOf" : "Roo.Component",
1198 "type" : "Roo.Component",
1200 "isOptional" : false
1207 "desc" : "Fires after the component is disabled.",
1208 "memberOf" : "Roo.Component",
1216 "type" : "Roo.Component",
1218 "isOptional" : false
1225 "desc" : "Fires after the component is rendered.",
1226 "memberOf" : "Roo.Component",
1234 "type" : "Roo.Component",
1236 "isOptional" : false
1243 "desc" : "Fires after the component is destroyed.",
1244 "memberOf" : "Roo.Component",
1252 "type" : "Roo.Component",
1254 "isOptional" : false
1261 "desc" : "Fires after the component is hidden.",
1262 "memberOf" : "Roo.Component",
1270 "type" : "Roo.Component",
1272 "isOptional" : false
1278 "name" : "beforehide",
1279 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1280 "memberOf" : "Roo.Component",
1288 "type" : "Roo.Component",
1290 "isOptional" : false
1297 "desc" : "Fires after the component is shown.",
1298 "memberOf" : "Roo.Component",
1306 "type" : "Roo.Component",
1308 "isOptional" : false
1314 "name" : "beforeshow",
1315 "desc" : "Fires before the component is shown. Return false to stop the show.",
1316 "memberOf" : "Roo.Component",
1324 "type" : "Roo.Component",
1326 "isOptional" : false
1333 "desc" : "Fires after the component is enabled.",
1334 "memberOf" : "Roo.Component",
1342 "type" : "Roo.Component",
1344 "isOptional" : false
1350 "name" : "beforedestroy",
1351 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1352 "memberOf" : "Roo.Component",
1360 "type" : "Roo.Component",
1362 "isOptional" : false