2 "name" : "Roo.bootstrap.panel.Nest",
4 "Roo.bootstrap.panel.Content",
7 "desc" : "Create a new Panel, that can contain a layout.Border.",
19 "type" : "Roo.BorderLayout",
20 "desc" : "The layout for this panel",
25 "type" : "String/Object",
26 "desc" : "A string to set only the title or a config object",
35 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
36 "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",
49 "desc" : "render the badges",
50 "memberOf" : "Roo.bootstrap.panel.Content",
54 "name" : "autoScroll",
56 "desc" : "True to scroll overflow in this panel (use with {@link #fitToFrame})",
57 "memberOf" : "Roo.bootstrap.panel.Content",
61 "name" : "fitToFrame",
63 "desc" : "True for this panel to adjust its size to fit when the region resizes (defaults to false)",
64 "memberOf" : "Roo.bootstrap.panel.Content",
68 "name" : "background",
70 "desc" : "True if the panel should not be activated when it is added (defaults to false)",
71 "memberOf" : "Roo.bootstrap.panel.Content",
77 "desc" : "A toolbar for this panel",
78 "memberOf" : "Roo.bootstrap.panel.Content",
84 "desc" : "t) which region to put this panel on (when used with xtype constructors)",
85 "memberOf" : "Roo.bootstrap.panel.Content",
97 "desc" : "Raw content to fill content panel with (uses setContent on construction.)",
98 "memberOf" : "Roo.bootstrap.panel.Content",
104 "desc" : "The title for this panel",
105 "memberOf" : "Roo.bootstrap.panel.Content",
111 "desc" : "contents are an iframe - makes showing remote sources/CSS feasible..",
112 "memberOf" : "Roo.bootstrap.panel.Content",
118 "desc" : "extra classes to use",
119 "memberOf" : "Roo.bootstrap.panel.Content",
123 "name" : "autoCreate",
124 "type" : "Boolean/Object",
125 "desc" : "True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create",
126 "memberOf" : "Roo.bootstrap.panel.Content",
130 "name" : "fitContainer",
132 "desc" : "When using {@link #fitToFrame} and {@link #resizeEl}, you can also fit the parent container (defaults to false)",
133 "memberOf" : "Roo.bootstrap.panel.Content",
139 "desc" : "True if the panel can be closed/removed",
140 "memberOf" : "Roo.bootstrap.panel.Content",
145 "type" : "String/Object",
146 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
147 "memberOf" : "Roo.bootstrap.panel.Content",
151 "name" : "adjustments",
153 "desc" : "Values to <b>add</b> to the width/height when doing a {@link #fitToFrame} (default is [0, 0])",
154 "memberOf" : "Roo.bootstrap.panel.Content",
160 "desc" : "Calls {@link #setUrl} with this value",
161 "memberOf" : "Roo.bootstrap.panel.Content",
166 "type" : "String/HTMLElement/Element",
167 "desc" : "An element to resize if {@link #fitToFrame} is true (instead of this panel's element)",
168 "memberOf" : "Roo.bootstrap.panel.Content",
174 "name" : "getLayout",
175 "desc" : "Returns the nested BorderLayout for this panel",
177 "isConstructor" : false,
179 "memberOf" : "Roo.bootstrap.panel.Nest",
188 "type" : "Roo.BorderLayout",
195 "desc" : "Adds a xtype elements to the layout of the nested panel\n<pre><code>\n\npanel.addxtype({\n xtype : 'ContentPanel',\n region: 'west',\n items: [ .... ]\n }\n);\n\npanel.addxtype({\n xtype : 'NestedLayoutPanel',\n region: 'west',\n layout: {\n center: { },\n west: { } \n },\n items : [ ... list of content panels or nested layout panels.. ]\n }\n);\n</code></pre>",
197 "isConstructor" : false,
199 "memberOf" : "Roo.bootstrap.panel.Nest",
208 "desc" : "Xtype definition of item to add.",
216 "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.",
218 "isConstructor" : false,
220 "memberOf" : "Roo.bootstrap.panel.Content",
229 "name" : "getUpdateManager",
230 "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
232 "isConstructor" : false,
234 "memberOf" : "Roo.bootstrap.panel.Content",
243 "type" : "Roo.UpdateManager",
244 "desc" : "The UpdateManager"
249 "name" : "getChildContainer",
250 "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>",
252 "isConstructor" : false,
254 "memberOf" : "Roo.bootstrap.panel.Content",
263 "desc" : "Xtype definition of item to add.",
270 "name" : "getToolbar",
271 "desc" : "Returns the toolbar for this Panel if one was configured.",
273 "isConstructor" : false,
275 "memberOf" : "Roo.bootstrap.panel.Content",
284 "type" : "Roo.Toolbar",
291 "desc" : "Set this panel's title",
293 "isConstructor" : false,
295 "memberOf" : "Roo.bootstrap.panel.Content",
312 "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.",
314 "isConstructor" : false,
316 "memberOf" : "Roo.bootstrap.panel.Content",
324 "type" : "String/Function",
325 "desc" : "The URL to load the content from or a function to call to get the URL",
330 "type" : "String/Object",
331 "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)",
337 "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)",
344 "type" : "Roo.UpdateManager|Boolean",
345 "desc" : "The UpdateManager or false if IFRAME"
351 "desc" : "Returns this panel's element - used by regiosn to add.",
353 "isConstructor" : false,
355 "memberOf" : "Roo.bootstrap.panel.Content",
364 "type" : "Roo.Element",
371 "desc" : "Destroys this panel",
373 "isConstructor" : false,
375 "memberOf" : "Roo.bootstrap.panel.Content",
385 "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",
387 "isConstructor" : false,
389 "memberOf" : "Roo.bootstrap.panel.Content",
397 "type" : "Object/String/Function",
398 "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.",
403 "type" : "String/Object",
404 "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
410 "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
414 "name" : "discardUrl",
416 "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.",
423 "type" : "Roo.ContentPanel",
430 "desc" : "Returns this panel's title",
432 "isConstructor" : false,
434 "memberOf" : "Roo.bootstrap.panel.Content",
449 "name" : "isClosable",
450 "desc" : "Returns true is this panel was configured to be closable",
452 "isConstructor" : false,
454 "memberOf" : "Roo.bootstrap.panel.Content",
470 "desc" : "Returns this panel's id",
472 "isConstructor" : false,
474 "memberOf" : "Roo.bootstrap.panel.Content",
489 "name" : "setContent",
490 "desc" : "Updates this panel's element (not for iframe)",
492 "isConstructor" : false,
494 "memberOf" : "Roo.bootstrap.panel.Content",
503 "desc" : "The new content",
507 "name" : "loadScripts",
509 "desc" : "(optional) true to look for and process scripts",
516 "name" : "purgeListeners",
517 "desc" : "Removes all listeners for this object",
519 "isConstructor" : false,
521 "memberOf" : "Roo.util.Observable",
531 "desc" : "Appends an event handler to this element (shorthand for addListener)",
533 "isConstructor" : false,
535 "memberOf" : "Roo.util.Observable",
542 "name" : "eventName",
544 "desc" : "The type of event to listen for",
550 "desc" : "The method the event invokes",
556 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
562 "desc" : "(optional)",
570 "desc" : "Removes a listener (shorthand for removeListener)",
572 "isConstructor" : false,
574 "memberOf" : "Roo.util.Observable",
581 "name" : "eventName",
583 "desc" : "The type of event to listen for",
589 "desc" : "The handler to remove",
595 "desc" : "(optional) The scope (this object) for the handler",
602 "name" : "addEvents",
603 "desc" : "Used to define events on this Observable",
605 "isConstructor" : false,
607 "memberOf" : "Roo.util.Observable",
616 "desc" : "The object with the events defined",
623 "name" : "releaseCapture",
624 "desc" : "Removes <b>all</b> added captures from the Observable.",
626 "isConstructor" : false,
628 "memberOf" : "Roo.util.Observable",
636 "type" : "Observable",
637 "desc" : "The Observable to release",
644 "name" : "removeListener",
645 "desc" : "Removes a listener",
647 "isConstructor" : false,
649 "memberOf" : "Roo.util.Observable",
656 "name" : "eventName",
658 "desc" : "The type of event to listen for",
664 "desc" : "The handler to remove",
670 "desc" : "(optional) The scope (this object) for the handler",
677 "name" : "fireEvent",
678 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
680 "isConstructor" : false,
682 "memberOf" : "Roo.util.Observable",
689 "name" : "eventName",
696 "type" : "Object...",
697 "desc" : "Variable number of parameters are passed to handlers",
705 "desc" : "returns false if any of the handlers return false otherwise it returns true"
710 "name" : "hasListener",
711 "desc" : "Checks to see if this object has any listeners for a specified event",
713 "isConstructor" : false,
715 "memberOf" : "Roo.util.Observable",
722 "name" : "eventName",
724 "desc" : "The name of the event to check for",
732 "desc" : "True if the event is being listened for, else false"
738 "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.",
740 "isConstructor" : false,
742 "memberOf" : "Roo.util.Observable",
750 "type" : "Observable",
751 "desc" : "The Observable to capture",
757 "desc" : "The function to call",
763 "desc" : "(optional) The scope (this object) for the fn",
770 "name" : "addListener",
771 "desc" : "Appends an event handler to this component",
773 "isConstructor" : false,
775 "memberOf" : "Roo.util.Observable",
782 "name" : "eventName",
784 "desc" : "The type of event to listen for",
790 "desc" : "The method the event invokes",
796 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
802 "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>",
812 "desc" : "Fires when this panel is activated.",
813 "memberOf" : "Roo.bootstrap.panel.Content",
821 "type" : "Roo.ContentPanel",
830 "desc" : "Fires when this panel is resized if fitToFrame is true.",
831 "memberOf" : "Roo.bootstrap.panel.Content",
839 "type" : "Roo.ContentPanel",
846 "desc" : "The width after any component adjustments",
852 "desc" : "The height after any component adjustments",
859 "name" : "deactivate",
860 "desc" : "Fires when this panel is activated.",
861 "memberOf" : "Roo.bootstrap.panel.Content",
869 "type" : "Roo.ContentPanel",
878 "desc" : "Fires when this tab is created",
879 "memberOf" : "Roo.bootstrap.panel.Content",
887 "type" : "Roo.ContentPanel",
896 "desc" : "Fires when this content is scrolled",
897 "memberOf" : "Roo.bootstrap.panel.Content",
905 "type" : "Roo.ContentPanel",
910 "name" : "scrollEvent",