2 "name" : "Roo.bootstrap.panel.Nest",
4 "Roo.bootstrap.panel.Content",
8 "desc" : "Create a new Panel, that can contain a layout.Border.",
20 "type" : "String/Object",
21 "desc" : "A string to set only the title or a config object",
32 "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>",
33 "memberOf" : "Roo.util.Observable"
38 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
39 "memberOf" : "Roo.bootstrap.panel.Content"
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"
54 "name" : "fitToFrame",
56 "desc" : "True for this panel to adjust its size to fit when the region resizes (defaults to false)",
57 "memberOf" : "Roo.bootstrap.panel.Content"
60 "name" : "background",
62 "desc" : "True if the panel should not be activated when it is added (defaults to false)",
63 "memberOf" : "Roo.bootstrap.panel.Content"
68 "desc" : "A toolbar for this panel",
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"
116 "desc" : "True if the panel can be closed/removed",
117 "memberOf" : "Roo.bootstrap.panel.Content"
121 "type" : "String/Object",
122 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
123 "memberOf" : "Roo.bootstrap.panel.Content"
127 "type" : "Roo.BorderLayout",
128 "desc" : "The layout for this panel",
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"
152 "name" : "getLayout",
154 "desc" : "Returns the nested BorderLayout for this panel",
155 "sig" : "()\n{\n\n}",
159 "isConstructor" : false,
171 "type" : "Roo.BorderLayout",
179 "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>",
184 "isConstructor" : false,
196 "desc" : "Xtype definition of item to add.",
205 "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.",
206 "sig" : "()\n{\n\n}",
208 "memberOf" : "Roo.bootstrap.panel.Content",
210 "isConstructor" : false,
222 "name" : "getUpdateManager",
224 "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
225 "sig" : "()\n{\n\n}",
227 "memberOf" : "Roo.bootstrap.panel.Content",
229 "isConstructor" : false,
241 "type" : "Roo.UpdateManager",
242 "desc" : "The UpdateManager"
247 "name" : "getChildContainer",
249 "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 "memberOf" : "Roo.bootstrap.panel.Content",
254 "isConstructor" : false,
266 "desc" : "Xtype definition of item to add.",
273 "name" : "getToolbar",
275 "desc" : "Returns the toolbar for this Panel if one was configured.",
276 "sig" : "()\n{\n\n}",
278 "memberOf" : "Roo.bootstrap.panel.Content",
280 "isConstructor" : false,
292 "type" : "Roo.Toolbar",
300 "desc" : "Set this panel's title",
303 "memberOf" : "Roo.bootstrap.panel.Content",
305 "isConstructor" : false,
326 "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.",
327 "sig" : "(url, params, loadOnce)",
329 "memberOf" : "Roo.bootstrap.panel.Content",
331 "isConstructor" : false,
342 "type" : "String/Function",
343 "desc" : "The URL to load the content from or a function to call to get the URL",
348 "type" : "String/Object",
349 "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)",
355 "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)",
362 "type" : "Roo.UpdateManager|Boolean",
363 "desc" : "The UpdateManager or false if IFRAME"
370 "desc" : "Returns this panel's element - used by regiosn to add.",
371 "sig" : "()\n{\n\n}",
373 "memberOf" : "Roo.bootstrap.panel.Content",
375 "isConstructor" : false,
387 "type" : "Roo.Element",
395 "desc" : "Destroys this panel",
396 "sig" : "()\n{\n\n}",
398 "memberOf" : "Roo.bootstrap.panel.Content",
400 "isConstructor" : false,
414 "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",
415 "sig" : "(url, params, callback, discardUrl)",
417 "memberOf" : "Roo.bootstrap.panel.Content",
419 "isConstructor" : false,
430 "type" : "Object/String/Function",
431 "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.",
436 "type" : "String/Object",
437 "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
443 "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
447 "name" : "discardUrl",
449 "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.",
456 "type" : "Roo.ContentPanel",
464 "desc" : "Returns this panel's title",
465 "sig" : "()\n{\n\n}",
467 "memberOf" : "Roo.bootstrap.panel.Content",
469 "isConstructor" : false,
487 "name" : "isClosable",
489 "desc" : "Returns true is this panel was configured to be closable",
490 "sig" : "()\n{\n\n}",
492 "memberOf" : "Roo.bootstrap.panel.Content",
494 "isConstructor" : false,
514 "desc" : "Returns this panel's id",
515 "sig" : "()\n{\n\n}",
517 "memberOf" : "Roo.bootstrap.panel.Content",
519 "isConstructor" : false,
537 "name" : "setContent",
539 "desc" : "Updates this panel's element (not for iframe)",
540 "sig" : "(content, loadScripts)",
542 "memberOf" : "Roo.bootstrap.panel.Content",
544 "isConstructor" : false,
556 "desc" : "The new content",
560 "name" : "loadScripts",
562 "desc" : "(optional) true to look for and process scripts",
569 "name" : "purgeListeners",
571 "desc" : "Removes all listeners for this object",
572 "sig" : "()\n{\n\n}",
574 "memberOf" : "Roo.util.Observable",
576 "isConstructor" : false,
590 "desc" : "Appends an event handler to this element (shorthand for addListener)",
591 "sig" : "(eventName, handler, scope, options)",
593 "memberOf" : "Roo.util.Observable",
595 "isConstructor" : false,
605 "name" : "eventName",
607 "desc" : "The type of event to listen for",
613 "desc" : "The method the event invokes",
619 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
625 "desc" : "(optional)",
634 "desc" : "Removes a listener (shorthand for removeListener)",
635 "sig" : "(eventName, handler, scope)",
637 "memberOf" : "Roo.util.Observable",
639 "isConstructor" : false,
649 "name" : "eventName",
651 "desc" : "The type of event to listen for",
657 "desc" : "The handler to remove",
663 "desc" : "(optional) The scope (this object) for the handler",
670 "name" : "addEvents",
672 "desc" : "Used to define events on this Observable",
675 "memberOf" : "Roo.util.Observable",
677 "isConstructor" : false,
689 "desc" : "The object with the events defined",
696 "name" : "releaseCapture",
698 "desc" : "Removes <b>all</b> added captures from the Observable.",
701 "memberOf" : "Roo.util.Observable",
703 "isConstructor" : false,
714 "type" : "Observable",
715 "desc" : "The Observable to release",
722 "name" : "removeListener",
724 "desc" : "Removes a listener",
725 "sig" : "(eventName, handler, scope)",
727 "memberOf" : "Roo.util.Observable",
729 "isConstructor" : false,
739 "name" : "eventName",
741 "desc" : "The type of event to listen for",
747 "desc" : "The handler to remove",
753 "desc" : "(optional) The scope (this object) for the handler",
760 "name" : "fireEvent",
762 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
763 "sig" : "(eventName, args)",
765 "memberOf" : "Roo.util.Observable",
767 "isConstructor" : false,
777 "name" : "eventName",
784 "type" : "Object...",
785 "desc" : "Variable number of parameters are passed to handlers",
793 "desc" : "returns false if any of the handlers return false otherwise it returns true"
798 "name" : "hasListener",
800 "desc" : "Checks to see if this object has any listeners for a specified event",
801 "sig" : "(eventName)",
803 "memberOf" : "Roo.util.Observable",
805 "isConstructor" : false,
815 "name" : "eventName",
817 "desc" : "The name of the event to check for",
825 "desc" : "True if the event is being listened for, else false"
832 "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.",
833 "sig" : "(o, fn, scope)",
835 "memberOf" : "Roo.util.Observable",
837 "isConstructor" : false,
848 "type" : "Observable",
849 "desc" : "The Observable to capture",
855 "desc" : "The function to call",
861 "desc" : "(optional) The scope (this object) for the fn",
868 "name" : "addListener",
870 "desc" : "Appends an event handler to this component",
871 "sig" : "(eventName, handler, scope, options)",
873 "memberOf" : "Roo.util.Observable",
875 "isConstructor" : false,
885 "name" : "eventName",
887 "desc" : "The type of event to listen for",
893 "desc" : "The method the event invokes",
899 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
905 "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>",
916 "desc" : "Fires when this panel is activated.",
917 "sig" : "function (_self)\n{\n\n}",
918 "memberOf" : "Roo.bootstrap.panel.Content",
926 "type" : "Roo.ContentPanel",
936 "desc" : "Fires when this panel is resized if fitToFrame is true.",
937 "sig" : "function (_self, width, height)\n{\n\n}",
938 "memberOf" : "Roo.bootstrap.panel.Content",
946 "type" : "Roo.ContentPanel",
953 "desc" : "The width after any component adjustments",
959 "desc" : "The height after any component adjustments",
966 "name" : "deactivate",
968 "desc" : "Fires when this panel is activated.",
969 "sig" : "function (_self)\n{\n\n}",
970 "memberOf" : "Roo.bootstrap.panel.Content",
978 "type" : "Roo.ContentPanel",
988 "desc" : "Fires when this tab is created",
989 "sig" : "function (_self)\n{\n\n}",
990 "memberOf" : "Roo.bootstrap.panel.Content",
998 "type" : "Roo.ContentPanel",
1000 "isOptional" : false
1007 "type" : "function",
1008 "desc" : "Fires when this content is scrolled",
1009 "sig" : "function (_self, scrollEvent)\n{\n\n}",
1010 "memberOf" : "Roo.bootstrap.panel.Content",
1018 "type" : "Roo.ContentPanel",
1020 "isOptional" : false
1023 "name" : "scrollEvent",
1026 "isOptional" : false