2 "name" : "Roo.bootstrap.panel.Grid",
4 "Roo.bootstrap.panel.Content",
7 "desc" : "Create a new GridPanel.",
20 "desc" : "A the config object",
29 "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>",
30 "memberOf" : "Roo.util.Observable",
36 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
37 "memberOf" : "Roo.bootstrap.panel.Content",
43 "desc" : "render the badges",
44 "memberOf" : "Roo.bootstrap.panel.Content",
48 "name" : "autoScroll",
50 "desc" : "True to scroll overflow in this panel (use with {@link #fitToFrame})",
51 "memberOf" : "Roo.bootstrap.panel.Content",
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.bootstrap.panel.Content",
62 "name" : "background",
64 "desc" : "True if the panel should not be activated when it is added (defaults to false)",
65 "memberOf" : "Roo.bootstrap.panel.Content",
71 "desc" : "A toolbar for this panel",
72 "memberOf" : "Roo.bootstrap.panel.Content",
78 "desc" : "which region to put this panel on (when used with xtype constructors)",
79 "memberOf" : "Roo.bootstrap.panel.Content",
91 "desc" : "Raw content to fill content panel with (uses setContent on construction.)",
92 "memberOf" : "Roo.bootstrap.panel.Content",
98 "desc" : "The title for this panel",
99 "memberOf" : "Roo.bootstrap.panel.Content",
105 "desc" : "contents are an iframe - makes showing remote sources/CSS feasible..",
106 "memberOf" : "Roo.bootstrap.panel.Content",
112 "desc" : "extra classes to use",
113 "memberOf" : "Roo.bootstrap.panel.Content",
117 "name" : "autoCreate",
118 "type" : "Boolean/Object",
119 "desc" : "True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create",
120 "memberOf" : "Roo.bootstrap.panel.Content",
124 "name" : "fitContainer",
126 "desc" : "When using {@link #fitToFrame} and {@link #resizeEl}, you can also fit the parent container (defaults to false)",
127 "memberOf" : "Roo.bootstrap.panel.Content",
132 "type" : "Roo.bootstrap.Table",
133 "desc" : "The grid for this panel",
134 "memberOf" : "Roo.bootstrap.panel.Grid",
140 "desc" : "True if the panel can be closed/removed",
141 "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",
152 "name" : "adjustments",
154 "desc" : "Values to <b>add</b> to the width/height when doing a {@link #fitToFrame} (default is [0, 0])",
155 "memberOf" : "Roo.bootstrap.panel.Content",
161 "desc" : "Calls {@link #setUrl} with this value",
162 "memberOf" : "Roo.bootstrap.panel.Content",
167 "type" : "String/HTMLElement/Element",
168 "desc" : "An element to resize if {@link #fitToFrame} is true (instead of this panel's element)",
169 "memberOf" : "Roo.bootstrap.panel.Content",
176 "desc" : "Returns the grid for this panel",
178 "isConstructor" : false,
180 "memberOf" : "Roo.bootstrap.panel.Grid",
189 "type" : "Roo.bootstrap.Table",
196 "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.",
198 "isConstructor" : false,
200 "memberOf" : "Roo.bootstrap.panel.Content",
209 "name" : "getUpdateManager",
210 "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
212 "isConstructor" : false,
214 "memberOf" : "Roo.bootstrap.panel.Content",
223 "type" : "Roo.UpdateManager",
224 "desc" : "The UpdateManager"
229 "name" : "getChildContainer",
230 "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>",
232 "isConstructor" : false,
234 "memberOf" : "Roo.bootstrap.panel.Content",
243 "desc" : "Xtype definition of item to add.",
250 "name" : "getToolbar",
251 "desc" : "Returns the toolbar for this Panel if one was configured.",
253 "isConstructor" : false,
255 "memberOf" : "Roo.bootstrap.panel.Content",
264 "type" : "Roo.Toolbar",
271 "desc" : "Set this panel's title",
273 "isConstructor" : false,
275 "memberOf" : "Roo.bootstrap.panel.Content",
292 "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.",
294 "isConstructor" : false,
296 "memberOf" : "Roo.bootstrap.panel.Content",
304 "type" : "String/Function",
305 "desc" : "The URL to load the content from or a function to call to get the URL",
310 "type" : "String/Object",
311 "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)",
317 "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)",
324 "type" : "Roo.UpdateManager|Boolean",
325 "desc" : "The UpdateManager or false if IFRAME"
331 "desc" : "Returns this panel's element - used by regiosn to add.",
333 "isConstructor" : false,
335 "memberOf" : "Roo.bootstrap.panel.Content",
344 "type" : "Roo.Element",
351 "desc" : "Destroys this panel",
353 "isConstructor" : false,
355 "memberOf" : "Roo.bootstrap.panel.Content",
365 "desc" : "Loads this content panel immediately with content from XHR. Note: to delay loading until the panel is activated, use {@link #setUrl}.\nDoes not work with IFRAME contents",
367 "isConstructor" : false,
369 "memberOf" : "Roo.bootstrap.panel.Content",
377 "type" : "Object/String/Function",
378 "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.",
383 "type" : "String/Object",
384 "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
390 "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
394 "name" : "discardUrl",
396 "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.",
403 "type" : "Roo.ContentPanel",
410 "desc" : "Returns this panel's title",
412 "isConstructor" : false,
414 "memberOf" : "Roo.bootstrap.panel.Content",
429 "name" : "isClosable",
430 "desc" : "Returns true is this panel was configured to be closable",
432 "isConstructor" : false,
434 "memberOf" : "Roo.bootstrap.panel.Content",
450 "desc" : "Returns this panel's id",
452 "isConstructor" : false,
454 "memberOf" : "Roo.bootstrap.panel.Content",
469 "name" : "setContent",
470 "desc" : "Updates this panel's element (not for iframe)",
472 "isConstructor" : false,
474 "memberOf" : "Roo.bootstrap.panel.Content",
483 "desc" : "The new content",
487 "name" : "loadScripts",
489 "desc" : "(optional) true to look for and process scripts",
496 "name" : "purgeListeners",
497 "desc" : "Removes all listeners for this object",
499 "isConstructor" : false,
501 "memberOf" : "Roo.util.Observable",
511 "desc" : "Appends an event handler to this element (shorthand for addListener)",
513 "isConstructor" : false,
515 "memberOf" : "Roo.util.Observable",
522 "name" : "eventName",
524 "desc" : "The type of event to listen for",
530 "desc" : "The method the event invokes",
536 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
542 "desc" : "(optional)",
550 "desc" : "Removes a listener (shorthand for removeListener)",
552 "isConstructor" : false,
554 "memberOf" : "Roo.util.Observable",
561 "name" : "eventName",
563 "desc" : "The type of event to listen for",
569 "desc" : "The handler to remove",
575 "desc" : "(optional) The scope (this object) for the handler",
582 "name" : "addEvents",
583 "desc" : "Used to define events on this Observable",
585 "isConstructor" : false,
587 "memberOf" : "Roo.util.Observable",
596 "desc" : "The object with the events defined",
603 "name" : "releaseCapture",
604 "desc" : "Removes <b>all</b> added captures from the Observable.",
606 "isConstructor" : false,
608 "memberOf" : "Roo.util.Observable",
616 "type" : "Observable",
617 "desc" : "The Observable to release",
624 "name" : "removeListener",
625 "desc" : "Removes a listener",
627 "isConstructor" : false,
629 "memberOf" : "Roo.util.Observable",
636 "name" : "eventName",
638 "desc" : "The type of event to listen for",
644 "desc" : "The handler to remove",
650 "desc" : "(optional) The scope (this object) for the handler",
657 "name" : "fireEvent",
658 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
660 "isConstructor" : false,
662 "memberOf" : "Roo.util.Observable",
669 "name" : "eventName",
676 "type" : "Object...",
677 "desc" : "Variable number of parameters are passed to handlers",
685 "desc" : "returns false if any of the handlers return false otherwise it returns true"
690 "name" : "hasListener",
691 "desc" : "Checks to see if this object has any listeners for a specified event",
693 "isConstructor" : false,
695 "memberOf" : "Roo.util.Observable",
702 "name" : "eventName",
704 "desc" : "The name of the event to check for",
712 "desc" : "True if the event is being listened for, else false"
718 "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.",
720 "isConstructor" : false,
722 "memberOf" : "Roo.util.Observable",
730 "type" : "Observable",
731 "desc" : "The Observable to capture",
737 "desc" : "The function to call",
743 "desc" : "(optional) The scope (this object) for the fn",
750 "name" : "addListener",
751 "desc" : "Appends an event handler to this component",
753 "isConstructor" : false,
755 "memberOf" : "Roo.util.Observable",
762 "name" : "eventName",
764 "desc" : "The type of event to listen for",
770 "desc" : "The method the event invokes",
776 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
782 "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>",
792 "desc" : "Fires when this panel is activated.",
793 "memberOf" : "Roo.bootstrap.panel.Content",
801 "type" : "Roo.ContentPanel",
810 "desc" : "Fires when this panel is resized if fitToFrame is true.",
811 "memberOf" : "Roo.bootstrap.panel.Content",
819 "type" : "Roo.ContentPanel",
826 "desc" : "The width after any component adjustments",
832 "desc" : "The height after any component adjustments",
839 "name" : "deactivate",
840 "desc" : "Fires when this panel is activated.",
841 "memberOf" : "Roo.bootstrap.panel.Content",
849 "type" : "Roo.ContentPanel",
858 "desc" : "Fires when this tab is created",
859 "memberOf" : "Roo.bootstrap.panel.Content",
867 "type" : "Roo.ContentPanel",
876 "desc" : "Fires when this content is scrolled",
877 "memberOf" : "Roo.bootstrap.panel.Content",
885 "type" : "Roo.ContentPanel",
890 "name" : "scrollEvent",