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",
37 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
38 "memberOf" : "Roo.bootstrap.panel.Content"
43 "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>",
44 "memberOf" : "Roo.util.Observable"
49 "desc" : "render the badges",
50 "memberOf" : "Roo.bootstrap.panel.Content"
53 "name" : "autoScroll",
55 "desc" : "True to scroll overflow in this panel (use with {@link #fitToFrame})",
56 "memberOf" : "Roo.bootstrap.panel.Content"
59 "name" : "fitToFrame",
61 "desc" : "True for this panel to adjust its size to fit when the region resizes (defaults to false)",
62 "memberOf" : "Roo.bootstrap.panel.Content"
65 "name" : "background",
67 "desc" : "True if the panel should not be activated when it is added (defaults to false)",
68 "memberOf" : "Roo.bootstrap.panel.Content"
73 "desc" : "A toolbar for this panel",
74 "memberOf" : "Roo.bootstrap.panel.Content"
79 "desc" : "t) which region to put this panel on (when used with xtype constructors)",
80 "memberOf" : "Roo.bootstrap.panel.Content"
85 "desc" : "Raw content to fill content panel with (uses setContent on construction.)",
86 "memberOf" : "Roo.bootstrap.panel.Content"
91 "desc" : "The title for this panel",
92 "memberOf" : "Roo.bootstrap.panel.Content"
97 "desc" : "contents are an iframe - makes showing remote sources/CSS feasible..",
98 "memberOf" : "Roo.bootstrap.panel.Content"
103 "desc" : "extra classes to use",
104 "memberOf" : "Roo.bootstrap.panel.Content"
107 "name" : "autoCreate",
108 "type" : "Boolean/Object",
109 "desc" : "True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create",
110 "memberOf" : "Roo.bootstrap.panel.Content"
113 "name" : "fitContainer",
115 "desc" : "When using {@link #fitToFrame} and {@link #resizeEl}, you can also fit the parent container (defaults to false)",
116 "memberOf" : "Roo.bootstrap.panel.Content"
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"
151 "name" : "getLayout",
153 "desc" : "Returns the nested BorderLayout for this panel",
154 "sig" : "()\n{\n\n}",
158 "isConstructor" : false,
170 "type" : "Roo.BorderLayout",
178 "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>",
183 "isConstructor" : false,
195 "desc" : "Xtype definition of item to add.",
204 "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.",
205 "sig" : "()\n{\n\n}",
207 "memberOf" : "Roo.bootstrap.panel.Content",
209 "isConstructor" : false,
221 "name" : "getUpdateManager",
223 "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
224 "sig" : "()\n{\n\n}",
226 "memberOf" : "Roo.bootstrap.panel.Content",
228 "isConstructor" : false,
240 "type" : "Roo.UpdateManager",
241 "desc" : "The UpdateManager"
246 "name" : "getChildContainer",
248 "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>",
251 "memberOf" : "Roo.bootstrap.panel.Content",
253 "isConstructor" : false,
265 "desc" : "Xtype definition of item to add.",
272 "name" : "getToolbar",
274 "desc" : "Returns the toolbar for this Panel if one was configured.",
275 "sig" : "()\n{\n\n}",
277 "memberOf" : "Roo.bootstrap.panel.Content",
279 "isConstructor" : false,
291 "type" : "Roo.Toolbar",
299 "desc" : "Set this panel's title",
302 "memberOf" : "Roo.bootstrap.panel.Content",
304 "isConstructor" : false,
325 "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.",
326 "sig" : "(url, params, loadOnce)",
328 "memberOf" : "Roo.bootstrap.panel.Content",
330 "isConstructor" : false,
341 "type" : "String/Function",
342 "desc" : "The URL to load the content from or a function to call to get the URL",
347 "type" : "String/Object",
348 "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)",
354 "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)",
361 "type" : "Roo.UpdateManager|Boolean",
362 "desc" : "The UpdateManager or false if IFRAME"
369 "desc" : "Returns this panel's element - used by regiosn to add.",
370 "sig" : "()\n{\n\n}",
372 "memberOf" : "Roo.bootstrap.panel.Content",
374 "isConstructor" : false,
386 "type" : "Roo.Element",
394 "desc" : "Destroys this panel",
395 "sig" : "()\n{\n\n}",
397 "memberOf" : "Roo.bootstrap.panel.Content",
399 "isConstructor" : false,
413 "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",
414 "sig" : "(url, params, callback, discardUrl)",
416 "memberOf" : "Roo.bootstrap.panel.Content",
418 "isConstructor" : false,
429 "type" : "Object/String/Function",
430 "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.",
435 "type" : "String/Object",
436 "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
442 "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
446 "name" : "discardUrl",
448 "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.",
455 "type" : "Roo.ContentPanel",
463 "desc" : "Returns this panel's title",
464 "sig" : "()\n{\n\n}",
466 "memberOf" : "Roo.bootstrap.panel.Content",
468 "isConstructor" : false,
486 "name" : "isClosable",
488 "desc" : "Returns true is this panel was configured to be closable",
489 "sig" : "()\n{\n\n}",
491 "memberOf" : "Roo.bootstrap.panel.Content",
493 "isConstructor" : false,
513 "desc" : "Returns this panel's id",
514 "sig" : "()\n{\n\n}",
516 "memberOf" : "Roo.bootstrap.panel.Content",
518 "isConstructor" : false,
536 "name" : "setContent",
538 "desc" : "Updates this panel's element (not for iframe)",
539 "sig" : "(content, loadScripts)",
541 "memberOf" : "Roo.bootstrap.panel.Content",
543 "isConstructor" : false,
555 "desc" : "The new content",
559 "name" : "loadScripts",
561 "desc" : "(optional) true to look for and process scripts",
568 "name" : "purgeListeners",
570 "desc" : "Removes all listeners for this object",
571 "sig" : "()\n{\n\n}",
573 "memberOf" : "Roo.util.Observable",
575 "isConstructor" : false,
589 "desc" : "Appends an event handler to this element (shorthand for addListener)",
590 "sig" : "(eventName, handler, scope, options)",
592 "memberOf" : "Roo.util.Observable",
594 "isConstructor" : false,
604 "name" : "eventName",
606 "desc" : "The type of event to listen for",
612 "desc" : "The method the event invokes",
618 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
624 "desc" : "(optional)",
633 "desc" : "Removes a listener (shorthand for removeListener)",
634 "sig" : "(eventName, handler, scope)",
636 "memberOf" : "Roo.util.Observable",
638 "isConstructor" : false,
648 "name" : "eventName",
650 "desc" : "The type of event to listen for",
656 "desc" : "The handler to remove",
662 "desc" : "(optional) The scope (this object) for the handler",
669 "name" : "addEvents",
671 "desc" : "Used to define events on this Observable",
674 "memberOf" : "Roo.util.Observable",
676 "isConstructor" : false,
688 "desc" : "The object with the events defined",
695 "name" : "releaseCapture",
697 "desc" : "Removes <b>all</b> added captures from the Observable.",
700 "memberOf" : "Roo.util.Observable",
702 "isConstructor" : false,
713 "type" : "Observable",
714 "desc" : "The Observable to release",
721 "name" : "removeListener",
723 "desc" : "Removes a listener",
724 "sig" : "(eventName, handler, scope)",
726 "memberOf" : "Roo.util.Observable",
728 "isConstructor" : false,
738 "name" : "eventName",
740 "desc" : "The type of event to listen for",
746 "desc" : "The handler to remove",
752 "desc" : "(optional) The scope (this object) for the handler",
759 "name" : "fireEvent",
761 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
762 "sig" : "(eventName, args)",
764 "memberOf" : "Roo.util.Observable",
766 "isConstructor" : false,
776 "name" : "eventName",
783 "type" : "Object...",
784 "desc" : "Variable number of parameters are passed to handlers",
792 "desc" : "returns false if any of the handlers return false otherwise it returns true"
797 "name" : "hasListener",
799 "desc" : "Checks to see if this object has any listeners for a specified event",
800 "sig" : "(eventName)",
802 "memberOf" : "Roo.util.Observable",
804 "isConstructor" : false,
814 "name" : "eventName",
816 "desc" : "The name of the event to check for",
824 "desc" : "True if the event is being listened for, else false"
831 "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.",
832 "sig" : "(o, fn, scope)",
834 "memberOf" : "Roo.util.Observable",
836 "isConstructor" : false,
847 "type" : "Observable",
848 "desc" : "The Observable to capture",
854 "desc" : "The function to call",
860 "desc" : "(optional) The scope (this object) for the fn",
867 "name" : "addListener",
869 "desc" : "Appends an event handler to this component",
870 "sig" : "(eventName, handler, scope, options)",
872 "memberOf" : "Roo.util.Observable",
874 "isConstructor" : false,
884 "name" : "eventName",
886 "desc" : "The type of event to listen for",
892 "desc" : "The method the event invokes",
898 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
904 "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>",
915 "desc" : "Fires when this panel is activated.",
916 "sig" : "function (_self)\n{\n\n}",
917 "memberOf" : "Roo.bootstrap.panel.Content",
925 "type" : "Roo.ContentPanel",
935 "desc" : "Fires when this panel is resized if fitToFrame is true.",
936 "sig" : "function (_self, width, height)\n{\n\n}",
937 "memberOf" : "Roo.bootstrap.panel.Content",
945 "type" : "Roo.ContentPanel",
952 "desc" : "The width after any component adjustments",
958 "desc" : "The height after any component adjustments",
965 "name" : "deactivate",
967 "desc" : "Fires when this panel is activated.",
968 "sig" : "function (_self)\n{\n\n}",
969 "memberOf" : "Roo.bootstrap.panel.Content",
977 "type" : "Roo.ContentPanel",
987 "desc" : "Fires when this tab is created",
988 "sig" : "function (_self)\n{\n\n}",
989 "memberOf" : "Roo.bootstrap.panel.Content",
997 "type" : "Roo.ContentPanel",
1006 "type" : "function",
1007 "desc" : "Fires when this content is scrolled",
1008 "sig" : "function (_self, scrollEvent)\n{\n\n}",
1009 "memberOf" : "Roo.bootstrap.panel.Content",
1017 "type" : "Roo.ContentPanel",
1019 "isOptional" : false
1022 "name" : "scrollEvent",
1025 "isOptional" : false