2 "name" : "Roo.bootstrap.DocumentViewer",
4 "Roo.bootstrap.Component",
11 "desc" : "Bootstrap DocumentViewer class",
12 "isSingleton" : false,
16 "isBuilderTop" : false,
17 "memberOf" : "DocumentViewer",
26 "desc" : "The config object",
37 "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>",
38 "memberOf" : "Roo.util.Observable",
45 "desc" : "Text for the tooltip",
46 "memberOf" : "Roo.bootstrap.Component",
51 "name" : "container_method",
53 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
54 "memberOf" : "Roo.bootstrap.Component",
59 "name" : "visibilityEl",
60 "type" : "string|object",
61 "desc" : "t) What element to use for visibility (@see getVisibilityEl(",
62 "memberOf" : "Roo.bootstrap.Component",
70 "name" : "can_build_overlaid",
72 "desc" : "True if element can be rebuild from a HTML page",
73 "memberOf" : "Roo.bootstrap.Component",
80 "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",
81 "memberOf" : "Roo.Component",
91 "desc" : "any extra css",
92 "memberOf" : "Roo.bootstrap.Component",
97 "name" : "allowDomMove",
99 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
100 "memberOf" : "Roo.Component",
101 "isOptional" : false,
107 "desc" : "css class",
108 "memberOf" : "Roo.bootstrap.Component",
109 "isOptional" : false,
113 "name" : "showTrash",
115 "desc" : "e) show trash button (default tru",
117 "isOptional" : false,
126 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
127 "memberOf" : "Roo.bootstrap.Component",
128 "isOptional" : false,
132 "name" : "actionMode",
134 "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",
135 "memberOf" : "Roo.Component",
136 "isOptional" : false,
142 "desc" : "cutomer id",
143 "memberOf" : "Roo.bootstrap.Component",
144 "isOptional" : false,
148 "name" : "showDownload",
150 "desc" : "e) show download button (default tru",
152 "isOptional" : false,
161 "desc" : "Specifies name attribute",
162 "memberOf" : "Roo.bootstrap.Component",
163 "isOptional" : false,
167 "name" : "disableClass",
169 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
170 "memberOf" : "Roo.Component",
171 "isOptional" : false,
177 "name" : "tooltipEl",
179 "desc" : "Fetch the element to display the tooltip on.",
180 "sig" : "()\n{\n\n}",
182 "memberOf" : "Roo.bootstrap.Component",
184 "isConstructor" : false,
196 "type" : "Roo.Element",
197 "desc" : "defaults to this.el"
204 "desc" : "Hide a component - adds 'hidden' class",
205 "sig" : "()\n{\n\n}",
207 "memberOf" : "Roo.bootstrap.Component",
209 "isConstructor" : false,
223 "desc" : "Show a component - removes 'hidden' class",
224 "sig" : "()\n{\n\n}",
226 "memberOf" : "Roo.bootstrap.Component",
228 "isConstructor" : false,
240 "name" : "setVisibilityEl",
242 "desc" : "Set the element that will be used to show or hide",
243 "sig" : "()\n{\n\n}",
245 "memberOf" : "Roo.bootstrap.Component",
247 "isConstructor" : false,
259 "name" : "getVisibilityEl",
261 "desc" : "Get the element that will be used to show or hide",
262 "sig" : "()\n{\n\n}",
264 "memberOf" : "Roo.bootstrap.Component",
266 "isConstructor" : false,
278 "name" : "initEvents",
280 "desc" : "Initialize Events for the element",
281 "sig" : "()\n{\n\n}",
283 "memberOf" : "Roo.bootstrap.Component",
285 "isConstructor" : false,
297 "name" : "getChildContainer",
299 "desc" : "Fetch the element to add children to",
300 "sig" : "()\n{\n\n}",
302 "memberOf" : "Roo.bootstrap.Component",
304 "isConstructor" : false,
316 "type" : "Roo.Element",
317 "desc" : "defaults to this.el"
324 "desc" : "Returns the id of this component.",
325 "sig" : "()\n{\n\n}",
327 "memberOf" : "Roo.Component",
329 "isConstructor" : false,
349 "desc" : "If this is a lazy rendering component, render it to its container element.",
350 "sig" : "(container)",
352 "memberOf" : "Roo.Component",
354 "isConstructor" : false,
364 "name" : "container",
365 "type" : "String/HTMLElement/Element",
366 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
375 "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}.",
376 "sig" : "()\n{\n\n}",
378 "memberOf" : "Roo.Component",
380 "isConstructor" : false,
392 "name" : "isVisible",
394 "desc" : "Returns true if this component is visible.",
395 "sig" : "()\n{\n\n}",
397 "memberOf" : "Roo.Component",
399 "isConstructor" : false,
411 "name" : "setDisabled",
413 "desc" : "Convenience function for setting disabled/enabled by boolean.",
414 "sig" : "(disabled)",
416 "memberOf" : "Roo.Component",
418 "isConstructor" : false,
439 "desc" : "Try to focus this component.",
440 "sig" : "(selectText)",
442 "memberOf" : "Roo.Component",
444 "isConstructor" : false,
454 "name" : "selectText",
456 "desc" : "True to also select the text in this component (if applicable)",
463 "type" : "Roo.Component",
471 "desc" : "Enable this component.",
472 "sig" : "()\n{\n\n}",
474 "memberOf" : "Roo.Component",
476 "isConstructor" : false,
488 "type" : "Roo.Component",
494 "name" : "setVisible",
496 "desc" : "Convenience function to hide or show this component by boolean.",
499 "memberOf" : "Roo.Component",
501 "isConstructor" : false,
513 "desc" : "True to show, false to hide",
520 "type" : "Roo.Component",
528 "desc" : "Disable this component.",
529 "sig" : "()\n{\n\n}",
531 "memberOf" : "Roo.Component",
533 "isConstructor" : false,
545 "type" : "Roo.Component",
553 "desc" : "Returns the underlying {@link Roo.Element}.",
554 "sig" : "()\n{\n\n}",
556 "memberOf" : "Roo.Component",
558 "isConstructor" : false,
570 "type" : "Roo.Element",
571 "desc" : "The element"
576 "name" : "purgeListeners",
578 "desc" : "Removes all listeners for this object",
579 "sig" : "()\n{\n\n}",
581 "memberOf" : "Roo.util.Observable",
583 "isConstructor" : false,
597 "desc" : "Appends an event handler to this element (shorthand for addListener)",
598 "sig" : "(eventName, handler, scope, options)",
600 "memberOf" : "Roo.util.Observable",
602 "isConstructor" : false,
612 "name" : "eventName",
614 "desc" : "The type of event to listen for",
620 "desc" : "The method the event invokes",
626 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
632 "desc" : "(optional)",
641 "desc" : "Removes a listener (shorthand for removeListener)",
642 "sig" : "(eventName, handler, scope)",
644 "memberOf" : "Roo.util.Observable",
646 "isConstructor" : false,
656 "name" : "eventName",
658 "desc" : "The type of event to listen for",
664 "desc" : "The handler to remove",
670 "desc" : "(optional) The scope (this object) for the handler",
677 "name" : "addEvents",
679 "desc" : "Used to define events on this Observable",
682 "memberOf" : "Roo.util.Observable",
684 "isConstructor" : false,
696 "desc" : "The object with the events defined",
703 "name" : "releaseCapture",
705 "desc" : "Removes <b>all</b> added captures from the Observable.",
708 "memberOf" : "Roo.util.Observable",
710 "isConstructor" : false,
721 "type" : "Observable",
722 "desc" : "The Observable to release",
729 "name" : "removeListener",
731 "desc" : "Removes a listener",
732 "sig" : "(eventName, handler, scope)",
734 "memberOf" : "Roo.util.Observable",
736 "isConstructor" : false,
746 "name" : "eventName",
748 "desc" : "The type of event to listen for",
754 "desc" : "The handler to remove",
760 "desc" : "(optional) The scope (this object) for the handler",
767 "name" : "fireEvent",
769 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
770 "sig" : "(eventName, args)",
772 "memberOf" : "Roo.util.Observable",
774 "isConstructor" : false,
784 "name" : "eventName",
791 "type" : "Object...",
792 "desc" : "Variable number of parameters are passed to handlers",
800 "desc" : "returns false if any of the handlers return false otherwise it returns true"
805 "name" : "hasListener",
807 "desc" : "Checks to see if this object has any listeners for a specified event",
808 "sig" : "(eventName)",
810 "memberOf" : "Roo.util.Observable",
812 "isConstructor" : false,
822 "name" : "eventName",
824 "desc" : "The name of the event to check for",
832 "desc" : "True if the event is being listened for, else false"
839 "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.",
840 "sig" : "(o, fn, scope)",
842 "memberOf" : "Roo.util.Observable",
844 "isConstructor" : false,
855 "type" : "Observable",
856 "desc" : "The Observable to capture",
862 "desc" : "The function to call",
868 "desc" : "(optional) The scope (this object) for the fn",
875 "name" : "addListener",
877 "desc" : "Appends an event handler to this component",
878 "sig" : "(eventName, handler, scope, options)",
880 "memberOf" : "Roo.util.Observable",
882 "isConstructor" : false,
892 "name" : "eventName",
894 "desc" : "The type of event to listen for",
900 "desc" : "The method the event invokes",
906 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
912 "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>",
923 "desc" : "Fire after download button",
924 "sig" : "function (_self)\n{\n\n}",
933 "type" : "Roo.bootstrap.DocumentViewer",
943 "desc" : "Fire after initEvent",
944 "sig" : "function (_self)\n{\n\n}",
953 "type" : "Roo.bootstrap.DocumentViewer",
963 "desc" : "Fire after trash button",
964 "sig" : "function (_self)\n{\n\n}",
973 "type" : "Roo.bootstrap.DocumentViewer",
983 "desc" : "Fire after click",
984 "sig" : "function (_self)\n{\n\n}",
993 "type" : "Roo.bootstrap.DocumentViewer",
1001 "name" : "childrenrendered",
1002 "type" : "function",
1003 "desc" : "Fires when the children have been rendered..",
1004 "sig" : "function (_self)\n{\n\n}",
1005 "memberOf" : "Roo.bootstrap.Component",
1013 "type" : "Roo.bootstrap.Component",
1015 "isOptional" : false
1021 "name" : "beforerender",
1022 "type" : "function",
1023 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1024 "sig" : "function (_self)\n{\n\n}",
1025 "memberOf" : "Roo.Component",
1033 "type" : "Roo.Component",
1035 "isOptional" : false
1042 "type" : "function",
1043 "desc" : "Fires after the component is disabled.",
1044 "sig" : "function (_self)\n{\n\n}",
1045 "memberOf" : "Roo.Component",
1053 "type" : "Roo.Component",
1055 "isOptional" : false
1062 "type" : "function",
1063 "desc" : "Fires after the component is rendered.",
1064 "sig" : "function (_self)\n{\n\n}",
1065 "memberOf" : "Roo.Component",
1073 "type" : "Roo.Component",
1075 "isOptional" : false
1082 "type" : "function",
1083 "desc" : "Fires after the component is destroyed.",
1084 "sig" : "function (_self)\n{\n\n}",
1085 "memberOf" : "Roo.Component",
1093 "type" : "Roo.Component",
1095 "isOptional" : false
1102 "type" : "function",
1103 "desc" : "Fires after the component is hidden.",
1104 "sig" : "function (_self)\n{\n\n}",
1105 "memberOf" : "Roo.Component",
1113 "type" : "Roo.Component",
1115 "isOptional" : false
1121 "name" : "beforehide",
1122 "type" : "function",
1123 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1124 "sig" : "function (_self)\n{\n\n}",
1125 "memberOf" : "Roo.Component",
1133 "type" : "Roo.Component",
1135 "isOptional" : false
1142 "type" : "function",
1143 "desc" : "Fires after the component is shown.",
1144 "sig" : "function (_self)\n{\n\n}",
1145 "memberOf" : "Roo.Component",
1153 "type" : "Roo.Component",
1155 "isOptional" : false
1161 "name" : "beforeshow",
1162 "type" : "function",
1163 "desc" : "Fires before the component is shown. Return false to stop the show.",
1164 "sig" : "function (_self)\n{\n\n}",
1165 "memberOf" : "Roo.Component",
1173 "type" : "Roo.Component",
1175 "isOptional" : false
1182 "type" : "function",
1183 "desc" : "Fires after the component is enabled.",
1184 "sig" : "function (_self)\n{\n\n}",
1185 "memberOf" : "Roo.Component",
1193 "type" : "Roo.Component",
1195 "isOptional" : false
1201 "name" : "beforedestroy",
1202 "type" : "function",
1203 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1204 "sig" : "function (_self)\n{\n\n}",
1205 "memberOf" : "Roo.Component",
1213 "type" : "Roo.Component",
1215 "isOptional" : false