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",
36 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
37 "memberOf" : "Roo.ContentPanel",
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",
50 "name" : "autoScroll",
52 "desc" : "True to scroll overflow in this panel (use with {@link #fitToFrame})",
53 "memberOf" : "Roo.ContentPanel",
58 "name" : "fitToFrame",
60 "desc" : "True for this panel to adjust its size to fit when the region resizes (defaults to false)",
61 "memberOf" : "Roo.ContentPanel",
66 "name" : "background",
68 "desc" : "True if the panel should not be activated when it is added (defaults to false)",
69 "memberOf" : "Roo.ContentPanel",
76 "desc" : "A toolbar for this panel",
77 "memberOf" : "Roo.ContentPanel",
84 "desc" : "t) which region to put this panel on (when used with xtype constructors)",
85 "memberOf" : "Roo.ContentPanel",
97 "desc" : "Raw content to fill content panel with (uses setContent on construction.)",
98 "memberOf" : "Roo.ContentPanel",
105 "desc" : "The title for this panel",
106 "memberOf" : "Roo.ContentPanel",
111 "name" : "autoCreate",
112 "type" : "Boolean/Object",
113 "desc" : "True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create",
114 "memberOf" : "Roo.ContentPanel",
119 "name" : "fitContainer",
121 "desc" : "When using {@link #fitToFrame} and {@link #resizeEl}, you can also fit the parent container (defaults to false)",
122 "memberOf" : "Roo.ContentPanel",
129 "desc" : "True if the panel can be closed/removed",
130 "memberOf" : "Roo.ContentPanel",
136 "type" : "String/Object",
137 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
138 "memberOf" : "Roo.ContentPanel",
143 "name" : "adjustments",
145 "desc" : "Values to <b>add</b> to the width/height when doing a {@link #fitToFrame} (default is [0, 0])",
146 "memberOf" : "Roo.ContentPanel",
153 "desc" : "Calls {@link #setUrl} with this value",
154 "memberOf" : "Roo.ContentPanel",
160 "type" : "String/HTMLElement/Element",
161 "desc" : "An element to resize if {@link #fitToFrame} is true (instead of this panel's element)",
162 "memberOf" : "Roo.ContentPanel",
170 "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>",
172 "isConstructor" : false,
174 "memberOf" : "Roo.NestedLayoutPanel",
183 "desc" : "Xtype definition of item to add.",
191 "name" : "getLayout",
192 "desc" : "Returns the nested BorderLayout for this panel",
194 "isConstructor" : false,
196 "memberOf" : "Roo.NestedLayoutPanel",
206 "type" : "Roo.BorderLayout",
213 "desc" : "Loads this content panel immediately with content from XHR. Note: to delay loading until the panel is activated, use {@link #setUrl}.",
215 "isConstructor" : false,
217 "memberOf" : "Roo.ContentPanel",
225 "type" : "Object/String/Function",
226 "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.",
231 "type" : "String/Object",
232 "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
238 "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
242 "name" : "discardUrl",
244 "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.",
251 "type" : "Roo.ContentPanel",
257 "name" : "getUpdateManager",
258 "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
260 "isConstructor" : false,
262 "memberOf" : "Roo.ContentPanel",
272 "type" : "Roo.UpdateManager",
273 "desc" : "The UpdateManager"
278 "name" : "isClosable",
279 "desc" : "Returns true is this panel was configured to be closable",
281 "isConstructor" : false,
283 "memberOf" : "Roo.ContentPanel",
300 "desc" : "Destroys this panel",
302 "isConstructor" : false,
304 "memberOf" : "Roo.ContentPanel",
316 "desc" : "Returns this panel's element - used by regiosn to add.",
318 "isConstructor" : false,
320 "memberOf" : "Roo.ContentPanel",
330 "type" : "Roo.Element",
336 "name" : "setContent",
337 "desc" : "Updates this panel's element",
339 "isConstructor" : false,
341 "memberOf" : "Roo.ContentPanel",
350 "desc" : "The new content",
354 "name" : "loadScripts",
356 "desc" : "(optional) true to look for and process scripts",
365 "desc" : "Returns this panel's id",
367 "isConstructor" : false,
369 "memberOf" : "Roo.ContentPanel",
386 "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.",
388 "isConstructor" : false,
390 "memberOf" : "Roo.ContentPanel",
402 "desc" : "Returns this panel's title",
404 "isConstructor" : false,
406 "memberOf" : "Roo.ContentPanel",
423 "desc" : "Set this panel's title",
425 "isConstructor" : false,
427 "memberOf" : "Roo.ContentPanel",
444 "name" : "getToolbar",
445 "desc" : "Returns the toolbar for this Panel if one was configured.",
447 "isConstructor" : false,
449 "memberOf" : "Roo.ContentPanel",
459 "type" : "Roo.Toolbar",
466 "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.",
468 "isConstructor" : false,
470 "memberOf" : "Roo.ContentPanel",
478 "type" : "String/Function",
479 "desc" : "The URL to load the content from or a function to call to get the URL",
484 "type" : "String/Object",
485 "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)",
491 "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)",
498 "type" : "Roo.UpdateManager",
499 "desc" : "The UpdateManager"
504 "name" : "purgeListeners",
505 "desc" : "Removes all listeners for this object",
507 "isConstructor" : false,
509 "memberOf" : "Roo.util.Observable",
521 "desc" : "Appends an event handler to this element (shorthand for addListener)",
523 "isConstructor" : false,
525 "memberOf" : "Roo.util.Observable",
532 "name" : "eventName",
534 "desc" : "The type of event to listen for",
540 "desc" : "The method the event invokes",
546 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
552 "desc" : "(optional)",
561 "desc" : "Removes a listener (shorthand for removeListener)",
563 "isConstructor" : false,
565 "memberOf" : "Roo.util.Observable",
572 "name" : "eventName",
574 "desc" : "The type of event to listen for",
580 "desc" : "The handler to remove",
586 "desc" : "(optional) The scope (this object) for the handler",
594 "name" : "addEvents",
595 "desc" : "Used to define events on this Observable",
597 "isConstructor" : false,
599 "memberOf" : "Roo.util.Observable",
608 "desc" : "The object with the events defined",
616 "name" : "releaseCapture",
617 "desc" : "Removes <b>all</b> added captures from the Observable.",
619 "isConstructor" : false,
621 "memberOf" : "Roo.util.Observable",
629 "type" : "Observable",
630 "desc" : "The Observable to release",
638 "name" : "removeListener",
639 "desc" : "Removes a listener",
641 "isConstructor" : false,
643 "memberOf" : "Roo.util.Observable",
650 "name" : "eventName",
652 "desc" : "The type of event to listen for",
658 "desc" : "The handler to remove",
664 "desc" : "(optional) The scope (this object) for the handler",
672 "name" : "fireEvent",
673 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
675 "isConstructor" : false,
677 "memberOf" : "Roo.util.Observable",
684 "name" : "eventName",
691 "type" : "Object...",
692 "desc" : "Variable number of parameters are passed to handlers",
700 "desc" : "returns false if any of the handlers return false otherwise it returns true"
705 "name" : "hasListener",
706 "desc" : "Checks to see if this object has any listeners for a specified event",
708 "isConstructor" : false,
710 "memberOf" : "Roo.util.Observable",
717 "name" : "eventName",
719 "desc" : "The name of the event to check for",
727 "desc" : "True if the event is being listened for, else false"
733 "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.",
735 "isConstructor" : false,
737 "memberOf" : "Roo.util.Observable",
745 "type" : "Observable",
746 "desc" : "The Observable to capture",
752 "desc" : "The function to call",
758 "desc" : "(optional) The scope (this object) for the fn",
766 "name" : "addListener",
767 "desc" : "Appends an event handler to this component",
769 "isConstructor" : false,
771 "memberOf" : "Roo.util.Observable",
778 "name" : "eventName",
780 "desc" : "The type of event to listen for",
786 "desc" : "The method the event invokes",
792 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
798 "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>",
808 "name" : "deactivate",
809 "desc" : "Fires when this panel is activated.",
810 "memberOf" : "Roo.ContentPanel",
818 "type" : "Roo.ContentPanel",
828 "desc" : "Fires when this panel is resized if fitToFrame is true.",
829 "memberOf" : "Roo.ContentPanel",
837 "type" : "Roo.ContentPanel",
844 "desc" : "The width after any component adjustments",
850 "desc" : "The height after any component adjustments",
859 "desc" : "Fires when this tab is created",
860 "memberOf" : "Roo.ContentPanel",
868 "type" : "Roo.ContentPanel",
878 "desc" : "Fires when this panel is activated.",
879 "memberOf" : "Roo.ContentPanel",
887 "type" : "Roo.ContentPanel",