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"
52 "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>",
53 "memberOf" : "Roo.util.Observable"
56 "name" : "autoScroll",
58 "desc" : "True to scroll overflow in this panel (use with {@link #fitToFrame})",
59 "memberOf" : "Roo.ContentPanel"
62 "name" : "fitToFrame",
64 "desc" : "True for this panel to adjust its size to fit when the region resizes (defaults to false)",
65 "memberOf" : "Roo.ContentPanel"
68 "name" : "background",
70 "desc" : "True if the panel should not be activated when it is added (defaults to false)",
71 "memberOf" : "Roo.ContentPanel"
75 "type" : "Roo.Toolbar",
76 "desc" : "A toolbar for this panel",
77 "memberOf" : "Roo.ContentPanel"
82 "desc" : "t) [required] which region to put this panel on (when used with xtype constructors)",
83 "memberOf" : "Roo.ContentPanel"
88 "desc" : "Raw content to fill content panel with (uses setContent on construction.)",
89 "memberOf" : "Roo.ContentPanel"
93 "type" : "Roo.menu.Menu",
94 "desc" : "popup menu",
95 "memberOf" : "Roo.ContentPanel"
100 "desc" : "The title for this panel",
101 "memberOf" : "Roo.ContentPanel"
106 "desc" : "Extra style to add to the content panel",
107 "memberOf" : "Roo.ContentPanel"
110 "name" : "autoCreate",
111 "type" : "Boolean|Object",
112 "desc" : "True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create",
113 "memberOf" : "Roo.ContentPanel"
116 "name" : "fitContainer",
118 "desc" : "When using {@link #fitToFrame} and {@link #resizeEl}, you can also fit the parent container (defaults to false)",
119 "memberOf" : "Roo.ContentPanel"
124 "desc" : "True if the panel can be closed/removed",
125 "memberOf" : "Roo.ContentPanel"
129 "type" : "String|Object",
130 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
131 "memberOf" : "Roo.ContentPanel"
135 "type" : "Roo.BorderLayout",
136 "desc" : "[required] The layout for this panel",
140 "name" : "adjustments",
142 "desc" : "Values to <b>add</b> to the width/height when doing a {@link #fitToFrame} (default is [0, 0])",
143 "memberOf" : "Roo.ContentPanel"
148 "desc" : "Calls {@link #setUrl} with this value",
149 "memberOf" : "Roo.ContentPanel"
153 "type" : "String|HTMLElement|Element",
154 "desc" : "An element to resize if {@link #fitToFrame} is true (instead of this panel's element)",
155 "memberOf" : "Roo.ContentPanel"
162 "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>",
167 "isConstructor" : false,
179 "desc" : "Xtype definition of item to add.",
186 "name" : "getLayout",
188 "desc" : "Returns the nested BorderLayout for this panel",
189 "sig" : "()\n{\n\n}",
193 "isConstructor" : false,
205 "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}.",
214 "sig" : "(url, params, callback, discardUrl)",
216 "memberOf" : "Roo.ContentPanel",
218 "isConstructor" : false,
229 "type" : "Object/String/Function",
230 "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.",
235 "type" : "String/Object",
236 "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
242 "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
246 "name" : "discardUrl",
248 "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.",
255 "type" : "Roo.ContentPanel",
261 "name" : "getUpdateManager",
263 "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
264 "sig" : "()\n{\n\n}",
266 "memberOf" : "Roo.ContentPanel",
268 "isConstructor" : false,
280 "type" : "Roo.UpdateManager",
281 "desc" : "The UpdateManager"
286 "name" : "isClosable",
288 "desc" : "Returns true is this panel was configured to be closable",
289 "sig" : "()\n{\n\n}",
291 "memberOf" : "Roo.ContentPanel",
293 "isConstructor" : false,
313 "desc" : "Destroys this panel",
314 "sig" : "()\n{\n\n}",
316 "memberOf" : "Roo.ContentPanel",
318 "isConstructor" : false,
332 "desc" : "Returns this panel's element - used by regiosn to add.",
333 "sig" : "()\n{\n\n}",
335 "memberOf" : "Roo.ContentPanel",
337 "isConstructor" : false,
349 "type" : "Roo.Element",
355 "name" : "setContent",
357 "desc" : "Updates this panel's element",
358 "sig" : "(content, loadScripts)",
360 "memberOf" : "Roo.ContentPanel",
362 "isConstructor" : false,
374 "desc" : "The new content",
378 "name" : "loadScripts",
380 "desc" : "(optional) true to look for and process scripts",
389 "desc" : "Returns this panel's id",
390 "sig" : "()\n{\n\n}",
392 "memberOf" : "Roo.ContentPanel",
394 "isConstructor" : false,
414 "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.",
415 "sig" : "()\n{\n\n}",
417 "memberOf" : "Roo.ContentPanel",
419 "isConstructor" : false,
433 "desc" : "Returns this panel's title",
434 "sig" : "()\n{\n\n}",
436 "memberOf" : "Roo.ContentPanel",
438 "isConstructor" : false,
458 "desc" : "Set this panel's title",
461 "memberOf" : "Roo.ContentPanel",
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.ContentPanel",
489 "isConstructor" : false,
501 "type" : "Roo.Toolbar",
509 "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.",
510 "sig" : "(url, params, loadOnce)",
512 "memberOf" : "Roo.ContentPanel",
514 "isConstructor" : false,
525 "type" : "String/Function",
526 "desc" : "The URL to load the content from or a function to call to get the URL",
531 "type" : "String/Object",
532 "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)",
538 "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)",
545 "type" : "Roo.UpdateManager",
546 "desc" : "The UpdateManager"
551 "name" : "purgeListeners",
553 "desc" : "Removes all listeners for this object",
554 "sig" : "()\n{\n\n}",
556 "memberOf" : "Roo.util.Observable",
558 "isConstructor" : false,
572 "desc" : "Appends an event handler to this element (shorthand for addListener)",
573 "sig" : "(eventName, handler, scope, options)",
575 "memberOf" : "Roo.util.Observable",
577 "isConstructor" : false,
587 "name" : "eventName",
589 "desc" : "The type of event to listen for",
595 "desc" : "The method the event invokes",
601 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
607 "desc" : "(optional)",
616 "desc" : "Removes a listener (shorthand for removeListener)",
617 "sig" : "(eventName, handler, scope)",
619 "memberOf" : "Roo.util.Observable",
621 "isConstructor" : false,
631 "name" : "eventName",
633 "desc" : "The type of event to listen for",
639 "desc" : "The handler to remove",
645 "desc" : "(optional) The scope (this object) for the handler",
652 "name" : "addEvents",
654 "desc" : "Used to define events on this Observable",
657 "memberOf" : "Roo.util.Observable",
659 "isConstructor" : false,
671 "desc" : "The object with the events defined",
678 "name" : "releaseCapture",
680 "desc" : "Removes <b>all</b> added captures from the Observable.",
683 "memberOf" : "Roo.util.Observable",
685 "isConstructor" : false,
696 "type" : "Observable",
697 "desc" : "The Observable to release",
704 "name" : "removeListener",
706 "desc" : "Removes a listener",
707 "sig" : "(eventName, handler, scope)",
709 "memberOf" : "Roo.util.Observable",
711 "isConstructor" : false,
721 "name" : "eventName",
723 "desc" : "The type of event to listen for",
729 "desc" : "The handler to remove",
735 "desc" : "(optional) The scope (this object) for the handler",
742 "name" : "fireEvent",
744 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
745 "sig" : "(eventName, args)",
747 "memberOf" : "Roo.util.Observable",
749 "isConstructor" : false,
759 "name" : "eventName",
766 "type" : "Object...",
767 "desc" : "Variable number of parameters are passed to handlers",
775 "desc" : "returns false if any of the handlers return false otherwise it returns true"
780 "name" : "hasListener",
782 "desc" : "Checks to see if this object has any listeners for a specified event",
783 "sig" : "(eventName)",
785 "memberOf" : "Roo.util.Observable",
787 "isConstructor" : false,
797 "name" : "eventName",
799 "desc" : "The name of the event to check for",
807 "desc" : "True if the event is being listened for, else false"
814 "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.",
815 "sig" : "(o, fn, scope)",
817 "memberOf" : "Roo.util.Observable",
819 "isConstructor" : false,
830 "type" : "Observable",
831 "desc" : "The Observable to capture",
837 "desc" : "The function to call",
843 "desc" : "(optional) The scope (this object) for the fn",
850 "name" : "addListener",
852 "desc" : "Appends an event handler to this component",
853 "sig" : "(eventName, handler, scope, options)",
855 "memberOf" : "Roo.util.Observable",
857 "isConstructor" : false,
867 "name" : "eventName",
869 "desc" : "The type of event to listen for",
875 "desc" : "The method the event invokes",
881 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
887 "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>",
896 "name" : "deactivate",
898 "desc" : "Fires when this panel is activated.",
899 "sig" : "function (_self)\n{\n\n}",
900 "memberOf" : "Roo.ContentPanel",
908 "type" : "Roo.ContentPanel",
918 "desc" : "Fires when this panel is resized if fitToFrame is true.",
919 "sig" : "function (_self, width, height)\n{\n\n}",
920 "memberOf" : "Roo.ContentPanel",
928 "type" : "Roo.ContentPanel",
935 "desc" : "The width after any component adjustments",
941 "desc" : "The height after any component adjustments",
950 "desc" : "Fires when this tab is created",
951 "sig" : "function (_self)\n{\n\n}",
952 "memberOf" : "Roo.ContentPanel",
960 "type" : "Roo.ContentPanel",
970 "desc" : "Fires when this panel is activated.",
971 "sig" : "function (_self)\n{\n\n}",
972 "memberOf" : "Roo.ContentPanel",
980 "type" : "Roo.ContentPanel",