2 "name" : "Roo.bootstrap.DocumentViewer",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap DocumentViewer class",
12 "memberOf" : "DocumentViewer",
21 "desc" : "The config object",
31 "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>",
32 "memberOf" : "Roo.util.Observable",
39 "desc" : "Text for the tooltip",
40 "memberOf" : "Roo.bootstrap.Component",
45 "name" : "container_method",
47 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
48 "memberOf" : "Roo.bootstrap.Component",
53 "name" : "visibilityEl",
54 "type" : "string|object",
55 "desc" : "What element to use for visibility (@see getVisibilityEl())",
56 "memberOf" : "Roo.bootstrap.Component",
63 "name" : "can_build_overlaid",
65 "desc" : "True if element can be rebuild from a HTML page",
66 "memberOf" : "Roo.bootstrap.Component",
73 "desc" : "How this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
74 "memberOf" : "Roo.Component",
83 "desc" : "any extra css",
84 "memberOf" : "Roo.bootstrap.Component",
89 "name" : "allowDomMove",
91 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
92 "memberOf" : "Roo.Component",
100 "memberOf" : "Roo.bootstrap.Component",
105 "name" : "showTrash",
107 "desc" : "show trash button (default true)",
108 "memberOf" : "Roo.bootstrap.DocumentViewer",
117 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
118 "memberOf" : "Roo.bootstrap.Component",
123 "name" : "actionMode",
125 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
126 "memberOf" : "Roo.Component",
133 "desc" : "cutomer id",
134 "memberOf" : "Roo.bootstrap.Component",
139 "name" : "showDownload",
141 "desc" : "show download button (default true)",
142 "memberOf" : "Roo.bootstrap.DocumentViewer",
151 "desc" : "Specifies name attribute",
152 "memberOf" : "Roo.bootstrap.Component",
157 "name" : "disableClass",
159 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
160 "memberOf" : "Roo.Component",
167 "name" : "tooltipEl",
168 "desc" : "Fetch the element to display the tooltip on.",
170 "isConstructor" : false,
172 "memberOf" : "Roo.bootstrap.Component",
182 "type" : "Roo.Element",
183 "desc" : "defaults to this.el"
189 "desc" : "Hide a component - adds 'hidden' class",
191 "isConstructor" : false,
193 "memberOf" : "Roo.bootstrap.Component",
205 "desc" : "Show a component - removes 'hidden' class",
207 "isConstructor" : false,
209 "memberOf" : "Roo.bootstrap.Component",
220 "name" : "xAddChildren",
221 "desc" : "xAddChildren - the 'sub-compentized' version of the above idea..",
223 "isConstructor" : false,
225 "memberOf" : "Roo.bootstrap.Component",
236 "name" : "setVisibilityEl",
237 "desc" : "Set the element that will be used to show or hide",
239 "isConstructor" : false,
241 "memberOf" : "Roo.bootstrap.Component",
252 "name" : "getVisibilityEl",
253 "desc" : "Get the element that will be used to show or hide",
255 "isConstructor" : false,
257 "memberOf" : "Roo.bootstrap.Component",
269 "desc" : "This is really a wrapper for addxtypeChild\nit handles stuff relating to flexy:foreach / flexy:if\n= some of our projects use a flat rendering of the output, and try and overlay it with dynamic data.\n -- this is a bit of a nightmare... and is even more confusing to debug..",
271 "isConstructor" : false,
273 "memberOf" : "Roo.bootstrap.Component",
285 "desc" : "add a child to this element\n - turn the child.cfg into a child_instance\n - call child_instance.render( this { getContainerMethod()} )\n - loop through the children, and call addxtype.. (reall this) on newly created child.",
287 "isConstructor" : false,
289 "memberOf" : "Roo.bootstrap.Component",
300 "name" : "addxtypeChild",
301 "desc" : "add a child to this element\n - turn the child.cfg into a child_instance\n - call child_instance.render( this { getContainerMethod()} )\n - loop through the children, and call addxtype.. (reall this) on newly created child.",
303 "isConstructor" : false,
305 "memberOf" : "Roo.bootstrap.Component",
316 "name" : "initEvents",
317 "desc" : "Initialize Events for the element",
319 "isConstructor" : false,
321 "memberOf" : "Roo.bootstrap.Component",
332 "name" : "getChildContainer",
333 "desc" : "Fetch the element to add children to",
335 "isConstructor" : false,
337 "memberOf" : "Roo.bootstrap.Component",
347 "type" : "Roo.Element",
348 "desc" : "defaults to this.el"
353 "name" : "addxtypeChildren",
354 "desc" : "add a number of children to this object,\n which in turn calls render...",
356 "isConstructor" : false,
358 "memberOf" : "Roo.bootstrap.Component",
370 "desc" : "Returns the id of this component.",
372 "isConstructor" : false,
374 "memberOf" : "Roo.Component",
391 "desc" : "If this is a lazy rendering component, render it to its container element.",
393 "isConstructor" : false,
395 "memberOf" : "Roo.Component",
402 "name" : "container",
403 "type" : "String/HTMLElement/Element",
404 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
413 "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}.",
415 "isConstructor" : false,
417 "memberOf" : "Roo.Component",
428 "name" : "isVisible",
429 "desc" : "Returns true if this component is visible.",
431 "isConstructor" : false,
433 "memberOf" : "Roo.Component",
444 "name" : "setDisabled",
445 "desc" : "Convenience function for setting disabled/enabled by boolean.",
447 "isConstructor" : false,
449 "memberOf" : "Roo.Component",
467 "desc" : "Try to focus this component.",
469 "isConstructor" : false,
471 "memberOf" : "Roo.Component",
478 "name" : "selectText",
480 "desc" : "True to also select the text in this component (if applicable)",
487 "type" : "Roo.Component",
494 "desc" : "Enable this component.",
496 "isConstructor" : false,
498 "memberOf" : "Roo.Component",
508 "type" : "Roo.Component",
514 "name" : "setVisible",
515 "desc" : "Convenience function to hide or show this component by boolean.",
517 "isConstructor" : false,
519 "memberOf" : "Roo.Component",
528 "desc" : "True to show, false to hide",
535 "type" : "Roo.Component",
542 "desc" : "Disable this component.",
544 "isConstructor" : false,
546 "memberOf" : "Roo.Component",
556 "type" : "Roo.Component",
563 "desc" : "Returns the underlying {@link Roo.Element}.",
565 "isConstructor" : false,
567 "memberOf" : "Roo.Component",
577 "type" : "Roo.Element",
578 "desc" : "The element"
583 "name" : "purgeListeners",
584 "desc" : "Removes all listeners for this object",
586 "isConstructor" : false,
588 "memberOf" : "Roo.util.Observable",
600 "desc" : "Appends an event handler to this element (shorthand for addListener)",
602 "isConstructor" : false,
604 "memberOf" : "Roo.util.Observable",
611 "name" : "eventName",
613 "desc" : "The type of event to listen for",
619 "desc" : "The method the event invokes",
625 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
631 "desc" : "(optional)",
640 "desc" : "Removes a listener (shorthand for removeListener)",
642 "isConstructor" : false,
644 "memberOf" : "Roo.util.Observable",
651 "name" : "eventName",
653 "desc" : "The type of event to listen for",
659 "desc" : "The handler to remove",
665 "desc" : "(optional) The scope (this object) for the handler",
673 "name" : "addEvents",
674 "desc" : "Used to define events on this Observable",
676 "isConstructor" : false,
678 "memberOf" : "Roo.util.Observable",
687 "desc" : "The object with the events defined",
695 "name" : "releaseCapture",
696 "desc" : "Removes <b>all</b> added captures from the Observable.",
698 "isConstructor" : false,
700 "memberOf" : "Roo.util.Observable",
708 "type" : "Observable",
709 "desc" : "The Observable to release",
717 "name" : "removeListener",
718 "desc" : "Removes a listener",
720 "isConstructor" : false,
722 "memberOf" : "Roo.util.Observable",
729 "name" : "eventName",
731 "desc" : "The type of event to listen for",
737 "desc" : "The handler to remove",
743 "desc" : "(optional) The scope (this object) for the handler",
751 "name" : "fireEvent",
752 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
754 "isConstructor" : false,
756 "memberOf" : "Roo.util.Observable",
763 "name" : "eventName",
770 "type" : "Object...",
771 "desc" : "Variable number of parameters are passed to handlers",
779 "desc" : "returns false if any of the handlers return false otherwise it returns true"
784 "name" : "hasListener",
785 "desc" : "Checks to see if this object has any listeners for a specified event",
787 "isConstructor" : false,
789 "memberOf" : "Roo.util.Observable",
796 "name" : "eventName",
798 "desc" : "The name of the event to check for",
806 "desc" : "True if the event is being listened for, else false"
812 "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.",
814 "isConstructor" : false,
816 "memberOf" : "Roo.util.Observable",
824 "type" : "Observable",
825 "desc" : "The Observable to capture",
831 "desc" : "The function to call",
837 "desc" : "(optional) The scope (this object) for the fn",
845 "name" : "addListener",
846 "desc" : "Appends an event handler to this component",
848 "isConstructor" : false,
850 "memberOf" : "Roo.util.Observable",
857 "name" : "eventName",
859 "desc" : "The type of event to listen for",
865 "desc" : "The method the event invokes",
871 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
877 "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>",
888 "desc" : "Fire after download button",
889 "memberOf" : "Roo.bootstrap.DocumentViewer",
897 "type" : "Roo.bootstrap.DocumentViewer",
907 "desc" : "Fire after initEvent",
908 "memberOf" : "Roo.bootstrap.DocumentViewer",
916 "type" : "Roo.bootstrap.DocumentViewer",
926 "desc" : "Fire after trash button",
927 "memberOf" : "Roo.bootstrap.DocumentViewer",
935 "type" : "Roo.bootstrap.DocumentViewer",
945 "desc" : "Fire after click",
946 "memberOf" : "Roo.bootstrap.DocumentViewer",
954 "type" : "Roo.bootstrap.DocumentViewer",
963 "name" : "childrenrendered",
964 "desc" : "Fires when the children have been rendered..",
965 "memberOf" : "Roo.bootstrap.Component",
973 "type" : "Roo.bootstrap.Component",
982 "name" : "beforerender",
983 "desc" : "Fires before the component is rendered. Return false to stop the render.",
984 "memberOf" : "Roo.Component",
992 "type" : "Roo.Component",
1002 "desc" : "Fires after the component is disabled.",
1003 "memberOf" : "Roo.Component",
1011 "type" : "Roo.Component",
1013 "isOptional" : false
1021 "desc" : "Fires after the component is rendered.",
1022 "memberOf" : "Roo.Component",
1030 "type" : "Roo.Component",
1032 "isOptional" : false
1040 "desc" : "Fires after the component is destroyed.",
1041 "memberOf" : "Roo.Component",
1049 "type" : "Roo.Component",
1051 "isOptional" : false
1059 "desc" : "Fires after the component is hidden.",
1060 "memberOf" : "Roo.Component",
1068 "type" : "Roo.Component",
1070 "isOptional" : false
1077 "name" : "beforehide",
1078 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1079 "memberOf" : "Roo.Component",
1087 "type" : "Roo.Component",
1089 "isOptional" : false
1097 "desc" : "Fires after the component is shown.",
1098 "memberOf" : "Roo.Component",
1106 "type" : "Roo.Component",
1108 "isOptional" : false
1115 "name" : "beforeshow",
1116 "desc" : "Fires before the component is shown. Return false to stop the show.",
1117 "memberOf" : "Roo.Component",
1125 "type" : "Roo.Component",
1127 "isOptional" : false
1135 "desc" : "Fires after the component is enabled.",
1136 "memberOf" : "Roo.Component",
1144 "type" : "Roo.Component",
1146 "isOptional" : false
1153 "name" : "beforedestroy",
1154 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1155 "memberOf" : "Roo.Component",
1163 "type" : "Roo.Component",
1165 "isOptional" : false