2 "name" : "Roo.form.Layout",
7 "desc" : "Creates a container for layout and rendering of fields in an {@link Roo.form.Form}.",
11 "memberOf" : "Layout",
20 "desc" : "Configuration options",
29 "name" : "labelAlign",
31 "desc" : "Valid values are \"left,\" \"top\" and \"right\" (defaults to \"left\")",
37 "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>",
38 "memberOf" : "Roo.util.Observable"
41 "name" : "hideLabels",
43 "desc" : "True to suppress the display of field labels in this layout (defaults to false)",
49 "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
50 "memberOf" : "Roo.Component"
54 "type" : "String/Object/Function",
55 "desc" : "A style specification string, e.g. \"width:100px\", or object in the form {width:\"100px\"}, or\na function which returns such a specification.",
59 "name" : "allowDomMove",
61 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
62 "memberOf" : "Roo.Component"
65 "name" : "labelWidth",
67 "desc" : "Fixed width in pixels of all field labels (defaults to undefined)",
71 "name" : "labelSeparator",
73 "desc" : "The separator to use after field labels (defaults to ':')",
77 "name" : "autoCreate",
78 "type" : "String/Object",
79 "desc" : "A DomHelper element spec used to autocreate the layout (defaults to {tag: 'div', cls: 'x-form-ct'})",
85 "desc" : "True to add a clearing element at the end of this layout, equivalent to CSS clear: both (defaults to true)",
89 "name" : "actionMode",
91 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el' for forms you probably want to set this to fieldEl",
92 "memberOf" : "Roo.Component"
95 "name" : "disableClass",
97 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
98 "memberOf" : "Roo.Component"
105 "desc" : "Adds a object form elements (using the xtype property as the factory method.)\nValid xtypes are: TextField, TextArea .... Button, Layout, FieldSet, Column",
110 "isConstructor" : false,
131 "desc" : "Returns the id of this component.",
132 "sig" : "()\n{\n\n}",
134 "memberOf" : "Roo.Component",
136 "isConstructor" : false,
156 "desc" : "If this is a lazy rendering component, render it to its container element.",
157 "sig" : "(container)",
159 "memberOf" : "Roo.Component",
161 "isConstructor" : false,
171 "name" : "container",
172 "type" : "String/HTMLElement/Element",
173 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
182 "desc" : "Destroys this component by purging any event listeners, removing the component's element from the DOM,\nremoving the component from its {@link Roo.Container} (if applicable) and unregistering it from {@link Roo.ComponentMgr}.",
183 "sig" : "()\n{\n\n}",
185 "memberOf" : "Roo.Component",
187 "isConstructor" : false,
199 "name" : "isVisible",
201 "desc" : "Returns true if this component is visible.",
202 "sig" : "()\n{\n\n}",
204 "memberOf" : "Roo.Component",
206 "isConstructor" : false,
218 "name" : "setDisabled",
220 "desc" : "Convenience function for setting disabled/enabled by boolean.",
221 "sig" : "(disabled)",
223 "memberOf" : "Roo.Component",
225 "isConstructor" : false,
246 "desc" : "Hide this component.",
247 "sig" : "()\n{\n\n}",
249 "memberOf" : "Roo.Component",
251 "isConstructor" : false,
263 "type" : "Roo.Component",
271 "desc" : "Try to focus this component.",
272 "sig" : "(selectText)",
274 "memberOf" : "Roo.Component",
276 "isConstructor" : false,
286 "name" : "selectText",
288 "desc" : "True to also select the text in this component (if applicable)",
295 "type" : "Roo.Component",
303 "desc" : "Show this component.",
304 "sig" : "()\n{\n\n}",
306 "memberOf" : "Roo.Component",
308 "isConstructor" : false,
320 "type" : "Roo.Component",
328 "desc" : "Enable this component.",
329 "sig" : "()\n{\n\n}",
331 "memberOf" : "Roo.Component",
333 "isConstructor" : false,
345 "type" : "Roo.Component",
351 "name" : "setVisible",
353 "desc" : "Convenience function to hide or show this component by boolean.",
356 "memberOf" : "Roo.Component",
358 "isConstructor" : false,
370 "desc" : "True to show, false to hide",
377 "type" : "Roo.Component",
385 "desc" : "Disable this component.",
386 "sig" : "()\n{\n\n}",
388 "memberOf" : "Roo.Component",
390 "isConstructor" : false,
402 "type" : "Roo.Component",
410 "desc" : "Returns the underlying {@link Roo.Element}.",
411 "sig" : "()\n{\n\n}",
413 "memberOf" : "Roo.Component",
415 "isConstructor" : false,
427 "type" : "Roo.Element",
428 "desc" : "The element"
433 "name" : "purgeListeners",
435 "desc" : "Removes all listeners for this object",
436 "sig" : "()\n{\n\n}",
438 "memberOf" : "Roo.util.Observable",
440 "isConstructor" : false,
454 "desc" : "Appends an event handler to this element (shorthand for addListener)",
455 "sig" : "(eventName, handler, scope, options)",
457 "memberOf" : "Roo.util.Observable",
459 "isConstructor" : false,
469 "name" : "eventName",
471 "desc" : "The type of event to listen for",
477 "desc" : "The method the event invokes",
483 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
489 "desc" : "(optional)",
498 "desc" : "Removes a listener (shorthand for removeListener)",
499 "sig" : "(eventName, handler, scope)",
501 "memberOf" : "Roo.util.Observable",
503 "isConstructor" : false,
513 "name" : "eventName",
515 "desc" : "The type of event to listen for",
521 "desc" : "The handler to remove",
527 "desc" : "(optional) The scope (this object) for the handler",
534 "name" : "addEvents",
536 "desc" : "Used to define events on this Observable",
539 "memberOf" : "Roo.util.Observable",
541 "isConstructor" : false,
553 "desc" : "The object with the events defined",
560 "name" : "releaseCapture",
562 "desc" : "Removes <b>all</b> added captures from the Observable.",
565 "memberOf" : "Roo.util.Observable",
567 "isConstructor" : false,
578 "type" : "Observable",
579 "desc" : "The Observable to release",
586 "name" : "removeListener",
588 "desc" : "Removes a listener",
589 "sig" : "(eventName, handler, scope)",
591 "memberOf" : "Roo.util.Observable",
593 "isConstructor" : false,
603 "name" : "eventName",
605 "desc" : "The type of event to listen for",
611 "desc" : "The handler to remove",
617 "desc" : "(optional) The scope (this object) for the handler",
624 "name" : "fireEvent",
626 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
627 "sig" : "(eventName, args)",
629 "memberOf" : "Roo.util.Observable",
631 "isConstructor" : false,
641 "name" : "eventName",
648 "type" : "Object...",
649 "desc" : "Variable number of parameters are passed to handlers",
657 "desc" : "returns false if any of the handlers return false otherwise it returns true"
662 "name" : "hasListener",
664 "desc" : "Checks to see if this object has any listeners for a specified event",
665 "sig" : "(eventName)",
667 "memberOf" : "Roo.util.Observable",
669 "isConstructor" : false,
679 "name" : "eventName",
681 "desc" : "The name of the event to check for",
689 "desc" : "True if the event is being listened for, else false"
696 "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.",
697 "sig" : "(o, fn, scope)",
699 "memberOf" : "Roo.util.Observable",
701 "isConstructor" : false,
712 "type" : "Observable",
713 "desc" : "The Observable to capture",
719 "desc" : "The function to call",
725 "desc" : "(optional) The scope (this object) for the fn",
732 "name" : "addListener",
734 "desc" : "Appends an event handler to this component",
735 "sig" : "(eventName, handler, scope, options)",
737 "memberOf" : "Roo.util.Observable",
739 "isConstructor" : false,
749 "name" : "eventName",
751 "desc" : "The type of event to listen for",
757 "desc" : "The method the event invokes",
763 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
769 "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>",
778 "name" : "beforerender",
780 "desc" : "Fires before the component is rendered. Return false to stop the render.",
781 "sig" : "function (_self)\n{\n\n}",
782 "memberOf" : "Roo.Component",
790 "type" : "Roo.Component",
800 "desc" : "Fires after the component is disabled.",
801 "sig" : "function (_self)\n{\n\n}",
802 "memberOf" : "Roo.Component",
810 "type" : "Roo.Component",
820 "desc" : "Fires after the component is rendered.",
821 "sig" : "function (_self)\n{\n\n}",
822 "memberOf" : "Roo.Component",
830 "type" : "Roo.Component",
840 "desc" : "Fires after the component is destroyed.",
841 "sig" : "function (_self)\n{\n\n}",
842 "memberOf" : "Roo.Component",
850 "type" : "Roo.Component",
860 "desc" : "Fires after the component is hidden.",
861 "sig" : "function (_self)\n{\n\n}",
862 "memberOf" : "Roo.Component",
870 "type" : "Roo.Component",
878 "name" : "beforehide",
880 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
881 "sig" : "function (_self)\n{\n\n}",
882 "memberOf" : "Roo.Component",
890 "type" : "Roo.Component",
900 "desc" : "Fires after the component is shown.",
901 "sig" : "function (_self)\n{\n\n}",
902 "memberOf" : "Roo.Component",
910 "type" : "Roo.Component",
918 "name" : "beforeshow",
920 "desc" : "Fires before the component is shown. Return false to stop the show.",
921 "sig" : "function (_self)\n{\n\n}",
922 "memberOf" : "Roo.Component",
930 "type" : "Roo.Component",
940 "desc" : "Fires after the component is enabled.",
941 "sig" : "function (_self)\n{\n\n}",
942 "memberOf" : "Roo.Component",
950 "type" : "Roo.Component",
958 "name" : "beforedestroy",
960 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
961 "sig" : "function (_self)\n{\n\n}",
962 "memberOf" : "Roo.Component",
970 "type" : "Roo.Component",