2 "name" : "Roo.TreePanel",
14 "desc" : "Treepanel component",
15 "isSingleton" : false,
19 "isBuilderTop" : false,
20 "memberOf" : "TreePanel",
28 "type" : "String/Object",
29 "desc" : "A string to set only the panel's title, or a config object",
40 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
41 "memberOf" : "Roo.ContentPanel",
48 "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>",
49 "memberOf" : "Roo.util.Observable",
54 "name" : "autoScroll",
56 "desc" : "True to scroll overflow in this panel (use with {@link #fitToFrame})",
57 "memberOf" : "Roo.ContentPanel",
62 "name" : "fitToFrame",
64 "desc" : "True for this panel to adjust its size to fit when the region resizes (defaults to false)",
65 "memberOf" : "Roo.ContentPanel",
70 "name" : "background",
72 "desc" : "True if the panel should not be activated when it is added (defaults to false)",
73 "memberOf" : "Roo.ContentPanel",
79 "type" : "Roo.Toolbar",
80 "desc" : "A toolbar for this panel",
81 "memberOf" : "Roo.ContentPanel",
88 "desc" : "t) which region to put this panel on (when used with xtype constructor",
89 "memberOf" : "Roo.ContentPanel",
102 "desc" : "Raw content to fill content panel with (uses setContent on construction.)",
103 "memberOf" : "Roo.ContentPanel",
104 "isOptional" : false,
109 "type" : "Roo.menu.Menu",
110 "desc" : "popup menu",
111 "memberOf" : "Roo.ContentPanel",
112 "isOptional" : false,
118 "desc" : "The title for this panel",
119 "memberOf" : "Roo.ContentPanel",
120 "isOptional" : false,
126 "desc" : "Extra style to add to the content panel",
127 "memberOf" : "Roo.ContentPanel",
128 "isOptional" : false,
132 "name" : "autoCreate",
133 "type" : "Boolean|Object",
134 "desc" : "True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create",
135 "memberOf" : "Roo.ContentPanel",
136 "isOptional" : false,
140 "name" : "fitContainer",
142 "desc" : "When using {@link #fitToFrame} and {@link #resizeEl}, you can also fit the parent container (defaults to false)",
143 "memberOf" : "Roo.ContentPanel",
144 "isOptional" : false,
150 "desc" : "True if the panel can be closed/removed",
151 "memberOf" : "Roo.ContentPanel",
152 "isOptional" : false,
157 "type" : "String|Object",
158 "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
159 "memberOf" : "Roo.ContentPanel",
160 "isOptional" : false,
164 "name" : "adjustments",
166 "desc" : "Values to <b>add</b> to the width/height when doing a {@link #fitToFrame} (default is [0, 0])",
167 "memberOf" : "Roo.ContentPanel",
168 "isOptional" : false,
174 "desc" : "Calls {@link #setUrl} with this value",
175 "memberOf" : "Roo.ContentPanel",
176 "isOptional" : false,
181 "type" : "String|HTMLElement|Element",
182 "desc" : "An element to resize if {@link #fitToFrame} is true (instead of this panel's element)",
183 "memberOf" : "Roo.ContentPanel",
184 "isOptional" : false,
192 "desc" : "Loads this content panel immediately with content from XHR. Note: to delay loading until the panel is activated, use {@link #setUrl}.",
193 "sig" : "(url, params, callback, discardUrl)",
195 "memberOf" : "Roo.ContentPanel",
197 "isConstructor" : false,
208 "type" : "Object/String/Function",
209 "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.",
214 "type" : "String/Object",
215 "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
221 "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
225 "name" : "discardUrl",
227 "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.",
234 "type" : "Roo.ContentPanel",
240 "name" : "getUpdateManager",
242 "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
243 "sig" : "()\n{\n\n}",
245 "memberOf" : "Roo.ContentPanel",
247 "isConstructor" : false,
259 "type" : "Roo.UpdateManager",
260 "desc" : "The UpdateManager"
265 "name" : "isClosable",
267 "desc" : "Returns true is this panel was configured to be closable",
268 "sig" : "()\n{\n\n}",
270 "memberOf" : "Roo.ContentPanel",
272 "isConstructor" : false,
292 "desc" : "Destroys this panel",
293 "sig" : "()\n{\n\n}",
295 "memberOf" : "Roo.ContentPanel",
297 "isConstructor" : false,
311 "desc" : "Returns this panel's element - used by regiosn to add.",
312 "sig" : "()\n{\n\n}",
314 "memberOf" : "Roo.ContentPanel",
316 "isConstructor" : false,
328 "type" : "Roo.Element",
334 "name" : "setContent",
336 "desc" : "Updates this panel's element",
337 "sig" : "(content, loadScripts)",
339 "memberOf" : "Roo.ContentPanel",
341 "isConstructor" : false,
353 "desc" : "The new content",
357 "name" : "loadScripts",
359 "desc" : "(optional) true to look for and process scripts",
368 "desc" : "Returns this panel's id",
369 "sig" : "()\n{\n\n}",
371 "memberOf" : "Roo.ContentPanel",
373 "isConstructor" : false,
393 "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>",
396 "memberOf" : "Roo.ContentPanel",
398 "isConstructor" : false,
410 "desc" : "Xtype definition of item to add.",
419 "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.",
420 "sig" : "()\n{\n\n}",
422 "memberOf" : "Roo.ContentPanel",
424 "isConstructor" : false,
438 "desc" : "Returns this panel's title",
439 "sig" : "()\n{\n\n}",
441 "memberOf" : "Roo.ContentPanel",
443 "isConstructor" : false,
463 "desc" : "Set this panel's title",
466 "memberOf" : "Roo.ContentPanel",
468 "isConstructor" : false,
487 "name" : "getToolbar",
489 "desc" : "Returns the toolbar for this Panel if one was configured.",
490 "sig" : "()\n{\n\n}",
492 "memberOf" : "Roo.ContentPanel",
494 "isConstructor" : false,
506 "type" : "Roo.Toolbar",
514 "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.",
515 "sig" : "(url, params, loadOnce)",
517 "memberOf" : "Roo.ContentPanel",
519 "isConstructor" : false,
530 "type" : "String/Function",
531 "desc" : "The URL to load the content from or a function to call to get the URL",
536 "type" : "String/Object",
537 "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)",
543 "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)",
550 "type" : "Roo.UpdateManager",
551 "desc" : "The UpdateManager"
556 "name" : "purgeListeners",
558 "desc" : "Removes all listeners for this object",
559 "sig" : "()\n{\n\n}",
561 "memberOf" : "Roo.util.Observable",
563 "isConstructor" : false,
577 "desc" : "Appends an event handler to this element (shorthand for addListener)",
578 "sig" : "(eventName, handler, scope, options)",
580 "memberOf" : "Roo.util.Observable",
582 "isConstructor" : false,
592 "name" : "eventName",
594 "desc" : "The type of event to listen for",
600 "desc" : "The method the event invokes",
606 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
612 "desc" : "(optional)",
621 "desc" : "Removes a listener (shorthand for removeListener)",
622 "sig" : "(eventName, handler, scope)",
624 "memberOf" : "Roo.util.Observable",
626 "isConstructor" : false,
636 "name" : "eventName",
638 "desc" : "The type of event to listen for",
644 "desc" : "The handler to remove",
650 "desc" : "(optional) The scope (this object) for the handler",
657 "name" : "addEvents",
659 "desc" : "Used to define events on this Observable",
662 "memberOf" : "Roo.util.Observable",
664 "isConstructor" : false,
676 "desc" : "The object with the events defined",
683 "name" : "releaseCapture",
685 "desc" : "Removes <b>all</b> added captures from the Observable.",
688 "memberOf" : "Roo.util.Observable",
690 "isConstructor" : false,
701 "type" : "Observable",
702 "desc" : "The Observable to release",
709 "name" : "removeListener",
711 "desc" : "Removes a listener",
712 "sig" : "(eventName, handler, scope)",
714 "memberOf" : "Roo.util.Observable",
716 "isConstructor" : false,
726 "name" : "eventName",
728 "desc" : "The type of event to listen for",
734 "desc" : "The handler to remove",
740 "desc" : "(optional) The scope (this object) for the handler",
747 "name" : "fireEvent",
749 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
750 "sig" : "(eventName, args)",
752 "memberOf" : "Roo.util.Observable",
754 "isConstructor" : false,
764 "name" : "eventName",
771 "type" : "Object...",
772 "desc" : "Variable number of parameters are passed to handlers",
780 "desc" : "returns false if any of the handlers return false otherwise it returns true"
785 "name" : "hasListener",
787 "desc" : "Checks to see if this object has any listeners for a specified event",
788 "sig" : "(eventName)",
790 "memberOf" : "Roo.util.Observable",
792 "isConstructor" : false,
802 "name" : "eventName",
804 "desc" : "The name of the event to check for",
812 "desc" : "True if the event is being listened for, else false"
819 "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.",
820 "sig" : "(o, fn, scope)",
822 "memberOf" : "Roo.util.Observable",
824 "isConstructor" : false,
835 "type" : "Observable",
836 "desc" : "The Observable to capture",
842 "desc" : "The function to call",
848 "desc" : "(optional) The scope (this object) for the fn",
855 "name" : "addListener",
857 "desc" : "Appends an event handler to this component",
858 "sig" : "(eventName, handler, scope, options)",
860 "memberOf" : "Roo.util.Observable",
862 "isConstructor" : false,
872 "name" : "eventName",
874 "desc" : "The type of event to listen for",
880 "desc" : "The method the event invokes",
886 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
892 "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>",
901 "name" : "deactivate",
903 "desc" : "Fires when this panel is activated.",
904 "sig" : "function (_self)\n{\n\n}",
905 "memberOf" : "Roo.ContentPanel",
913 "type" : "Roo.ContentPanel",
923 "desc" : "Fires when this panel is resized if fitToFrame is true.",
924 "sig" : "function (_self, width, height)\n{\n\n}",
925 "memberOf" : "Roo.ContentPanel",
933 "type" : "Roo.ContentPanel",
940 "desc" : "The width after any component adjustments",
946 "desc" : "The height after any component adjustments",
955 "desc" : "Fires when this tab is created",
956 "sig" : "function (_self)\n{\n\n}",
957 "memberOf" : "Roo.ContentPanel",
965 "type" : "Roo.ContentPanel",
975 "desc" : "Fires when this panel is activated.",
976 "sig" : "function (_self)\n{\n\n}",
977 "memberOf" : "Roo.ContentPanel",
985 "type" : "Roo.ContentPanel",