2 "name" : "Roo.bootstrap.DocumentManager",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap DocumentManager class",
12 "memberOf" : "DocumentManager",
21 "desc" : "The config object",
29 "name" : "labelAlign",
31 "desc" : "default left",
32 "memberOf" : "Roo.bootstrap.DocumentManager",
41 "desc" : "set the width of label (1-12)",
42 "memberOf" : "Roo.bootstrap.DocumentManager",
49 "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>",
50 "memberOf" : "Roo.util.Observable",
57 "desc" : "set the width of label (1-12)",
58 "memberOf" : "Roo.bootstrap.DocumentManager",
65 "desc" : "Text for the tooltip",
66 "memberOf" : "Roo.bootstrap.Component",
71 "name" : "container_method",
73 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
74 "memberOf" : "Roo.bootstrap.Component",
79 "name" : "visibilityEl",
80 "type" : "string|object",
81 "desc" : "What element to use for visibility (@see getVisibilityEl())",
82 "memberOf" : "Roo.bootstrap.Component",
89 "name" : "fieldLabel",
92 "memberOf" : "Roo.bootstrap.DocumentManager",
97 "name" : "toolTipName",
99 "desc" : "default 'filename'",
100 "memberOf" : "Roo.bootstrap.DocumentManager",
105 "name" : "can_build_overlaid",
107 "desc" : "True if element can be rebuild from a HTML page",
108 "memberOf" : "Roo.bootstrap.Component",
115 "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\".",
116 "memberOf" : "Roo.Component",
125 "desc" : "default POST",
126 "memberOf" : "Roo.bootstrap.DocumentManager",
133 "desc" : "any extra css",
134 "memberOf" : "Roo.bootstrap.Component",
139 "name" : "allowDomMove",
141 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
142 "memberOf" : "Roo.Component",
147 "name" : "paramName",
149 "desc" : "default 'imageUpload'",
150 "memberOf" : "Roo.bootstrap.DocumentManager",
155 "name" : "labelWidth",
157 "desc" : "default 4",
158 "memberOf" : "Roo.bootstrap.DocumentManager",
165 "desc" : "css class",
166 "memberOf" : "Roo.bootstrap.Component",
173 "desc" : "allow edit when upload a image default true",
174 "memberOf" : "Roo.bootstrap.DocumentManager",
183 "desc" : "set the width of label (1-12)",
184 "memberOf" : "Roo.bootstrap.DocumentManager",
191 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
192 "memberOf" : "Roo.bootstrap.Component",
197 "name" : "actionMode",
199 "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",
200 "memberOf" : "Roo.Component",
207 "desc" : "number of boxes, 0 is no limit.. default 0",
208 "memberOf" : "Roo.bootstrap.DocumentManager",
215 "desc" : "multiple upload default true",
216 "memberOf" : "Roo.bootstrap.DocumentManager",
221 "name" : "thumbSize",
223 "desc" : "default 300",
224 "memberOf" : "Roo.bootstrap.DocumentManager",
231 "desc" : "set the width of label (1-12)",
232 "memberOf" : "Roo.bootstrap.DocumentManager",
239 "desc" : "cutomer id",
240 "memberOf" : "Roo.bootstrap.Component",
247 "desc" : "action url",
248 "memberOf" : "Roo.bootstrap.DocumentManager",
255 "desc" : "Specifies name attribute",
256 "memberOf" : "Roo.bootstrap.Component",
261 "name" : "disableClass",
263 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
264 "memberOf" : "Roo.Component",
271 "name" : "tooltipEl",
272 "desc" : "Fetch the element to display the tooltip on.",
274 "isConstructor" : false,
276 "memberOf" : "Roo.bootstrap.Component",
286 "type" : "Roo.Element",
287 "desc" : "defaults to this.el"
293 "desc" : "Hide a component - adds 'hidden' class",
295 "isConstructor" : false,
297 "memberOf" : "Roo.bootstrap.Component",
309 "desc" : "Show a component - removes 'hidden' class",
311 "isConstructor" : false,
313 "memberOf" : "Roo.bootstrap.Component",
324 "name" : "setVisibilityEl",
325 "desc" : "Set the element that will be used to show or hide",
327 "isConstructor" : false,
329 "memberOf" : "Roo.bootstrap.Component",
340 "name" : "getVisibilityEl",
341 "desc" : "Get the element that will be used to show or hide",
343 "isConstructor" : false,
345 "memberOf" : "Roo.bootstrap.Component",
356 "name" : "initEvents",
357 "desc" : "Initialize Events for the element",
359 "isConstructor" : false,
361 "memberOf" : "Roo.bootstrap.Component",
372 "name" : "getChildContainer",
373 "desc" : "Fetch the element to add children to",
375 "isConstructor" : false,
377 "memberOf" : "Roo.bootstrap.Component",
387 "type" : "Roo.Element",
388 "desc" : "defaults to this.el"
394 "desc" : "Returns the id of this component.",
396 "isConstructor" : false,
398 "memberOf" : "Roo.Component",
415 "desc" : "If this is a lazy rendering component, render it to its container element.",
417 "isConstructor" : false,
419 "memberOf" : "Roo.Component",
426 "name" : "container",
427 "type" : "String/HTMLElement/Element",
428 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
437 "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}.",
439 "isConstructor" : false,
441 "memberOf" : "Roo.Component",
452 "name" : "isVisible",
453 "desc" : "Returns true if this component is visible.",
455 "isConstructor" : false,
457 "memberOf" : "Roo.Component",
468 "name" : "setDisabled",
469 "desc" : "Convenience function for setting disabled/enabled by boolean.",
471 "isConstructor" : false,
473 "memberOf" : "Roo.Component",
491 "desc" : "Try to focus this component.",
493 "isConstructor" : false,
495 "memberOf" : "Roo.Component",
502 "name" : "selectText",
504 "desc" : "True to also select the text in this component (if applicable)",
511 "type" : "Roo.Component",
518 "desc" : "Enable this component.",
520 "isConstructor" : false,
522 "memberOf" : "Roo.Component",
532 "type" : "Roo.Component",
538 "name" : "setVisible",
539 "desc" : "Convenience function to hide or show this component by boolean.",
541 "isConstructor" : false,
543 "memberOf" : "Roo.Component",
552 "desc" : "True to show, false to hide",
559 "type" : "Roo.Component",
566 "desc" : "Disable this component.",
568 "isConstructor" : false,
570 "memberOf" : "Roo.Component",
580 "type" : "Roo.Component",
587 "desc" : "Returns the underlying {@link Roo.Element}.",
589 "isConstructor" : false,
591 "memberOf" : "Roo.Component",
601 "type" : "Roo.Element",
602 "desc" : "The element"
607 "name" : "purgeListeners",
608 "desc" : "Removes all listeners for this object",
610 "isConstructor" : false,
612 "memberOf" : "Roo.util.Observable",
624 "desc" : "Appends an event handler to this element (shorthand for addListener)",
626 "isConstructor" : false,
628 "memberOf" : "Roo.util.Observable",
635 "name" : "eventName",
637 "desc" : "The type of event to listen for",
643 "desc" : "The method the event invokes",
649 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
655 "desc" : "(optional)",
664 "desc" : "Removes a listener (shorthand for removeListener)",
666 "isConstructor" : false,
668 "memberOf" : "Roo.util.Observable",
675 "name" : "eventName",
677 "desc" : "The type of event to listen for",
683 "desc" : "The handler to remove",
689 "desc" : "(optional) The scope (this object) for the handler",
697 "name" : "addEvents",
698 "desc" : "Used to define events on this Observable",
700 "isConstructor" : false,
702 "memberOf" : "Roo.util.Observable",
711 "desc" : "The object with the events defined",
719 "name" : "releaseCapture",
720 "desc" : "Removes <b>all</b> added captures from the Observable.",
722 "isConstructor" : false,
724 "memberOf" : "Roo.util.Observable",
732 "type" : "Observable",
733 "desc" : "The Observable to release",
741 "name" : "removeListener",
742 "desc" : "Removes a listener",
744 "isConstructor" : false,
746 "memberOf" : "Roo.util.Observable",
753 "name" : "eventName",
755 "desc" : "The type of event to listen for",
761 "desc" : "The handler to remove",
767 "desc" : "(optional) The scope (this object) for the handler",
775 "name" : "fireEvent",
776 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
778 "isConstructor" : false,
780 "memberOf" : "Roo.util.Observable",
787 "name" : "eventName",
794 "type" : "Object...",
795 "desc" : "Variable number of parameters are passed to handlers",
803 "desc" : "returns false if any of the handlers return false otherwise it returns true"
808 "name" : "hasListener",
809 "desc" : "Checks to see if this object has any listeners for a specified event",
811 "isConstructor" : false,
813 "memberOf" : "Roo.util.Observable",
820 "name" : "eventName",
822 "desc" : "The name of the event to check for",
830 "desc" : "True if the event is being listened for, else false"
836 "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.",
838 "isConstructor" : false,
840 "memberOf" : "Roo.util.Observable",
848 "type" : "Observable",
849 "desc" : "The Observable to capture",
855 "desc" : "The function to call",
861 "desc" : "(optional) The scope (this object) for the fn",
869 "name" : "addListener",
870 "desc" : "Appends an event handler to this component",
872 "isConstructor" : false,
874 "memberOf" : "Roo.util.Observable",
881 "name" : "eventName",
883 "desc" : "The type of event to listen for",
889 "desc" : "The method the event invokes",
895 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
901 "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>",
912 "desc" : "Fire after refresh the file",
913 "memberOf" : "Roo.bootstrap.DocumentManager",
921 "type" : "Roo.bootstrap.DocumentManager",
930 "name" : "afterupload",
931 "desc" : "Fire when xhr load exception",
932 "memberOf" : "Roo.bootstrap.DocumentManager",
940 "type" : "Roo.bootstrap.DocumentManager",
946 "type" : "XMLHttpRequest",
955 "name" : "beforeselectfile",
956 "desc" : "Fire before select file",
957 "memberOf" : "Roo.bootstrap.DocumentManager",
965 "type" : "Roo.bootstrap.DocumentManager",
975 "desc" : "Fire when remove the file",
976 "memberOf" : "Roo.bootstrap.DocumentManager",
984 "type" : "Roo.bootstrap.DocumentManager",
1000 "desc" : "Fire before process file",
1001 "memberOf" : "Roo.bootstrap.DocumentManager",
1009 "type" : "Roo.bootstrap.DocumentManager",
1011 "isOptional" : false
1017 "isOptional" : false
1025 "desc" : "inspect selected file",
1026 "memberOf" : "Roo.bootstrap.DocumentManager",
1034 "type" : "Roo.bootstrap.DocumentManager",
1036 "isOptional" : false
1042 "isOptional" : false
1050 "desc" : "Fire when initial the DocumentManager",
1051 "memberOf" : "Roo.bootstrap.DocumentManager",
1059 "type" : "Roo.bootstrap.DocumentManager",
1061 "isOptional" : false
1068 "name" : "exception",
1069 "desc" : "Fire when xhr load exception",
1070 "memberOf" : "Roo.bootstrap.DocumentManager",
1078 "type" : "Roo.bootstrap.DocumentManager",
1080 "isOptional" : false
1084 "type" : "XMLHttpRequest",
1086 "isOptional" : false
1094 "desc" : "prepare the form data",
1095 "memberOf" : "Roo.bootstrap.DocumentManager",
1103 "type" : "Roo.bootstrap.DocumentManager",
1105 "isOptional" : false
1108 "name" : "formData",
1111 "isOptional" : false
1119 "desc" : "Fire after click the image",
1120 "memberOf" : "Roo.bootstrap.DocumentManager",
1128 "type" : "Roo.bootstrap.DocumentManager",
1130 "isOptional" : false
1136 "isOptional" : false
1144 "desc" : "Fire when upload a image and editable set to true",
1145 "memberOf" : "Roo.bootstrap.DocumentManager",
1153 "type" : "Roo.bootstrap.DocumentManager",
1155 "isOptional" : false
1161 "isOptional" : false
1168 "name" : "previewrendered",
1169 "desc" : "Fire when preview rendered",
1170 "memberOf" : "Roo.bootstrap.DocumentManager",
1178 "type" : "Roo.bootstrap.DocumentManager",
1180 "isOptional" : false
1186 "isOptional" : false
1193 "name" : "childrenrendered",
1194 "desc" : "Fires when the children have been rendered..",
1195 "memberOf" : "Roo.bootstrap.Component",
1203 "type" : "Roo.bootstrap.Component",
1205 "isOptional" : false
1212 "name" : "beforerender",
1213 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1214 "memberOf" : "Roo.Component",
1222 "type" : "Roo.Component",
1224 "isOptional" : false
1232 "desc" : "Fires after the component is disabled.",
1233 "memberOf" : "Roo.Component",
1241 "type" : "Roo.Component",
1243 "isOptional" : false
1251 "desc" : "Fires after the component is rendered.",
1252 "memberOf" : "Roo.Component",
1260 "type" : "Roo.Component",
1262 "isOptional" : false
1270 "desc" : "Fires after the component is destroyed.",
1271 "memberOf" : "Roo.Component",
1279 "type" : "Roo.Component",
1281 "isOptional" : false
1289 "desc" : "Fires after the component is hidden.",
1290 "memberOf" : "Roo.Component",
1298 "type" : "Roo.Component",
1300 "isOptional" : false
1307 "name" : "beforehide",
1308 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1309 "memberOf" : "Roo.Component",
1317 "type" : "Roo.Component",
1319 "isOptional" : false
1327 "desc" : "Fires after the component is shown.",
1328 "memberOf" : "Roo.Component",
1336 "type" : "Roo.Component",
1338 "isOptional" : false
1345 "name" : "beforeshow",
1346 "desc" : "Fires before the component is shown. Return false to stop the show.",
1347 "memberOf" : "Roo.Component",
1355 "type" : "Roo.Component",
1357 "isOptional" : false
1365 "desc" : "Fires after the component is enabled.",
1366 "memberOf" : "Roo.Component",
1374 "type" : "Roo.Component",
1376 "isOptional" : false
1383 "name" : "beforedestroy",
1384 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1385 "memberOf" : "Roo.Component",
1393 "type" : "Roo.Component",
1395 "isOptional" : false