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",
44 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
45 "memberOf" : "Roo.bootstrap.panel.Content",
52 "desc" : "render the badges",
53 "memberOf" : "Roo.bootstrap.panel.Content",
58 "name" : "autoScroll",
60 "desc" : "True to scroll overflow in this panel (use with {@link #fitToFrame})",
61 "memberOf" : "Roo.bootstrap.panel.Content",
66 "name" : "fitToFrame",
68 "desc" : "True for this panel to adjust its size to fit when the region resizes (defaults to false)",
69 "memberOf" : "Roo.bootstrap.panel.Content",
74 "name" : "background",
76 "desc" : "True if the panel should not be activated when it is added (defaults to false)",
77 "memberOf" : "Roo.bootstrap.panel.Content",
84 "desc" : "A toolbar for this panel",
85 "memberOf" : "Roo.bootstrap.panel.Content",
92 "desc" : "(center|north|south|east|west) which region to put this panel on (when used with xtype constructors)",
93 "memberOf" : "Roo.bootstrap.panel.Content",
100 "desc" : "Raw content to fill content panel with (uses setContent on construction.)",
101 "memberOf" : "Roo.bootstrap.panel.Content",
102 "isOptional" : false,
108 "desc" : "The title for this panel",
109 "memberOf" : "Roo.bootstrap.panel.Content",
110 "isOptional" : false,
116 "desc" : "contents are an iframe - makes showing remote sources/CSS feasible..",
117 "memberOf" : "Roo.bootstrap.panel.Content",
118 "isOptional" : false,
124 "desc" : "extra classes to use",
125 "memberOf" : "Roo.bootstrap.panel.Content",
126 "isOptional" : false,
130 "name" : "autoCreate",
131 "type" : "Boolean/Object",
132 "desc" : "True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create",
133 "memberOf" : "Roo.bootstrap.panel.Content",
134 "isOptional" : false,
138 "name" : "fitContainer",
140 "desc" : "When using {@link #fitToFrame} and {@link #resizeEl}, you can also fit the parent container (defaults to false)",
141 "memberOf" : "Roo.bootstrap.panel.Content",
142 "isOptional" : false,
148 "desc" : "True if the panel can be closed/removed",
149 "memberOf" : "Roo.bootstrap.panel.Content",
150 "isOptional" : false,
155 "type" : "String/Object",
156 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
157 "memberOf" : "Roo.bootstrap.panel.Content",
158 "isOptional" : false,
163 "type" : "Roo.BorderLayout",
164 "desc" : "The layout for this panel",
166 "isOptional" : false,
170 "name" : "adjustments",
172 "desc" : "Values to <b>add</b> to the width/height when doing a {@link #fitToFrame} (default is [0, 0])",
173 "memberOf" : "Roo.bootstrap.panel.Content",
174 "isOptional" : false,
180 "desc" : "Calls {@link #setUrl} with this value",
181 "memberOf" : "Roo.bootstrap.panel.Content",
182 "isOptional" : false,
187 "type" : "String/HTMLElement/Element",
188 "desc" : "An element to resize if {@link #fitToFrame} is true (instead of this panel's element)",
189 "memberOf" : "Roo.bootstrap.panel.Content",
190 "isOptional" : false,
196 "name" : "getLayout",
198 "desc" : "Returns the nested BorderLayout for this panel",
199 "sig" : "()\n{\n\n}",
203 "isConstructor" : false,
215 "type" : "Roo.BorderLayout",
223 "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>",
228 "isConstructor" : false,
240 "desc" : "Xtype definition of item to add.",
249 "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.",
250 "sig" : "()\n{\n\n}",
252 "memberOf" : "Roo.bootstrap.panel.Content",
254 "isConstructor" : false,
266 "name" : "getUpdateManager",
268 "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
269 "sig" : "()\n{\n\n}",
271 "memberOf" : "Roo.bootstrap.panel.Content",
273 "isConstructor" : false,
285 "type" : "Roo.UpdateManager",
286 "desc" : "The UpdateManager"
291 "name" : "getChildContainer",
293 "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>",
296 "memberOf" : "Roo.bootstrap.panel.Content",
298 "isConstructor" : false,
310 "desc" : "Xtype definition of item to add.",
317 "name" : "getToolbar",
319 "desc" : "Returns the toolbar for this Panel if one was configured.",
320 "sig" : "()\n{\n\n}",
322 "memberOf" : "Roo.bootstrap.panel.Content",
324 "isConstructor" : false,
336 "type" : "Roo.Toolbar",
344 "desc" : "Set this panel's title",
347 "memberOf" : "Roo.bootstrap.panel.Content",
349 "isConstructor" : false,
370 "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.",
371 "sig" : "(url, params, loadOnce)",
373 "memberOf" : "Roo.bootstrap.panel.Content",
375 "isConstructor" : false,
386 "type" : "String/Function",
387 "desc" : "The URL to load the content from or a function to call to get the URL",
392 "type" : "String/Object",
393 "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)",
399 "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)",
406 "type" : "Roo.UpdateManager|Boolean",
407 "desc" : "The UpdateManager or false if IFRAME"
414 "desc" : "Returns this panel's element - used by regiosn to add.",
415 "sig" : "()\n{\n\n}",
417 "memberOf" : "Roo.bootstrap.panel.Content",
419 "isConstructor" : false,
431 "type" : "Roo.Element",
439 "desc" : "Destroys this panel",
440 "sig" : "()\n{\n\n}",
442 "memberOf" : "Roo.bootstrap.panel.Content",
444 "isConstructor" : false,
458 "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",
459 "sig" : "(url, params, callback, discardUrl)",
461 "memberOf" : "Roo.bootstrap.panel.Content",
463 "isConstructor" : false,
474 "type" : "Object/String/Function",
475 "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.",
480 "type" : "String/Object",
481 "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
487 "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
491 "name" : "discardUrl",
493 "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.",
500 "type" : "Roo.ContentPanel",
508 "desc" : "Returns this panel's title",
509 "sig" : "()\n{\n\n}",
511 "memberOf" : "Roo.bootstrap.panel.Content",
513 "isConstructor" : false,
531 "name" : "isClosable",
533 "desc" : "Returns true is this panel was configured to be closable",
534 "sig" : "()\n{\n\n}",
536 "memberOf" : "Roo.bootstrap.panel.Content",
538 "isConstructor" : false,
558 "desc" : "Returns this panel's id",
559 "sig" : "()\n{\n\n}",
561 "memberOf" : "Roo.bootstrap.panel.Content",
563 "isConstructor" : false,
581 "name" : "setContent",
583 "desc" : "Updates this panel's element (not for iframe)",
584 "sig" : "(content, loadScripts)",
586 "memberOf" : "Roo.bootstrap.panel.Content",
588 "isConstructor" : false,
600 "desc" : "The new content",
604 "name" : "loadScripts",
606 "desc" : "(optional) true to look for and process scripts",
613 "name" : "purgeListeners",
615 "desc" : "Removes all listeners for this object",
616 "sig" : "()\n{\n\n}",
618 "memberOf" : "Roo.util.Observable",
620 "isConstructor" : false,
634 "desc" : "Appends an event handler to this element (shorthand for addListener)",
635 "sig" : "(eventName, handler, scope, options)",
637 "memberOf" : "Roo.util.Observable",
639 "isConstructor" : false,
649 "name" : "eventName",
651 "desc" : "The type of event to listen for",
657 "desc" : "The method the event invokes",
663 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
669 "desc" : "(optional)",
678 "desc" : "Removes a listener (shorthand for removeListener)",
679 "sig" : "(eventName, handler, scope)",
681 "memberOf" : "Roo.util.Observable",
683 "isConstructor" : false,
693 "name" : "eventName",
695 "desc" : "The type of event to listen for",
701 "desc" : "The handler to remove",
707 "desc" : "(optional) The scope (this object) for the handler",
714 "name" : "addEvents",
716 "desc" : "Used to define events on this Observable",
719 "memberOf" : "Roo.util.Observable",
721 "isConstructor" : false,
733 "desc" : "The object with the events defined",
740 "name" : "releaseCapture",
742 "desc" : "Removes <b>all</b> added captures from the Observable.",
745 "memberOf" : "Roo.util.Observable",
747 "isConstructor" : false,
758 "type" : "Observable",
759 "desc" : "The Observable to release",
766 "name" : "removeListener",
768 "desc" : "Removes a listener",
769 "sig" : "(eventName, handler, scope)",
771 "memberOf" : "Roo.util.Observable",
773 "isConstructor" : false,
783 "name" : "eventName",
785 "desc" : "The type of event to listen for",
791 "desc" : "The handler to remove",
797 "desc" : "(optional) The scope (this object) for the handler",
804 "name" : "fireEvent",
806 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
807 "sig" : "(eventName, args)",
809 "memberOf" : "Roo.util.Observable",
811 "isConstructor" : false,
821 "name" : "eventName",
828 "type" : "Object...",
829 "desc" : "Variable number of parameters are passed to handlers",
837 "desc" : "returns false if any of the handlers return false otherwise it returns true"
842 "name" : "hasListener",
844 "desc" : "Checks to see if this object has any listeners for a specified event",
845 "sig" : "(eventName)",
847 "memberOf" : "Roo.util.Observable",
849 "isConstructor" : false,
859 "name" : "eventName",
861 "desc" : "The name of the event to check for",
869 "desc" : "True if the event is being listened for, else false"
876 "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.",
877 "sig" : "(o, fn, scope)",
879 "memberOf" : "Roo.util.Observable",
881 "isConstructor" : false,
892 "type" : "Observable",
893 "desc" : "The Observable to capture",
899 "desc" : "The function to call",
905 "desc" : "(optional) The scope (this object) for the fn",
912 "name" : "addListener",
914 "desc" : "Appends an event handler to this component",
915 "sig" : "(eventName, handler, scope, options)",
917 "memberOf" : "Roo.util.Observable",
919 "isConstructor" : false,
929 "name" : "eventName",
931 "desc" : "The type of event to listen for",
937 "desc" : "The method the event invokes",
943 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
949 "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>",
960 "desc" : "Fires when this panel is activated.",
961 "sig" : "function (_self)\n{\n\n}",
962 "memberOf" : "Roo.bootstrap.panel.Content",
970 "type" : "Roo.ContentPanel",
980 "desc" : "Fires when this panel is resized if fitToFrame is true.",
981 "sig" : "function (_self, width, height)\n{\n\n}",
982 "memberOf" : "Roo.bootstrap.panel.Content",
990 "type" : "Roo.ContentPanel",
997 "desc" : "The width after any component adjustments",
1003 "desc" : "The height after any component adjustments",
1004 "isOptional" : false
1010 "name" : "deactivate",
1011 "type" : "function",
1012 "desc" : "Fires when this panel is activated.",
1013 "sig" : "function (_self)\n{\n\n}",
1014 "memberOf" : "Roo.bootstrap.panel.Content",
1022 "type" : "Roo.ContentPanel",
1024 "isOptional" : false
1031 "type" : "function",
1032 "desc" : "Fires when this tab is created",
1033 "sig" : "function (_self)\n{\n\n}",
1034 "memberOf" : "Roo.bootstrap.panel.Content",
1042 "type" : "Roo.ContentPanel",
1044 "isOptional" : false
1051 "type" : "function",
1052 "desc" : "Fires when this content is scrolled",
1053 "sig" : "function (_self, scrollEvent)\n{\n\n}",
1054 "memberOf" : "Roo.bootstrap.panel.Content",
1062 "type" : "Roo.ContentPanel",
1064 "isOptional" : false
1067 "name" : "scrollEvent",
1070 "isOptional" : false