2 "name" : "Roo.bootstrap.panel.Grid",
4 "Roo.bootstrap.panel.Content",
7 "desc" : "Create a new GridPanel.",
20 "desc" : "A the config object",
31 "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>",
32 "memberOf" : "Roo.util.Observable"
37 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
38 "memberOf" : "Roo.bootstrap.panel.Content"
43 "desc" : "render the badges",
44 "memberOf" : "Roo.bootstrap.panel.Content"
47 "name" : "autoScroll",
49 "desc" : "True to scroll overflow in this panel (use with {@link #fitToFrame})",
50 "memberOf" : "Roo.bootstrap.panel.Content"
53 "name" : "fitToFrame",
55 "desc" : "True for this panel to adjust its size to fit when the region resizes (defaults to false)",
56 "memberOf" : "Roo.bootstrap.panel.Content"
59 "name" : "background",
61 "desc" : "True if the panel should not be activated when it is added (defaults to false)",
62 "memberOf" : "Roo.bootstrap.panel.Content"
67 "desc" : "A toolbar for this panel",
68 "memberOf" : "Roo.bootstrap.panel.Content"
73 "desc" : "[required] (center|north|south|east|west) which region to put this panel on (when used with xtype constructors)",
74 "memberOf" : "Roo.bootstrap.panel.Content"
79 "desc" : "Raw content to fill content panel with (uses setContent on construction.)",
80 "memberOf" : "Roo.bootstrap.panel.Content"
85 "desc" : "The title for this panel",
86 "memberOf" : "Roo.bootstrap.panel.Content"
91 "desc" : "contents are an iframe - makes showing remote sources/CSS feasible..",
92 "memberOf" : "Roo.bootstrap.panel.Content"
97 "desc" : "extra classes to use",
98 "memberOf" : "Roo.bootstrap.panel.Content"
101 "name" : "autoCreate",
102 "type" : "Boolean/Object",
103 "desc" : "True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create",
104 "memberOf" : "Roo.bootstrap.panel.Content"
107 "name" : "fitContainer",
109 "desc" : "When using {@link #fitToFrame} and {@link #resizeEl}, you can also fit the parent container (defaults to false)",
110 "memberOf" : "Roo.bootstrap.panel.Content"
114 "type" : "Roo.bootstrap.Table",
115 "desc" : "The grid for this panel",
121 "desc" : "True if the panel can be closed/removed",
122 "memberOf" : "Roo.bootstrap.panel.Content"
126 "type" : "String/Object",
127 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
128 "memberOf" : "Roo.bootstrap.panel.Content"
131 "name" : "adjustments",
133 "desc" : "Values to <b>add</b> to the width/height when doing a {@link #fitToFrame} (default is [0, 0])",
134 "memberOf" : "Roo.bootstrap.panel.Content"
139 "desc" : "Calls {@link #setUrl} with this value",
140 "memberOf" : "Roo.bootstrap.panel.Content"
144 "type" : "String/HTMLElement/Element",
145 "desc" : "An element to resize if {@link #fitToFrame} is true (instead of this panel's element)",
146 "memberOf" : "Roo.bootstrap.panel.Content"
153 "desc" : "Returns the grid for this panel",
154 "sig" : "()\n{\n\n}",
158 "isConstructor" : false,
170 "type" : "Roo.bootstrap.Table",
178 "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.",
179 "sig" : "()\n{\n\n}",
181 "memberOf" : "Roo.bootstrap.panel.Content",
183 "isConstructor" : false,
195 "name" : "getUpdateManager",
197 "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
198 "sig" : "()\n{\n\n}",
200 "memberOf" : "Roo.bootstrap.panel.Content",
202 "isConstructor" : false,
214 "type" : "Roo.UpdateManager",
215 "desc" : "The UpdateManager"
220 "name" : "getChildContainer",
222 "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>",
225 "memberOf" : "Roo.bootstrap.panel.Content",
227 "isConstructor" : false,
239 "desc" : "Xtype definition of item to add.",
246 "name" : "getToolbar",
248 "desc" : "Returns the toolbar for this Panel if one was configured.",
249 "sig" : "()\n{\n\n}",
251 "memberOf" : "Roo.bootstrap.panel.Content",
253 "isConstructor" : false,
265 "type" : "Roo.Toolbar",
273 "desc" : "Set this panel's title",
276 "memberOf" : "Roo.bootstrap.panel.Content",
278 "isConstructor" : false,
299 "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.",
300 "sig" : "(url, params, loadOnce)",
302 "memberOf" : "Roo.bootstrap.panel.Content",
304 "isConstructor" : false,
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|Boolean",
336 "desc" : "The UpdateManager or false if IFRAME"
343 "desc" : "Returns this panel's element - used by regiosn to add.",
344 "sig" : "()\n{\n\n}",
346 "memberOf" : "Roo.bootstrap.panel.Content",
348 "isConstructor" : false,
360 "type" : "Roo.Element",
368 "desc" : "Destroys this panel",
369 "sig" : "()\n{\n\n}",
371 "memberOf" : "Roo.bootstrap.panel.Content",
373 "isConstructor" : false,
387 "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",
388 "sig" : "(url, params, callback, discardUrl)",
390 "memberOf" : "Roo.bootstrap.panel.Content",
392 "isConstructor" : false,
403 "type" : "Object/String/Function",
404 "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.",
409 "type" : "String/Object",
410 "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
416 "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
420 "name" : "discardUrl",
422 "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.",
429 "type" : "Roo.ContentPanel",
437 "desc" : "Returns this panel's title",
438 "sig" : "()\n{\n\n}",
440 "memberOf" : "Roo.bootstrap.panel.Content",
442 "isConstructor" : false,
460 "name" : "isClosable",
462 "desc" : "Returns true is this panel was configured to be closable",
463 "sig" : "()\n{\n\n}",
465 "memberOf" : "Roo.bootstrap.panel.Content",
467 "isConstructor" : false,
487 "desc" : "Returns this panel's id",
488 "sig" : "()\n{\n\n}",
490 "memberOf" : "Roo.bootstrap.panel.Content",
492 "isConstructor" : false,
510 "name" : "setContent",
512 "desc" : "Updates this panel's element (not for iframe)",
513 "sig" : "(content, loadScripts)",
515 "memberOf" : "Roo.bootstrap.panel.Content",
517 "isConstructor" : false,
529 "desc" : "The new content",
533 "name" : "loadScripts",
535 "desc" : "(optional) true to look for and process scripts",
542 "name" : "purgeListeners",
544 "desc" : "Removes all listeners for this object",
545 "sig" : "()\n{\n\n}",
547 "memberOf" : "Roo.util.Observable",
549 "isConstructor" : false,
563 "desc" : "Appends an event handler to this element (shorthand for addListener)",
564 "sig" : "(eventName, handler, scope, options)",
566 "memberOf" : "Roo.util.Observable",
568 "isConstructor" : false,
578 "name" : "eventName",
580 "desc" : "The type of event to listen for",
586 "desc" : "The method the event invokes",
592 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
598 "desc" : "(optional)",
607 "desc" : "Removes a listener (shorthand for removeListener)",
608 "sig" : "(eventName, handler, scope)",
610 "memberOf" : "Roo.util.Observable",
612 "isConstructor" : false,
622 "name" : "eventName",
624 "desc" : "The type of event to listen for",
630 "desc" : "The handler to remove",
636 "desc" : "(optional) The scope (this object) for the handler",
643 "name" : "addEvents",
645 "desc" : "Used to define events on this Observable",
648 "memberOf" : "Roo.util.Observable",
650 "isConstructor" : false,
662 "desc" : "The object with the events defined",
669 "name" : "releaseCapture",
671 "desc" : "Removes <b>all</b> added captures from the Observable.",
674 "memberOf" : "Roo.util.Observable",
676 "isConstructor" : false,
687 "type" : "Observable",
688 "desc" : "The Observable to release",
695 "name" : "removeListener",
697 "desc" : "Removes a listener",
698 "sig" : "(eventName, handler, scope)",
700 "memberOf" : "Roo.util.Observable",
702 "isConstructor" : false,
712 "name" : "eventName",
714 "desc" : "The type of event to listen for",
720 "desc" : "The handler to remove",
726 "desc" : "(optional) The scope (this object) for the handler",
733 "name" : "fireEvent",
735 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
736 "sig" : "(eventName, args)",
738 "memberOf" : "Roo.util.Observable",
740 "isConstructor" : false,
750 "name" : "eventName",
757 "type" : "Object...",
758 "desc" : "Variable number of parameters are passed to handlers",
766 "desc" : "returns false if any of the handlers return false otherwise it returns true"
771 "name" : "hasListener",
773 "desc" : "Checks to see if this object has any listeners for a specified event",
774 "sig" : "(eventName)",
776 "memberOf" : "Roo.util.Observable",
778 "isConstructor" : false,
788 "name" : "eventName",
790 "desc" : "The name of the event to check for",
798 "desc" : "True if the event is being listened for, else false"
805 "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.",
806 "sig" : "(o, fn, scope)",
808 "memberOf" : "Roo.util.Observable",
810 "isConstructor" : false,
821 "type" : "Observable",
822 "desc" : "The Observable to capture",
828 "desc" : "The function to call",
834 "desc" : "(optional) The scope (this object) for the fn",
841 "name" : "addListener",
843 "desc" : "Appends an event handler to this component",
844 "sig" : "(eventName, handler, scope, options)",
846 "memberOf" : "Roo.util.Observable",
848 "isConstructor" : false,
858 "name" : "eventName",
860 "desc" : "The type of event to listen for",
866 "desc" : "The method the event invokes",
872 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
878 "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>",
889 "desc" : "Fires when this panel is activated.",
890 "sig" : "function (_self)\n{\n\n}",
891 "memberOf" : "Roo.bootstrap.panel.Content",
899 "type" : "Roo.ContentPanel",
909 "desc" : "Fires when this panel is resized if fitToFrame is true.",
910 "sig" : "function (_self, width, height)\n{\n\n}",
911 "memberOf" : "Roo.bootstrap.panel.Content",
919 "type" : "Roo.ContentPanel",
926 "desc" : "The width after any component adjustments",
932 "desc" : "The height after any component adjustments",
939 "name" : "deactivate",
941 "desc" : "Fires when this panel is activated.",
942 "sig" : "function (_self)\n{\n\n}",
943 "memberOf" : "Roo.bootstrap.panel.Content",
951 "type" : "Roo.ContentPanel",
961 "desc" : "Fires when this tab is created",
962 "sig" : "function (_self)\n{\n\n}",
963 "memberOf" : "Roo.bootstrap.panel.Content",
971 "type" : "Roo.ContentPanel",
981 "desc" : "Fires when this content is scrolled",
982 "sig" : "function (_self, scrollEvent)\n{\n\n}",
983 "memberOf" : "Roo.bootstrap.panel.Content",
991 "type" : "Roo.ContentPanel",
996 "name" : "scrollEvent",