2 "name" : "Roo.GridPanel",
14 "desc" : "Create a new GridPanel.",
15 "isSingleton" : false,
19 "isBuilderTop" : false,
20 "memberOf" : "GridPanel",
33 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
34 "memberOf" : "Roo.ContentPanel",
41 "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>",
42 "memberOf" : "Roo.util.Observable",
47 "name" : "autoScroll",
49 "desc" : "True to scroll overflow in this panel (use with {@link #fitToFrame})",
50 "memberOf" : "Roo.ContentPanel",
55 "name" : "fitToFrame",
57 "desc" : "True for this panel to adjust its size to fit when the region resizes (defaults to false)",
58 "memberOf" : "Roo.ContentPanel",
63 "name" : "background",
65 "desc" : "True if the panel should not be activated when it is added (defaults to false)",
66 "memberOf" : "Roo.ContentPanel",
72 "type" : "Roo.Toolbar",
73 "desc" : "A toolbar for this panel",
74 "memberOf" : "Roo.ContentPanel",
81 "desc" : "t) which region to put this panel on (when used with xtype constructor",
82 "memberOf" : "Roo.ContentPanel",
95 "desc" : "Raw content to fill content panel with (uses setContent on construction.)",
96 "memberOf" : "Roo.ContentPanel",
102 "type" : "Roo.menu.Menu",
103 "desc" : "popup menu",
104 "memberOf" : "Roo.ContentPanel",
105 "isOptional" : false,
111 "desc" : "The title for this panel",
112 "memberOf" : "Roo.ContentPanel",
113 "isOptional" : false,
119 "desc" : "Extra style to add to the content panel",
120 "memberOf" : "Roo.ContentPanel",
121 "isOptional" : false,
125 "name" : "autoCreate",
126 "type" : "Boolean|Object",
127 "desc" : "True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create",
128 "memberOf" : "Roo.ContentPanel",
129 "isOptional" : false,
133 "name" : "fitContainer",
135 "desc" : "When using {@link #fitToFrame} and {@link #resizeEl}, you can also fit the parent container (defaults to false)",
136 "memberOf" : "Roo.ContentPanel",
137 "isOptional" : false,
142 "type" : "Roo.grid.Grid",
143 "desc" : "The grid for this panel",
145 "isOptional" : false,
151 "desc" : "True if the panel can be closed/removed",
152 "memberOf" : "Roo.ContentPanel",
153 "isOptional" : false,
158 "type" : "String|Object",
159 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
160 "memberOf" : "Roo.ContentPanel",
161 "isOptional" : false,
165 "name" : "adjustments",
167 "desc" : "Values to <b>add</b> to the width/height when doing a {@link #fitToFrame} (default is [0, 0])",
168 "memberOf" : "Roo.ContentPanel",
169 "isOptional" : false,
175 "desc" : "Calls {@link #setUrl} with this value",
176 "memberOf" : "Roo.ContentPanel",
177 "isOptional" : false,
182 "type" : "String|HTMLElement|Element",
183 "desc" : "An element to resize if {@link #fitToFrame} is true (instead of this panel's element)",
184 "memberOf" : "Roo.ContentPanel",
185 "isOptional" : false,
193 "desc" : "Returns the grid for this panel",
194 "sig" : "()\n{\n\n}",
198 "isConstructor" : false,
210 "type" : "Roo.grid.Grid",
218 "desc" : "Loads this content panel immediately with content from XHR. Note: to delay loading until the panel is activated, use {@link #setUrl}.",
219 "sig" : "(url, params, callback, discardUrl)",
221 "memberOf" : "Roo.ContentPanel",
223 "isConstructor" : false,
234 "type" : "Object/String/Function",
235 "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.",
240 "type" : "String/Object",
241 "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
247 "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
251 "name" : "discardUrl",
253 "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.",
260 "type" : "Roo.ContentPanel",
266 "name" : "getUpdateManager",
268 "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
269 "sig" : "()\n{\n\n}",
271 "memberOf" : "Roo.ContentPanel",
273 "isConstructor" : false,
285 "type" : "Roo.UpdateManager",
286 "desc" : "The UpdateManager"
291 "name" : "isClosable",
293 "desc" : "Returns true is this panel was configured to be closable",
294 "sig" : "()\n{\n\n}",
296 "memberOf" : "Roo.ContentPanel",
298 "isConstructor" : false,
318 "desc" : "Destroys this panel",
319 "sig" : "()\n{\n\n}",
321 "memberOf" : "Roo.ContentPanel",
323 "isConstructor" : false,
337 "desc" : "Returns this panel's element - used by regiosn to add.",
338 "sig" : "()\n{\n\n}",
340 "memberOf" : "Roo.ContentPanel",
342 "isConstructor" : false,
354 "type" : "Roo.Element",
360 "name" : "setContent",
362 "desc" : "Updates this panel's element",
363 "sig" : "(content, loadScripts)",
365 "memberOf" : "Roo.ContentPanel",
367 "isConstructor" : false,
379 "desc" : "The new content",
383 "name" : "loadScripts",
385 "desc" : "(optional) true to look for and process scripts",
394 "desc" : "Returns this panel's id",
395 "sig" : "()\n{\n\n}",
397 "memberOf" : "Roo.ContentPanel",
399 "isConstructor" : false,
419 "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>",
422 "memberOf" : "Roo.ContentPanel",
424 "isConstructor" : false,
436 "desc" : "Xtype definition of item to add.",
445 "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.",
446 "sig" : "()\n{\n\n}",
448 "memberOf" : "Roo.ContentPanel",
450 "isConstructor" : false,
464 "desc" : "Returns this panel's title",
465 "sig" : "()\n{\n\n}",
467 "memberOf" : "Roo.ContentPanel",
469 "isConstructor" : false,
489 "desc" : "Set this panel's title",
492 "memberOf" : "Roo.ContentPanel",
494 "isConstructor" : false,
513 "name" : "getToolbar",
515 "desc" : "Returns the toolbar for this Panel if one was configured.",
516 "sig" : "()\n{\n\n}",
518 "memberOf" : "Roo.ContentPanel",
520 "isConstructor" : false,
532 "type" : "Roo.Toolbar",
540 "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.",
541 "sig" : "(url, params, loadOnce)",
543 "memberOf" : "Roo.ContentPanel",
545 "isConstructor" : false,
556 "type" : "String/Function",
557 "desc" : "The URL to load the content from or a function to call to get the URL",
562 "type" : "String/Object",
563 "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)",
569 "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)",
576 "type" : "Roo.UpdateManager",
577 "desc" : "The UpdateManager"
582 "name" : "purgeListeners",
584 "desc" : "Removes all listeners for this object",
585 "sig" : "()\n{\n\n}",
587 "memberOf" : "Roo.util.Observable",
589 "isConstructor" : false,
603 "desc" : "Appends an event handler to this element (shorthand for addListener)",
604 "sig" : "(eventName, handler, scope, options)",
606 "memberOf" : "Roo.util.Observable",
608 "isConstructor" : false,
618 "name" : "eventName",
620 "desc" : "The type of event to listen for",
626 "desc" : "The method the event invokes",
632 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
638 "desc" : "(optional)",
647 "desc" : "Removes a listener (shorthand for removeListener)",
648 "sig" : "(eventName, handler, scope)",
650 "memberOf" : "Roo.util.Observable",
652 "isConstructor" : false,
662 "name" : "eventName",
664 "desc" : "The type of event to listen for",
670 "desc" : "The handler to remove",
676 "desc" : "(optional) The scope (this object) for the handler",
683 "name" : "addEvents",
685 "desc" : "Used to define events on this Observable",
688 "memberOf" : "Roo.util.Observable",
690 "isConstructor" : false,
702 "desc" : "The object with the events defined",
709 "name" : "releaseCapture",
711 "desc" : "Removes <b>all</b> added captures from the Observable.",
714 "memberOf" : "Roo.util.Observable",
716 "isConstructor" : false,
727 "type" : "Observable",
728 "desc" : "The Observable to release",
735 "name" : "removeListener",
737 "desc" : "Removes a listener",
738 "sig" : "(eventName, handler, scope)",
740 "memberOf" : "Roo.util.Observable",
742 "isConstructor" : false,
752 "name" : "eventName",
754 "desc" : "The type of event to listen for",
760 "desc" : "The handler to remove",
766 "desc" : "(optional) The scope (this object) for the handler",
773 "name" : "fireEvent",
775 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
776 "sig" : "(eventName, args)",
778 "memberOf" : "Roo.util.Observable",
780 "isConstructor" : false,
790 "name" : "eventName",
797 "type" : "Object...",
798 "desc" : "Variable number of parameters are passed to handlers",
806 "desc" : "returns false if any of the handlers return false otherwise it returns true"
811 "name" : "hasListener",
813 "desc" : "Checks to see if this object has any listeners for a specified event",
814 "sig" : "(eventName)",
816 "memberOf" : "Roo.util.Observable",
818 "isConstructor" : false,
828 "name" : "eventName",
830 "desc" : "The name of the event to check for",
838 "desc" : "True if the event is being listened for, else false"
845 "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.",
846 "sig" : "(o, fn, scope)",
848 "memberOf" : "Roo.util.Observable",
850 "isConstructor" : false,
861 "type" : "Observable",
862 "desc" : "The Observable to capture",
868 "desc" : "The function to call",
874 "desc" : "(optional) The scope (this object) for the fn",
881 "name" : "addListener",
883 "desc" : "Appends an event handler to this component",
884 "sig" : "(eventName, handler, scope, options)",
886 "memberOf" : "Roo.util.Observable",
888 "isConstructor" : false,
898 "name" : "eventName",
900 "desc" : "The type of event to listen for",
906 "desc" : "The method the event invokes",
912 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
918 "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>",
927 "name" : "deactivate",
929 "desc" : "Fires when this panel is activated.",
930 "sig" : "function (_self)\n{\n\n}",
931 "memberOf" : "Roo.ContentPanel",
939 "type" : "Roo.ContentPanel",
949 "desc" : "Fires when this panel is resized if fitToFrame is true.",
950 "sig" : "function (_self, width, height)\n{\n\n}",
951 "memberOf" : "Roo.ContentPanel",
959 "type" : "Roo.ContentPanel",
966 "desc" : "The width after any component adjustments",
972 "desc" : "The height after any component adjustments",
981 "desc" : "Fires when this tab is created",
982 "sig" : "function (_self)\n{\n\n}",
983 "memberOf" : "Roo.ContentPanel",
991 "type" : "Roo.ContentPanel",
1000 "type" : "function",
1001 "desc" : "Fires when this panel is activated.",
1002 "sig" : "function (_self)\n{\n\n}",
1003 "memberOf" : "Roo.ContentPanel",
1011 "type" : "Roo.ContentPanel",
1013 "isOptional" : false