2 "name" : "Roo.bootstrap.panel.Grid",
4 "Roo.bootstrap.panel.Content",
10 "desc" : "Create a new GridPanel.",
11 "isSingleton" : false,
15 "isBuilderTop" : false,
25 "desc" : "A the config object",
36 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
37 "memberOf" : "Roo.bootstrap.panel.Content"
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"
48 "desc" : "render the badges",
49 "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"
59 "type" : "Roo.bootstrap.nav.Simplebar",
60 "desc" : "the toolbar at the top of the grid.",
61 "memberOf" : "Roo.bootstrap.panel.Grid"
64 "name" : "fitToFrame",
66 "desc" : "True for this panel to adjust its size to fit when the region resizes (defaults to false)",
67 "memberOf" : "Roo.bootstrap.panel.Content"
70 "name" : "background",
72 "desc" : "True if the panel should not be activated when it is added (defaults to false)",
73 "memberOf" : "Roo.bootstrap.panel.Content"
78 "desc" : "[required] (center|north|south|east|west) which region to put this panel on (when used with xtype constructors)",
79 "memberOf" : "Roo.bootstrap.panel.Content"
84 "desc" : "Raw content to fill content panel with (uses setContent on construction.)",
85 "memberOf" : "Roo.bootstrap.panel.Content"
90 "desc" : "The title for this panel",
91 "memberOf" : "Roo.bootstrap.panel.Content"
96 "desc" : "contents are an iframe - makes showing remote sources/CSS feasible..",
97 "memberOf" : "Roo.bootstrap.panel.Content"
102 "desc" : "extra classes to use",
103 "memberOf" : "Roo.bootstrap.panel.Content"
106 "name" : "autoCreate",
107 "type" : "Boolean/Object",
108 "desc" : "True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create",
109 "memberOf" : "Roo.bootstrap.panel.Content"
112 "name" : "fitContainer",
114 "desc" : "When using {@link #fitToFrame} and {@link #resizeEl}, you can also fit the parent container (defaults to false)",
115 "memberOf" : "Roo.bootstrap.panel.Content"
119 "type" : "Roo.bootstrap.Table",
120 "desc" : "The grid for this panel",
121 "memberOf" : "Roo.bootstrap.panel.Grid"
126 "desc" : "True if the panel can be closed/removed",
127 "memberOf" : "Roo.bootstrap.panel.Content"
131 "type" : "String/Object",
132 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
133 "memberOf" : "Roo.bootstrap.panel.Content"
136 "name" : "adjustments",
138 "desc" : "Values to <b>add</b> to the width/height when doing a {@link #fitToFrame} (default is [0, 0])",
139 "memberOf" : "Roo.bootstrap.panel.Content"
144 "desc" : "Calls {@link #setUrl} with this value",
145 "memberOf" : "Roo.bootstrap.panel.Content"
149 "type" : "String/HTMLElement/Element",
150 "desc" : "An element to resize if {@link #fitToFrame} is true (instead of this panel's element)",
151 "memberOf" : "Roo.bootstrap.panel.Content"
158 "desc" : "Returns the grid for this panel",
159 "sig" : "()\n{\n\n}",
163 "isConstructor" : false,
175 "type" : "Roo.bootstrap.Table",
183 "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.",
184 "sig" : "()\n{\n\n}",
186 "memberOf" : "Roo.bootstrap.panel.Content",
188 "isConstructor" : false,
200 "name" : "getUpdateManager",
202 "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
203 "sig" : "()\n{\n\n}",
205 "memberOf" : "Roo.bootstrap.panel.Content",
207 "isConstructor" : false,
219 "type" : "Roo.UpdateManager",
220 "desc" : "The UpdateManager"
225 "name" : "getChildContainer",
227 "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>",
230 "memberOf" : "Roo.bootstrap.panel.Content",
232 "isConstructor" : false,
244 "desc" : "Xtype definition of item to add.",
251 "name" : "getToolbar",
253 "desc" : "Returns the toolbar for this Panel if one was configured.",
254 "sig" : "()\n{\n\n}",
256 "memberOf" : "Roo.bootstrap.panel.Content",
258 "isConstructor" : false,
270 "type" : "Roo.Toolbar",
278 "desc" : "Set this panel's title",
281 "memberOf" : "Roo.bootstrap.panel.Content",
283 "isConstructor" : false,
304 "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 "sig" : "(url, params, loadOnce)",
307 "memberOf" : "Roo.bootstrap.panel.Content",
309 "isConstructor" : false,
320 "type" : "String/Function",
321 "desc" : "The URL to load the content from or a function to call to get the URL",
326 "type" : "String/Object",
327 "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)",
333 "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)",
340 "type" : "Roo.UpdateManager|Boolean",
341 "desc" : "The UpdateManager or false if IFRAME"
348 "desc" : "Returns this panel's element - used by regiosn to add.",
349 "sig" : "()\n{\n\n}",
351 "memberOf" : "Roo.bootstrap.panel.Content",
353 "isConstructor" : false,
365 "type" : "Roo.Element",
373 "desc" : "Destroys this panel",
374 "sig" : "()\n{\n\n}",
376 "memberOf" : "Roo.bootstrap.panel.Content",
378 "isConstructor" : false,
392 "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",
393 "sig" : "(url, params, callback, discardUrl)",
395 "memberOf" : "Roo.bootstrap.panel.Content",
397 "isConstructor" : false,
408 "type" : "Object/String/Function",
409 "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.",
414 "type" : "String/Object",
415 "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
421 "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
425 "name" : "discardUrl",
427 "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.",
434 "type" : "Roo.ContentPanel",
442 "desc" : "Returns this panel's title",
443 "sig" : "()\n{\n\n}",
445 "memberOf" : "Roo.bootstrap.panel.Content",
447 "isConstructor" : false,
465 "name" : "isClosable",
467 "desc" : "Returns true is this panel was configured to be closable",
468 "sig" : "()\n{\n\n}",
470 "memberOf" : "Roo.bootstrap.panel.Content",
472 "isConstructor" : false,
492 "desc" : "Returns this panel's id",
493 "sig" : "()\n{\n\n}",
495 "memberOf" : "Roo.bootstrap.panel.Content",
497 "isConstructor" : false,
515 "name" : "setContent",
517 "desc" : "Updates this panel's element (not for iframe)",
518 "sig" : "(content, loadScripts)",
520 "memberOf" : "Roo.bootstrap.panel.Content",
522 "isConstructor" : false,
534 "desc" : "The new content",
538 "name" : "loadScripts",
540 "desc" : "(optional) true to look for and process scripts",
547 "name" : "purgeListeners",
549 "desc" : "Removes all listeners for this object",
550 "sig" : "()\n{\n\n}",
552 "memberOf" : "Roo.util.Observable",
554 "isConstructor" : false,
568 "desc" : "Appends an event handler to this element (shorthand for addListener)",
569 "sig" : "(eventName, handler, scope, options)",
571 "memberOf" : "Roo.util.Observable",
573 "isConstructor" : false,
583 "name" : "eventName",
585 "desc" : "The type of event to listen for",
591 "desc" : "The method the event invokes",
597 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
603 "desc" : "(optional)",
612 "desc" : "Removes a listener (shorthand for removeListener)",
613 "sig" : "(eventName, handler, scope)",
615 "memberOf" : "Roo.util.Observable",
617 "isConstructor" : false,
627 "name" : "eventName",
629 "desc" : "The type of event to listen for",
635 "desc" : "The handler to remove",
641 "desc" : "(optional) The scope (this object) for the handler",
648 "name" : "addEvents",
650 "desc" : "Used to define events on this Observable",
653 "memberOf" : "Roo.util.Observable",
655 "isConstructor" : false,
667 "desc" : "The object with the events defined",
674 "name" : "releaseCapture",
676 "desc" : "Removes <b>all</b> added captures from the Observable.",
679 "memberOf" : "Roo.util.Observable",
681 "isConstructor" : false,
692 "type" : "Observable",
693 "desc" : "The Observable to release",
700 "name" : "removeListener",
702 "desc" : "Removes a listener",
703 "sig" : "(eventName, handler, scope)",
705 "memberOf" : "Roo.util.Observable",
707 "isConstructor" : false,
717 "name" : "eventName",
719 "desc" : "The type of event to listen for",
725 "desc" : "The handler to remove",
731 "desc" : "(optional) The scope (this object) for the handler",
738 "name" : "fireEvent",
740 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
741 "sig" : "(eventName, args)",
743 "memberOf" : "Roo.util.Observable",
745 "isConstructor" : false,
755 "name" : "eventName",
762 "type" : "Object...",
763 "desc" : "Variable number of parameters are passed to handlers",
771 "desc" : "returns false if any of the handlers return false otherwise it returns true"
776 "name" : "hasListener",
778 "desc" : "Checks to see if this object has any listeners for a specified event",
779 "sig" : "(eventName)",
781 "memberOf" : "Roo.util.Observable",
783 "isConstructor" : false,
793 "name" : "eventName",
795 "desc" : "The name of the event to check for",
803 "desc" : "True if the event is being listened for, else false"
810 "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.",
811 "sig" : "(o, fn, scope)",
813 "memberOf" : "Roo.util.Observable",
815 "isConstructor" : false,
826 "type" : "Observable",
827 "desc" : "The Observable to capture",
833 "desc" : "The function to call",
839 "desc" : "(optional) The scope (this object) for the fn",
846 "name" : "addListener",
848 "desc" : "Appends an event handler to this component",
849 "sig" : "(eventName, handler, scope, options)",
851 "memberOf" : "Roo.util.Observable",
853 "isConstructor" : false,
863 "name" : "eventName",
865 "desc" : "The type of event to listen for",
871 "desc" : "The method the event invokes",
877 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
883 "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>",
894 "desc" : "Fires when this panel is activated.",
895 "sig" : "function (_self)\n{\n\n}",
896 "memberOf" : "Roo.bootstrap.panel.Content",
904 "type" : "Roo.ContentPanel",
914 "desc" : "Fires when this panel is resized if fitToFrame is true.",
915 "sig" : "function (_self, width, height)\n{\n\n}",
916 "memberOf" : "Roo.bootstrap.panel.Content",
924 "type" : "Roo.ContentPanel",
931 "desc" : "The width after any component adjustments",
937 "desc" : "The height after any component adjustments",
944 "name" : "deactivate",
946 "desc" : "Fires when this panel is activated.",
947 "sig" : "function (_self)\n{\n\n}",
948 "memberOf" : "Roo.bootstrap.panel.Content",
956 "type" : "Roo.ContentPanel",
966 "desc" : "Fires when this tab is created",
967 "sig" : "function (_self)\n{\n\n}",
968 "memberOf" : "Roo.bootstrap.panel.Content",
976 "type" : "Roo.ContentPanel",
986 "desc" : "Fires when this content is scrolled",
987 "sig" : "function (_self, scrollEvent)\n{\n\n}",
988 "memberOf" : "Roo.bootstrap.panel.Content",
996 "type" : "Roo.ContentPanel",
1001 "name" : "scrollEvent",
1004 "isOptional" : false