2 "name" : "Roo.NestedLayoutPanel",
15 "isSingleton" : false,
19 "isBuilderTop" : false,
20 "memberOf" : "NestedLayoutPanel",
28 "type" : "Roo.BorderLayout",
29 "desc" : "[required] The layout for this panel",
34 "type" : "String/Object",
35 "desc" : "A string to set only the title or a config object",
46 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
47 "memberOf" : "Roo.ContentPanel",
54 "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>",
55 "memberOf" : "Roo.util.Observable",
60 "name" : "autoScroll",
62 "desc" : "True to scroll overflow in this panel (use with {@link #fitToFrame})",
63 "memberOf" : "Roo.ContentPanel",
68 "name" : "fitToFrame",
70 "desc" : "True for this panel to adjust its size to fit when the region resizes (defaults to false)",
71 "memberOf" : "Roo.ContentPanel",
76 "name" : "background",
78 "desc" : "True if the panel should not be activated when it is added (defaults to false)",
79 "memberOf" : "Roo.ContentPanel",
85 "type" : "Roo.Toolbar",
86 "desc" : "A toolbar for this panel",
87 "memberOf" : "Roo.ContentPanel",
94 "desc" : "t) which region to put this panel on (when used with xtype constructor",
95 "memberOf" : "Roo.ContentPanel",
108 "desc" : "Raw content to fill content panel with (uses setContent on construction.)",
109 "memberOf" : "Roo.ContentPanel",
110 "isOptional" : false,
115 "type" : "Roo.menu.Menu",
116 "desc" : "popup menu",
117 "memberOf" : "Roo.ContentPanel",
118 "isOptional" : false,
124 "desc" : "The title for this panel",
125 "memberOf" : "Roo.ContentPanel",
126 "isOptional" : false,
132 "desc" : "Extra style to add to the content panel",
133 "memberOf" : "Roo.ContentPanel",
134 "isOptional" : false,
138 "name" : "autoCreate",
139 "type" : "Boolean|Object",
140 "desc" : "True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create",
141 "memberOf" : "Roo.ContentPanel",
142 "isOptional" : false,
146 "name" : "fitContainer",
148 "desc" : "When using {@link #fitToFrame} and {@link #resizeEl}, you can also fit the parent container (defaults to false)",
149 "memberOf" : "Roo.ContentPanel",
150 "isOptional" : false,
156 "desc" : "True if the panel can be closed/removed",
157 "memberOf" : "Roo.ContentPanel",
158 "isOptional" : false,
163 "type" : "String|Object",
164 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
165 "memberOf" : "Roo.ContentPanel",
166 "isOptional" : false,
171 "type" : "Roo.BorderLayout",
172 "desc" : "The layout for this panel",
174 "isOptional" : false,
178 "name" : "adjustments",
180 "desc" : "Values to <b>add</b> to the width/height when doing a {@link #fitToFrame} (default is [0, 0])",
181 "memberOf" : "Roo.ContentPanel",
182 "isOptional" : false,
188 "desc" : "Calls {@link #setUrl} with this value",
189 "memberOf" : "Roo.ContentPanel",
190 "isOptional" : false,
195 "type" : "String|HTMLElement|Element",
196 "desc" : "An element to resize if {@link #fitToFrame} is true (instead of this panel's element)",
197 "memberOf" : "Roo.ContentPanel",
198 "isOptional" : false,
206 "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>",
211 "isConstructor" : false,
223 "desc" : "Xtype definition of item to add.",
230 "name" : "getLayout",
232 "desc" : "Returns the nested BorderLayout for this panel",
233 "sig" : "()\n{\n\n}",
237 "isConstructor" : false,
249 "type" : "Roo.BorderLayout",
257 "desc" : "Loads this content panel immediately with content from XHR. Note: to delay loading until the panel is activated, use {@link #setUrl}.",
258 "sig" : "(url, params, callback, discardUrl)",
260 "memberOf" : "Roo.ContentPanel",
262 "isConstructor" : false,
273 "type" : "Object/String/Function",
274 "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.",
279 "type" : "String/Object",
280 "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
286 "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
290 "name" : "discardUrl",
292 "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.",
299 "type" : "Roo.ContentPanel",
305 "name" : "getUpdateManager",
307 "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
308 "sig" : "()\n{\n\n}",
310 "memberOf" : "Roo.ContentPanel",
312 "isConstructor" : false,
324 "type" : "Roo.UpdateManager",
325 "desc" : "The UpdateManager"
330 "name" : "isClosable",
332 "desc" : "Returns true is this panel was configured to be closable",
333 "sig" : "()\n{\n\n}",
335 "memberOf" : "Roo.ContentPanel",
337 "isConstructor" : false,
357 "desc" : "Destroys this panel",
358 "sig" : "()\n{\n\n}",
360 "memberOf" : "Roo.ContentPanel",
362 "isConstructor" : false,
376 "desc" : "Returns this panel's element - used by regiosn to add.",
377 "sig" : "()\n{\n\n}",
379 "memberOf" : "Roo.ContentPanel",
381 "isConstructor" : false,
393 "type" : "Roo.Element",
399 "name" : "setContent",
401 "desc" : "Updates this panel's element",
402 "sig" : "(content, loadScripts)",
404 "memberOf" : "Roo.ContentPanel",
406 "isConstructor" : false,
418 "desc" : "The new content",
422 "name" : "loadScripts",
424 "desc" : "(optional) true to look for and process scripts",
433 "desc" : "Returns this panel's id",
434 "sig" : "()\n{\n\n}",
436 "memberOf" : "Roo.ContentPanel",
438 "isConstructor" : false,
458 "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.",
459 "sig" : "()\n{\n\n}",
461 "memberOf" : "Roo.ContentPanel",
463 "isConstructor" : false,
477 "desc" : "Returns this panel's title",
478 "sig" : "()\n{\n\n}",
480 "memberOf" : "Roo.ContentPanel",
482 "isConstructor" : false,
502 "desc" : "Set this panel's title",
505 "memberOf" : "Roo.ContentPanel",
507 "isConstructor" : false,
526 "name" : "getToolbar",
528 "desc" : "Returns the toolbar for this Panel if one was configured.",
529 "sig" : "()\n{\n\n}",
531 "memberOf" : "Roo.ContentPanel",
533 "isConstructor" : false,
545 "type" : "Roo.Toolbar",
553 "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.",
554 "sig" : "(url, params, loadOnce)",
556 "memberOf" : "Roo.ContentPanel",
558 "isConstructor" : false,
569 "type" : "String/Function",
570 "desc" : "The URL to load the content from or a function to call to get the URL",
575 "type" : "String/Object",
576 "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)",
582 "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)",
589 "type" : "Roo.UpdateManager",
590 "desc" : "The UpdateManager"
595 "name" : "purgeListeners",
597 "desc" : "Removes all listeners for this object",
598 "sig" : "()\n{\n\n}",
600 "memberOf" : "Roo.util.Observable",
602 "isConstructor" : false,
616 "desc" : "Appends an event handler to this element (shorthand for addListener)",
617 "sig" : "(eventName, handler, scope, options)",
619 "memberOf" : "Roo.util.Observable",
621 "isConstructor" : false,
631 "name" : "eventName",
633 "desc" : "The type of event to listen for",
639 "desc" : "The method the event invokes",
645 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
651 "desc" : "(optional)",
660 "desc" : "Removes a listener (shorthand for removeListener)",
661 "sig" : "(eventName, handler, scope)",
663 "memberOf" : "Roo.util.Observable",
665 "isConstructor" : false,
675 "name" : "eventName",
677 "desc" : "The type of event to listen for",
683 "desc" : "The handler to remove",
689 "desc" : "(optional) The scope (this object) for the handler",
696 "name" : "addEvents",
698 "desc" : "Used to define events on this Observable",
701 "memberOf" : "Roo.util.Observable",
703 "isConstructor" : false,
715 "desc" : "The object with the events defined",
722 "name" : "releaseCapture",
724 "desc" : "Removes <b>all</b> added captures from the Observable.",
727 "memberOf" : "Roo.util.Observable",
729 "isConstructor" : false,
740 "type" : "Observable",
741 "desc" : "The Observable to release",
748 "name" : "removeListener",
750 "desc" : "Removes a listener",
751 "sig" : "(eventName, handler, scope)",
753 "memberOf" : "Roo.util.Observable",
755 "isConstructor" : false,
765 "name" : "eventName",
767 "desc" : "The type of event to listen for",
773 "desc" : "The handler to remove",
779 "desc" : "(optional) The scope (this object) for the handler",
786 "name" : "fireEvent",
788 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
789 "sig" : "(eventName, args)",
791 "memberOf" : "Roo.util.Observable",
793 "isConstructor" : false,
803 "name" : "eventName",
810 "type" : "Object...",
811 "desc" : "Variable number of parameters are passed to handlers",
819 "desc" : "returns false if any of the handlers return false otherwise it returns true"
824 "name" : "hasListener",
826 "desc" : "Checks to see if this object has any listeners for a specified event",
827 "sig" : "(eventName)",
829 "memberOf" : "Roo.util.Observable",
831 "isConstructor" : false,
841 "name" : "eventName",
843 "desc" : "The name of the event to check for",
851 "desc" : "True if the event is being listened for, else false"
858 "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.",
859 "sig" : "(o, fn, scope)",
861 "memberOf" : "Roo.util.Observable",
863 "isConstructor" : false,
874 "type" : "Observable",
875 "desc" : "The Observable to capture",
881 "desc" : "The function to call",
887 "desc" : "(optional) The scope (this object) for the fn",
894 "name" : "addListener",
896 "desc" : "Appends an event handler to this component",
897 "sig" : "(eventName, handler, scope, options)",
899 "memberOf" : "Roo.util.Observable",
901 "isConstructor" : false,
911 "name" : "eventName",
913 "desc" : "The type of event to listen for",
919 "desc" : "The method the event invokes",
925 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
931 "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>",
940 "name" : "deactivate",
942 "desc" : "Fires when this panel is activated.",
943 "sig" : "function (_self)\n{\n\n}",
944 "memberOf" : "Roo.ContentPanel",
952 "type" : "Roo.ContentPanel",
962 "desc" : "Fires when this panel is resized if fitToFrame is true.",
963 "sig" : "function (_self, width, height)\n{\n\n}",
964 "memberOf" : "Roo.ContentPanel",
972 "type" : "Roo.ContentPanel",
979 "desc" : "The width after any component adjustments",
985 "desc" : "The height after any component adjustments",
994 "desc" : "Fires when this tab is created",
995 "sig" : "function (_self)\n{\n\n}",
996 "memberOf" : "Roo.ContentPanel",
1004 "type" : "Roo.ContentPanel",
1006 "isOptional" : false
1012 "name" : "activate",
1013 "type" : "function",
1014 "desc" : "Fires when this panel is activated.",
1015 "sig" : "function (_self)\n{\n\n}",
1016 "memberOf" : "Roo.ContentPanel",
1024 "type" : "Roo.ContentPanel",
1026 "isOptional" : false