2 "name" : "Roo.bootstrap.panel.Grid",
4 "Roo.bootstrap.panel.Content",
8 "desc" : "Create a new GridPanel.",
21 "desc" : "A the config object",
32 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
33 "memberOf" : "Roo.bootstrap.panel.Content"
38 "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>",
39 "memberOf" : "Roo.util.Observable"
44 "desc" : "render the badges",
45 "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 "type" : "Roo.bootstrap.nav.Simplebar",
56 "desc" : "the toolbar at the top of the grid.",
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"
66 "name" : "background",
68 "desc" : "True if the panel should not be activated when it is added (defaults to false)",
69 "memberOf" : "Roo.bootstrap.panel.Content"
74 "desc" : "[required] (center|north|south|east|west) which region to put this panel on (when used with xtype constructors)",
75 "memberOf" : "Roo.bootstrap.panel.Content"
80 "desc" : "Raw content to fill content panel with (uses setContent on construction.)",
81 "memberOf" : "Roo.bootstrap.panel.Content"
86 "desc" : "The title for this panel",
87 "memberOf" : "Roo.bootstrap.panel.Content"
92 "desc" : "contents are an iframe - makes showing remote sources/CSS feasible..",
93 "memberOf" : "Roo.bootstrap.panel.Content"
98 "desc" : "extra classes to use",
99 "memberOf" : "Roo.bootstrap.panel.Content"
102 "name" : "autoCreate",
103 "type" : "Boolean/Object",
104 "desc" : "True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create",
105 "memberOf" : "Roo.bootstrap.panel.Content"
108 "name" : "fitContainer",
110 "desc" : "When using {@link #fitToFrame} and {@link #resizeEl}, you can also fit the parent container (defaults to false)",
111 "memberOf" : "Roo.bootstrap.panel.Content"
115 "type" : "Roo.bootstrap.Table",
116 "desc" : "The grid for this panel",
122 "desc" : "True if the panel can be closed/removed",
123 "memberOf" : "Roo.bootstrap.panel.Content"
127 "type" : "String/Object",
128 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
129 "memberOf" : "Roo.bootstrap.panel.Content"
132 "name" : "adjustments",
134 "desc" : "Values to <b>add</b> to the width/height when doing a {@link #fitToFrame} (default is [0, 0])",
135 "memberOf" : "Roo.bootstrap.panel.Content"
140 "desc" : "Calls {@link #setUrl} with this value",
141 "memberOf" : "Roo.bootstrap.panel.Content"
145 "type" : "String/HTMLElement/Element",
146 "desc" : "An element to resize if {@link #fitToFrame} is true (instead of this panel's element)",
147 "memberOf" : "Roo.bootstrap.panel.Content"
154 "desc" : "Returns the grid for this panel",
155 "sig" : "()\n{\n\n}",
159 "isConstructor" : false,
171 "type" : "Roo.bootstrap.Table",
179 "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.",
180 "sig" : "()\n{\n\n}",
182 "memberOf" : "Roo.bootstrap.panel.Content",
184 "isConstructor" : false,
196 "name" : "getUpdateManager",
198 "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
199 "sig" : "()\n{\n\n}",
201 "memberOf" : "Roo.bootstrap.panel.Content",
203 "isConstructor" : false,
215 "type" : "Roo.UpdateManager",
216 "desc" : "The UpdateManager"
221 "name" : "getChildContainer",
223 "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>",
226 "memberOf" : "Roo.bootstrap.panel.Content",
228 "isConstructor" : false,
240 "desc" : "Xtype definition of item to add.",
247 "name" : "getToolbar",
249 "desc" : "Returns the toolbar for this Panel if one was configured.",
250 "sig" : "()\n{\n\n}",
252 "memberOf" : "Roo.bootstrap.panel.Content",
254 "isConstructor" : false,
266 "type" : "Roo.Toolbar",
274 "desc" : "Set this panel's title",
277 "memberOf" : "Roo.bootstrap.panel.Content",
279 "isConstructor" : false,
300 "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.",
301 "sig" : "(url, params, loadOnce)",
303 "memberOf" : "Roo.bootstrap.panel.Content",
305 "isConstructor" : false,
316 "type" : "String/Function",
317 "desc" : "The URL to load the content from or a function to call to get the URL",
322 "type" : "String/Object",
323 "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)",
329 "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)",
336 "type" : "Roo.UpdateManager|Boolean",
337 "desc" : "The UpdateManager or false if IFRAME"
344 "desc" : "Returns this panel's element - used by regiosn to add.",
345 "sig" : "()\n{\n\n}",
347 "memberOf" : "Roo.bootstrap.panel.Content",
349 "isConstructor" : false,
361 "type" : "Roo.Element",
369 "desc" : "Destroys this panel",
370 "sig" : "()\n{\n\n}",
372 "memberOf" : "Roo.bootstrap.panel.Content",
374 "isConstructor" : false,
388 "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",
389 "sig" : "(url, params, callback, discardUrl)",
391 "memberOf" : "Roo.bootstrap.panel.Content",
393 "isConstructor" : false,
404 "type" : "Object/String/Function",
405 "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.",
410 "type" : "String/Object",
411 "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
417 "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
421 "name" : "discardUrl",
423 "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.",
430 "type" : "Roo.ContentPanel",
438 "desc" : "Returns this panel's title",
439 "sig" : "()\n{\n\n}",
441 "memberOf" : "Roo.bootstrap.panel.Content",
443 "isConstructor" : false,
461 "name" : "isClosable",
463 "desc" : "Returns true is this panel was configured to be closable",
464 "sig" : "()\n{\n\n}",
466 "memberOf" : "Roo.bootstrap.panel.Content",
468 "isConstructor" : false,
488 "desc" : "Returns this panel's id",
489 "sig" : "()\n{\n\n}",
491 "memberOf" : "Roo.bootstrap.panel.Content",
493 "isConstructor" : false,
511 "name" : "setContent",
513 "desc" : "Updates this panel's element (not for iframe)",
514 "sig" : "(content, loadScripts)",
516 "memberOf" : "Roo.bootstrap.panel.Content",
518 "isConstructor" : false,
530 "desc" : "The new content",
534 "name" : "loadScripts",
536 "desc" : "(optional) true to look for and process scripts",
543 "name" : "purgeListeners",
545 "desc" : "Removes all listeners for this object",
546 "sig" : "()\n{\n\n}",
548 "memberOf" : "Roo.util.Observable",
550 "isConstructor" : false,
564 "desc" : "Appends an event handler to this element (shorthand for addListener)",
565 "sig" : "(eventName, handler, scope, options)",
567 "memberOf" : "Roo.util.Observable",
569 "isConstructor" : false,
579 "name" : "eventName",
581 "desc" : "The type of event to listen for",
587 "desc" : "The method the event invokes",
593 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
599 "desc" : "(optional)",
608 "desc" : "Removes a listener (shorthand for removeListener)",
609 "sig" : "(eventName, handler, scope)",
611 "memberOf" : "Roo.util.Observable",
613 "isConstructor" : false,
623 "name" : "eventName",
625 "desc" : "The type of event to listen for",
631 "desc" : "The handler to remove",
637 "desc" : "(optional) The scope (this object) for the handler",
644 "name" : "addEvents",
646 "desc" : "Used to define events on this Observable",
649 "memberOf" : "Roo.util.Observable",
651 "isConstructor" : false,
663 "desc" : "The object with the events defined",
670 "name" : "releaseCapture",
672 "desc" : "Removes <b>all</b> added captures from the Observable.",
675 "memberOf" : "Roo.util.Observable",
677 "isConstructor" : false,
688 "type" : "Observable",
689 "desc" : "The Observable to release",
696 "name" : "removeListener",
698 "desc" : "Removes a listener",
699 "sig" : "(eventName, handler, scope)",
701 "memberOf" : "Roo.util.Observable",
703 "isConstructor" : false,
713 "name" : "eventName",
715 "desc" : "The type of event to listen for",
721 "desc" : "The handler to remove",
727 "desc" : "(optional) The scope (this object) for the handler",
734 "name" : "fireEvent",
736 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
737 "sig" : "(eventName, args)",
739 "memberOf" : "Roo.util.Observable",
741 "isConstructor" : false,
751 "name" : "eventName",
758 "type" : "Object...",
759 "desc" : "Variable number of parameters are passed to handlers",
767 "desc" : "returns false if any of the handlers return false otherwise it returns true"
772 "name" : "hasListener",
774 "desc" : "Checks to see if this object has any listeners for a specified event",
775 "sig" : "(eventName)",
777 "memberOf" : "Roo.util.Observable",
779 "isConstructor" : false,
789 "name" : "eventName",
791 "desc" : "The name of the event to check for",
799 "desc" : "True if the event is being listened for, else false"
806 "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.",
807 "sig" : "(o, fn, scope)",
809 "memberOf" : "Roo.util.Observable",
811 "isConstructor" : false,
822 "type" : "Observable",
823 "desc" : "The Observable to capture",
829 "desc" : "The function to call",
835 "desc" : "(optional) The scope (this object) for the fn",
842 "name" : "addListener",
844 "desc" : "Appends an event handler to this component",
845 "sig" : "(eventName, handler, scope, options)",
847 "memberOf" : "Roo.util.Observable",
849 "isConstructor" : false,
859 "name" : "eventName",
861 "desc" : "The type of event to listen for",
867 "desc" : "The method the event invokes",
873 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
879 "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>",
890 "desc" : "Fires when this panel is activated.",
891 "sig" : "function (_self)\n{\n\n}",
892 "memberOf" : "Roo.bootstrap.panel.Content",
900 "type" : "Roo.ContentPanel",
910 "desc" : "Fires when this panel is resized if fitToFrame is true.",
911 "sig" : "function (_self, width, height)\n{\n\n}",
912 "memberOf" : "Roo.bootstrap.panel.Content",
920 "type" : "Roo.ContentPanel",
927 "desc" : "The width after any component adjustments",
933 "desc" : "The height after any component adjustments",
940 "name" : "deactivate",
942 "desc" : "Fires when this panel is activated.",
943 "sig" : "function (_self)\n{\n\n}",
944 "memberOf" : "Roo.bootstrap.panel.Content",
952 "type" : "Roo.ContentPanel",
962 "desc" : "Fires when this tab is created",
963 "sig" : "function (_self)\n{\n\n}",
964 "memberOf" : "Roo.bootstrap.panel.Content",
972 "type" : "Roo.ContentPanel",
982 "desc" : "Fires when this content is scrolled",
983 "sig" : "function (_self, scrollEvent)\n{\n\n}",
984 "memberOf" : "Roo.bootstrap.panel.Content",
992 "type" : "Roo.ContentPanel",
997 "name" : "scrollEvent",
1000 "isOptional" : false