2 "name" : "Roo.GridPanel",
7 "desc" : "Create a new GridPanel.",
11 "memberOf" : "GridPanel",
19 "type" : "Roo.grid.Grid",
20 "desc" : "The grid for this panel",
25 "type" : "String/Object",
26 "desc" : "A string to set only the panel's title, or a config object",
35 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
36 "memberOf" : "Roo.ContentPanel",
42 "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>",
43 "memberOf" : "Roo.util.Observable",
47 "name" : "autoScroll",
49 "desc" : "True to scroll overflow in this panel (use with {@link #fitToFrame})",
50 "memberOf" : "Roo.ContentPanel",
54 "name" : "fitToFrame",
56 "desc" : "True for this panel to adjust its size to fit when the region resizes (defaults to false)",
57 "memberOf" : "Roo.ContentPanel",
61 "name" : "background",
63 "desc" : "True if the panel should not be activated when it is added (defaults to false)",
64 "memberOf" : "Roo.ContentPanel",
70 "desc" : "A toolbar for this panel",
71 "memberOf" : "Roo.ContentPanel",
77 "desc" : "which region to put this panel on (when used with xtype constructors)",
78 "memberOf" : "Roo.ContentPanel",
90 "desc" : "Raw content to fill content panel with (uses setContent on construction.)",
91 "memberOf" : "Roo.ContentPanel",
97 "desc" : "The title for this panel",
98 "memberOf" : "Roo.ContentPanel",
104 "desc" : "Extra style to add to the content panel",
105 "memberOf" : "Roo.ContentPanel",
109 "name" : "autoCreate",
110 "type" : "Boolean/Object",
111 "desc" : "True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create",
112 "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",
125 "desc" : "True if the panel can be closed/removed",
126 "memberOf" : "Roo.ContentPanel",
131 "type" : "String/Object",
132 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
133 "memberOf" : "Roo.ContentPanel",
137 "name" : "adjustments",
139 "desc" : "Values to <b>add</b> to the width/height when doing a {@link #fitToFrame} (default is [0, 0])",
140 "memberOf" : "Roo.ContentPanel",
146 "desc" : "Calls {@link #setUrl} with this value",
147 "memberOf" : "Roo.ContentPanel",
152 "type" : "String/HTMLElement/Element",
153 "desc" : "An element to resize if {@link #fitToFrame} is true (instead of this panel's element)",
154 "memberOf" : "Roo.ContentPanel",
161 "desc" : "Returns the grid for this panel",
163 "isConstructor" : false,
165 "memberOf" : "Roo.GridPanel",
174 "type" : "Roo.grid.Grid",
181 "desc" : "Loads this content panel immediately with content from XHR. Note: to delay loading until the panel is activated, use {@link #setUrl}.",
183 "isConstructor" : false,
185 "memberOf" : "Roo.ContentPanel",
193 "type" : "Object/String/Function",
194 "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.",
199 "type" : "String/Object",
200 "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
206 "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
210 "name" : "discardUrl",
212 "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.",
219 "type" : "Roo.ContentPanel",
225 "name" : "getUpdateManager",
226 "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
228 "isConstructor" : false,
230 "memberOf" : "Roo.ContentPanel",
239 "type" : "Roo.UpdateManager",
240 "desc" : "The UpdateManager"
245 "name" : "isClosable",
246 "desc" : "Returns true is this panel was configured to be closable",
248 "isConstructor" : false,
250 "memberOf" : "Roo.ContentPanel",
266 "desc" : "Destroys this panel",
268 "isConstructor" : false,
270 "memberOf" : "Roo.ContentPanel",
280 "desc" : "Returns this panel's element - used by regiosn to add.",
282 "isConstructor" : false,
284 "memberOf" : "Roo.ContentPanel",
293 "type" : "Roo.Element",
299 "name" : "setContent",
300 "desc" : "Updates this panel's element",
302 "isConstructor" : false,
304 "memberOf" : "Roo.ContentPanel",
313 "desc" : "The new content",
317 "name" : "loadScripts",
319 "desc" : "(optional) true to look for and process scripts",
327 "desc" : "Returns this panel's id",
329 "isConstructor" : false,
331 "memberOf" : "Roo.ContentPanel",
347 "desc" : "Adds a xtype elements to the panel - currently only supports Forms, View, JsonView.\n<pre><code>\n\nlayout.addxtype({\n xtype : 'Form',\n items: [ .... ]\n }\n);\n\n</code></pre>",
349 "isConstructor" : false,
351 "memberOf" : "Roo.ContentPanel",
360 "desc" : "Xtype definition of item to add.",
368 "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.",
370 "isConstructor" : false,
372 "memberOf" : "Roo.ContentPanel",
382 "desc" : "Returns this panel's title",
384 "isConstructor" : false,
386 "memberOf" : "Roo.ContentPanel",
402 "desc" : "Set this panel's title",
404 "isConstructor" : false,
406 "memberOf" : "Roo.ContentPanel",
422 "name" : "getToolbar",
423 "desc" : "Returns the toolbar for this Panel if one was configured.",
425 "isConstructor" : false,
427 "memberOf" : "Roo.ContentPanel",
436 "type" : "Roo.Toolbar",
443 "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.",
445 "isConstructor" : false,
447 "memberOf" : "Roo.ContentPanel",
455 "type" : "String/Function",
456 "desc" : "The URL to load the content from or a function to call to get the URL",
461 "type" : "String/Object",
462 "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)",
468 "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)",
475 "type" : "Roo.UpdateManager",
476 "desc" : "The UpdateManager"
481 "name" : "purgeListeners",
482 "desc" : "Removes all listeners for this object",
484 "isConstructor" : false,
486 "memberOf" : "Roo.util.Observable",
496 "desc" : "Appends an event handler to this element (shorthand for addListener)",
498 "isConstructor" : false,
500 "memberOf" : "Roo.util.Observable",
507 "name" : "eventName",
509 "desc" : "The type of event to listen for",
515 "desc" : "The method the event invokes",
521 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
527 "desc" : "(optional)",
535 "desc" : "Removes a listener (shorthand for removeListener)",
537 "isConstructor" : false,
539 "memberOf" : "Roo.util.Observable",
546 "name" : "eventName",
548 "desc" : "The type of event to listen for",
554 "desc" : "The handler to remove",
560 "desc" : "(optional) The scope (this object) for the handler",
567 "name" : "addEvents",
568 "desc" : "Used to define events on this Observable",
570 "isConstructor" : false,
572 "memberOf" : "Roo.util.Observable",
581 "desc" : "The object with the events defined",
588 "name" : "releaseCapture",
589 "desc" : "Removes <b>all</b> added captures from the Observable.",
591 "isConstructor" : false,
593 "memberOf" : "Roo.util.Observable",
601 "type" : "Observable",
602 "desc" : "The Observable to release",
609 "name" : "removeListener",
610 "desc" : "Removes a listener",
612 "isConstructor" : false,
614 "memberOf" : "Roo.util.Observable",
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" : "fireEvent",
643 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
645 "isConstructor" : false,
647 "memberOf" : "Roo.util.Observable",
654 "name" : "eventName",
661 "type" : "Object...",
662 "desc" : "Variable number of parameters are passed to handlers",
670 "desc" : "returns false if any of the handlers return false otherwise it returns true"
675 "name" : "hasListener",
676 "desc" : "Checks to see if this object has any listeners for a specified event",
678 "isConstructor" : false,
680 "memberOf" : "Roo.util.Observable",
687 "name" : "eventName",
689 "desc" : "The name of the event to check for",
697 "desc" : "True if the event is being listened for, else false"
703 "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.",
705 "isConstructor" : false,
707 "memberOf" : "Roo.util.Observable",
715 "type" : "Observable",
716 "desc" : "The Observable to capture",
722 "desc" : "The function to call",
728 "desc" : "(optional) The scope (this object) for the fn",
735 "name" : "addListener",
736 "desc" : "Appends an event handler to this component",
738 "isConstructor" : false,
740 "memberOf" : "Roo.util.Observable",
747 "name" : "eventName",
749 "desc" : "The type of event to listen for",
755 "desc" : "The method the event invokes",
761 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
767 "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>",
776 "name" : "deactivate",
777 "desc" : "Fires when this panel is activated.",
778 "memberOf" : "Roo.ContentPanel",
786 "type" : "Roo.ContentPanel",
795 "desc" : "Fires when this panel is resized if fitToFrame is true.",
796 "memberOf" : "Roo.ContentPanel",
804 "type" : "Roo.ContentPanel",
811 "desc" : "The width after any component adjustments",
817 "desc" : "The height after any component adjustments",
825 "desc" : "Fires when this tab is created",
826 "memberOf" : "Roo.ContentPanel",
834 "type" : "Roo.ContentPanel",
843 "desc" : "Fires when this panel is activated.",
844 "memberOf" : "Roo.ContentPanel",
852 "type" : "Roo.ContentPanel",