2 "name" : "Roo.bootstrap.panel.Grid",
4 "Roo.bootstrap.panel.Content",
7 "desc" : "Create a new GridPanel.",
20 "desc" : "A the config object",
30 "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>",
31 "memberOf" : "Roo.util.Observable",
38 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
39 "memberOf" : "Roo.bootstrap.panel.Content",
46 "desc" : "render the badges",
47 "memberOf" : "Roo.bootstrap.panel.Content",
52 "name" : "autoScroll",
54 "desc" : "True to scroll overflow in this panel (use with {@link #fitToFrame})",
55 "memberOf" : "Roo.bootstrap.panel.Content",
60 "name" : "fitToFrame",
62 "desc" : "True for this panel to adjust its size to fit when the region resizes (defaults to false)",
63 "memberOf" : "Roo.bootstrap.panel.Content",
68 "name" : "background",
70 "desc" : "True if the panel should not be activated when it is added (defaults to false)",
71 "memberOf" : "Roo.bootstrap.panel.Content",
78 "desc" : "A toolbar for this panel",
79 "memberOf" : "Roo.bootstrap.panel.Content",
86 "desc" : "which region to put this panel on (when used with xtype constructors)",
87 "memberOf" : "Roo.bootstrap.panel.Content",
99 "desc" : "Raw content to fill content panel with (uses setContent on construction.)",
100 "memberOf" : "Roo.bootstrap.panel.Content",
107 "desc" : "The title for this panel",
108 "memberOf" : "Roo.bootstrap.panel.Content",
113 "name" : "autoCreate",
114 "type" : "Boolean/Object",
115 "desc" : "True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create",
116 "memberOf" : "Roo.bootstrap.panel.Content",
121 "name" : "fitContainer",
123 "desc" : "When using {@link #fitToFrame} and {@link #resizeEl}, you can also fit the parent container (defaults to false)",
124 "memberOf" : "Roo.bootstrap.panel.Content",
130 "type" : "Roo.bootstrap.Table",
131 "desc" : "The grid for this panel",
132 "memberOf" : "Roo.bootstrap.panel.Grid",
139 "desc" : "True if the panel can be closed/removed",
140 "memberOf" : "Roo.bootstrap.panel.Content",
146 "type" : "String/Object",
147 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
148 "memberOf" : "Roo.bootstrap.panel.Content",
153 "name" : "adjustments",
155 "desc" : "Values to <b>add</b> to the width/height when doing a {@link #fitToFrame} (default is [0, 0])",
156 "memberOf" : "Roo.bootstrap.panel.Content",
163 "desc" : "Calls {@link #setUrl} with this value",
164 "memberOf" : "Roo.bootstrap.panel.Content",
170 "type" : "String/HTMLElement/Element",
171 "desc" : "An element to resize if {@link #fitToFrame} is true (instead of this panel's element)",
172 "memberOf" : "Roo.bootstrap.panel.Content",
180 "desc" : "Returns the grid for this panel",
182 "isConstructor" : false,
184 "memberOf" : "Roo.bootstrap.panel.Grid",
194 "type" : "Roo.bootstrap.Table",
201 "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.",
203 "isConstructor" : false,
205 "memberOf" : "Roo.bootstrap.panel.Content",
216 "name" : "getUpdateManager",
217 "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
219 "isConstructor" : false,
221 "memberOf" : "Roo.bootstrap.panel.Content",
231 "type" : "Roo.UpdateManager",
232 "desc" : "The UpdateManager"
237 "name" : "getChildContainer",
238 "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>",
240 "isConstructor" : false,
242 "memberOf" : "Roo.bootstrap.panel.Content",
251 "desc" : "Xtype definition of item to add.",
259 "name" : "getToolbar",
260 "desc" : "Returns the toolbar for this Panel if one was configured.",
262 "isConstructor" : false,
264 "memberOf" : "Roo.bootstrap.panel.Content",
274 "type" : "Roo.Toolbar",
281 "desc" : "Set this panel's title",
283 "isConstructor" : false,
285 "memberOf" : "Roo.bootstrap.panel.Content",
303 "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.",
305 "isConstructor" : false,
307 "memberOf" : "Roo.bootstrap.panel.Content",
315 "type" : "String/Function",
316 "desc" : "The URL to load the content from or a function to call to get the URL",
321 "type" : "String/Object",
322 "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)",
328 "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)",
335 "type" : "Roo.UpdateManager",
336 "desc" : "The UpdateManager"
342 "desc" : "Returns this panel's element - used by regiosn to add.",
344 "isConstructor" : false,
346 "memberOf" : "Roo.bootstrap.panel.Content",
356 "type" : "Roo.Element",
363 "desc" : "Destroys this panel",
365 "isConstructor" : false,
367 "memberOf" : "Roo.bootstrap.panel.Content",
379 "desc" : "Loads this content panel immediately with content from XHR. Note: to delay loading until the panel is activated, use {@link #setUrl}.",
381 "isConstructor" : false,
383 "memberOf" : "Roo.bootstrap.panel.Content",
391 "type" : "Object/String/Function",
392 "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.",
397 "type" : "String/Object",
398 "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
404 "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
408 "name" : "discardUrl",
410 "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.",
417 "type" : "Roo.ContentPanel",
424 "desc" : "Returns this panel's title",
426 "isConstructor" : false,
428 "memberOf" : "Roo.bootstrap.panel.Content",
444 "name" : "isClosable",
445 "desc" : "Returns true is this panel was configured to be closable",
447 "isConstructor" : false,
449 "memberOf" : "Roo.bootstrap.panel.Content",
466 "desc" : "Returns this panel's id",
468 "isConstructor" : false,
470 "memberOf" : "Roo.bootstrap.panel.Content",
486 "name" : "setContent",
487 "desc" : "Updates this panel's element",
489 "isConstructor" : false,
491 "memberOf" : "Roo.bootstrap.panel.Content",
500 "desc" : "The new content",
504 "name" : "loadScripts",
506 "desc" : "(optional) true to look for and process scripts",
514 "name" : "purgeListeners",
515 "desc" : "Removes all listeners for this object",
517 "isConstructor" : false,
519 "memberOf" : "Roo.util.Observable",
531 "desc" : "Appends an event handler to this element (shorthand for addListener)",
533 "isConstructor" : false,
535 "memberOf" : "Roo.util.Observable",
542 "name" : "eventName",
544 "desc" : "The type of event to listen for",
550 "desc" : "The method the event invokes",
556 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
562 "desc" : "(optional)",
571 "desc" : "Removes a listener (shorthand for removeListener)",
573 "isConstructor" : false,
575 "memberOf" : "Roo.util.Observable",
582 "name" : "eventName",
584 "desc" : "The type of event to listen for",
590 "desc" : "The handler to remove",
596 "desc" : "(optional) The scope (this object) for the handler",
604 "name" : "addEvents",
605 "desc" : "Used to define events on this Observable",
607 "isConstructor" : false,
609 "memberOf" : "Roo.util.Observable",
618 "desc" : "The object with the events defined",
626 "name" : "releaseCapture",
627 "desc" : "Removes <b>all</b> added captures from the Observable.",
629 "isConstructor" : false,
631 "memberOf" : "Roo.util.Observable",
639 "type" : "Observable",
640 "desc" : "The Observable to release",
648 "name" : "removeListener",
649 "desc" : "Removes a listener",
651 "isConstructor" : false,
653 "memberOf" : "Roo.util.Observable",
660 "name" : "eventName",
662 "desc" : "The type of event to listen for",
668 "desc" : "The handler to remove",
674 "desc" : "(optional) The scope (this object) for the handler",
682 "name" : "fireEvent",
683 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
685 "isConstructor" : false,
687 "memberOf" : "Roo.util.Observable",
694 "name" : "eventName",
701 "type" : "Object...",
702 "desc" : "Variable number of parameters are passed to handlers",
710 "desc" : "returns false if any of the handlers return false otherwise it returns true"
715 "name" : "hasListener",
716 "desc" : "Checks to see if this object has any listeners for a specified event",
718 "isConstructor" : false,
720 "memberOf" : "Roo.util.Observable",
727 "name" : "eventName",
729 "desc" : "The name of the event to check for",
737 "desc" : "True if the event is being listened for, else false"
743 "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.",
745 "isConstructor" : false,
747 "memberOf" : "Roo.util.Observable",
755 "type" : "Observable",
756 "desc" : "The Observable to capture",
762 "desc" : "The function to call",
768 "desc" : "(optional) The scope (this object) for the fn",
776 "name" : "addListener",
777 "desc" : "Appends an event handler to this component",
779 "isConstructor" : false,
781 "memberOf" : "Roo.util.Observable",
788 "name" : "eventName",
790 "desc" : "The type of event to listen for",
796 "desc" : "The method the event invokes",
802 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
808 "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>",
819 "desc" : "Fires when this panel is activated.",
820 "memberOf" : "Roo.bootstrap.panel.Content",
828 "type" : "Roo.ContentPanel",
838 "desc" : "Fires when this panel is resized if fitToFrame is true.",
839 "memberOf" : "Roo.bootstrap.panel.Content",
847 "type" : "Roo.ContentPanel",
854 "desc" : "The width after any component adjustments",
860 "desc" : "The height after any component adjustments",
868 "name" : "deactivate",
869 "desc" : "Fires when this panel is activated.",
870 "memberOf" : "Roo.bootstrap.panel.Content",
878 "type" : "Roo.ContentPanel",
888 "desc" : "Fires when this tab is created",
889 "memberOf" : "Roo.bootstrap.panel.Content",
897 "type" : "Roo.ContentPanel",