2 "name" : "Roo.bootstrap.DocumentManager",
4 "Roo.bootstrap.Component",
11 "desc" : "Bootstrap DocumentManager class",
12 "isSingleton" : false,
16 "isBuilderTop" : false,
17 "memberOf" : "DocumentManager",
26 "desc" : "The config object",
35 "name" : "labelAlign",
37 "desc" : "p) default le",
48 "desc" : "set the width of label (1-12)",
56 "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>",
57 "memberOf" : "Roo.util.Observable",
64 "desc" : "set the width of label (1-12)",
72 "desc" : "Text for the tooltip",
73 "memberOf" : "Roo.bootstrap.Component",
78 "name" : "container_method",
80 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
81 "memberOf" : "Roo.bootstrap.Component",
86 "name" : "visibilityEl",
87 "type" : "string|object",
88 "desc" : "t) What element to use for visibility (@see getVisibilityEl(",
89 "memberOf" : "Roo.bootstrap.Component",
97 "name" : "fieldLabel",
101 "isOptional" : false,
105 "name" : "toolTipName",
107 "desc" : "default 'filename'",
109 "isOptional" : false,
113 "name" : "can_build_overlaid",
115 "desc" : "True if element can be rebuild from a HTML page",
116 "memberOf" : "Roo.bootstrap.Component",
117 "isOptional" : false,
123 "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",
124 "memberOf" : "Roo.Component",
125 "isOptional" : false,
134 "desc" : "default POST",
136 "isOptional" : false,
142 "desc" : "any extra css",
143 "memberOf" : "Roo.bootstrap.Component",
144 "isOptional" : false,
148 "name" : "allowDomMove",
150 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
151 "memberOf" : "Roo.Component",
152 "isOptional" : false,
156 "name" : "paramName",
158 "desc" : "default 'imageUpload'",
160 "isOptional" : false,
164 "name" : "labelWidth",
166 "desc" : "default 4",
168 "isOptional" : false,
174 "desc" : "css class",
175 "memberOf" : "Roo.bootstrap.Component",
176 "isOptional" : false,
182 "desc" : "e) allow edit when upload a image default tr",
184 "isOptional" : false,
193 "desc" : "set the width of label (1-12)",
195 "isOptional" : false,
201 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
202 "memberOf" : "Roo.bootstrap.Component",
203 "isOptional" : false,
207 "name" : "actionMode",
209 "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",
210 "memberOf" : "Roo.Component",
211 "isOptional" : false,
217 "desc" : "number of boxes, 0 is no limit.. default 0",
219 "isOptional" : false,
225 "desc" : "multiple upload default true",
227 "isOptional" : false,
231 "name" : "thumbSize",
233 "desc" : "default 300",
235 "isOptional" : false,
241 "desc" : "set the width of label (1-12)",
243 "isOptional" : false,
249 "desc" : "cutomer id",
250 "memberOf" : "Roo.bootstrap.Component",
251 "isOptional" : false,
257 "desc" : "action url",
259 "isOptional" : false,
265 "desc" : "Specifies name attribute",
266 "memberOf" : "Roo.bootstrap.Component",
267 "isOptional" : false,
271 "name" : "disableClass",
273 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
274 "memberOf" : "Roo.Component",
275 "isOptional" : false,
281 "name" : "tooltipEl",
283 "desc" : "Fetch the element to display the tooltip on.",
284 "sig" : "()\n{\n\n}",
286 "memberOf" : "Roo.bootstrap.Component",
288 "isConstructor" : false,
300 "type" : "Roo.Element",
301 "desc" : "defaults to this.el"
308 "desc" : "Hide a component - adds 'hidden' class",
309 "sig" : "()\n{\n\n}",
311 "memberOf" : "Roo.bootstrap.Component",
313 "isConstructor" : false,
327 "desc" : "Show a component - removes 'hidden' class",
328 "sig" : "()\n{\n\n}",
330 "memberOf" : "Roo.bootstrap.Component",
332 "isConstructor" : false,
344 "name" : "setVisibilityEl",
346 "desc" : "Set the element that will be used to show or hide",
347 "sig" : "()\n{\n\n}",
349 "memberOf" : "Roo.bootstrap.Component",
351 "isConstructor" : false,
363 "name" : "getVisibilityEl",
365 "desc" : "Get the element that will be used to show or hide",
366 "sig" : "()\n{\n\n}",
368 "memberOf" : "Roo.bootstrap.Component",
370 "isConstructor" : false,
382 "name" : "initEvents",
384 "desc" : "Initialize Events for the element",
385 "sig" : "()\n{\n\n}",
387 "memberOf" : "Roo.bootstrap.Component",
389 "isConstructor" : false,
401 "name" : "getChildContainer",
403 "desc" : "Fetch the element to add children to",
404 "sig" : "()\n{\n\n}",
406 "memberOf" : "Roo.bootstrap.Component",
408 "isConstructor" : false,
420 "type" : "Roo.Element",
421 "desc" : "defaults to this.el"
428 "desc" : "Returns the id of this component.",
429 "sig" : "()\n{\n\n}",
431 "memberOf" : "Roo.Component",
433 "isConstructor" : false,
453 "desc" : "If this is a lazy rendering component, render it to its container element.",
454 "sig" : "(container)",
456 "memberOf" : "Roo.Component",
458 "isConstructor" : false,
468 "name" : "container",
469 "type" : "String/HTMLElement/Element",
470 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
479 "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}.",
480 "sig" : "()\n{\n\n}",
482 "memberOf" : "Roo.Component",
484 "isConstructor" : false,
496 "name" : "isVisible",
498 "desc" : "Returns true if this component is visible.",
499 "sig" : "()\n{\n\n}",
501 "memberOf" : "Roo.Component",
503 "isConstructor" : false,
515 "name" : "setDisabled",
517 "desc" : "Convenience function for setting disabled/enabled by boolean.",
518 "sig" : "(disabled)",
520 "memberOf" : "Roo.Component",
522 "isConstructor" : false,
543 "desc" : "Try to focus this component.",
544 "sig" : "(selectText)",
546 "memberOf" : "Roo.Component",
548 "isConstructor" : false,
558 "name" : "selectText",
560 "desc" : "True to also select the text in this component (if applicable)",
567 "type" : "Roo.Component",
575 "desc" : "Enable this component.",
576 "sig" : "()\n{\n\n}",
578 "memberOf" : "Roo.Component",
580 "isConstructor" : false,
592 "type" : "Roo.Component",
598 "name" : "setVisible",
600 "desc" : "Convenience function to hide or show this component by boolean.",
603 "memberOf" : "Roo.Component",
605 "isConstructor" : false,
617 "desc" : "True to show, false to hide",
624 "type" : "Roo.Component",
632 "desc" : "Disable this component.",
633 "sig" : "()\n{\n\n}",
635 "memberOf" : "Roo.Component",
637 "isConstructor" : false,
649 "type" : "Roo.Component",
657 "desc" : "Returns the underlying {@link Roo.Element}.",
658 "sig" : "()\n{\n\n}",
660 "memberOf" : "Roo.Component",
662 "isConstructor" : false,
674 "type" : "Roo.Element",
675 "desc" : "The element"
680 "name" : "purgeListeners",
682 "desc" : "Removes all listeners for this object",
683 "sig" : "()\n{\n\n}",
685 "memberOf" : "Roo.util.Observable",
687 "isConstructor" : false,
701 "desc" : "Appends an event handler to this element (shorthand for addListener)",
702 "sig" : "(eventName, handler, scope, options)",
704 "memberOf" : "Roo.util.Observable",
706 "isConstructor" : false,
716 "name" : "eventName",
718 "desc" : "The type of event to listen for",
724 "desc" : "The method the event invokes",
730 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
736 "desc" : "(optional)",
745 "desc" : "Removes a listener (shorthand for removeListener)",
746 "sig" : "(eventName, handler, scope)",
748 "memberOf" : "Roo.util.Observable",
750 "isConstructor" : false,
760 "name" : "eventName",
762 "desc" : "The type of event to listen for",
768 "desc" : "The handler to remove",
774 "desc" : "(optional) The scope (this object) for the handler",
781 "name" : "addEvents",
783 "desc" : "Used to define events on this Observable",
786 "memberOf" : "Roo.util.Observable",
788 "isConstructor" : false,
800 "desc" : "The object with the events defined",
807 "name" : "releaseCapture",
809 "desc" : "Removes <b>all</b> added captures from the Observable.",
812 "memberOf" : "Roo.util.Observable",
814 "isConstructor" : false,
825 "type" : "Observable",
826 "desc" : "The Observable to release",
833 "name" : "removeListener",
835 "desc" : "Removes a listener",
836 "sig" : "(eventName, handler, scope)",
838 "memberOf" : "Roo.util.Observable",
840 "isConstructor" : false,
850 "name" : "eventName",
852 "desc" : "The type of event to listen for",
858 "desc" : "The handler to remove",
864 "desc" : "(optional) The scope (this object) for the handler",
871 "name" : "fireEvent",
873 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
874 "sig" : "(eventName, args)",
876 "memberOf" : "Roo.util.Observable",
878 "isConstructor" : false,
888 "name" : "eventName",
895 "type" : "Object...",
896 "desc" : "Variable number of parameters are passed to handlers",
904 "desc" : "returns false if any of the handlers return false otherwise it returns true"
909 "name" : "hasListener",
911 "desc" : "Checks to see if this object has any listeners for a specified event",
912 "sig" : "(eventName)",
914 "memberOf" : "Roo.util.Observable",
916 "isConstructor" : false,
926 "name" : "eventName",
928 "desc" : "The name of the event to check for",
936 "desc" : "True if the event is being listened for, else false"
943 "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.",
944 "sig" : "(o, fn, scope)",
946 "memberOf" : "Roo.util.Observable",
948 "isConstructor" : false,
959 "type" : "Observable",
960 "desc" : "The Observable to capture",
966 "desc" : "The function to call",
972 "desc" : "(optional) The scope (this object) for the fn",
979 "name" : "addListener",
981 "desc" : "Appends an event handler to this component",
982 "sig" : "(eventName, handler, scope, options)",
984 "memberOf" : "Roo.util.Observable",
986 "isConstructor" : false,
996 "name" : "eventName",
998 "desc" : "The type of event to listen for",
1003 "type" : "Function",
1004 "desc" : "The method the event invokes",
1005 "isOptional" : false
1010 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1011 "isOptional" : false
1016 "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>",
1017 "isOptional" : false
1026 "type" : "function",
1027 "desc" : "Fire after refresh the file",
1028 "sig" : "function (_self)\n{\n\n}",
1037 "type" : "Roo.bootstrap.DocumentManager",
1039 "isOptional" : false
1045 "name" : "afterupload",
1046 "type" : "function",
1047 "desc" : "Fire when xhr load exception",
1048 "sig" : "function (_self, xhr)\n{\n\n}",
1057 "type" : "Roo.bootstrap.DocumentManager",
1059 "isOptional" : false
1063 "type" : "XMLHttpRequest",
1065 "isOptional" : false
1071 "name" : "beforeselectfile",
1072 "type" : "function",
1073 "desc" : "Fire before select file",
1074 "sig" : "function (_self)\n{\n\n}",
1083 "type" : "Roo.bootstrap.DocumentManager",
1085 "isOptional" : false
1092 "type" : "function",
1093 "desc" : "Fire when remove the file",
1094 "sig" : "function (_self, file)\n{\n\n}",
1103 "type" : "Roo.bootstrap.DocumentManager",
1105 "isOptional" : false
1111 "isOptional" : false
1118 "type" : "function",
1119 "desc" : "Fire before process file",
1120 "sig" : "function (_self, file)\n{\n\n}",
1129 "type" : "Roo.bootstrap.DocumentManager",
1131 "isOptional" : false
1137 "isOptional" : false
1144 "type" : "function",
1145 "desc" : "inspect selected file",
1146 "sig" : "function (_self, file)\n{\n\n}",
1155 "type" : "Roo.bootstrap.DocumentManager",
1157 "isOptional" : false
1163 "isOptional" : false
1170 "type" : "function",
1171 "desc" : "Fire when initial the DocumentManager",
1172 "sig" : "function (_self)\n{\n\n}",
1181 "type" : "Roo.bootstrap.DocumentManager",
1183 "isOptional" : false
1189 "name" : "exception",
1190 "type" : "function",
1191 "desc" : "Fire when xhr load exception",
1192 "sig" : "function (_self, xhr)\n{\n\n}",
1201 "type" : "Roo.bootstrap.DocumentManager",
1203 "isOptional" : false
1207 "type" : "XMLHttpRequest",
1209 "isOptional" : false
1216 "type" : "function",
1217 "desc" : "prepare the form data",
1218 "sig" : "function (_self, formData)\n{\n\n}",
1227 "type" : "Roo.bootstrap.DocumentManager",
1229 "isOptional" : false
1232 "name" : "formData",
1235 "isOptional" : false
1242 "type" : "function",
1243 "desc" : "Fire after click the image",
1244 "sig" : "function (_self, file)\n{\n\n}",
1253 "type" : "Roo.bootstrap.DocumentManager",
1255 "isOptional" : false
1261 "isOptional" : false
1268 "type" : "function",
1269 "desc" : "Fire when upload a image and editable set to true",
1270 "sig" : "function (_self, file)\n{\n\n}",
1279 "type" : "Roo.bootstrap.DocumentManager",
1281 "isOptional" : false
1287 "isOptional" : false
1293 "name" : "previewrendered",
1294 "type" : "function",
1295 "desc" : "Fire when preview rendered",
1296 "sig" : "function (_self, file)\n{\n\n}",
1305 "type" : "Roo.bootstrap.DocumentManager",
1307 "isOptional" : false
1313 "isOptional" : false
1319 "name" : "childrenrendered",
1320 "type" : "function",
1321 "desc" : "Fires when the children have been rendered..",
1322 "sig" : "function (_self)\n{\n\n}",
1323 "memberOf" : "Roo.bootstrap.Component",
1331 "type" : "Roo.bootstrap.Component",
1333 "isOptional" : false
1339 "name" : "beforerender",
1340 "type" : "function",
1341 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1342 "sig" : "function (_self)\n{\n\n}",
1343 "memberOf" : "Roo.Component",
1351 "type" : "Roo.Component",
1353 "isOptional" : false
1360 "type" : "function",
1361 "desc" : "Fires after the component is disabled.",
1362 "sig" : "function (_self)\n{\n\n}",
1363 "memberOf" : "Roo.Component",
1371 "type" : "Roo.Component",
1373 "isOptional" : false
1380 "type" : "function",
1381 "desc" : "Fires after the component is rendered.",
1382 "sig" : "function (_self)\n{\n\n}",
1383 "memberOf" : "Roo.Component",
1391 "type" : "Roo.Component",
1393 "isOptional" : false
1400 "type" : "function",
1401 "desc" : "Fires after the component is destroyed.",
1402 "sig" : "function (_self)\n{\n\n}",
1403 "memberOf" : "Roo.Component",
1411 "type" : "Roo.Component",
1413 "isOptional" : false
1420 "type" : "function",
1421 "desc" : "Fires after the component is hidden.",
1422 "sig" : "function (_self)\n{\n\n}",
1423 "memberOf" : "Roo.Component",
1431 "type" : "Roo.Component",
1433 "isOptional" : false
1439 "name" : "beforehide",
1440 "type" : "function",
1441 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1442 "sig" : "function (_self)\n{\n\n}",
1443 "memberOf" : "Roo.Component",
1451 "type" : "Roo.Component",
1453 "isOptional" : false
1460 "type" : "function",
1461 "desc" : "Fires after the component is shown.",
1462 "sig" : "function (_self)\n{\n\n}",
1463 "memberOf" : "Roo.Component",
1471 "type" : "Roo.Component",
1473 "isOptional" : false
1479 "name" : "beforeshow",
1480 "type" : "function",
1481 "desc" : "Fires before the component is shown. Return false to stop the show.",
1482 "sig" : "function (_self)\n{\n\n}",
1483 "memberOf" : "Roo.Component",
1491 "type" : "Roo.Component",
1493 "isOptional" : false
1500 "type" : "function",
1501 "desc" : "Fires after the component is enabled.",
1502 "sig" : "function (_self)\n{\n\n}",
1503 "memberOf" : "Roo.Component",
1511 "type" : "Roo.Component",
1513 "isOptional" : false
1519 "name" : "beforedestroy",
1520 "type" : "function",
1521 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1522 "sig" : "function (_self)\n{\n\n}",
1523 "memberOf" : "Roo.Component",
1531 "type" : "Roo.Component",
1533 "isOptional" : false