2 "name" : "Roo.bootstrap.DocumentManager",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap DocumentManager class",
12 "memberOf" : "DocumentManager",
21 "desc" : "The config object",
28 "name" : "labelAlign",
30 "desc" : "p) default left",
31 "memberOf" : "Roo.bootstrap.DocumentManager",
40 "desc" : "set the width of label (1-12)",
41 "memberOf" : "Roo.bootstrap.DocumentManager",
47 "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>",
48 "memberOf" : "Roo.util.Observable",
54 "desc" : "set the width of label (1-12)",
55 "memberOf" : "Roo.bootstrap.DocumentManager",
61 "desc" : "Text for the tooltip",
62 "memberOf" : "Roo.bootstrap.Component",
66 "name" : "container_method",
68 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
69 "memberOf" : "Roo.bootstrap.Component",
73 "name" : "visibilityEl",
74 "type" : "string|object",
75 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
76 "memberOf" : "Roo.bootstrap.Component",
83 "name" : "fieldLabel",
86 "memberOf" : "Roo.bootstrap.DocumentManager",
90 "name" : "toolTipName",
92 "desc" : "default 'filename'",
93 "memberOf" : "Roo.bootstrap.DocumentManager",
97 "name" : "can_build_overlaid",
99 "desc" : "True if element can be rebuild from a HTML page",
100 "memberOf" : "Roo.bootstrap.Component",
106 "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\".",
107 "memberOf" : "Roo.Component",
116 "desc" : "default POST",
117 "memberOf" : "Roo.bootstrap.DocumentManager",
123 "desc" : "any extra css",
124 "memberOf" : "Roo.bootstrap.Component",
128 "name" : "allowDomMove",
130 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
131 "memberOf" : "Roo.Component",
135 "name" : "paramName",
137 "desc" : "default 'imageUpload'",
138 "memberOf" : "Roo.bootstrap.DocumentManager",
142 "name" : "labelWidth",
144 "desc" : "default 4",
145 "memberOf" : "Roo.bootstrap.DocumentManager",
151 "desc" : "css class",
152 "memberOf" : "Roo.bootstrap.Component",
158 "desc" : "e) allow edit when upload a image default true",
159 "memberOf" : "Roo.bootstrap.DocumentManager",
168 "desc" : "set the width of label (1-12)",
169 "memberOf" : "Roo.bootstrap.DocumentManager",
175 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
176 "memberOf" : "Roo.bootstrap.Component",
180 "name" : "actionMode",
182 "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",
183 "memberOf" : "Roo.Component",
189 "desc" : "number of boxes, 0 is no limit.. default 0",
190 "memberOf" : "Roo.bootstrap.DocumentManager",
196 "desc" : "multiple upload default true",
197 "memberOf" : "Roo.bootstrap.DocumentManager",
201 "name" : "thumbSize",
203 "desc" : "default 300",
204 "memberOf" : "Roo.bootstrap.DocumentManager",
210 "desc" : "set the width of label (1-12)",
211 "memberOf" : "Roo.bootstrap.DocumentManager",
217 "desc" : "cutomer id",
218 "memberOf" : "Roo.bootstrap.Component",
224 "desc" : "action url",
225 "memberOf" : "Roo.bootstrap.DocumentManager",
231 "desc" : "Specifies name attribute",
232 "memberOf" : "Roo.bootstrap.Component",
236 "name" : "disableClass",
238 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
239 "memberOf" : "Roo.Component",
245 "name" : "tooltipEl",
246 "desc" : "Fetch the element to display the tooltip on.",
248 "isConstructor" : false,
250 "memberOf" : "Roo.bootstrap.Component",
259 "type" : "Roo.Element",
260 "desc" : "defaults to this.el"
266 "desc" : "Hide a component - adds 'hidden' class",
268 "isConstructor" : false,
270 "memberOf" : "Roo.bootstrap.Component",
280 "desc" : "Show a component - removes 'hidden' class",
282 "isConstructor" : false,
284 "memberOf" : "Roo.bootstrap.Component",
293 "name" : "setVisibilityEl",
294 "desc" : "Set the element that will be used to show or hide",
296 "isConstructor" : false,
298 "memberOf" : "Roo.bootstrap.Component",
307 "name" : "getVisibilityEl",
308 "desc" : "Get the element that will be used to show or hide",
310 "isConstructor" : false,
312 "memberOf" : "Roo.bootstrap.Component",
321 "name" : "initEvents",
322 "desc" : "Initialize Events for the element",
324 "isConstructor" : false,
326 "memberOf" : "Roo.bootstrap.Component",
335 "name" : "getChildContainer",
336 "desc" : "Fetch the element to add children to",
338 "isConstructor" : false,
340 "memberOf" : "Roo.bootstrap.Component",
349 "type" : "Roo.Element",
350 "desc" : "defaults to this.el"
356 "desc" : "Returns the id of this component.",
358 "isConstructor" : false,
360 "memberOf" : "Roo.Component",
376 "desc" : "If this is a lazy rendering component, render it to its container element.",
378 "isConstructor" : false,
380 "memberOf" : "Roo.Component",
387 "name" : "container",
388 "type" : "String/HTMLElement/Element",
389 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
397 "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}.",
399 "isConstructor" : false,
401 "memberOf" : "Roo.Component",
410 "name" : "isVisible",
411 "desc" : "Returns true if this component is visible.",
413 "isConstructor" : false,
415 "memberOf" : "Roo.Component",
424 "name" : "setDisabled",
425 "desc" : "Convenience function for setting disabled/enabled by boolean.",
427 "isConstructor" : false,
429 "memberOf" : "Roo.Component",
446 "desc" : "Try to focus this component.",
448 "isConstructor" : false,
450 "memberOf" : "Roo.Component",
457 "name" : "selectText",
459 "desc" : "True to also select the text in this component (if applicable)",
466 "type" : "Roo.Component",
473 "desc" : "Enable this component.",
475 "isConstructor" : false,
477 "memberOf" : "Roo.Component",
486 "type" : "Roo.Component",
492 "name" : "setVisible",
493 "desc" : "Convenience function to hide or show this component by boolean.",
495 "isConstructor" : false,
497 "memberOf" : "Roo.Component",
506 "desc" : "True to show, false to hide",
513 "type" : "Roo.Component",
520 "desc" : "Disable this component.",
522 "isConstructor" : false,
524 "memberOf" : "Roo.Component",
533 "type" : "Roo.Component",
540 "desc" : "Returns the underlying {@link Roo.Element}.",
542 "isConstructor" : false,
544 "memberOf" : "Roo.Component",
553 "type" : "Roo.Element",
554 "desc" : "The element"
559 "name" : "purgeListeners",
560 "desc" : "Removes all listeners for this object",
562 "isConstructor" : false,
564 "memberOf" : "Roo.util.Observable",
574 "desc" : "Appends an event handler to this element (shorthand for addListener)",
576 "isConstructor" : false,
578 "memberOf" : "Roo.util.Observable",
585 "name" : "eventName",
587 "desc" : "The type of event to listen for",
593 "desc" : "The method the event invokes",
599 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
605 "desc" : "(optional)",
613 "desc" : "Removes a listener (shorthand for removeListener)",
615 "isConstructor" : false,
617 "memberOf" : "Roo.util.Observable",
624 "name" : "eventName",
626 "desc" : "The type of event to listen for",
632 "desc" : "The handler to remove",
638 "desc" : "(optional) The scope (this object) for the handler",
645 "name" : "addEvents",
646 "desc" : "Used to define events on this Observable",
648 "isConstructor" : false,
650 "memberOf" : "Roo.util.Observable",
659 "desc" : "The object with the events defined",
666 "name" : "releaseCapture",
667 "desc" : "Removes <b>all</b> added captures from the Observable.",
669 "isConstructor" : false,
671 "memberOf" : "Roo.util.Observable",
679 "type" : "Observable",
680 "desc" : "The Observable to release",
687 "name" : "removeListener",
688 "desc" : "Removes a listener",
690 "isConstructor" : false,
692 "memberOf" : "Roo.util.Observable",
699 "name" : "eventName",
701 "desc" : "The type of event to listen for",
707 "desc" : "The handler to remove",
713 "desc" : "(optional) The scope (this object) for the handler",
720 "name" : "fireEvent",
721 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
723 "isConstructor" : false,
725 "memberOf" : "Roo.util.Observable",
732 "name" : "eventName",
739 "type" : "Object...",
740 "desc" : "Variable number of parameters are passed to handlers",
748 "desc" : "returns false if any of the handlers return false otherwise it returns true"
753 "name" : "hasListener",
754 "desc" : "Checks to see if this object has any listeners for a specified event",
756 "isConstructor" : false,
758 "memberOf" : "Roo.util.Observable",
765 "name" : "eventName",
767 "desc" : "The name of the event to check for",
775 "desc" : "True if the event is being listened for, else false"
781 "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.",
783 "isConstructor" : false,
785 "memberOf" : "Roo.util.Observable",
793 "type" : "Observable",
794 "desc" : "The Observable to capture",
800 "desc" : "The function to call",
806 "desc" : "(optional) The scope (this object) for the fn",
813 "name" : "addListener",
814 "desc" : "Appends an event handler to this component",
816 "isConstructor" : false,
818 "memberOf" : "Roo.util.Observable",
825 "name" : "eventName",
827 "desc" : "The type of event to listen for",
833 "desc" : "The method the event invokes",
839 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
845 "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>",
855 "desc" : "Fire after refresh the file",
856 "memberOf" : "Roo.bootstrap.DocumentManager",
864 "type" : "Roo.bootstrap.DocumentManager",
872 "name" : "afterupload",
873 "desc" : "Fire when xhr load exception",
874 "memberOf" : "Roo.bootstrap.DocumentManager",
882 "type" : "Roo.bootstrap.DocumentManager",
888 "type" : "XMLHttpRequest",
896 "name" : "beforeselectfile",
897 "desc" : "Fire before select file",
898 "memberOf" : "Roo.bootstrap.DocumentManager",
906 "type" : "Roo.bootstrap.DocumentManager",
915 "desc" : "Fire when remove the file",
916 "memberOf" : "Roo.bootstrap.DocumentManager",
924 "type" : "Roo.bootstrap.DocumentManager",
939 "desc" : "Fire before process file",
940 "memberOf" : "Roo.bootstrap.DocumentManager",
948 "type" : "Roo.bootstrap.DocumentManager",
963 "desc" : "inspect selected file",
964 "memberOf" : "Roo.bootstrap.DocumentManager",
972 "type" : "Roo.bootstrap.DocumentManager",
987 "desc" : "Fire when initial the DocumentManager",
988 "memberOf" : "Roo.bootstrap.DocumentManager",
996 "type" : "Roo.bootstrap.DocumentManager",
1004 "name" : "exception",
1005 "desc" : "Fire when xhr load exception",
1006 "memberOf" : "Roo.bootstrap.DocumentManager",
1014 "type" : "Roo.bootstrap.DocumentManager",
1016 "isOptional" : false
1020 "type" : "XMLHttpRequest",
1022 "isOptional" : false
1029 "desc" : "prepare the form data",
1030 "memberOf" : "Roo.bootstrap.DocumentManager",
1038 "type" : "Roo.bootstrap.DocumentManager",
1040 "isOptional" : false
1043 "name" : "formData",
1046 "isOptional" : false
1053 "desc" : "Fire after click the image",
1054 "memberOf" : "Roo.bootstrap.DocumentManager",
1062 "type" : "Roo.bootstrap.DocumentManager",
1064 "isOptional" : false
1070 "isOptional" : false
1077 "desc" : "Fire when upload a image and editable set to true",
1078 "memberOf" : "Roo.bootstrap.DocumentManager",
1086 "type" : "Roo.bootstrap.DocumentManager",
1088 "isOptional" : false
1094 "isOptional" : false
1100 "name" : "previewrendered",
1101 "desc" : "Fire when preview rendered",
1102 "memberOf" : "Roo.bootstrap.DocumentManager",
1110 "type" : "Roo.bootstrap.DocumentManager",
1112 "isOptional" : false
1118 "isOptional" : false
1124 "name" : "childrenrendered",
1125 "desc" : "Fires when the children have been rendered..",
1126 "memberOf" : "Roo.bootstrap.Component",
1134 "type" : "Roo.bootstrap.Component",
1136 "isOptional" : false
1142 "name" : "beforerender",
1143 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1144 "memberOf" : "Roo.Component",
1152 "type" : "Roo.Component",
1154 "isOptional" : false
1161 "desc" : "Fires after the component is disabled.",
1162 "memberOf" : "Roo.Component",
1170 "type" : "Roo.Component",
1172 "isOptional" : false
1179 "desc" : "Fires after the component is rendered.",
1180 "memberOf" : "Roo.Component",
1188 "type" : "Roo.Component",
1190 "isOptional" : false
1197 "desc" : "Fires after the component is destroyed.",
1198 "memberOf" : "Roo.Component",
1206 "type" : "Roo.Component",
1208 "isOptional" : false
1215 "desc" : "Fires after the component is hidden.",
1216 "memberOf" : "Roo.Component",
1224 "type" : "Roo.Component",
1226 "isOptional" : false
1232 "name" : "beforehide",
1233 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1234 "memberOf" : "Roo.Component",
1242 "type" : "Roo.Component",
1244 "isOptional" : false
1251 "desc" : "Fires after the component is shown.",
1252 "memberOf" : "Roo.Component",
1260 "type" : "Roo.Component",
1262 "isOptional" : false
1268 "name" : "beforeshow",
1269 "desc" : "Fires before the component is shown. Return false to stop the show.",
1270 "memberOf" : "Roo.Component",
1278 "type" : "Roo.Component",
1280 "isOptional" : false
1287 "desc" : "Fires after the component is enabled.",
1288 "memberOf" : "Roo.Component",
1296 "type" : "Roo.Component",
1298 "isOptional" : false
1304 "name" : "beforedestroy",
1305 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1306 "memberOf" : "Roo.Component",
1314 "type" : "Roo.Component",
1316 "isOptional" : false