2 "name" : "Roo.NestedLayoutPanel",
10 "desc" : "Create a new NestedLayoutPanel.",
11 "isSingleton" : false,
15 "isBuilderTop" : false,
16 "memberOf" : "NestedLayoutPanel",
24 "type" : "Roo.BorderLayout",
25 "desc" : "[required] The layout for this panel",
30 "type" : "String/Object",
31 "desc" : "A string to set only the title or a config object",
42 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
43 "memberOf" : "Roo.ContentPanel"
48 "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>",
49 "memberOf" : "Roo.util.Observable"
52 "name" : "autoScroll",
54 "desc" : "True to scroll overflow in this panel (use with {@link #fitToFrame})",
55 "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"
64 "name" : "background",
66 "desc" : "True if the panel should not be activated when it is added (defaults to false)",
67 "memberOf" : "Roo.ContentPanel"
71 "type" : "Roo.Toolbar",
72 "desc" : "A toolbar for this panel",
73 "memberOf" : "Roo.ContentPanel"
78 "desc" : "[required] (center|north|south|east|west) which region to put this panel on (when used with xtype constructors)",
79 "memberOf" : "Roo.ContentPanel"
84 "desc" : "Raw content to fill content panel with (uses setContent on construction.)",
85 "memberOf" : "Roo.ContentPanel"
89 "type" : "Roo.menu.Menu",
90 "desc" : "popup menu",
91 "memberOf" : "Roo.ContentPanel"
96 "desc" : "The title for this panel",
97 "memberOf" : "Roo.ContentPanel"
102 "desc" : "Extra style to add to the content panel",
103 "memberOf" : "Roo.ContentPanel"
106 "name" : "autoCreate",
107 "type" : "Boolean|Object",
108 "desc" : "True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create",
109 "memberOf" : "Roo.ContentPanel"
112 "name" : "fitContainer",
114 "desc" : "When using {@link #fitToFrame} and {@link #resizeEl}, you can also fit the parent container (defaults to false)",
115 "memberOf" : "Roo.ContentPanel"
120 "desc" : "True if the panel can be closed/removed",
121 "memberOf" : "Roo.ContentPanel"
125 "type" : "String|Object",
126 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
127 "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"
138 "desc" : "Calls {@link #setUrl} with this value",
139 "memberOf" : "Roo.ContentPanel"
143 "type" : "String|HTMLElement|Element",
144 "desc" : "An element to resize if {@link #fitToFrame} is true (instead of this panel's element)",
145 "memberOf" : "Roo.ContentPanel"
152 "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>",
157 "isConstructor" : false,
169 "desc" : "Xtype definition of item to add.",
176 "name" : "getLayout",
178 "desc" : "Returns the nested BorderLayout for this panel",
179 "sig" : "()\n{\n\n}",
183 "isConstructor" : false,
195 "type" : "Roo.BorderLayout",
203 "desc" : "Loads this content panel immediately with content from XHR. Note: to delay loading until the panel is activated, use {@link #setUrl}.",
204 "sig" : "(url, params, callback, discardUrl)",
206 "memberOf" : "Roo.ContentPanel",
208 "isConstructor" : false,
219 "type" : "Object/String/Function",
220 "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.",
225 "type" : "String/Object",
226 "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
232 "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
236 "name" : "discardUrl",
238 "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.",
245 "type" : "Roo.ContentPanel",
251 "name" : "getUpdateManager",
253 "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
254 "sig" : "()\n{\n\n}",
256 "memberOf" : "Roo.ContentPanel",
258 "isConstructor" : false,
270 "type" : "Roo.UpdateManager",
271 "desc" : "The UpdateManager"
276 "name" : "isClosable",
278 "desc" : "Returns true is this panel was configured to be closable",
279 "sig" : "()\n{\n\n}",
281 "memberOf" : "Roo.ContentPanel",
283 "isConstructor" : false,
303 "desc" : "Destroys this panel",
304 "sig" : "()\n{\n\n}",
306 "memberOf" : "Roo.ContentPanel",
308 "isConstructor" : false,
322 "desc" : "Returns this panel's element - used by regiosn to add.",
323 "sig" : "()\n{\n\n}",
325 "memberOf" : "Roo.ContentPanel",
327 "isConstructor" : false,
339 "type" : "Roo.Element",
345 "name" : "setContent",
347 "desc" : "Updates this panel's element",
348 "sig" : "(content, loadScripts)",
350 "memberOf" : "Roo.ContentPanel",
352 "isConstructor" : false,
364 "desc" : "The new content",
368 "name" : "loadScripts",
370 "desc" : "(optional) true to look for and process scripts",
379 "desc" : "Returns this panel's id",
380 "sig" : "()\n{\n\n}",
382 "memberOf" : "Roo.ContentPanel",
384 "isConstructor" : false,
404 "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.",
405 "sig" : "()\n{\n\n}",
407 "memberOf" : "Roo.ContentPanel",
409 "isConstructor" : false,
423 "desc" : "Returns this panel's title",
424 "sig" : "()\n{\n\n}",
426 "memberOf" : "Roo.ContentPanel",
428 "isConstructor" : false,
448 "desc" : "Set this panel's title",
451 "memberOf" : "Roo.ContentPanel",
453 "isConstructor" : false,
472 "name" : "getToolbar",
474 "desc" : "Returns the toolbar for this Panel if one was configured.",
475 "sig" : "()\n{\n\n}",
477 "memberOf" : "Roo.ContentPanel",
479 "isConstructor" : false,
491 "type" : "Roo.Toolbar",
499 "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.",
500 "sig" : "(url, params, loadOnce)",
502 "memberOf" : "Roo.ContentPanel",
504 "isConstructor" : false,
515 "type" : "String/Function",
516 "desc" : "The URL to load the content from or a function to call to get the URL",
521 "type" : "String/Object",
522 "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)",
528 "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)",
535 "type" : "Roo.UpdateManager",
536 "desc" : "The UpdateManager"
541 "name" : "purgeListeners",
543 "desc" : "Removes all listeners for this object",
544 "sig" : "()\n{\n\n}",
546 "memberOf" : "Roo.util.Observable",
548 "isConstructor" : false,
562 "desc" : "Appends an event handler to this element (shorthand for addListener)",
563 "sig" : "(eventName, handler, scope, options)",
565 "memberOf" : "Roo.util.Observable",
567 "isConstructor" : false,
577 "name" : "eventName",
579 "desc" : "The type of event to listen for",
585 "desc" : "The method the event invokes",
591 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
597 "desc" : "(optional)",
606 "desc" : "Removes a listener (shorthand for removeListener)",
607 "sig" : "(eventName, handler, scope)",
609 "memberOf" : "Roo.util.Observable",
611 "isConstructor" : false,
621 "name" : "eventName",
623 "desc" : "The type of event to listen for",
629 "desc" : "The handler to remove",
635 "desc" : "(optional) The scope (this object) for the handler",
642 "name" : "addEvents",
644 "desc" : "Used to define events on this Observable",
647 "memberOf" : "Roo.util.Observable",
649 "isConstructor" : false,
661 "desc" : "The object with the events defined",
668 "name" : "releaseCapture",
670 "desc" : "Removes <b>all</b> added captures from the Observable.",
673 "memberOf" : "Roo.util.Observable",
675 "isConstructor" : false,
686 "type" : "Observable",
687 "desc" : "The Observable to release",
694 "name" : "removeListener",
696 "desc" : "Removes a listener",
697 "sig" : "(eventName, handler, scope)",
699 "memberOf" : "Roo.util.Observable",
701 "isConstructor" : false,
711 "name" : "eventName",
713 "desc" : "The type of event to listen for",
719 "desc" : "The handler to remove",
725 "desc" : "(optional) The scope (this object) for the handler",
732 "name" : "fireEvent",
734 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
735 "sig" : "(eventName, args)",
737 "memberOf" : "Roo.util.Observable",
739 "isConstructor" : false,
749 "name" : "eventName",
756 "type" : "Object...",
757 "desc" : "Variable number of parameters are passed to handlers",
765 "desc" : "returns false if any of the handlers return false otherwise it returns true"
770 "name" : "hasListener",
772 "desc" : "Checks to see if this object has any listeners for a specified event",
773 "sig" : "(eventName)",
775 "memberOf" : "Roo.util.Observable",
777 "isConstructor" : false,
787 "name" : "eventName",
789 "desc" : "The name of the event to check for",
797 "desc" : "True if the event is being listened for, else false"
804 "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.",
805 "sig" : "(o, fn, scope)",
807 "memberOf" : "Roo.util.Observable",
809 "isConstructor" : false,
820 "type" : "Observable",
821 "desc" : "The Observable to capture",
827 "desc" : "The function to call",
833 "desc" : "(optional) The scope (this object) for the fn",
840 "name" : "addListener",
842 "desc" : "Appends an event handler to this component",
843 "sig" : "(eventName, handler, scope, options)",
845 "memberOf" : "Roo.util.Observable",
847 "isConstructor" : false,
857 "name" : "eventName",
859 "desc" : "The type of event to listen for",
865 "desc" : "The method the event invokes",
871 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
877 "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>",
886 "name" : "deactivate",
888 "desc" : "Fires when this panel is activated.",
889 "sig" : "function (_self)\n{\n\n}",
890 "memberOf" : "Roo.ContentPanel",
898 "type" : "Roo.ContentPanel",
908 "desc" : "Fires when this panel is resized if fitToFrame is true.",
909 "sig" : "function (_self, width, height)\n{\n\n}",
910 "memberOf" : "Roo.ContentPanel",
918 "type" : "Roo.ContentPanel",
925 "desc" : "The width after any component adjustments",
931 "desc" : "The height after any component adjustments",
940 "desc" : "Fires when this tab is created",
941 "sig" : "function (_self)\n{\n\n}",
942 "memberOf" : "Roo.ContentPanel",
950 "type" : "Roo.ContentPanel",
960 "desc" : "Fires when this panel is activated.",
961 "sig" : "function (_self)\n{\n\n}",
962 "memberOf" : "Roo.ContentPanel",
970 "type" : "Roo.ContentPanel",