2 "name" : "Roo.bootstrap.panel.Nest",
4 "Roo.bootstrap.panel.Content",
10 "desc" : "Create a new Panel, that can contain a layout.Border.",
11 "isSingleton" : false,
15 "isBuilderTop" : false,
24 "type" : "String/Object",
25 "desc" : "A string to set only the title or a config object",
36 "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>",
37 "memberOf" : "Roo.util.Observable"
42 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
43 "memberOf" : "Roo.bootstrap.panel.Content"
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"
58 "name" : "fitToFrame",
60 "desc" : "True for this panel to adjust its size to fit when the region resizes (defaults to false)",
61 "memberOf" : "Roo.bootstrap.panel.Content"
64 "name" : "background",
66 "desc" : "True if the panel should not be activated when it is added (defaults to false)",
67 "memberOf" : "Roo.bootstrap.panel.Content"
72 "desc" : "A toolbar for this panel",
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"
120 "desc" : "True if the panel can be closed/removed",
121 "memberOf" : "Roo.bootstrap.panel.Content"
125 "type" : "String/Object",
126 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
127 "memberOf" : "Roo.bootstrap.panel.Content"
131 "type" : "Roo.BorderLayout",
132 "desc" : "The layout for this panel",
133 "memberOf" : "Roo.bootstrap.panel.Nest"
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"
156 "name" : "getLayout",
158 "desc" : "Returns the nested BorderLayout for this panel",
159 "sig" : "()\n{\n\n}",
163 "isConstructor" : false,
175 "type" : "Roo.BorderLayout",
183 "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>",
188 "isConstructor" : false,
200 "desc" : "Xtype definition of item to add.",
209 "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.",
210 "sig" : "()\n{\n\n}",
212 "memberOf" : "Roo.bootstrap.panel.Content",
214 "isConstructor" : false,
226 "name" : "getUpdateManager",
228 "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
229 "sig" : "()\n{\n\n}",
231 "memberOf" : "Roo.bootstrap.panel.Content",
233 "isConstructor" : false,
245 "type" : "Roo.UpdateManager",
246 "desc" : "The UpdateManager"
251 "name" : "getChildContainer",
253 "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>",
256 "memberOf" : "Roo.bootstrap.panel.Content",
258 "isConstructor" : false,
270 "desc" : "Xtype definition of item to add.",
277 "name" : "getToolbar",
279 "desc" : "Returns the toolbar for this Panel if one was configured.",
280 "sig" : "()\n{\n\n}",
282 "memberOf" : "Roo.bootstrap.panel.Content",
284 "isConstructor" : false,
296 "type" : "Roo.Toolbar",
304 "desc" : "Set this panel's title",
307 "memberOf" : "Roo.bootstrap.panel.Content",
309 "isConstructor" : false,
330 "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.",
331 "sig" : "(url, params, loadOnce)",
333 "memberOf" : "Roo.bootstrap.panel.Content",
335 "isConstructor" : false,
346 "type" : "String/Function",
347 "desc" : "The URL to load the content from or a function to call to get the URL",
352 "type" : "String/Object",
353 "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)",
359 "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)",
366 "type" : "Roo.UpdateManager|Boolean",
367 "desc" : "The UpdateManager or false if IFRAME"
374 "desc" : "Returns this panel's element - used by regiosn to add.",
375 "sig" : "()\n{\n\n}",
377 "memberOf" : "Roo.bootstrap.panel.Content",
379 "isConstructor" : false,
391 "type" : "Roo.Element",
399 "desc" : "Destroys this panel",
400 "sig" : "()\n{\n\n}",
402 "memberOf" : "Roo.bootstrap.panel.Content",
404 "isConstructor" : false,
418 "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",
419 "sig" : "(url, params, callback, discardUrl)",
421 "memberOf" : "Roo.bootstrap.panel.Content",
423 "isConstructor" : false,
434 "type" : "Object/String/Function",
435 "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.",
440 "type" : "String/Object",
441 "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
447 "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
451 "name" : "discardUrl",
453 "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.",
460 "type" : "Roo.ContentPanel",
468 "desc" : "Returns this panel's title",
469 "sig" : "()\n{\n\n}",
471 "memberOf" : "Roo.bootstrap.panel.Content",
473 "isConstructor" : false,
491 "name" : "isClosable",
493 "desc" : "Returns true is this panel was configured to be closable",
494 "sig" : "()\n{\n\n}",
496 "memberOf" : "Roo.bootstrap.panel.Content",
498 "isConstructor" : false,
518 "desc" : "Returns this panel's id",
519 "sig" : "()\n{\n\n}",
521 "memberOf" : "Roo.bootstrap.panel.Content",
523 "isConstructor" : false,
541 "name" : "setContent",
543 "desc" : "Updates this panel's element (not for iframe)",
544 "sig" : "(content, loadScripts)",
546 "memberOf" : "Roo.bootstrap.panel.Content",
548 "isConstructor" : false,
560 "desc" : "The new content",
564 "name" : "loadScripts",
566 "desc" : "(optional) true to look for and process scripts",
573 "name" : "purgeListeners",
575 "desc" : "Removes all listeners for this object",
576 "sig" : "()\n{\n\n}",
578 "memberOf" : "Roo.util.Observable",
580 "isConstructor" : false,
594 "desc" : "Appends an event handler to this element (shorthand for addListener)",
595 "sig" : "(eventName, handler, scope, options)",
597 "memberOf" : "Roo.util.Observable",
599 "isConstructor" : false,
609 "name" : "eventName",
611 "desc" : "The type of event to listen for",
617 "desc" : "The method the event invokes",
623 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
629 "desc" : "(optional)",
638 "desc" : "Removes a listener (shorthand for removeListener)",
639 "sig" : "(eventName, handler, scope)",
641 "memberOf" : "Roo.util.Observable",
643 "isConstructor" : false,
653 "name" : "eventName",
655 "desc" : "The type of event to listen for",
661 "desc" : "The handler to remove",
667 "desc" : "(optional) The scope (this object) for the handler",
674 "name" : "addEvents",
676 "desc" : "Used to define events on this Observable",
679 "memberOf" : "Roo.util.Observable",
681 "isConstructor" : false,
693 "desc" : "The object with the events defined",
700 "name" : "releaseCapture",
702 "desc" : "Removes <b>all</b> added captures from the Observable.",
705 "memberOf" : "Roo.util.Observable",
707 "isConstructor" : false,
718 "type" : "Observable",
719 "desc" : "The Observable to release",
726 "name" : "removeListener",
728 "desc" : "Removes a listener",
729 "sig" : "(eventName, handler, scope)",
731 "memberOf" : "Roo.util.Observable",
733 "isConstructor" : false,
743 "name" : "eventName",
745 "desc" : "The type of event to listen for",
751 "desc" : "The handler to remove",
757 "desc" : "(optional) The scope (this object) for the handler",
764 "name" : "fireEvent",
766 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
767 "sig" : "(eventName, args)",
769 "memberOf" : "Roo.util.Observable",
771 "isConstructor" : false,
781 "name" : "eventName",
788 "type" : "Object...",
789 "desc" : "Variable number of parameters are passed to handlers",
797 "desc" : "returns false if any of the handlers return false otherwise it returns true"
802 "name" : "hasListener",
804 "desc" : "Checks to see if this object has any listeners for a specified event",
805 "sig" : "(eventName)",
807 "memberOf" : "Roo.util.Observable",
809 "isConstructor" : false,
819 "name" : "eventName",
821 "desc" : "The name of the event to check for",
829 "desc" : "True if the event is being listened for, else false"
836 "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.",
837 "sig" : "(o, fn, scope)",
839 "memberOf" : "Roo.util.Observable",
841 "isConstructor" : false,
852 "type" : "Observable",
853 "desc" : "The Observable to capture",
859 "desc" : "The function to call",
865 "desc" : "(optional) The scope (this object) for the fn",
872 "name" : "addListener",
874 "desc" : "Appends an event handler to this component",
875 "sig" : "(eventName, handler, scope, options)",
877 "memberOf" : "Roo.util.Observable",
879 "isConstructor" : false,
889 "name" : "eventName",
891 "desc" : "The type of event to listen for",
897 "desc" : "The method the event invokes",
903 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
909 "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>",
920 "desc" : "Fires when this panel is activated.",
921 "sig" : "function (_self)\n{\n\n}",
922 "memberOf" : "Roo.bootstrap.panel.Content",
930 "type" : "Roo.ContentPanel",
940 "desc" : "Fires when this panel is resized if fitToFrame is true.",
941 "sig" : "function (_self, width, height)\n{\n\n}",
942 "memberOf" : "Roo.bootstrap.panel.Content",
950 "type" : "Roo.ContentPanel",
957 "desc" : "The width after any component adjustments",
963 "desc" : "The height after any component adjustments",
970 "name" : "deactivate",
972 "desc" : "Fires when this panel is activated.",
973 "sig" : "function (_self)\n{\n\n}",
974 "memberOf" : "Roo.bootstrap.panel.Content",
982 "type" : "Roo.ContentPanel",
992 "desc" : "Fires when this tab is created",
993 "sig" : "function (_self)\n{\n\n}",
994 "memberOf" : "Roo.bootstrap.panel.Content",
1002 "type" : "Roo.ContentPanel",
1004 "isOptional" : false
1011 "type" : "function",
1012 "desc" : "Fires when this content is scrolled",
1013 "sig" : "function (_self, scrollEvent)\n{\n\n}",
1014 "memberOf" : "Roo.bootstrap.panel.Content",
1022 "type" : "Roo.ContentPanel",
1024 "isOptional" : false
1027 "name" : "scrollEvent",
1030 "isOptional" : false