2 "name" : "Roo.bootstrap.DocumentManager",
4 "Roo.bootstrap.Component",
9 "desc" : "Bootstrap DocumentManager class",
10 "isSingleton" : false,
13 "memberOf" : "DocumentManager",
22 "desc" : "The config object",
31 "name" : "labelAlign",
33 "desc" : "p) default left",
39 "desc" : "set the width of label (1-12)",
45 "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>",
46 "memberOf" : "Roo.util.Observable"
51 "desc" : "set the width of label (1-12)",
57 "desc" : "Text for the tooltip",
58 "memberOf" : "Roo.bootstrap.Component"
61 "name" : "container_method",
63 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
64 "memberOf" : "Roo.bootstrap.Component"
67 "name" : "visibilityEl",
68 "type" : "string|object",
69 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
70 "memberOf" : "Roo.bootstrap.Component"
73 "name" : "fieldLabel",
79 "name" : "toolTipName",
81 "desc" : "default 'filename'",
85 "name" : "can_build_overlaid",
87 "desc" : "True if element can be rebuild from a HTML page",
88 "memberOf" : "Roo.bootstrap.Component"
93 "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\".",
94 "memberOf" : "Roo.Component"
99 "desc" : "default POST",
105 "desc" : "any extra css",
106 "memberOf" : "Roo.bootstrap.Component"
109 "name" : "allowDomMove",
111 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
112 "memberOf" : "Roo.Component"
115 "name" : "paramName",
117 "desc" : "default 'imageUpload'",
121 "name" : "labelWidth",
123 "desc" : "default 4",
129 "desc" : "css class",
130 "memberOf" : "Roo.bootstrap.Component"
135 "desc" : "e) allow edit when upload a image default true",
141 "desc" : "set the width of label (1-12)",
147 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
148 "memberOf" : "Roo.bootstrap.Component"
151 "name" : "actionMode",
153 "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",
154 "memberOf" : "Roo.Component"
159 "desc" : "number of boxes, 0 is no limit.. default 0",
165 "desc" : "multiple upload default true",
169 "name" : "thumbSize",
171 "desc" : "default 300",
177 "desc" : "set the width of label (1-12)",
183 "desc" : "cutomer id",
184 "memberOf" : "Roo.bootstrap.Component"
189 "desc" : "action url",
195 "desc" : "Specifies name attribute",
196 "memberOf" : "Roo.bootstrap.Component"
199 "name" : "disableClass",
201 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
202 "memberOf" : "Roo.Component"
207 "name" : "tooltipEl",
209 "desc" : "Fetch the element to display the tooltip on.",
210 "sig" : "()\n{\n\n}",
212 "memberOf" : "Roo.bootstrap.Component",
214 "isConstructor" : false,
226 "type" : "Roo.Element",
227 "desc" : "defaults to this.el"
234 "desc" : "Hide a component - adds 'hidden' class",
235 "sig" : "()\n{\n\n}",
237 "memberOf" : "Roo.bootstrap.Component",
239 "isConstructor" : false,
253 "desc" : "Show a component - removes 'hidden' class",
254 "sig" : "()\n{\n\n}",
256 "memberOf" : "Roo.bootstrap.Component",
258 "isConstructor" : false,
270 "name" : "setVisibilityEl",
272 "desc" : "Set the element that will be used to show or hide",
273 "sig" : "()\n{\n\n}",
275 "memberOf" : "Roo.bootstrap.Component",
277 "isConstructor" : false,
289 "name" : "getVisibilityEl",
291 "desc" : "Get the element that will be used to show or hide",
292 "sig" : "()\n{\n\n}",
294 "memberOf" : "Roo.bootstrap.Component",
296 "isConstructor" : false,
308 "name" : "initEvents",
310 "desc" : "Initialize Events for the element",
311 "sig" : "()\n{\n\n}",
313 "memberOf" : "Roo.bootstrap.Component",
315 "isConstructor" : false,
327 "name" : "getChildContainer",
329 "desc" : "Fetch the element to add children to",
330 "sig" : "()\n{\n\n}",
332 "memberOf" : "Roo.bootstrap.Component",
334 "isConstructor" : false,
346 "type" : "Roo.Element",
347 "desc" : "defaults to this.el"
354 "desc" : "Returns the id of this component.",
355 "sig" : "()\n{\n\n}",
357 "memberOf" : "Roo.Component",
359 "isConstructor" : false,
379 "desc" : "If this is a lazy rendering component, render it to its container element.",
380 "sig" : "(container)",
382 "memberOf" : "Roo.Component",
384 "isConstructor" : false,
394 "name" : "container",
395 "type" : "String/HTMLElement/Element",
396 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
405 "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}.",
406 "sig" : "()\n{\n\n}",
408 "memberOf" : "Roo.Component",
410 "isConstructor" : false,
422 "name" : "isVisible",
424 "desc" : "Returns true if this component is visible.",
425 "sig" : "()\n{\n\n}",
427 "memberOf" : "Roo.Component",
429 "isConstructor" : false,
441 "name" : "setDisabled",
443 "desc" : "Convenience function for setting disabled/enabled by boolean.",
444 "sig" : "(disabled)",
446 "memberOf" : "Roo.Component",
448 "isConstructor" : false,
469 "desc" : "Try to focus this component.",
470 "sig" : "(selectText)",
472 "memberOf" : "Roo.Component",
474 "isConstructor" : false,
484 "name" : "selectText",
486 "desc" : "True to also select the text in this component (if applicable)",
493 "type" : "Roo.Component",
501 "desc" : "Enable this component.",
502 "sig" : "()\n{\n\n}",
504 "memberOf" : "Roo.Component",
506 "isConstructor" : false,
518 "type" : "Roo.Component",
524 "name" : "setVisible",
526 "desc" : "Convenience function to hide or show this component by boolean.",
529 "memberOf" : "Roo.Component",
531 "isConstructor" : false,
543 "desc" : "True to show, false to hide",
550 "type" : "Roo.Component",
558 "desc" : "Disable this component.",
559 "sig" : "()\n{\n\n}",
561 "memberOf" : "Roo.Component",
563 "isConstructor" : false,
575 "type" : "Roo.Component",
583 "desc" : "Returns the underlying {@link Roo.Element}.",
584 "sig" : "()\n{\n\n}",
586 "memberOf" : "Roo.Component",
588 "isConstructor" : false,
600 "type" : "Roo.Element",
601 "desc" : "The element"
606 "name" : "purgeListeners",
608 "desc" : "Removes all listeners for this object",
609 "sig" : "()\n{\n\n}",
611 "memberOf" : "Roo.util.Observable",
613 "isConstructor" : false,
627 "desc" : "Appends an event handler to this element (shorthand for addListener)",
628 "sig" : "(eventName, handler, scope, options)",
630 "memberOf" : "Roo.util.Observable",
632 "isConstructor" : false,
642 "name" : "eventName",
644 "desc" : "The type of event to listen for",
650 "desc" : "The method the event invokes",
656 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
662 "desc" : "(optional)",
671 "desc" : "Removes a listener (shorthand for removeListener)",
672 "sig" : "(eventName, handler, scope)",
674 "memberOf" : "Roo.util.Observable",
676 "isConstructor" : false,
686 "name" : "eventName",
688 "desc" : "The type of event to listen for",
694 "desc" : "The handler to remove",
700 "desc" : "(optional) The scope (this object) for the handler",
707 "name" : "addEvents",
709 "desc" : "Used to define events on this Observable",
712 "memberOf" : "Roo.util.Observable",
714 "isConstructor" : false,
726 "desc" : "The object with the events defined",
733 "name" : "releaseCapture",
735 "desc" : "Removes <b>all</b> added captures from the Observable.",
738 "memberOf" : "Roo.util.Observable",
740 "isConstructor" : false,
751 "type" : "Observable",
752 "desc" : "The Observable to release",
759 "name" : "removeListener",
761 "desc" : "Removes a listener",
762 "sig" : "(eventName, handler, scope)",
764 "memberOf" : "Roo.util.Observable",
766 "isConstructor" : false,
776 "name" : "eventName",
778 "desc" : "The type of event to listen for",
784 "desc" : "The handler to remove",
790 "desc" : "(optional) The scope (this object) for the handler",
797 "name" : "fireEvent",
799 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
800 "sig" : "(eventName, args)",
802 "memberOf" : "Roo.util.Observable",
804 "isConstructor" : false,
814 "name" : "eventName",
821 "type" : "Object...",
822 "desc" : "Variable number of parameters are passed to handlers",
830 "desc" : "returns false if any of the handlers return false otherwise it returns true"
835 "name" : "hasListener",
837 "desc" : "Checks to see if this object has any listeners for a specified event",
838 "sig" : "(eventName)",
840 "memberOf" : "Roo.util.Observable",
842 "isConstructor" : false,
852 "name" : "eventName",
854 "desc" : "The name of the event to check for",
862 "desc" : "True if the event is being listened for, else false"
869 "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.",
870 "sig" : "(o, fn, scope)",
872 "memberOf" : "Roo.util.Observable",
874 "isConstructor" : false,
885 "type" : "Observable",
886 "desc" : "The Observable to capture",
892 "desc" : "The function to call",
898 "desc" : "(optional) The scope (this object) for the fn",
905 "name" : "addListener",
907 "desc" : "Appends an event handler to this component",
908 "sig" : "(eventName, handler, scope, options)",
910 "memberOf" : "Roo.util.Observable",
912 "isConstructor" : false,
922 "name" : "eventName",
924 "desc" : "The type of event to listen for",
930 "desc" : "The method the event invokes",
936 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
942 "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>",
953 "desc" : "Fire after refresh the file",
954 "sig" : "function (_self)\n{\n\n}",
963 "type" : "Roo.bootstrap.DocumentManager",
971 "name" : "afterupload",
973 "desc" : "Fire when xhr load exception",
974 "sig" : "function (_self, xhr)\n{\n\n}",
983 "type" : "Roo.bootstrap.DocumentManager",
989 "type" : "XMLHttpRequest",
997 "name" : "beforeselectfile",
999 "desc" : "Fire before select file",
1000 "sig" : "function (_self)\n{\n\n}",
1009 "type" : "Roo.bootstrap.DocumentManager",
1011 "isOptional" : false
1018 "type" : "function",
1019 "desc" : "Fire when remove the file",
1020 "sig" : "function (_self, file)\n{\n\n}",
1029 "type" : "Roo.bootstrap.DocumentManager",
1031 "isOptional" : false
1037 "isOptional" : false
1044 "type" : "function",
1045 "desc" : "Fire before process file",
1046 "sig" : "function (_self, file)\n{\n\n}",
1055 "type" : "Roo.bootstrap.DocumentManager",
1057 "isOptional" : false
1063 "isOptional" : false
1070 "type" : "function",
1071 "desc" : "inspect selected file",
1072 "sig" : "function (_self, file)\n{\n\n}",
1081 "type" : "Roo.bootstrap.DocumentManager",
1083 "isOptional" : false
1089 "isOptional" : false
1096 "type" : "function",
1097 "desc" : "Fire when initial the DocumentManager",
1098 "sig" : "function (_self)\n{\n\n}",
1107 "type" : "Roo.bootstrap.DocumentManager",
1109 "isOptional" : false
1115 "name" : "exception",
1116 "type" : "function",
1117 "desc" : "Fire when xhr load exception",
1118 "sig" : "function (_self, xhr)\n{\n\n}",
1127 "type" : "Roo.bootstrap.DocumentManager",
1129 "isOptional" : false
1133 "type" : "XMLHttpRequest",
1135 "isOptional" : false
1142 "type" : "function",
1143 "desc" : "prepare the form data",
1144 "sig" : "function (_self, formData)\n{\n\n}",
1153 "type" : "Roo.bootstrap.DocumentManager",
1155 "isOptional" : false
1158 "name" : "formData",
1161 "isOptional" : false
1168 "type" : "function",
1169 "desc" : "Fire after click the image",
1170 "sig" : "function (_self, file)\n{\n\n}",
1179 "type" : "Roo.bootstrap.DocumentManager",
1181 "isOptional" : false
1187 "isOptional" : false
1194 "type" : "function",
1195 "desc" : "Fire when upload a image and editable set to true",
1196 "sig" : "function (_self, file)\n{\n\n}",
1205 "type" : "Roo.bootstrap.DocumentManager",
1207 "isOptional" : false
1213 "isOptional" : false
1219 "name" : "previewrendered",
1220 "type" : "function",
1221 "desc" : "Fire when preview rendered",
1222 "sig" : "function (_self, file)\n{\n\n}",
1231 "type" : "Roo.bootstrap.DocumentManager",
1233 "isOptional" : false
1239 "isOptional" : false
1245 "name" : "childrenrendered",
1246 "type" : "function",
1247 "desc" : "Fires when the children have been rendered..",
1248 "sig" : "function (_self)\n{\n\n}",
1249 "memberOf" : "Roo.bootstrap.Component",
1257 "type" : "Roo.bootstrap.Component",
1259 "isOptional" : false
1265 "name" : "beforerender",
1266 "type" : "function",
1267 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1268 "sig" : "function (_self)\n{\n\n}",
1269 "memberOf" : "Roo.Component",
1277 "type" : "Roo.Component",
1279 "isOptional" : false
1286 "type" : "function",
1287 "desc" : "Fires after the component is disabled.",
1288 "sig" : "function (_self)\n{\n\n}",
1289 "memberOf" : "Roo.Component",
1297 "type" : "Roo.Component",
1299 "isOptional" : false
1306 "type" : "function",
1307 "desc" : "Fires after the component is rendered.",
1308 "sig" : "function (_self)\n{\n\n}",
1309 "memberOf" : "Roo.Component",
1317 "type" : "Roo.Component",
1319 "isOptional" : false
1326 "type" : "function",
1327 "desc" : "Fires after the component is destroyed.",
1328 "sig" : "function (_self)\n{\n\n}",
1329 "memberOf" : "Roo.Component",
1337 "type" : "Roo.Component",
1339 "isOptional" : false
1346 "type" : "function",
1347 "desc" : "Fires after the component is hidden.",
1348 "sig" : "function (_self)\n{\n\n}",
1349 "memberOf" : "Roo.Component",
1357 "type" : "Roo.Component",
1359 "isOptional" : false
1365 "name" : "beforehide",
1366 "type" : "function",
1367 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1368 "sig" : "function (_self)\n{\n\n}",
1369 "memberOf" : "Roo.Component",
1377 "type" : "Roo.Component",
1379 "isOptional" : false
1386 "type" : "function",
1387 "desc" : "Fires after the component is shown.",
1388 "sig" : "function (_self)\n{\n\n}",
1389 "memberOf" : "Roo.Component",
1397 "type" : "Roo.Component",
1399 "isOptional" : false
1405 "name" : "beforeshow",
1406 "type" : "function",
1407 "desc" : "Fires before the component is shown. Return false to stop the show.",
1408 "sig" : "function (_self)\n{\n\n}",
1409 "memberOf" : "Roo.Component",
1417 "type" : "Roo.Component",
1419 "isOptional" : false
1426 "type" : "function",
1427 "desc" : "Fires after the component is enabled.",
1428 "sig" : "function (_self)\n{\n\n}",
1429 "memberOf" : "Roo.Component",
1437 "type" : "Roo.Component",
1439 "isOptional" : false
1445 "name" : "beforedestroy",
1446 "type" : "function",
1447 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1448 "sig" : "function (_self)\n{\n\n}",
1449 "memberOf" : "Roo.Component",
1457 "type" : "Roo.Component",
1459 "isOptional" : false