2 "name" : "Roo.bootstrap.DocumentManager",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap DocumentManager class",
12 "memberOf" : "DocumentManager",
21 "desc" : "The config object",
30 "name" : "labelAlign",
32 "desc" : "p) default left",
38 "desc" : "set the width of label (1-12)",
44 "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>",
45 "memberOf" : "Roo.util.Observable"
50 "desc" : "set the width of label (1-12)",
56 "desc" : "Text for the tooltip",
57 "memberOf" : "Roo.bootstrap.Component"
60 "name" : "container_method",
62 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
63 "memberOf" : "Roo.bootstrap.Component"
66 "name" : "visibilityEl",
67 "type" : "string|object",
68 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
69 "memberOf" : "Roo.bootstrap.Component"
72 "name" : "fieldLabel",
78 "name" : "toolTipName",
80 "desc" : "default 'filename'",
84 "name" : "can_build_overlaid",
86 "desc" : "True if element can be rebuild from a HTML page",
87 "memberOf" : "Roo.bootstrap.Component"
92 "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\".",
93 "memberOf" : "Roo.Component"
98 "desc" : "default POST",
104 "desc" : "any extra css",
105 "memberOf" : "Roo.bootstrap.Component"
108 "name" : "allowDomMove",
110 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
111 "memberOf" : "Roo.Component"
114 "name" : "paramName",
116 "desc" : "default 'imageUpload'",
120 "name" : "labelWidth",
122 "desc" : "default 4",
128 "desc" : "css class",
129 "memberOf" : "Roo.bootstrap.Component"
134 "desc" : "e) allow edit when upload a image default true",
140 "desc" : "set the width of label (1-12)",
146 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
147 "memberOf" : "Roo.bootstrap.Component"
150 "name" : "actionMode",
152 "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",
153 "memberOf" : "Roo.Component"
158 "desc" : "number of boxes, 0 is no limit.. default 0",
164 "desc" : "multiple upload default true",
168 "name" : "thumbSize",
170 "desc" : "default 300",
176 "desc" : "set the width of label (1-12)",
182 "desc" : "cutomer id",
183 "memberOf" : "Roo.bootstrap.Component"
188 "desc" : "action url",
194 "desc" : "Specifies name attribute",
195 "memberOf" : "Roo.bootstrap.Component"
198 "name" : "disableClass",
200 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
201 "memberOf" : "Roo.Component"
206 "name" : "tooltipEl",
208 "desc" : "Fetch the element to display the tooltip on.",
209 "sig" : "()\n{\n\n}",
211 "memberOf" : "Roo.bootstrap.Component",
213 "isConstructor" : false,
225 "type" : "Roo.Element",
226 "desc" : "defaults to this.el"
233 "desc" : "Hide a component - adds 'hidden' class",
234 "sig" : "()\n{\n\n}",
236 "memberOf" : "Roo.bootstrap.Component",
238 "isConstructor" : false,
252 "desc" : "Show a component - removes 'hidden' class",
253 "sig" : "()\n{\n\n}",
255 "memberOf" : "Roo.bootstrap.Component",
257 "isConstructor" : false,
269 "name" : "setVisibilityEl",
271 "desc" : "Set the element that will be used to show or hide",
272 "sig" : "()\n{\n\n}",
274 "memberOf" : "Roo.bootstrap.Component",
276 "isConstructor" : false,
288 "name" : "getVisibilityEl",
290 "desc" : "Get the element that will be used to show or hide",
291 "sig" : "()\n{\n\n}",
293 "memberOf" : "Roo.bootstrap.Component",
295 "isConstructor" : false,
307 "name" : "initEvents",
309 "desc" : "Initialize Events for the element",
310 "sig" : "()\n{\n\n}",
312 "memberOf" : "Roo.bootstrap.Component",
314 "isConstructor" : false,
326 "name" : "getChildContainer",
328 "desc" : "Fetch the element to add children to",
329 "sig" : "()\n{\n\n}",
331 "memberOf" : "Roo.bootstrap.Component",
333 "isConstructor" : false,
345 "type" : "Roo.Element",
346 "desc" : "defaults to this.el"
353 "desc" : "Returns the id of this component.",
354 "sig" : "()\n{\n\n}",
356 "memberOf" : "Roo.Component",
358 "isConstructor" : false,
378 "desc" : "If this is a lazy rendering component, render it to its container element.",
379 "sig" : "(container)",
381 "memberOf" : "Roo.Component",
383 "isConstructor" : false,
393 "name" : "container",
394 "type" : "String/HTMLElement/Element",
395 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
404 "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}.",
405 "sig" : "()\n{\n\n}",
407 "memberOf" : "Roo.Component",
409 "isConstructor" : false,
421 "name" : "isVisible",
423 "desc" : "Returns true if this component is visible.",
424 "sig" : "()\n{\n\n}",
426 "memberOf" : "Roo.Component",
428 "isConstructor" : false,
440 "name" : "setDisabled",
442 "desc" : "Convenience function for setting disabled/enabled by boolean.",
443 "sig" : "(disabled)",
445 "memberOf" : "Roo.Component",
447 "isConstructor" : false,
468 "desc" : "Try to focus this component.",
469 "sig" : "(selectText)",
471 "memberOf" : "Roo.Component",
473 "isConstructor" : false,
483 "name" : "selectText",
485 "desc" : "True to also select the text in this component (if applicable)",
492 "type" : "Roo.Component",
500 "desc" : "Enable this component.",
501 "sig" : "()\n{\n\n}",
503 "memberOf" : "Roo.Component",
505 "isConstructor" : false,
517 "type" : "Roo.Component",
523 "name" : "setVisible",
525 "desc" : "Convenience function to hide or show this component by boolean.",
528 "memberOf" : "Roo.Component",
530 "isConstructor" : false,
542 "desc" : "True to show, false to hide",
549 "type" : "Roo.Component",
557 "desc" : "Disable this component.",
558 "sig" : "()\n{\n\n}",
560 "memberOf" : "Roo.Component",
562 "isConstructor" : false,
574 "type" : "Roo.Component",
582 "desc" : "Returns the underlying {@link Roo.Element}.",
583 "sig" : "()\n{\n\n}",
585 "memberOf" : "Roo.Component",
587 "isConstructor" : false,
599 "type" : "Roo.Element",
600 "desc" : "The element"
605 "name" : "purgeListeners",
607 "desc" : "Removes all listeners for this object",
608 "sig" : "()\n{\n\n}",
610 "memberOf" : "Roo.util.Observable",
612 "isConstructor" : false,
626 "desc" : "Appends an event handler to this element (shorthand for addListener)",
627 "sig" : "(eventName, handler, scope, options)",
629 "memberOf" : "Roo.util.Observable",
631 "isConstructor" : false,
641 "name" : "eventName",
643 "desc" : "The type of event to listen for",
649 "desc" : "The method the event invokes",
655 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
661 "desc" : "(optional)",
670 "desc" : "Removes a listener (shorthand for removeListener)",
671 "sig" : "(eventName, handler, scope)",
673 "memberOf" : "Roo.util.Observable",
675 "isConstructor" : false,
685 "name" : "eventName",
687 "desc" : "The type of event to listen for",
693 "desc" : "The handler to remove",
699 "desc" : "(optional) The scope (this object) for the handler",
706 "name" : "addEvents",
708 "desc" : "Used to define events on this Observable",
711 "memberOf" : "Roo.util.Observable",
713 "isConstructor" : false,
725 "desc" : "The object with the events defined",
732 "name" : "releaseCapture",
734 "desc" : "Removes <b>all</b> added captures from the Observable.",
737 "memberOf" : "Roo.util.Observable",
739 "isConstructor" : false,
750 "type" : "Observable",
751 "desc" : "The Observable to release",
758 "name" : "removeListener",
760 "desc" : "Removes a listener",
761 "sig" : "(eventName, handler, scope)",
763 "memberOf" : "Roo.util.Observable",
765 "isConstructor" : false,
775 "name" : "eventName",
777 "desc" : "The type of event to listen for",
783 "desc" : "The handler to remove",
789 "desc" : "(optional) The scope (this object) for the handler",
796 "name" : "fireEvent",
798 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
799 "sig" : "(eventName, args)",
801 "memberOf" : "Roo.util.Observable",
803 "isConstructor" : false,
813 "name" : "eventName",
820 "type" : "Object...",
821 "desc" : "Variable number of parameters are passed to handlers",
829 "desc" : "returns false if any of the handlers return false otherwise it returns true"
834 "name" : "hasListener",
836 "desc" : "Checks to see if this object has any listeners for a specified event",
837 "sig" : "(eventName)",
839 "memberOf" : "Roo.util.Observable",
841 "isConstructor" : false,
851 "name" : "eventName",
853 "desc" : "The name of the event to check for",
861 "desc" : "True if the event is being listened for, else false"
868 "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.",
869 "sig" : "(o, fn, scope)",
871 "memberOf" : "Roo.util.Observable",
873 "isConstructor" : false,
884 "type" : "Observable",
885 "desc" : "The Observable to capture",
891 "desc" : "The function to call",
897 "desc" : "(optional) The scope (this object) for the fn",
904 "name" : "addListener",
906 "desc" : "Appends an event handler to this component",
907 "sig" : "(eventName, handler, scope, options)",
909 "memberOf" : "Roo.util.Observable",
911 "isConstructor" : false,
921 "name" : "eventName",
923 "desc" : "The type of event to listen for",
929 "desc" : "The method the event invokes",
935 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
941 "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>",
952 "desc" : "Fire after refresh the file",
953 "sig" : "function (_self)\n{\n\n}",
962 "type" : "Roo.bootstrap.DocumentManager",
970 "name" : "afterupload",
972 "desc" : "Fire when xhr load exception",
973 "sig" : "function (_self, xhr)\n{\n\n}",
982 "type" : "Roo.bootstrap.DocumentManager",
988 "type" : "XMLHttpRequest",
996 "name" : "beforeselectfile",
998 "desc" : "Fire before select file",
999 "sig" : "function (_self)\n{\n\n}",
1008 "type" : "Roo.bootstrap.DocumentManager",
1010 "isOptional" : false
1017 "type" : "function",
1018 "desc" : "Fire when remove the file",
1019 "sig" : "function (_self, file)\n{\n\n}",
1028 "type" : "Roo.bootstrap.DocumentManager",
1030 "isOptional" : false
1036 "isOptional" : false
1043 "type" : "function",
1044 "desc" : "Fire before process file",
1045 "sig" : "function (_self, file)\n{\n\n}",
1054 "type" : "Roo.bootstrap.DocumentManager",
1056 "isOptional" : false
1062 "isOptional" : false
1069 "type" : "function",
1070 "desc" : "inspect selected file",
1071 "sig" : "function (_self, file)\n{\n\n}",
1080 "type" : "Roo.bootstrap.DocumentManager",
1082 "isOptional" : false
1088 "isOptional" : false
1095 "type" : "function",
1096 "desc" : "Fire when initial the DocumentManager",
1097 "sig" : "function (_self)\n{\n\n}",
1106 "type" : "Roo.bootstrap.DocumentManager",
1108 "isOptional" : false
1114 "name" : "exception",
1115 "type" : "function",
1116 "desc" : "Fire when xhr load exception",
1117 "sig" : "function (_self, xhr)\n{\n\n}",
1126 "type" : "Roo.bootstrap.DocumentManager",
1128 "isOptional" : false
1132 "type" : "XMLHttpRequest",
1134 "isOptional" : false
1141 "type" : "function",
1142 "desc" : "prepare the form data",
1143 "sig" : "function (_self, formData)\n{\n\n}",
1152 "type" : "Roo.bootstrap.DocumentManager",
1154 "isOptional" : false
1157 "name" : "formData",
1160 "isOptional" : false
1167 "type" : "function",
1168 "desc" : "Fire after click the image",
1169 "sig" : "function (_self, file)\n{\n\n}",
1178 "type" : "Roo.bootstrap.DocumentManager",
1180 "isOptional" : false
1186 "isOptional" : false
1193 "type" : "function",
1194 "desc" : "Fire when upload a image and editable set to true",
1195 "sig" : "function (_self, file)\n{\n\n}",
1204 "type" : "Roo.bootstrap.DocumentManager",
1206 "isOptional" : false
1212 "isOptional" : false
1218 "name" : "previewrendered",
1219 "type" : "function",
1220 "desc" : "Fire when preview rendered",
1221 "sig" : "function (_self, file)\n{\n\n}",
1230 "type" : "Roo.bootstrap.DocumentManager",
1232 "isOptional" : false
1238 "isOptional" : false
1244 "name" : "childrenrendered",
1245 "type" : "function",
1246 "desc" : "Fires when the children have been rendered..",
1247 "sig" : "function (_self)\n{\n\n}",
1248 "memberOf" : "Roo.bootstrap.Component",
1256 "type" : "Roo.bootstrap.Component",
1258 "isOptional" : false
1264 "name" : "beforerender",
1265 "type" : "function",
1266 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1267 "sig" : "function (_self)\n{\n\n}",
1268 "memberOf" : "Roo.Component",
1276 "type" : "Roo.Component",
1278 "isOptional" : false
1285 "type" : "function",
1286 "desc" : "Fires after the component is disabled.",
1287 "sig" : "function (_self)\n{\n\n}",
1288 "memberOf" : "Roo.Component",
1296 "type" : "Roo.Component",
1298 "isOptional" : false
1305 "type" : "function",
1306 "desc" : "Fires after the component is rendered.",
1307 "sig" : "function (_self)\n{\n\n}",
1308 "memberOf" : "Roo.Component",
1316 "type" : "Roo.Component",
1318 "isOptional" : false
1325 "type" : "function",
1326 "desc" : "Fires after the component is destroyed.",
1327 "sig" : "function (_self)\n{\n\n}",
1328 "memberOf" : "Roo.Component",
1336 "type" : "Roo.Component",
1338 "isOptional" : false
1345 "type" : "function",
1346 "desc" : "Fires after the component is hidden.",
1347 "sig" : "function (_self)\n{\n\n}",
1348 "memberOf" : "Roo.Component",
1356 "type" : "Roo.Component",
1358 "isOptional" : false
1364 "name" : "beforehide",
1365 "type" : "function",
1366 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1367 "sig" : "function (_self)\n{\n\n}",
1368 "memberOf" : "Roo.Component",
1376 "type" : "Roo.Component",
1378 "isOptional" : false
1385 "type" : "function",
1386 "desc" : "Fires after the component is shown.",
1387 "sig" : "function (_self)\n{\n\n}",
1388 "memberOf" : "Roo.Component",
1396 "type" : "Roo.Component",
1398 "isOptional" : false
1404 "name" : "beforeshow",
1405 "type" : "function",
1406 "desc" : "Fires before the component is shown. Return false to stop the show.",
1407 "sig" : "function (_self)\n{\n\n}",
1408 "memberOf" : "Roo.Component",
1416 "type" : "Roo.Component",
1418 "isOptional" : false
1425 "type" : "function",
1426 "desc" : "Fires after the component is enabled.",
1427 "sig" : "function (_self)\n{\n\n}",
1428 "memberOf" : "Roo.Component",
1436 "type" : "Roo.Component",
1438 "isOptional" : false
1444 "name" : "beforedestroy",
1445 "type" : "function",
1446 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1447 "sig" : "function (_self)\n{\n\n}",
1448 "memberOf" : "Roo.Component",
1456 "type" : "Roo.Component",
1458 "isOptional" : false