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" : "t) 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",
103 "name" : "autoCreate",
104 "type" : "Boolean/Object",
105 "desc" : "True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create",
106 "memberOf" : "Roo.bootstrap.panel.Content",
110 "name" : "fitContainer",
112 "desc" : "When using {@link #fitToFrame} and {@link #resizeEl}, you can also fit the parent container (defaults to false)",
113 "memberOf" : "Roo.bootstrap.panel.Content",
118 "type" : "Roo.bootstrap.Table",
119 "desc" : "The grid for this panel",
120 "memberOf" : "Roo.bootstrap.panel.Grid",
126 "desc" : "True if the panel can be closed/removed",
127 "memberOf" : "Roo.bootstrap.panel.Content",
132 "type" : "String/Object",
133 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
134 "memberOf" : "Roo.bootstrap.panel.Content",
138 "name" : "adjustments",
140 "desc" : "Values to <b>add</b> to the width/height when doing a {@link #fitToFrame} (default is [0, 0])",
141 "memberOf" : "Roo.bootstrap.panel.Content",
147 "desc" : "Calls {@link #setUrl} with this value",
148 "memberOf" : "Roo.bootstrap.panel.Content",
153 "type" : "String/HTMLElement/Element",
154 "desc" : "An element to resize if {@link #fitToFrame} is true (instead of this panel's element)",
155 "memberOf" : "Roo.bootstrap.panel.Content",
162 "desc" : "Returns the grid for this panel",
164 "isConstructor" : false,
166 "memberOf" : "Roo.bootstrap.panel.Grid",
175 "type" : "Roo.bootstrap.Table",
182 "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 "isConstructor" : false,
186 "memberOf" : "Roo.bootstrap.panel.Content",
195 "name" : "getUpdateManager",
196 "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
198 "isConstructor" : false,
200 "memberOf" : "Roo.bootstrap.panel.Content",
209 "type" : "Roo.UpdateManager",
210 "desc" : "The UpdateManager"
215 "name" : "getChildContainer",
216 "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>",
218 "isConstructor" : false,
220 "memberOf" : "Roo.bootstrap.panel.Content",
229 "desc" : "Xtype definition of item to add.",
236 "name" : "getToolbar",
237 "desc" : "Returns the toolbar for this Panel if one was configured.",
239 "isConstructor" : false,
241 "memberOf" : "Roo.bootstrap.panel.Content",
250 "type" : "Roo.Toolbar",
257 "desc" : "Set this panel's title",
259 "isConstructor" : false,
261 "memberOf" : "Roo.bootstrap.panel.Content",
278 "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.",
280 "isConstructor" : false,
282 "memberOf" : "Roo.bootstrap.panel.Content",
290 "type" : "String/Function",
291 "desc" : "The URL to load the content from or a function to call to get the URL",
296 "type" : "String/Object",
297 "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)",
303 "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)",
310 "type" : "Roo.UpdateManager",
311 "desc" : "The UpdateManager"
317 "desc" : "Returns this panel's element - used by regiosn to add.",
319 "isConstructor" : false,
321 "memberOf" : "Roo.bootstrap.panel.Content",
330 "type" : "Roo.Element",
337 "desc" : "Destroys this panel",
339 "isConstructor" : false,
341 "memberOf" : "Roo.bootstrap.panel.Content",
351 "desc" : "Loads this content panel immediately with content from XHR. Note: to delay loading until the panel is activated, use {@link #setUrl}.",
353 "isConstructor" : false,
355 "memberOf" : "Roo.bootstrap.panel.Content",
363 "type" : "Object/String/Function",
364 "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.",
369 "type" : "String/Object",
370 "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
376 "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
380 "name" : "discardUrl",
382 "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.",
389 "type" : "Roo.ContentPanel",
396 "desc" : "Returns this panel's title",
398 "isConstructor" : false,
400 "memberOf" : "Roo.bootstrap.panel.Content",
415 "name" : "isClosable",
416 "desc" : "Returns true is this panel was configured to be closable",
418 "isConstructor" : false,
420 "memberOf" : "Roo.bootstrap.panel.Content",
436 "desc" : "Returns this panel's id",
438 "isConstructor" : false,
440 "memberOf" : "Roo.bootstrap.panel.Content",
455 "name" : "setContent",
456 "desc" : "Updates this panel's element",
458 "isConstructor" : false,
460 "memberOf" : "Roo.bootstrap.panel.Content",
469 "desc" : "The new content",
473 "name" : "loadScripts",
475 "desc" : "(optional) true to look for and process scripts",
482 "name" : "purgeListeners",
483 "desc" : "Removes all listeners for this object",
485 "isConstructor" : false,
487 "memberOf" : "Roo.util.Observable",
497 "desc" : "Appends an event handler to this element (shorthand for addListener)",
499 "isConstructor" : false,
501 "memberOf" : "Roo.util.Observable",
508 "name" : "eventName",
510 "desc" : "The type of event to listen for",
516 "desc" : "The method the event invokes",
522 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
528 "desc" : "(optional)",
536 "desc" : "Removes a listener (shorthand for removeListener)",
538 "isConstructor" : false,
540 "memberOf" : "Roo.util.Observable",
547 "name" : "eventName",
549 "desc" : "The type of event to listen for",
555 "desc" : "The handler to remove",
561 "desc" : "(optional) The scope (this object) for the handler",
568 "name" : "addEvents",
569 "desc" : "Used to define events on this Observable",
571 "isConstructor" : false,
573 "memberOf" : "Roo.util.Observable",
582 "desc" : "The object with the events defined",
589 "name" : "releaseCapture",
590 "desc" : "Removes <b>all</b> added captures from the Observable.",
592 "isConstructor" : false,
594 "memberOf" : "Roo.util.Observable",
602 "type" : "Observable",
603 "desc" : "The Observable to release",
610 "name" : "removeListener",
611 "desc" : "Removes a listener",
613 "isConstructor" : false,
615 "memberOf" : "Roo.util.Observable",
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" : "fireEvent",
644 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
646 "isConstructor" : false,
648 "memberOf" : "Roo.util.Observable",
655 "name" : "eventName",
662 "type" : "Object...",
663 "desc" : "Variable number of parameters are passed to handlers",
671 "desc" : "returns false if any of the handlers return false otherwise it returns true"
676 "name" : "hasListener",
677 "desc" : "Checks to see if this object has any listeners for a specified event",
679 "isConstructor" : false,
681 "memberOf" : "Roo.util.Observable",
688 "name" : "eventName",
690 "desc" : "The name of the event to check for",
698 "desc" : "True if the event is being listened for, else false"
704 "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.",
706 "isConstructor" : false,
708 "memberOf" : "Roo.util.Observable",
716 "type" : "Observable",
717 "desc" : "The Observable to capture",
723 "desc" : "The function to call",
729 "desc" : "(optional) The scope (this object) for the fn",
736 "name" : "addListener",
737 "desc" : "Appends an event handler to this component",
739 "isConstructor" : false,
741 "memberOf" : "Roo.util.Observable",
748 "name" : "eventName",
750 "desc" : "The type of event to listen for",
756 "desc" : "The method the event invokes",
762 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
768 "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>",
778 "desc" : "Fires when this panel is activated.",
779 "memberOf" : "Roo.bootstrap.panel.Content",
787 "type" : "Roo.ContentPanel",
796 "desc" : "Fires when this panel is resized if fitToFrame is true.",
797 "memberOf" : "Roo.bootstrap.panel.Content",
805 "type" : "Roo.ContentPanel",
812 "desc" : "The width after any component adjustments",
818 "desc" : "The height after any component adjustments",
825 "name" : "deactivate",
826 "desc" : "Fires when this panel is activated.",
827 "memberOf" : "Roo.bootstrap.panel.Content",
835 "type" : "Roo.ContentPanel",
844 "desc" : "Fires when this tab is created",
845 "memberOf" : "Roo.bootstrap.panel.Content",
853 "type" : "Roo.ContentPanel",