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 left",
43 "desc" : "set the width of label (1-12)",
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"
55 "desc" : "set the width of label (1-12)",
61 "desc" : "Text for the tooltip",
62 "memberOf" : "Roo.bootstrap.Component"
65 "name" : "container_method",
67 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
68 "memberOf" : "Roo.bootstrap.Component"
71 "name" : "visibilityEl",
72 "type" : "string|object",
73 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
74 "memberOf" : "Roo.bootstrap.Component"
77 "name" : "fieldLabel",
83 "name" : "toolTipName",
85 "desc" : "default 'filename'",
89 "name" : "can_build_overlaid",
91 "desc" : "True if element can be rebuild from a HTML page",
92 "memberOf" : "Roo.bootstrap.Component"
97 "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\".",
98 "memberOf" : "Roo.Component"
103 "desc" : "default POST",
109 "desc" : "any extra css",
110 "memberOf" : "Roo.bootstrap.Component"
113 "name" : "allowDomMove",
115 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
116 "memberOf" : "Roo.Component"
119 "name" : "paramName",
121 "desc" : "default 'imageUpload'",
125 "name" : "labelWidth",
127 "desc" : "default 4",
133 "desc" : "css class",
134 "memberOf" : "Roo.bootstrap.Component"
139 "desc" : "e) allow edit when upload a image default true",
145 "desc" : "set the width of label (1-12)",
151 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
152 "memberOf" : "Roo.bootstrap.Component"
155 "name" : "actionMode",
157 "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",
158 "memberOf" : "Roo.Component"
163 "desc" : "number of boxes, 0 is no limit.. default 0",
169 "desc" : "multiple upload default true",
173 "name" : "thumbSize",
175 "desc" : "default 300",
181 "desc" : "set the width of label (1-12)",
187 "desc" : "cutomer id",
188 "memberOf" : "Roo.bootstrap.Component"
193 "desc" : "action url",
199 "desc" : "Specifies name attribute",
200 "memberOf" : "Roo.bootstrap.Component"
203 "name" : "disableClass",
205 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
206 "memberOf" : "Roo.Component"
211 "name" : "tooltipEl",
213 "desc" : "Fetch the element to display the tooltip on.",
214 "sig" : "()\n{\n\n}",
216 "memberOf" : "Roo.bootstrap.Component",
218 "isConstructor" : false,
230 "type" : "Roo.Element",
231 "desc" : "defaults to this.el"
238 "desc" : "Hide a component - adds 'hidden' class",
239 "sig" : "()\n{\n\n}",
241 "memberOf" : "Roo.bootstrap.Component",
243 "isConstructor" : false,
257 "desc" : "Show a component - removes 'hidden' class",
258 "sig" : "()\n{\n\n}",
260 "memberOf" : "Roo.bootstrap.Component",
262 "isConstructor" : false,
274 "name" : "setVisibilityEl",
276 "desc" : "Set the element that will be used to show or hide",
277 "sig" : "()\n{\n\n}",
279 "memberOf" : "Roo.bootstrap.Component",
281 "isConstructor" : false,
293 "name" : "getVisibilityEl",
295 "desc" : "Get the element that will be used to show or hide",
296 "sig" : "()\n{\n\n}",
298 "memberOf" : "Roo.bootstrap.Component",
300 "isConstructor" : false,
312 "name" : "initEvents",
314 "desc" : "Initialize Events for the element",
315 "sig" : "()\n{\n\n}",
317 "memberOf" : "Roo.bootstrap.Component",
319 "isConstructor" : false,
331 "name" : "getChildContainer",
333 "desc" : "Fetch the element to add children to",
334 "sig" : "()\n{\n\n}",
336 "memberOf" : "Roo.bootstrap.Component",
338 "isConstructor" : false,
350 "type" : "Roo.Element",
351 "desc" : "defaults to this.el"
358 "desc" : "Returns the id of this component.",
359 "sig" : "()\n{\n\n}",
361 "memberOf" : "Roo.Component",
363 "isConstructor" : false,
383 "desc" : "If this is a lazy rendering component, render it to its container element.",
384 "sig" : "(container)",
386 "memberOf" : "Roo.Component",
388 "isConstructor" : false,
398 "name" : "container",
399 "type" : "String/HTMLElement/Element",
400 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
409 "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}.",
410 "sig" : "()\n{\n\n}",
412 "memberOf" : "Roo.Component",
414 "isConstructor" : false,
426 "name" : "isVisible",
428 "desc" : "Returns true if this component is visible.",
429 "sig" : "()\n{\n\n}",
431 "memberOf" : "Roo.Component",
433 "isConstructor" : false,
445 "name" : "setDisabled",
447 "desc" : "Convenience function for setting disabled/enabled by boolean.",
448 "sig" : "(disabled)",
450 "memberOf" : "Roo.Component",
452 "isConstructor" : false,
473 "desc" : "Try to focus this component.",
474 "sig" : "(selectText)",
476 "memberOf" : "Roo.Component",
478 "isConstructor" : false,
488 "name" : "selectText",
490 "desc" : "True to also select the text in this component (if applicable)",
497 "type" : "Roo.Component",
505 "desc" : "Enable this component.",
506 "sig" : "()\n{\n\n}",
508 "memberOf" : "Roo.Component",
510 "isConstructor" : false,
522 "type" : "Roo.Component",
528 "name" : "setVisible",
530 "desc" : "Convenience function to hide or show this component by boolean.",
533 "memberOf" : "Roo.Component",
535 "isConstructor" : false,
547 "desc" : "True to show, false to hide",
554 "type" : "Roo.Component",
562 "desc" : "Disable this component.",
563 "sig" : "()\n{\n\n}",
565 "memberOf" : "Roo.Component",
567 "isConstructor" : false,
579 "type" : "Roo.Component",
587 "desc" : "Returns the underlying {@link Roo.Element}.",
588 "sig" : "()\n{\n\n}",
590 "memberOf" : "Roo.Component",
592 "isConstructor" : false,
604 "type" : "Roo.Element",
605 "desc" : "The element"
610 "name" : "purgeListeners",
612 "desc" : "Removes all listeners for this object",
613 "sig" : "()\n{\n\n}",
615 "memberOf" : "Roo.util.Observable",
617 "isConstructor" : false,
631 "desc" : "Appends an event handler to this element (shorthand for addListener)",
632 "sig" : "(eventName, handler, scope, options)",
634 "memberOf" : "Roo.util.Observable",
636 "isConstructor" : false,
646 "name" : "eventName",
648 "desc" : "The type of event to listen for",
654 "desc" : "The method the event invokes",
660 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
666 "desc" : "(optional)",
675 "desc" : "Removes a listener (shorthand for removeListener)",
676 "sig" : "(eventName, handler, scope)",
678 "memberOf" : "Roo.util.Observable",
680 "isConstructor" : false,
690 "name" : "eventName",
692 "desc" : "The type of event to listen for",
698 "desc" : "The handler to remove",
704 "desc" : "(optional) The scope (this object) for the handler",
711 "name" : "addEvents",
713 "desc" : "Used to define events on this Observable",
716 "memberOf" : "Roo.util.Observable",
718 "isConstructor" : false,
730 "desc" : "The object with the events defined",
737 "name" : "releaseCapture",
739 "desc" : "Removes <b>all</b> added captures from the Observable.",
742 "memberOf" : "Roo.util.Observable",
744 "isConstructor" : false,
755 "type" : "Observable",
756 "desc" : "The Observable to release",
763 "name" : "removeListener",
765 "desc" : "Removes a listener",
766 "sig" : "(eventName, handler, scope)",
768 "memberOf" : "Roo.util.Observable",
770 "isConstructor" : false,
780 "name" : "eventName",
782 "desc" : "The type of event to listen for",
788 "desc" : "The handler to remove",
794 "desc" : "(optional) The scope (this object) for the handler",
801 "name" : "fireEvent",
803 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
804 "sig" : "(eventName, args)",
806 "memberOf" : "Roo.util.Observable",
808 "isConstructor" : false,
818 "name" : "eventName",
825 "type" : "Object...",
826 "desc" : "Variable number of parameters are passed to handlers",
834 "desc" : "returns false if any of the handlers return false otherwise it returns true"
839 "name" : "hasListener",
841 "desc" : "Checks to see if this object has any listeners for a specified event",
842 "sig" : "(eventName)",
844 "memberOf" : "Roo.util.Observable",
846 "isConstructor" : false,
856 "name" : "eventName",
858 "desc" : "The name of the event to check for",
866 "desc" : "True if the event is being listened for, else false"
873 "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.",
874 "sig" : "(o, fn, scope)",
876 "memberOf" : "Roo.util.Observable",
878 "isConstructor" : false,
889 "type" : "Observable",
890 "desc" : "The Observable to capture",
896 "desc" : "The function to call",
902 "desc" : "(optional) The scope (this object) for the fn",
909 "name" : "addListener",
911 "desc" : "Appends an event handler to this component",
912 "sig" : "(eventName, handler, scope, options)",
914 "memberOf" : "Roo.util.Observable",
916 "isConstructor" : false,
926 "name" : "eventName",
928 "desc" : "The type of event to listen for",
934 "desc" : "The method the event invokes",
940 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
946 "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>",
957 "desc" : "Fire after refresh the file",
958 "sig" : "function (_self)\n{\n\n}",
967 "type" : "Roo.bootstrap.DocumentManager",
975 "name" : "afterupload",
977 "desc" : "Fire when xhr load exception",
978 "sig" : "function (_self, xhr)\n{\n\n}",
987 "type" : "Roo.bootstrap.DocumentManager",
993 "type" : "XMLHttpRequest",
1001 "name" : "beforeselectfile",
1002 "type" : "function",
1003 "desc" : "Fire before select file",
1004 "sig" : "function (_self)\n{\n\n}",
1013 "type" : "Roo.bootstrap.DocumentManager",
1015 "isOptional" : false
1022 "type" : "function",
1023 "desc" : "Fire when remove the file",
1024 "sig" : "function (_self, file)\n{\n\n}",
1033 "type" : "Roo.bootstrap.DocumentManager",
1035 "isOptional" : false
1041 "isOptional" : false
1048 "type" : "function",
1049 "desc" : "Fire before process file",
1050 "sig" : "function (_self, file)\n{\n\n}",
1059 "type" : "Roo.bootstrap.DocumentManager",
1061 "isOptional" : false
1067 "isOptional" : false
1074 "type" : "function",
1075 "desc" : "inspect selected file",
1076 "sig" : "function (_self, file)\n{\n\n}",
1085 "type" : "Roo.bootstrap.DocumentManager",
1087 "isOptional" : false
1093 "isOptional" : false
1100 "type" : "function",
1101 "desc" : "Fire when initial the DocumentManager",
1102 "sig" : "function (_self)\n{\n\n}",
1111 "type" : "Roo.bootstrap.DocumentManager",
1113 "isOptional" : false
1119 "name" : "exception",
1120 "type" : "function",
1121 "desc" : "Fire when xhr load exception",
1122 "sig" : "function (_self, xhr)\n{\n\n}",
1131 "type" : "Roo.bootstrap.DocumentManager",
1133 "isOptional" : false
1137 "type" : "XMLHttpRequest",
1139 "isOptional" : false
1146 "type" : "function",
1147 "desc" : "prepare the form data",
1148 "sig" : "function (_self, formData)\n{\n\n}",
1157 "type" : "Roo.bootstrap.DocumentManager",
1159 "isOptional" : false
1162 "name" : "formData",
1165 "isOptional" : false
1172 "type" : "function",
1173 "desc" : "Fire after click the image",
1174 "sig" : "function (_self, file)\n{\n\n}",
1183 "type" : "Roo.bootstrap.DocumentManager",
1185 "isOptional" : false
1191 "isOptional" : false
1198 "type" : "function",
1199 "desc" : "Fire when upload a image and editable set to true",
1200 "sig" : "function (_self, file)\n{\n\n}",
1209 "type" : "Roo.bootstrap.DocumentManager",
1211 "isOptional" : false
1217 "isOptional" : false
1223 "name" : "previewrendered",
1224 "type" : "function",
1225 "desc" : "Fire when preview rendered",
1226 "sig" : "function (_self, file)\n{\n\n}",
1235 "type" : "Roo.bootstrap.DocumentManager",
1237 "isOptional" : false
1243 "isOptional" : false
1249 "name" : "childrenrendered",
1250 "type" : "function",
1251 "desc" : "Fires when the children have been rendered..",
1252 "sig" : "function (_self)\n{\n\n}",
1253 "memberOf" : "Roo.bootstrap.Component",
1261 "type" : "Roo.bootstrap.Component",
1263 "isOptional" : false
1269 "name" : "beforerender",
1270 "type" : "function",
1271 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1272 "sig" : "function (_self)\n{\n\n}",
1273 "memberOf" : "Roo.Component",
1281 "type" : "Roo.Component",
1283 "isOptional" : false
1290 "type" : "function",
1291 "desc" : "Fires after the component is disabled.",
1292 "sig" : "function (_self)\n{\n\n}",
1293 "memberOf" : "Roo.Component",
1301 "type" : "Roo.Component",
1303 "isOptional" : false
1310 "type" : "function",
1311 "desc" : "Fires after the component is rendered.",
1312 "sig" : "function (_self)\n{\n\n}",
1313 "memberOf" : "Roo.Component",
1321 "type" : "Roo.Component",
1323 "isOptional" : false
1330 "type" : "function",
1331 "desc" : "Fires after the component is destroyed.",
1332 "sig" : "function (_self)\n{\n\n}",
1333 "memberOf" : "Roo.Component",
1341 "type" : "Roo.Component",
1343 "isOptional" : false
1350 "type" : "function",
1351 "desc" : "Fires after the component is hidden.",
1352 "sig" : "function (_self)\n{\n\n}",
1353 "memberOf" : "Roo.Component",
1361 "type" : "Roo.Component",
1363 "isOptional" : false
1369 "name" : "beforehide",
1370 "type" : "function",
1371 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1372 "sig" : "function (_self)\n{\n\n}",
1373 "memberOf" : "Roo.Component",
1381 "type" : "Roo.Component",
1383 "isOptional" : false
1390 "type" : "function",
1391 "desc" : "Fires after the component is shown.",
1392 "sig" : "function (_self)\n{\n\n}",
1393 "memberOf" : "Roo.Component",
1401 "type" : "Roo.Component",
1403 "isOptional" : false
1409 "name" : "beforeshow",
1410 "type" : "function",
1411 "desc" : "Fires before the component is shown. Return false to stop the show.",
1412 "sig" : "function (_self)\n{\n\n}",
1413 "memberOf" : "Roo.Component",
1421 "type" : "Roo.Component",
1423 "isOptional" : false
1430 "type" : "function",
1431 "desc" : "Fires after the component is enabled.",
1432 "sig" : "function (_self)\n{\n\n}",
1433 "memberOf" : "Roo.Component",
1441 "type" : "Roo.Component",
1443 "isOptional" : false
1449 "name" : "beforedestroy",
1450 "type" : "function",
1451 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1452 "sig" : "function (_self)\n{\n\n}",
1453 "memberOf" : "Roo.Component",
1461 "type" : "Roo.Component",
1463 "isOptional" : false