2 "name" : "Roo.bootstrap.DocumentViewer",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap DocumentViewer class",
12 "memberOf" : "DocumentViewer",
21 "desc" : "The config object",
30 "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>",
31 "memberOf" : "Roo.util.Observable",
37 "desc" : "Text for the tooltip",
38 "memberOf" : "Roo.bootstrap.Component",
42 "name" : "container_method",
44 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
45 "memberOf" : "Roo.bootstrap.Component",
49 "name" : "visibilityEl",
50 "type" : "string|object",
51 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
52 "memberOf" : "Roo.bootstrap.Component",
59 "name" : "can_build_overlaid",
61 "desc" : "True if element can be rebuild from a HTML page",
62 "memberOf" : "Roo.bootstrap.Component",
68 "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\".",
69 "memberOf" : "Roo.Component",
78 "desc" : "any extra css",
79 "memberOf" : "Roo.bootstrap.Component",
83 "name" : "allowDomMove",
85 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
86 "memberOf" : "Roo.Component",
93 "memberOf" : "Roo.bootstrap.Component",
99 "desc" : "e) show trash button (default true)",
100 "memberOf" : "Roo.bootstrap.DocumentViewer",
109 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
110 "memberOf" : "Roo.bootstrap.Component",
114 "name" : "actionMode",
116 "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",
117 "memberOf" : "Roo.Component",
123 "desc" : "cutomer id",
124 "memberOf" : "Roo.bootstrap.Component",
128 "name" : "showDownload",
130 "desc" : "e) show download button (default true)",
131 "memberOf" : "Roo.bootstrap.DocumentViewer",
140 "desc" : "Specifies name attribute",
141 "memberOf" : "Roo.bootstrap.Component",
145 "name" : "disableClass",
147 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
148 "memberOf" : "Roo.Component",
154 "name" : "tooltipEl",
155 "desc" : "Fetch the element to display the tooltip on.",
157 "isConstructor" : false,
159 "memberOf" : "Roo.bootstrap.Component",
168 "type" : "Roo.Element",
169 "desc" : "defaults to this.el"
175 "desc" : "Hide a component - adds 'hidden' class",
177 "isConstructor" : false,
179 "memberOf" : "Roo.bootstrap.Component",
189 "desc" : "Show a component - removes 'hidden' class",
191 "isConstructor" : false,
193 "memberOf" : "Roo.bootstrap.Component",
202 "name" : "setVisibilityEl",
203 "desc" : "Set the element that will be used to show or hide",
205 "isConstructor" : false,
207 "memberOf" : "Roo.bootstrap.Component",
216 "name" : "getVisibilityEl",
217 "desc" : "Get the element that will be used to show or hide",
219 "isConstructor" : false,
221 "memberOf" : "Roo.bootstrap.Component",
230 "name" : "initEvents",
231 "desc" : "Initialize Events for the element",
233 "isConstructor" : false,
235 "memberOf" : "Roo.bootstrap.Component",
244 "name" : "getChildContainer",
245 "desc" : "Fetch the element to add children to",
247 "isConstructor" : false,
249 "memberOf" : "Roo.bootstrap.Component",
258 "type" : "Roo.Element",
259 "desc" : "defaults to this.el"
265 "desc" : "Returns the id of this component.",
267 "isConstructor" : false,
269 "memberOf" : "Roo.Component",
285 "desc" : "If this is a lazy rendering component, render it to its container element.",
287 "isConstructor" : false,
289 "memberOf" : "Roo.Component",
296 "name" : "container",
297 "type" : "String/HTMLElement/Element",
298 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
306 "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}.",
308 "isConstructor" : false,
310 "memberOf" : "Roo.Component",
319 "name" : "isVisible",
320 "desc" : "Returns true if this component is visible.",
322 "isConstructor" : false,
324 "memberOf" : "Roo.Component",
333 "name" : "setDisabled",
334 "desc" : "Convenience function for setting disabled/enabled by boolean.",
336 "isConstructor" : false,
338 "memberOf" : "Roo.Component",
355 "desc" : "Try to focus this component.",
357 "isConstructor" : false,
359 "memberOf" : "Roo.Component",
366 "name" : "selectText",
368 "desc" : "True to also select the text in this component (if applicable)",
375 "type" : "Roo.Component",
382 "desc" : "Enable this component.",
384 "isConstructor" : false,
386 "memberOf" : "Roo.Component",
395 "type" : "Roo.Component",
401 "name" : "setVisible",
402 "desc" : "Convenience function to hide or show this component by boolean.",
404 "isConstructor" : false,
406 "memberOf" : "Roo.Component",
415 "desc" : "True to show, false to hide",
422 "type" : "Roo.Component",
429 "desc" : "Disable this component.",
431 "isConstructor" : false,
433 "memberOf" : "Roo.Component",
442 "type" : "Roo.Component",
449 "desc" : "Returns the underlying {@link Roo.Element}.",
451 "isConstructor" : false,
453 "memberOf" : "Roo.Component",
462 "type" : "Roo.Element",
463 "desc" : "The element"
468 "name" : "purgeListeners",
469 "desc" : "Removes all listeners for this object",
471 "isConstructor" : false,
473 "memberOf" : "Roo.util.Observable",
483 "desc" : "Appends an event handler to this element (shorthand for addListener)",
485 "isConstructor" : false,
487 "memberOf" : "Roo.util.Observable",
494 "name" : "eventName",
496 "desc" : "The type of event to listen for",
502 "desc" : "The method the event invokes",
508 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
514 "desc" : "(optional)",
522 "desc" : "Removes a listener (shorthand for removeListener)",
524 "isConstructor" : false,
526 "memberOf" : "Roo.util.Observable",
533 "name" : "eventName",
535 "desc" : "The type of event to listen for",
541 "desc" : "The handler to remove",
547 "desc" : "(optional) The scope (this object) for the handler",
554 "name" : "addEvents",
555 "desc" : "Used to define events on this Observable",
557 "isConstructor" : false,
559 "memberOf" : "Roo.util.Observable",
568 "desc" : "The object with the events defined",
575 "name" : "releaseCapture",
576 "desc" : "Removes <b>all</b> added captures from the Observable.",
578 "isConstructor" : false,
580 "memberOf" : "Roo.util.Observable",
588 "type" : "Observable",
589 "desc" : "The Observable to release",
596 "name" : "removeListener",
597 "desc" : "Removes a listener",
599 "isConstructor" : false,
601 "memberOf" : "Roo.util.Observable",
608 "name" : "eventName",
610 "desc" : "The type of event to listen for",
616 "desc" : "The handler to remove",
622 "desc" : "(optional) The scope (this object) for the handler",
629 "name" : "fireEvent",
630 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
632 "isConstructor" : false,
634 "memberOf" : "Roo.util.Observable",
641 "name" : "eventName",
648 "type" : "Object...",
649 "desc" : "Variable number of parameters are passed to handlers",
657 "desc" : "returns false if any of the handlers return false otherwise it returns true"
662 "name" : "hasListener",
663 "desc" : "Checks to see if this object has any listeners for a specified event",
665 "isConstructor" : false,
667 "memberOf" : "Roo.util.Observable",
674 "name" : "eventName",
676 "desc" : "The name of the event to check for",
684 "desc" : "True if the event is being listened for, else false"
690 "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.",
692 "isConstructor" : false,
694 "memberOf" : "Roo.util.Observable",
702 "type" : "Observable",
703 "desc" : "The Observable to capture",
709 "desc" : "The function to call",
715 "desc" : "(optional) The scope (this object) for the fn",
722 "name" : "addListener",
723 "desc" : "Appends an event handler to this component",
725 "isConstructor" : false,
727 "memberOf" : "Roo.util.Observable",
734 "name" : "eventName",
736 "desc" : "The type of event to listen for",
742 "desc" : "The method the event invokes",
748 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
754 "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>",
764 "desc" : "Fire after download button",
765 "memberOf" : "Roo.bootstrap.DocumentViewer",
773 "type" : "Roo.bootstrap.DocumentViewer",
782 "desc" : "Fire after initEvent",
783 "memberOf" : "Roo.bootstrap.DocumentViewer",
791 "type" : "Roo.bootstrap.DocumentViewer",
800 "desc" : "Fire after trash button",
801 "memberOf" : "Roo.bootstrap.DocumentViewer",
809 "type" : "Roo.bootstrap.DocumentViewer",
818 "desc" : "Fire after click",
819 "memberOf" : "Roo.bootstrap.DocumentViewer",
827 "type" : "Roo.bootstrap.DocumentViewer",
835 "name" : "childrenrendered",
836 "desc" : "Fires when the children have been rendered..",
837 "memberOf" : "Roo.bootstrap.Component",
845 "type" : "Roo.bootstrap.Component",
853 "name" : "beforerender",
854 "desc" : "Fires before the component is rendered. Return false to stop the render.",
855 "memberOf" : "Roo.Component",
863 "type" : "Roo.Component",
872 "desc" : "Fires after the component is disabled.",
873 "memberOf" : "Roo.Component",
881 "type" : "Roo.Component",
890 "desc" : "Fires after the component is rendered.",
891 "memberOf" : "Roo.Component",
899 "type" : "Roo.Component",
908 "desc" : "Fires after the component is destroyed.",
909 "memberOf" : "Roo.Component",
917 "type" : "Roo.Component",
926 "desc" : "Fires after the component is hidden.",
927 "memberOf" : "Roo.Component",
935 "type" : "Roo.Component",
943 "name" : "beforehide",
944 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
945 "memberOf" : "Roo.Component",
953 "type" : "Roo.Component",
962 "desc" : "Fires after the component is shown.",
963 "memberOf" : "Roo.Component",
971 "type" : "Roo.Component",
979 "name" : "beforeshow",
980 "desc" : "Fires before the component is shown. Return false to stop the show.",
981 "memberOf" : "Roo.Component",
989 "type" : "Roo.Component",
998 "desc" : "Fires after the component is enabled.",
999 "memberOf" : "Roo.Component",
1007 "type" : "Roo.Component",
1009 "isOptional" : false
1015 "name" : "beforedestroy",
1016 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1017 "memberOf" : "Roo.Component",
1025 "type" : "Roo.Component",
1027 "isOptional" : false