2 "name" : "Roo.panel.NestedLayout",
15 "isSingleton" : false,
19 "isBuilderTop" : false,
20 "memberOf" : "NestedLayout",
28 "type" : "Roo.layout.Border",
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.panel.Content",
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.panel.Content",
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.panel.Content",
76 "name" : "background",
78 "desc" : "True if the panel should not be activated when it is added (defaults to false)",
79 "memberOf" : "Roo.panel.Content",
85 "type" : "Roo.Toolbar",
86 "desc" : "A toolbar for this panel",
87 "memberOf" : "Roo.panel.Content",
94 "desc" : "t) which region to put this panel on (when used with xtype constructor",
95 "memberOf" : "Roo.panel.Content",
108 "desc" : "Raw content to fill content panel with (uses setContent on construction.)",
109 "memberOf" : "Roo.panel.Content",
110 "isOptional" : false,
115 "type" : "Roo.menu.Menu",
116 "desc" : "popup menu",
117 "memberOf" : "Roo.panel.Content",
118 "isOptional" : false,
124 "desc" : "The title for this panel",
125 "memberOf" : "Roo.panel.Content",
126 "isOptional" : false,
132 "desc" : "Extra style to add to the content panel",
133 "memberOf" : "Roo.panel.Content",
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.panel.Content",
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.panel.Content",
150 "isOptional" : false,
156 "desc" : "True if the panel can be closed/removed",
157 "memberOf" : "Roo.panel.Content",
158 "isOptional" : false,
163 "type" : "String|Object",
164 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
165 "memberOf" : "Roo.panel.Content",
166 "isOptional" : false,
171 "type" : "Roo.layout.Border",
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.panel.Content",
182 "isOptional" : false,
188 "desc" : "Calls {@link #setUrl} with this value",
189 "memberOf" : "Roo.panel.Content",
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.panel.Content",
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 : 'panel.NestedLayout',\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.layout.Border",
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.panel.Content",
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.panel.Content",
307 "desc" : "Returns this panel's element - used by regiosn to add.",
308 "sig" : "()\n{\n\n}",
310 "memberOf" : "Roo.panel.Content",
312 "isConstructor" : false,
324 "type" : "Roo.Element",
330 "name" : "setContent",
332 "desc" : "Updates this panel's element",
333 "sig" : "(content, loadScripts)",
335 "memberOf" : "Roo.panel.Content",
337 "isConstructor" : false,
349 "desc" : "The new content",
353 "name" : "loadScripts",
355 "desc" : "(optional) true to look for and process scripts",
364 "desc" : "Returns this panel's id",
365 "sig" : "()\n{\n\n}",
367 "memberOf" : "Roo.panel.Content",
369 "isConstructor" : false,
387 "name" : "getUpdateManager",
389 "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
390 "sig" : "()\n{\n\n}",
392 "memberOf" : "Roo.panel.Content",
394 "isConstructor" : false,
406 "type" : "Roo.UpdateManager",
407 "desc" : "The UpdateManager"
414 "desc" : "Destroys this panel",
415 "sig" : "()\n{\n\n}",
417 "memberOf" : "Roo.panel.Content",
419 "isConstructor" : false,
433 "desc" : "Returns this panel's title",
434 "sig" : "()\n{\n\n}",
436 "memberOf" : "Roo.panel.Content",
438 "isConstructor" : false,
458 "desc" : "Set this panel's title",
461 "memberOf" : "Roo.panel.Content",
463 "isConstructor" : false,
482 "name" : "getToolbar",
484 "desc" : "Returns the toolbar for this Panel if one was configured.",
485 "sig" : "()\n{\n\n}",
487 "memberOf" : "Roo.panel.Content",
489 "isConstructor" : false,
501 "type" : "Roo.Toolbar",
509 "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.",
510 "sig" : "()\n{\n\n}",
512 "memberOf" : "Roo.panel.Content",
514 "isConstructor" : false,
528 "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.",
529 "sig" : "(url, params, loadOnce)",
531 "memberOf" : "Roo.panel.Content",
533 "isConstructor" : false,
544 "type" : "String/Function",
545 "desc" : "The URL to load the content from or a function to call to get the URL",
550 "type" : "String/Object",
551 "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)",
557 "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)",
564 "type" : "Roo.UpdateManager",
565 "desc" : "The UpdateManager"
570 "name" : "isClosable",
572 "desc" : "Returns true is this panel was configured to be closable",
573 "sig" : "()\n{\n\n}",
575 "memberOf" : "Roo.panel.Content",
577 "isConstructor" : false,
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>",
942 "desc" : "Fires when this tab is created",
943 "sig" : "function (_self)\n{\n\n}",
944 "memberOf" : "Roo.panel.Content",
952 "type" : "Roo.panel.Content",
962 "desc" : "Fires when this panel is activated.",
963 "sig" : "function (_self)\n{\n\n}",
964 "memberOf" : "Roo.panel.Content",
972 "type" : "Roo.panel.Content",
980 "name" : "deactivate",
982 "desc" : "Fires when this panel is activated.",
983 "sig" : "function (_self)\n{\n\n}",
984 "memberOf" : "Roo.panel.Content",
992 "type" : "Roo.panel.Content",
1001 "type" : "function",
1002 "desc" : "Fires when this panel is resized if fitToFrame is true.",
1003 "sig" : "function (_self, width, height)\n{\n\n}",
1004 "memberOf" : "Roo.panel.Content",
1012 "type" : "Roo.panel.Content",
1014 "isOptional" : false
1019 "desc" : "The width after any component adjustments",
1020 "isOptional" : false
1025 "desc" : "The height after any component adjustments",
1026 "isOptional" : false