2 "name" : "Roo.NestedLayoutPanel",
7 "desc" : "Create a new NestedLayoutPanel.",
15 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
16 "memberOf" : "Roo.ContentPanel",
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",
29 "name" : "autoScroll",
31 "desc" : "True to scroll overflow in this panel (use with {@link #fitToFrame})",
32 "memberOf" : "Roo.ContentPanel",
37 "name" : "fitToFrame",
39 "desc" : "True for this panel to adjust its size to fit when the region resizes (defaults to false)",
40 "memberOf" : "Roo.ContentPanel",
45 "name" : "background",
47 "desc" : "True if the panel should not be activated when it is added (defaults to false)",
48 "memberOf" : "Roo.ContentPanel",
55 "desc" : "A toolbar for this panel",
56 "memberOf" : "Roo.ContentPanel",
63 "desc" : "which region to put this panel on (when used with xtype constructors)",
64 "memberOf" : "Roo.ContentPanel",
76 "desc" : "Raw content to fill content panel with (uses setContent on construction.)",
77 "memberOf" : "Roo.ContentPanel",
84 "desc" : "The title for this panel",
85 "memberOf" : "Roo.ContentPanel",
90 "name" : "autoCreate",
91 "type" : "Boolean/Object",
92 "desc" : "True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create",
93 "memberOf" : "Roo.ContentPanel",
98 "name" : "fitContainer",
100 "desc" : "When using {@link #fitToFrame} and {@link #resizeEl}, you can also fit the parent container (defaults to false)",
101 "memberOf" : "Roo.ContentPanel",
108 "desc" : "True if the panel can be closed/removed",
109 "memberOf" : "Roo.ContentPanel",
115 "type" : "String/Object",
116 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
117 "memberOf" : "Roo.ContentPanel",
122 "name" : "adjustments",
124 "desc" : "Values to <b>add</b> to the width/height when doing a {@link #fitToFrame} (default is [0, 0])",
125 "memberOf" : "Roo.ContentPanel",
132 "desc" : "Calls {@link #setUrl} with this value",
133 "memberOf" : "Roo.ContentPanel",
139 "type" : "String/HTMLElement/Element",
140 "desc" : "An element to resize if {@link #fitToFrame} is true (instead of this panel's element)",
141 "memberOf" : "Roo.ContentPanel",
149 "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>",
151 "isConstructor" : false,
153 "memberOf" : "Roo.NestedLayoutPanel",
162 "desc" : "Xtype definition of item to add.",
170 "name" : "getLayout",
171 "desc" : "Returns the nested BorderLayout for this panel",
173 "isConstructor" : false,
175 "memberOf" : "Roo.NestedLayoutPanel",
185 "type" : "Roo.BorderLayout",
192 "desc" : "Loads this content panel immediately with content from XHR. Note: to delay loading until the panel is activated, use {@link #setUrl}.",
194 "isConstructor" : false,
196 "memberOf" : "Roo.ContentPanel",
204 "type" : "Object/String/Function",
205 "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.",
210 "type" : "String/Object",
211 "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
217 "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
221 "name" : "discardUrl",
223 "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.",
230 "type" : "Roo.ContentPanel",
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.ContentPanel",
251 "type" : "Roo.UpdateManager",
252 "desc" : "The UpdateManager"
257 "name" : "isClosable",
258 "desc" : "Returns true is this panel was configured to be closable",
260 "isConstructor" : false,
262 "memberOf" : "Roo.ContentPanel",
279 "desc" : "Destroys this panel",
281 "isConstructor" : false,
283 "memberOf" : "Roo.ContentPanel",
295 "desc" : "Returns this panel's element - used by regiosn to add.",
297 "isConstructor" : false,
299 "memberOf" : "Roo.ContentPanel",
309 "type" : "Roo.Element",
315 "name" : "setContent",
316 "desc" : "Updates this panel's element",
318 "isConstructor" : false,
320 "memberOf" : "Roo.ContentPanel",
329 "desc" : "The new content",
333 "name" : "loadScripts",
335 "desc" : "(optional) true to look for and process scripts",
344 "desc" : "Returns this panel's id",
346 "isConstructor" : false,
348 "memberOf" : "Roo.ContentPanel",
365 "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.",
367 "isConstructor" : false,
369 "memberOf" : "Roo.ContentPanel",
381 "desc" : "Returns this panel's title",
383 "isConstructor" : false,
385 "memberOf" : "Roo.ContentPanel",
402 "desc" : "Set this panel's title",
404 "isConstructor" : false,
406 "memberOf" : "Roo.ContentPanel",
423 "name" : "getToolbar",
424 "desc" : "Returns the toolbar for this Panel if one was configured.",
426 "isConstructor" : false,
428 "memberOf" : "Roo.ContentPanel",
438 "type" : "Roo.Toolbar",
445 "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.",
447 "isConstructor" : false,
449 "memberOf" : "Roo.ContentPanel",
457 "type" : "String/Function",
458 "desc" : "The URL to load the content from or a function to call to get the URL",
463 "type" : "String/Object",
464 "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)",
470 "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)",
477 "type" : "Roo.UpdateManager",
478 "desc" : "The UpdateManager"
483 "name" : "purgeListeners",
484 "desc" : "Removes all listeners for this object",
486 "isConstructor" : false,
488 "memberOf" : "Roo.util.Observable",
500 "desc" : "Appends an event handler to this element (shorthand for addListener)",
502 "isConstructor" : false,
504 "memberOf" : "Roo.util.Observable",
511 "name" : "eventName",
513 "desc" : "The type of event to listen for",
519 "desc" : "The method the event invokes",
525 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
531 "desc" : "(optional)",
540 "desc" : "Removes a listener (shorthand for removeListener)",
542 "isConstructor" : false,
544 "memberOf" : "Roo.util.Observable",
551 "name" : "eventName",
553 "desc" : "The type of event to listen for",
559 "desc" : "The handler to remove",
565 "desc" : "(optional) The scope (this object) for the handler",
573 "name" : "addEvents",
574 "desc" : "Used to define events on this Observable",
576 "isConstructor" : false,
578 "memberOf" : "Roo.util.Observable",
587 "desc" : "The object with the events defined",
595 "name" : "releaseCapture",
596 "desc" : "Removes <b>all</b> added captures from the Observable.",
598 "isConstructor" : false,
600 "memberOf" : "Roo.util.Observable",
608 "type" : "Observable",
609 "desc" : "The Observable to release",
617 "name" : "removeListener",
618 "desc" : "Removes a listener",
620 "isConstructor" : false,
622 "memberOf" : "Roo.util.Observable",
629 "name" : "eventName",
631 "desc" : "The type of event to listen for",
637 "desc" : "The handler to remove",
643 "desc" : "(optional) The scope (this object) for the handler",
651 "name" : "fireEvent",
652 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
654 "isConstructor" : false,
656 "memberOf" : "Roo.util.Observable",
663 "name" : "eventName",
670 "type" : "Object...",
671 "desc" : "Variable number of parameters are passed to handlers",
679 "desc" : "returns false if any of the handlers return false otherwise it returns true"
684 "name" : "hasListener",
685 "desc" : "Checks to see if this object has any listeners for a specified event",
687 "isConstructor" : false,
689 "memberOf" : "Roo.util.Observable",
696 "name" : "eventName",
698 "desc" : "The name of the event to check for",
706 "desc" : "True if the event is being listened for, else false"
712 "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.",
714 "isConstructor" : false,
716 "memberOf" : "Roo.util.Observable",
724 "type" : "Observable",
725 "desc" : "The Observable to capture",
731 "desc" : "The function to call",
737 "desc" : "(optional) The scope (this object) for the fn",
745 "name" : "addListener",
746 "desc" : "Appends an event handler to this component",
748 "isConstructor" : false,
750 "memberOf" : "Roo.util.Observable",
757 "name" : "eventName",
759 "desc" : "The type of event to listen for",
765 "desc" : "The method the event invokes",
771 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
777 "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>",
787 "name" : "deactivate",
788 "desc" : "Fires when this panel is activated.",
789 "memberOf" : "Roo.ContentPanel",
797 "type" : "Roo.ContentPanel",
807 "desc" : "Fires when this panel is resized if fitToFrame is true.",
808 "memberOf" : "Roo.ContentPanel",
816 "type" : "Roo.ContentPanel",
823 "desc" : "The width after any component adjustments",
829 "desc" : "The height after any component adjustments",
838 "desc" : "Fires when this tab is created",
839 "memberOf" : "Roo.ContentPanel",
847 "type" : "Roo.ContentPanel",
857 "desc" : "Fires when this panel is activated.",
858 "memberOf" : "Roo.ContentPanel",
866 "type" : "Roo.ContentPanel",