2 "name" : "Roo.NestedLayoutPanel",
7 "desc" : "Create a new NestedLayoutPanel.",
11 "memberOf" : "NestedLayoutPanel",
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",
35 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
36 "memberOf" : "Roo.ContentPanel",
42 "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>",
43 "memberOf" : "Roo.util.Observable",
47 "name" : "autoScroll",
49 "desc" : "True to scroll overflow in this panel (use with {@link #fitToFrame})",
50 "memberOf" : "Roo.ContentPanel",
54 "name" : "fitToFrame",
56 "desc" : "True for this panel to adjust its size to fit when the region resizes (defaults to false)",
57 "memberOf" : "Roo.ContentPanel",
61 "name" : "background",
63 "desc" : "True if the panel should not be activated when it is added (defaults to false)",
64 "memberOf" : "Roo.ContentPanel",
70 "desc" : "A toolbar for this panel",
71 "memberOf" : "Roo.ContentPanel",
77 "desc" : "t) which region to put this panel on (when used with xtype constructors)",
78 "memberOf" : "Roo.ContentPanel",
90 "desc" : "Raw content to fill content panel with (uses setContent on construction.)",
91 "memberOf" : "Roo.ContentPanel",
97 "desc" : "The title for this panel",
98 "memberOf" : "Roo.ContentPanel",
102 "name" : "autoCreate",
103 "type" : "Boolean/Object",
104 "desc" : "True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create",
105 "memberOf" : "Roo.ContentPanel",
109 "name" : "fitContainer",
111 "desc" : "When using {@link #fitToFrame} and {@link #resizeEl}, you can also fit the parent container (defaults to false)",
112 "memberOf" : "Roo.ContentPanel",
118 "desc" : "True if the panel can be closed/removed",
119 "memberOf" : "Roo.ContentPanel",
124 "type" : "String/Object",
125 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
126 "memberOf" : "Roo.ContentPanel",
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.ContentPanel",
139 "desc" : "Calls {@link #setUrl} with this value",
140 "memberOf" : "Roo.ContentPanel",
145 "type" : "String/HTMLElement/Element",
146 "desc" : "An element to resize if {@link #fitToFrame} is true (instead of this panel's element)",
147 "memberOf" : "Roo.ContentPanel",
154 "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>",
156 "isConstructor" : false,
158 "memberOf" : "Roo.NestedLayoutPanel",
167 "desc" : "Xtype definition of item to add.",
174 "name" : "getLayout",
175 "desc" : "Returns the nested BorderLayout for this panel",
177 "isConstructor" : false,
179 "memberOf" : "Roo.NestedLayoutPanel",
188 "type" : "Roo.BorderLayout",
195 "desc" : "Loads this content panel immediately with content from XHR. Note: to delay loading until the panel is activated, use {@link #setUrl}.",
197 "isConstructor" : false,
199 "memberOf" : "Roo.ContentPanel",
207 "type" : "Object/String/Function",
208 "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.",
213 "type" : "String/Object",
214 "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
220 "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
224 "name" : "discardUrl",
226 "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.",
233 "type" : "Roo.ContentPanel",
239 "name" : "getUpdateManager",
240 "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
242 "isConstructor" : false,
244 "memberOf" : "Roo.ContentPanel",
253 "type" : "Roo.UpdateManager",
254 "desc" : "The UpdateManager"
259 "name" : "isClosable",
260 "desc" : "Returns true is this panel was configured to be closable",
262 "isConstructor" : false,
264 "memberOf" : "Roo.ContentPanel",
280 "desc" : "Destroys this panel",
282 "isConstructor" : false,
284 "memberOf" : "Roo.ContentPanel",
294 "desc" : "Returns this panel's element - used by regiosn to add.",
296 "isConstructor" : false,
298 "memberOf" : "Roo.ContentPanel",
307 "type" : "Roo.Element",
313 "name" : "setContent",
314 "desc" : "Updates this panel's element",
316 "isConstructor" : false,
318 "memberOf" : "Roo.ContentPanel",
327 "desc" : "The new content",
331 "name" : "loadScripts",
333 "desc" : "(optional) true to look for and process scripts",
341 "desc" : "Returns this panel's id",
343 "isConstructor" : false,
345 "memberOf" : "Roo.ContentPanel",
361 "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.",
363 "isConstructor" : false,
365 "memberOf" : "Roo.ContentPanel",
375 "desc" : "Returns this panel's title",
377 "isConstructor" : false,
379 "memberOf" : "Roo.ContentPanel",
395 "desc" : "Set this panel's title",
397 "isConstructor" : false,
399 "memberOf" : "Roo.ContentPanel",
415 "name" : "getToolbar",
416 "desc" : "Returns the toolbar for this Panel if one was configured.",
418 "isConstructor" : false,
420 "memberOf" : "Roo.ContentPanel",
429 "type" : "Roo.Toolbar",
436 "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.",
438 "isConstructor" : false,
440 "memberOf" : "Roo.ContentPanel",
448 "type" : "String/Function",
449 "desc" : "The URL to load the content from or a function to call to get the URL",
454 "type" : "String/Object",
455 "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)",
461 "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)",
468 "type" : "Roo.UpdateManager",
469 "desc" : "The UpdateManager"
474 "name" : "purgeListeners",
475 "desc" : "Removes all listeners for this object",
477 "isConstructor" : false,
479 "memberOf" : "Roo.util.Observable",
489 "desc" : "Appends an event handler to this element (shorthand for addListener)",
491 "isConstructor" : false,
493 "memberOf" : "Roo.util.Observable",
500 "name" : "eventName",
502 "desc" : "The type of event to listen for",
508 "desc" : "The method the event invokes",
514 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
520 "desc" : "(optional)",
528 "desc" : "Removes a listener (shorthand for removeListener)",
530 "isConstructor" : false,
532 "memberOf" : "Roo.util.Observable",
539 "name" : "eventName",
541 "desc" : "The type of event to listen for",
547 "desc" : "The handler to remove",
553 "desc" : "(optional) The scope (this object) for the handler",
560 "name" : "addEvents",
561 "desc" : "Used to define events on this Observable",
563 "isConstructor" : false,
565 "memberOf" : "Roo.util.Observable",
574 "desc" : "The object with the events defined",
581 "name" : "releaseCapture",
582 "desc" : "Removes <b>all</b> added captures from the Observable.",
584 "isConstructor" : false,
586 "memberOf" : "Roo.util.Observable",
594 "type" : "Observable",
595 "desc" : "The Observable to release",
602 "name" : "removeListener",
603 "desc" : "Removes a listener",
605 "isConstructor" : false,
607 "memberOf" : "Roo.util.Observable",
614 "name" : "eventName",
616 "desc" : "The type of event to listen for",
622 "desc" : "The handler to remove",
628 "desc" : "(optional) The scope (this object) for the handler",
635 "name" : "fireEvent",
636 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
638 "isConstructor" : false,
640 "memberOf" : "Roo.util.Observable",
647 "name" : "eventName",
654 "type" : "Object...",
655 "desc" : "Variable number of parameters are passed to handlers",
663 "desc" : "returns false if any of the handlers return false otherwise it returns true"
668 "name" : "hasListener",
669 "desc" : "Checks to see if this object has any listeners for a specified event",
671 "isConstructor" : false,
673 "memberOf" : "Roo.util.Observable",
680 "name" : "eventName",
682 "desc" : "The name of the event to check for",
690 "desc" : "True if the event is being listened for, else false"
696 "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.",
698 "isConstructor" : false,
700 "memberOf" : "Roo.util.Observable",
708 "type" : "Observable",
709 "desc" : "The Observable to capture",
715 "desc" : "The function to call",
721 "desc" : "(optional) The scope (this object) for the fn",
728 "name" : "addListener",
729 "desc" : "Appends an event handler to this component",
731 "isConstructor" : false,
733 "memberOf" : "Roo.util.Observable",
740 "name" : "eventName",
742 "desc" : "The type of event to listen for",
748 "desc" : "The method the event invokes",
754 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
760 "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>",
769 "name" : "deactivate",
770 "desc" : "Fires when this panel is activated.",
771 "memberOf" : "Roo.ContentPanel",
779 "type" : "Roo.ContentPanel",
788 "desc" : "Fires when this panel is resized if fitToFrame is true.",
789 "memberOf" : "Roo.ContentPanel",
797 "type" : "Roo.ContentPanel",
804 "desc" : "The width after any component adjustments",
810 "desc" : "The height after any component adjustments",
818 "desc" : "Fires when this tab is created",
819 "memberOf" : "Roo.ContentPanel",
827 "type" : "Roo.ContentPanel",
836 "desc" : "Fires when this panel is activated.",
837 "memberOf" : "Roo.ContentPanel",
845 "type" : "Roo.ContentPanel",