2 "name" : "Roo.bootstrap.panel.Content",
6 "desc" : "A basic ContentPanel element. - a panel that contain any content (eg. forms etc.)",
10 "memberOf" : "Content",
18 "type" : "String/HTMLElement/Roo.Element",
19 "desc" : "The container element for this panel",
24 "type" : "String/Object",
25 "desc" : "A string to set only the title or a config object",
31 "desc" : "(optional) Set the HTML content for this panel",
37 "desc" : "(optional) Used by xtype constructors to add to regions. (values center,east,west,south,north)",
48 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
54 "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>",
55 "memberOf" : "Roo.util.Observable"
60 "desc" : "render the badges",
64 "name" : "autoScroll",
66 "desc" : "True to scroll overflow in this panel (use with {@link #fitToFrame})",
70 "name" : "fitToFrame",
72 "desc" : "True for this panel to adjust its size to fit when the region resizes (defaults to false)",
76 "name" : "background",
78 "desc" : "True if the panel should not be activated when it is added (defaults to false)",
84 "desc" : "A toolbar for this panel",
90 "desc" : "t) which region to put this panel on (when used with xtype constructors)",
96 "desc" : "Raw content to fill content panel with (uses setContent on construction.)",
102 "desc" : "The title for this panel",
108 "desc" : "contents are an iframe - makes showing remote sources/CSS feasible..",
114 "desc" : "extra classes to use",
118 "name" : "autoCreate",
119 "type" : "Boolean/Object",
120 "desc" : "True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create",
124 "name" : "fitContainer",
126 "desc" : "When using {@link #fitToFrame} and {@link #resizeEl}, you can also fit the parent container (defaults to false)",
132 "desc" : "True if the panel can be closed/removed",
137 "type" : "String/Object",
138 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
142 "name" : "adjustments",
144 "desc" : "Values to <b>add</b> to the width/height when doing a {@link #fitToFrame} (default is [0, 0])",
150 "desc" : "Calls {@link #setUrl} with this value",
155 "type" : "String/HTMLElement/Element",
156 "desc" : "An element to resize if {@link #fitToFrame} is true (instead of this panel's element)",
164 "desc" : "Force a content refresh from the URL specified in the {@link #setUrl} method.\n Will fail silently if the {@link #setUrl} method has not been called.\n This does not activate the panel, just updates its content.",
165 "sig" : "()\n{\n\n}",
169 "isConstructor" : false,
181 "name" : "getUpdateManager",
183 "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
184 "sig" : "()\n{\n\n}",
188 "isConstructor" : false,
200 "type" : "Roo.UpdateManager",
201 "desc" : "The UpdateManager"
206 "name" : "getChildContainer",
208 "desc" : "Adds a xtype elements to the panel - currently only supports Forms, View, JsonView.\n<pre><code>\n\nlayout.addxtype({\n xtype : 'Form',\n items: [ .... ]\n }\n);\n\n</code></pre>",
213 "isConstructor" : false,
225 "desc" : "Xtype definition of item to add.",
232 "name" : "getToolbar",
234 "desc" : "Returns the toolbar for this Panel if one was configured.",
235 "sig" : "()\n{\n\n}",
239 "isConstructor" : false,
251 "type" : "Roo.Toolbar",
259 "desc" : "Set this panel's title",
264 "isConstructor" : false,
285 "desc" : "Set a URL to be used to load the content for this panel. When this panel is activated, the content will be loaded from that URL.",
286 "sig" : "(url, params, loadOnce)",
290 "isConstructor" : false,
301 "type" : "String/Function",
302 "desc" : "The URL to load the content from or a function to call to get the URL",
307 "type" : "String/Object",
308 "desc" : "(optional) The string params for the update call or an object of the params. See {@link Roo.UpdateManager#update} for more details. (Defaults to null)",
314 "desc" : "(optional) Whether to only load the content once. If this is false it makes the Ajax call every time this panel is activated. (Defaults to false)",
321 "type" : "Roo.UpdateManager|Boolean",
322 "desc" : "The UpdateManager or false if IFRAME"
329 "desc" : "Returns this panel's element - used by regiosn to add.",
330 "sig" : "()\n{\n\n}",
334 "isConstructor" : false,
346 "type" : "Roo.Element",
354 "desc" : "Destroys this panel",
355 "sig" : "()\n{\n\n}",
359 "isConstructor" : false,
373 "desc" : "Loads this content panel immediately with content from XHR. Note: to delay loading until the panel is activated, use {@link #setUrl}.\nDoes not work with IFRAME contents",
374 "sig" : "(url, params, callback, discardUrl)",
378 "isConstructor" : false,
389 "type" : "Object/String/Function",
390 "desc" : "The url for this request or a function to call to get the url or a config object containing any of the following options:\n<pre><code>\npanel.load({\n url: \"your-url.php\",\n params: {param1: \"foo\", param2: \"bar\"}, // or a URL encoded string\n callback: yourFunction,\n scope: yourObject, //(optional scope)\n discardUrl: false,\n nocache: false,\n text: \"Loading...\",\n timeout: 30,\n scripts: false\n});\n</code></pre>\nThe only required property is <i>url</i>. The optional properties <i>nocache</i>, <i>text</i> and <i>scripts</i>\nare shorthand for <i>disableCaching</i>, <i>indicatorText</i> and <i>loadScripts</i> and are used to set their associated property on this panel UpdateManager instance.",
395 "type" : "String/Object",
396 "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
402 "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
406 "name" : "discardUrl",
408 "desc" : "(optional) By default when you execute an update the defaultUrl is changed to the last used URL. If true, it will not store the URL.",
415 "type" : "Roo.ContentPanel",
423 "desc" : "Returns this panel's title",
424 "sig" : "()\n{\n\n}",
428 "isConstructor" : false,
446 "name" : "isClosable",
448 "desc" : "Returns true is this panel was configured to be closable",
449 "sig" : "()\n{\n\n}",
453 "isConstructor" : false,
473 "desc" : "Returns this panel's id",
474 "sig" : "()\n{\n\n}",
478 "isConstructor" : false,
496 "name" : "setContent",
498 "desc" : "Updates this panel's element (not for iframe)",
499 "sig" : "(content, loadScripts)",
503 "isConstructor" : false,
515 "desc" : "The new content",
519 "name" : "loadScripts",
521 "desc" : "(optional) true to look for and process scripts",
528 "name" : "purgeListeners",
530 "desc" : "Removes all listeners for this object",
531 "sig" : "()\n{\n\n}",
533 "memberOf" : "Roo.util.Observable",
535 "isConstructor" : false,
549 "desc" : "Appends an event handler to this element (shorthand for addListener)",
550 "sig" : "(eventName, handler, scope, options)",
552 "memberOf" : "Roo.util.Observable",
554 "isConstructor" : false,
564 "name" : "eventName",
566 "desc" : "The type of event to listen for",
572 "desc" : "The method the event invokes",
578 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
584 "desc" : "(optional)",
593 "desc" : "Removes a listener (shorthand for removeListener)",
594 "sig" : "(eventName, handler, scope)",
596 "memberOf" : "Roo.util.Observable",
598 "isConstructor" : false,
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" : "addEvents",
631 "desc" : "Used to define events on this Observable",
634 "memberOf" : "Roo.util.Observable",
636 "isConstructor" : false,
648 "desc" : "The object with the events defined",
655 "name" : "releaseCapture",
657 "desc" : "Removes <b>all</b> added captures from the Observable.",
660 "memberOf" : "Roo.util.Observable",
662 "isConstructor" : false,
673 "type" : "Observable",
674 "desc" : "The Observable to release",
681 "name" : "removeListener",
683 "desc" : "Removes a listener",
684 "sig" : "(eventName, handler, scope)",
686 "memberOf" : "Roo.util.Observable",
688 "isConstructor" : false,
698 "name" : "eventName",
700 "desc" : "The type of event to listen for",
706 "desc" : "The handler to remove",
712 "desc" : "(optional) The scope (this object) for the handler",
719 "name" : "fireEvent",
721 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
722 "sig" : "(eventName, args)",
724 "memberOf" : "Roo.util.Observable",
726 "isConstructor" : false,
736 "name" : "eventName",
743 "type" : "Object...",
744 "desc" : "Variable number of parameters are passed to handlers",
752 "desc" : "returns false if any of the handlers return false otherwise it returns true"
757 "name" : "hasListener",
759 "desc" : "Checks to see if this object has any listeners for a specified event",
760 "sig" : "(eventName)",
762 "memberOf" : "Roo.util.Observable",
764 "isConstructor" : false,
774 "name" : "eventName",
776 "desc" : "The name of the event to check for",
784 "desc" : "True if the event is being listened for, else false"
791 "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.",
792 "sig" : "(o, fn, scope)",
794 "memberOf" : "Roo.util.Observable",
796 "isConstructor" : false,
807 "type" : "Observable",
808 "desc" : "The Observable to capture",
814 "desc" : "The function to call",
820 "desc" : "(optional) The scope (this object) for the fn",
827 "name" : "addListener",
829 "desc" : "Appends an event handler to this component",
830 "sig" : "(eventName, handler, scope, options)",
832 "memberOf" : "Roo.util.Observable",
834 "isConstructor" : false,
844 "name" : "eventName",
846 "desc" : "The type of event to listen for",
852 "desc" : "The method the event invokes",
858 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
864 "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>",
875 "desc" : "Fires when this panel is activated.",
876 "sig" : "function (_self)\n{\n\n}",
885 "type" : "Roo.ContentPanel",
895 "desc" : "Fires when this panel is resized if fitToFrame is true.",
896 "sig" : "function (_self, width, height)\n{\n\n}",
905 "type" : "Roo.ContentPanel",
912 "desc" : "The width after any component adjustments",
918 "desc" : "The height after any component adjustments",
925 "name" : "deactivate",
927 "desc" : "Fires when this panel is activated.",
928 "sig" : "function (_self)\n{\n\n}",
937 "type" : "Roo.ContentPanel",
947 "desc" : "Fires when this tab is created",
948 "sig" : "function (_self)\n{\n\n}",
957 "type" : "Roo.ContentPanel",
967 "desc" : "Fires when this content is scrolled",
968 "sig" : "function (_self, scrollEvent)\n{\n\n}",
977 "type" : "Roo.ContentPanel",
982 "name" : "scrollEvent",