2 "name" : "Roo.bootstrap.panel.Nest",
4 "Roo.bootstrap.panel.Content",
7 "desc" : "Create a new Panel, that can contain a layout.Border.",
15 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
16 "memberOf" : "Roo.bootstrap.panel.Content",
23 "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>",
24 "memberOf" : "Roo.util.Observable",
31 "desc" : "render the badges",
32 "memberOf" : "Roo.bootstrap.panel.Content",
37 "name" : "autoScroll",
39 "desc" : "True to scroll overflow in this panel (use with {@link #fitToFrame})",
40 "memberOf" : "Roo.bootstrap.panel.Content",
45 "name" : "fitToFrame",
47 "desc" : "True for this panel to adjust its size to fit when the region resizes (defaults to false)",
48 "memberOf" : "Roo.bootstrap.panel.Content",
53 "name" : "background",
55 "desc" : "True if the panel should not be activated when it is added (defaults to false)",
56 "memberOf" : "Roo.bootstrap.panel.Content",
63 "desc" : "A toolbar for this panel",
64 "memberOf" : "Roo.bootstrap.panel.Content",
71 "desc" : "which region to put this panel on (when used with xtype constructors)",
72 "memberOf" : "Roo.bootstrap.panel.Content",
84 "desc" : "Raw content to fill content panel with (uses setContent on construction.)",
85 "memberOf" : "Roo.bootstrap.panel.Content",
92 "desc" : "The title for this panel",
93 "memberOf" : "Roo.bootstrap.panel.Content",
98 "name" : "autoCreate",
99 "type" : "Boolean/Object",
100 "desc" : "True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create",
101 "memberOf" : "Roo.bootstrap.panel.Content",
106 "name" : "fitContainer",
108 "desc" : "When using {@link #fitToFrame} and {@link #resizeEl}, you can also fit the parent container (defaults to false)",
109 "memberOf" : "Roo.bootstrap.panel.Content",
116 "desc" : "True if the panel can be closed/removed",
117 "memberOf" : "Roo.bootstrap.panel.Content",
123 "type" : "String/Object",
124 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
125 "memberOf" : "Roo.bootstrap.panel.Content",
130 "name" : "adjustments",
132 "desc" : "Values to <b>add</b> to the width/height when doing a {@link #fitToFrame} (default is [0, 0])",
133 "memberOf" : "Roo.bootstrap.panel.Content",
140 "desc" : "Calls {@link #setUrl} with this value",
141 "memberOf" : "Roo.bootstrap.panel.Content",
147 "type" : "String/HTMLElement/Element",
148 "desc" : "An element to resize if {@link #fitToFrame} is true (instead of this panel's element)",
149 "memberOf" : "Roo.bootstrap.panel.Content",
156 "name" : "getLayout",
157 "desc" : "Returns the nested BorderLayout for this panel",
159 "isConstructor" : false,
161 "memberOf" : "Roo.bootstrap.panel.Nest",
171 "type" : "Roo.BorderLayout",
178 "desc" : "Adds a xtype elements to the layout of the nested panel\n<pre><code>\n\npanel.addxtype({\n xtype : 'ContentPanel',\n region: 'west',\n items: [ .... ]\n }\n);\n\npanel.addxtype({\n xtype : 'NestedLayoutPanel',\n region: 'west',\n layout: {\n center: { },\n west: { } \n },\n items : [ ... list of content panels or nested layout panels.. ]\n }\n);\n</code></pre>",
180 "isConstructor" : false,
182 "memberOf" : "Roo.bootstrap.panel.Nest",
191 "desc" : "Xtype definition of item to add.",
200 "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.",
202 "isConstructor" : false,
204 "memberOf" : "Roo.bootstrap.panel.Content",
215 "name" : "getUpdateManager",
216 "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
218 "isConstructor" : false,
220 "memberOf" : "Roo.bootstrap.panel.Content",
230 "type" : "Roo.UpdateManager",
231 "desc" : "The UpdateManager"
236 "name" : "getChildContainer",
237 "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>",
239 "isConstructor" : false,
241 "memberOf" : "Roo.bootstrap.panel.Content",
250 "desc" : "Xtype definition of item to add.",
258 "name" : "getToolbar",
259 "desc" : "Returns the toolbar for this Panel if one was configured.",
261 "isConstructor" : false,
263 "memberOf" : "Roo.bootstrap.panel.Content",
273 "type" : "Roo.Toolbar",
280 "desc" : "Set this panel's title",
282 "isConstructor" : false,
284 "memberOf" : "Roo.bootstrap.panel.Content",
302 "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.",
304 "isConstructor" : false,
306 "memberOf" : "Roo.bootstrap.panel.Content",
314 "type" : "String/Function",
315 "desc" : "The URL to load the content from or a function to call to get the URL",
320 "type" : "String/Object",
321 "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)",
327 "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)",
334 "type" : "Roo.UpdateManager",
335 "desc" : "The UpdateManager"
341 "desc" : "Returns this panel's element - used by regiosn to add.",
343 "isConstructor" : false,
345 "memberOf" : "Roo.bootstrap.panel.Content",
355 "type" : "Roo.Element",
362 "desc" : "Destroys this panel",
364 "isConstructor" : false,
366 "memberOf" : "Roo.bootstrap.panel.Content",
378 "desc" : "Loads this content panel immediately with content from XHR. Note: to delay loading until the panel is activated, use {@link #setUrl}.",
380 "isConstructor" : false,
382 "memberOf" : "Roo.bootstrap.panel.Content",
390 "type" : "Object/String/Function",
391 "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.",
396 "type" : "String/Object",
397 "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
403 "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
407 "name" : "discardUrl",
409 "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.",
416 "type" : "Roo.ContentPanel",
423 "desc" : "Returns this panel's title",
425 "isConstructor" : false,
427 "memberOf" : "Roo.bootstrap.panel.Content",
443 "name" : "isClosable",
444 "desc" : "Returns true is this panel was configured to be closable",
446 "isConstructor" : false,
448 "memberOf" : "Roo.bootstrap.panel.Content",
465 "desc" : "Returns this panel's id",
467 "isConstructor" : false,
469 "memberOf" : "Roo.bootstrap.panel.Content",
485 "name" : "setContent",
486 "desc" : "Updates this panel's element",
488 "isConstructor" : false,
490 "memberOf" : "Roo.bootstrap.panel.Content",
499 "desc" : "The new content",
503 "name" : "loadScripts",
505 "desc" : "(optional) true to look for and process scripts",
513 "name" : "purgeListeners",
514 "desc" : "Removes all listeners for this object",
516 "isConstructor" : false,
518 "memberOf" : "Roo.util.Observable",
530 "desc" : "Appends an event handler to this element (shorthand for addListener)",
532 "isConstructor" : false,
534 "memberOf" : "Roo.util.Observable",
541 "name" : "eventName",
543 "desc" : "The type of event to listen for",
549 "desc" : "The method the event invokes",
555 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
561 "desc" : "(optional)",
570 "desc" : "Removes a listener (shorthand for removeListener)",
572 "isConstructor" : false,
574 "memberOf" : "Roo.util.Observable",
581 "name" : "eventName",
583 "desc" : "The type of event to listen for",
589 "desc" : "The handler to remove",
595 "desc" : "(optional) The scope (this object) for the handler",
603 "name" : "addEvents",
604 "desc" : "Used to define events on this Observable",
606 "isConstructor" : false,
608 "memberOf" : "Roo.util.Observable",
617 "desc" : "The object with the events defined",
625 "name" : "releaseCapture",
626 "desc" : "Removes <b>all</b> added captures from the Observable.",
628 "isConstructor" : false,
630 "memberOf" : "Roo.util.Observable",
638 "type" : "Observable",
639 "desc" : "The Observable to release",
647 "name" : "removeListener",
648 "desc" : "Removes a listener",
650 "isConstructor" : false,
652 "memberOf" : "Roo.util.Observable",
659 "name" : "eventName",
661 "desc" : "The type of event to listen for",
667 "desc" : "The handler to remove",
673 "desc" : "(optional) The scope (this object) for the handler",
681 "name" : "fireEvent",
682 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
684 "isConstructor" : false,
686 "memberOf" : "Roo.util.Observable",
693 "name" : "eventName",
700 "type" : "Object...",
701 "desc" : "Variable number of parameters are passed to handlers",
709 "desc" : "returns false if any of the handlers return false otherwise it returns true"
714 "name" : "hasListener",
715 "desc" : "Checks to see if this object has any listeners for a specified event",
717 "isConstructor" : false,
719 "memberOf" : "Roo.util.Observable",
726 "name" : "eventName",
728 "desc" : "The name of the event to check for",
736 "desc" : "True if the event is being listened for, else false"
742 "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.",
744 "isConstructor" : false,
746 "memberOf" : "Roo.util.Observable",
754 "type" : "Observable",
755 "desc" : "The Observable to capture",
761 "desc" : "The function to call",
767 "desc" : "(optional) The scope (this object) for the fn",
775 "name" : "addListener",
776 "desc" : "Appends an event handler to this component",
778 "isConstructor" : false,
780 "memberOf" : "Roo.util.Observable",
787 "name" : "eventName",
789 "desc" : "The type of event to listen for",
795 "desc" : "The method the event invokes",
801 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
807 "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>",
818 "desc" : "Fires when this panel is activated.",
819 "memberOf" : "Roo.bootstrap.panel.Content",
827 "type" : "Roo.ContentPanel",
837 "desc" : "Fires when this panel is resized if fitToFrame is true.",
838 "memberOf" : "Roo.bootstrap.panel.Content",
846 "type" : "Roo.ContentPanel",
853 "desc" : "The width after any component adjustments",
859 "desc" : "The height after any component adjustments",
867 "name" : "deactivate",
868 "desc" : "Fires when this panel is activated.",
869 "memberOf" : "Roo.bootstrap.panel.Content",
877 "type" : "Roo.ContentPanel",
887 "desc" : "Fires when this tab is created",
888 "memberOf" : "Roo.bootstrap.panel.Content",
896 "type" : "Roo.ContentPanel",