2 "name" : "Roo.bootstrap.panel.Nest",
4 "Roo.bootstrap.panel.Content",
7 "desc" : "Create a new Panel, that can contain a layout.Border.",
19 "type" : "Roo.BorderLayout",
20 "desc" : "The layout for this panel",
25 "type" : "String/Object",
26 "desc" : "A string to set only the title or a config object",
36 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
37 "memberOf" : "Roo.bootstrap.panel.Content",
44 "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>",
45 "memberOf" : "Roo.util.Observable",
52 "desc" : "render the badges",
53 "memberOf" : "Roo.bootstrap.panel.Content",
58 "name" : "autoScroll",
60 "desc" : "True to scroll overflow in this panel (use with {@link #fitToFrame})",
61 "memberOf" : "Roo.bootstrap.panel.Content",
66 "name" : "fitToFrame",
68 "desc" : "True for this panel to adjust its size to fit when the region resizes (defaults to false)",
69 "memberOf" : "Roo.bootstrap.panel.Content",
74 "name" : "background",
76 "desc" : "True if the panel should not be activated when it is added (defaults to false)",
77 "memberOf" : "Roo.bootstrap.panel.Content",
84 "desc" : "A toolbar for this panel",
85 "memberOf" : "Roo.bootstrap.panel.Content",
92 "desc" : "t) which region to put this panel on (when used with xtype constructors)",
93 "memberOf" : "Roo.bootstrap.panel.Content",
105 "desc" : "Raw content to fill content panel with (uses setContent on construction.)",
106 "memberOf" : "Roo.bootstrap.panel.Content",
113 "desc" : "The title for this panel",
114 "memberOf" : "Roo.bootstrap.panel.Content",
119 "name" : "autoCreate",
120 "type" : "Boolean/Object",
121 "desc" : "True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create",
122 "memberOf" : "Roo.bootstrap.panel.Content",
127 "name" : "fitContainer",
129 "desc" : "When using {@link #fitToFrame} and {@link #resizeEl}, you can also fit the parent container (defaults to false)",
130 "memberOf" : "Roo.bootstrap.panel.Content",
137 "desc" : "True if the panel can be closed/removed",
138 "memberOf" : "Roo.bootstrap.panel.Content",
144 "type" : "String/Object",
145 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
146 "memberOf" : "Roo.bootstrap.panel.Content",
151 "name" : "adjustments",
153 "desc" : "Values to <b>add</b> to the width/height when doing a {@link #fitToFrame} (default is [0, 0])",
154 "memberOf" : "Roo.bootstrap.panel.Content",
161 "desc" : "Calls {@link #setUrl} with this value",
162 "memberOf" : "Roo.bootstrap.panel.Content",
168 "type" : "String/HTMLElement/Element",
169 "desc" : "An element to resize if {@link #fitToFrame} is true (instead of this panel's element)",
170 "memberOf" : "Roo.bootstrap.panel.Content",
177 "name" : "getLayout",
178 "desc" : "Returns the nested BorderLayout for this panel",
180 "isConstructor" : false,
182 "memberOf" : "Roo.bootstrap.panel.Nest",
192 "type" : "Roo.BorderLayout",
199 "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>",
201 "isConstructor" : false,
203 "memberOf" : "Roo.bootstrap.panel.Nest",
212 "desc" : "Xtype definition of item to add.",
221 "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.",
223 "isConstructor" : false,
225 "memberOf" : "Roo.bootstrap.panel.Content",
236 "name" : "getUpdateManager",
237 "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
239 "isConstructor" : false,
241 "memberOf" : "Roo.bootstrap.panel.Content",
251 "type" : "Roo.UpdateManager",
252 "desc" : "The UpdateManager"
257 "name" : "getChildContainer",
258 "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>",
260 "isConstructor" : false,
262 "memberOf" : "Roo.bootstrap.panel.Content",
271 "desc" : "Xtype definition of item to add.",
279 "name" : "getToolbar",
280 "desc" : "Returns the toolbar for this Panel if one was configured.",
282 "isConstructor" : false,
284 "memberOf" : "Roo.bootstrap.panel.Content",
294 "type" : "Roo.Toolbar",
301 "desc" : "Set this panel's title",
303 "isConstructor" : false,
305 "memberOf" : "Roo.bootstrap.panel.Content",
323 "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.",
325 "isConstructor" : false,
327 "memberOf" : "Roo.bootstrap.panel.Content",
335 "type" : "String/Function",
336 "desc" : "The URL to load the content from or a function to call to get the URL",
341 "type" : "String/Object",
342 "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)",
348 "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)",
355 "type" : "Roo.UpdateManager",
356 "desc" : "The UpdateManager"
362 "desc" : "Returns this panel's element - used by regiosn to add.",
364 "isConstructor" : false,
366 "memberOf" : "Roo.bootstrap.panel.Content",
376 "type" : "Roo.Element",
383 "desc" : "Destroys this panel",
385 "isConstructor" : false,
387 "memberOf" : "Roo.bootstrap.panel.Content",
399 "desc" : "Loads this content panel immediately with content from XHR. Note: to delay loading until the panel is activated, use {@link #setUrl}.",
401 "isConstructor" : false,
403 "memberOf" : "Roo.bootstrap.panel.Content",
411 "type" : "Object/String/Function",
412 "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.",
417 "type" : "String/Object",
418 "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
424 "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
428 "name" : "discardUrl",
430 "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.",
437 "type" : "Roo.ContentPanel",
444 "desc" : "Returns this panel's title",
446 "isConstructor" : false,
448 "memberOf" : "Roo.bootstrap.panel.Content",
464 "name" : "isClosable",
465 "desc" : "Returns true is this panel was configured to be closable",
467 "isConstructor" : false,
469 "memberOf" : "Roo.bootstrap.panel.Content",
486 "desc" : "Returns this panel's id",
488 "isConstructor" : false,
490 "memberOf" : "Roo.bootstrap.panel.Content",
506 "name" : "setContent",
507 "desc" : "Updates this panel's element",
509 "isConstructor" : false,
511 "memberOf" : "Roo.bootstrap.panel.Content",
520 "desc" : "The new content",
524 "name" : "loadScripts",
526 "desc" : "(optional) true to look for and process scripts",
534 "name" : "purgeListeners",
535 "desc" : "Removes all listeners for this object",
537 "isConstructor" : false,
539 "memberOf" : "Roo.util.Observable",
551 "desc" : "Appends an event handler to this element (shorthand for addListener)",
553 "isConstructor" : false,
555 "memberOf" : "Roo.util.Observable",
562 "name" : "eventName",
564 "desc" : "The type of event to listen for",
570 "desc" : "The method the event invokes",
576 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
582 "desc" : "(optional)",
591 "desc" : "Removes a listener (shorthand for removeListener)",
593 "isConstructor" : false,
595 "memberOf" : "Roo.util.Observable",
602 "name" : "eventName",
604 "desc" : "The type of event to listen for",
610 "desc" : "The handler to remove",
616 "desc" : "(optional) The scope (this object) for the handler",
624 "name" : "addEvents",
625 "desc" : "Used to define events on this Observable",
627 "isConstructor" : false,
629 "memberOf" : "Roo.util.Observable",
638 "desc" : "The object with the events defined",
646 "name" : "releaseCapture",
647 "desc" : "Removes <b>all</b> added captures from the Observable.",
649 "isConstructor" : false,
651 "memberOf" : "Roo.util.Observable",
659 "type" : "Observable",
660 "desc" : "The Observable to release",
668 "name" : "removeListener",
669 "desc" : "Removes a listener",
671 "isConstructor" : false,
673 "memberOf" : "Roo.util.Observable",
680 "name" : "eventName",
682 "desc" : "The type of event to listen for",
688 "desc" : "The handler to remove",
694 "desc" : "(optional) The scope (this object) for the handler",
702 "name" : "fireEvent",
703 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
705 "isConstructor" : false,
707 "memberOf" : "Roo.util.Observable",
714 "name" : "eventName",
721 "type" : "Object...",
722 "desc" : "Variable number of parameters are passed to handlers",
730 "desc" : "returns false if any of the handlers return false otherwise it returns true"
735 "name" : "hasListener",
736 "desc" : "Checks to see if this object has any listeners for a specified event",
738 "isConstructor" : false,
740 "memberOf" : "Roo.util.Observable",
747 "name" : "eventName",
749 "desc" : "The name of the event to check for",
757 "desc" : "True if the event is being listened for, else false"
763 "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.",
765 "isConstructor" : false,
767 "memberOf" : "Roo.util.Observable",
775 "type" : "Observable",
776 "desc" : "The Observable to capture",
782 "desc" : "The function to call",
788 "desc" : "(optional) The scope (this object) for the fn",
796 "name" : "addListener",
797 "desc" : "Appends an event handler to this component",
799 "isConstructor" : false,
801 "memberOf" : "Roo.util.Observable",
808 "name" : "eventName",
810 "desc" : "The type of event to listen for",
816 "desc" : "The method the event invokes",
822 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
828 "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>",
839 "desc" : "Fires when this panel is activated.",
840 "memberOf" : "Roo.bootstrap.panel.Content",
848 "type" : "Roo.ContentPanel",
858 "desc" : "Fires when this panel is resized if fitToFrame is true.",
859 "memberOf" : "Roo.bootstrap.panel.Content",
867 "type" : "Roo.ContentPanel",
874 "desc" : "The width after any component adjustments",
880 "desc" : "The height after any component adjustments",
888 "name" : "deactivate",
889 "desc" : "Fires when this panel is activated.",
890 "memberOf" : "Roo.bootstrap.panel.Content",
898 "type" : "Roo.ContentPanel",
908 "desc" : "Fires when this tab is created",
909 "memberOf" : "Roo.bootstrap.panel.Content",
917 "type" : "Roo.ContentPanel",