2 "name" : "Roo.form.Layout",
12 "desc" : "Creates a container for layout and rendering of fields in an {@link Roo.form.Form}.",
13 "isSingleton" : false,
16 "memberOf" : "Layout",
25 "desc" : "Configuration options",
34 "name" : "labelAlign",
36 "desc" : "Valid values are \"left,\" \"top\" and \"right\" (defaults to \"left\")",
42 "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>",
43 "memberOf" : "Roo.util.Observable"
46 "name" : "hideLabels",
48 "desc" : "True to suppress the display of field labels in this layout (defaults to false)",
54 "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\".",
55 "memberOf" : "Roo.Component"
59 "type" : "String/Object/Function",
60 "desc" : "A style specification string, e.g. \"width:100px\", or object in the form {width:\"100px\"}, or\na function which returns such a specification.",
64 "name" : "allowDomMove",
66 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
67 "memberOf" : "Roo.Component"
70 "name" : "labelWidth",
72 "desc" : "Fixed width in pixels of all field labels (defaults to undefined)",
76 "name" : "labelSeparator",
78 "desc" : "The separator to use after field labels (defaults to ':')",
82 "name" : "autoCreate",
83 "type" : "String/Object",
84 "desc" : "A DomHelper element spec used to autocreate the layout (defaults to {tag: 'div', cls: 'x-form-ct'})",
90 "desc" : "True to add a clearing element at the end of this layout, equivalent to CSS clear: both (defaults to true)",
94 "name" : "actionMode",
96 "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",
97 "memberOf" : "Roo.Component"
100 "name" : "disableClass",
102 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
103 "memberOf" : "Roo.Component"
110 "desc" : "Adds a object form elements (using the xtype property as the factory method.)\nValid xtypes are: TextField, TextArea .... Button, Layout, FieldSet, Column",
115 "isConstructor" : false,
136 "desc" : "Returns the id of this component.",
137 "sig" : "()\n{\n\n}",
139 "memberOf" : "Roo.Component",
141 "isConstructor" : false,
161 "desc" : "If this is a lazy rendering component, render it to its container element.",
162 "sig" : "(container)",
164 "memberOf" : "Roo.Component",
166 "isConstructor" : false,
176 "name" : "container",
177 "type" : "String/HTMLElement/Element",
178 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
187 "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}.",
188 "sig" : "()\n{\n\n}",
190 "memberOf" : "Roo.Component",
192 "isConstructor" : false,
204 "name" : "isVisible",
206 "desc" : "Returns true if this component is visible.",
207 "sig" : "()\n{\n\n}",
209 "memberOf" : "Roo.Component",
211 "isConstructor" : false,
223 "name" : "setDisabled",
225 "desc" : "Convenience function for setting disabled/enabled by boolean.",
226 "sig" : "(disabled)",
228 "memberOf" : "Roo.Component",
230 "isConstructor" : false,
251 "desc" : "Hide this component.",
252 "sig" : "()\n{\n\n}",
254 "memberOf" : "Roo.Component",
256 "isConstructor" : false,
268 "type" : "Roo.Component",
276 "desc" : "Try to focus this component.",
277 "sig" : "(selectText)",
279 "memberOf" : "Roo.Component",
281 "isConstructor" : false,
291 "name" : "selectText",
293 "desc" : "True to also select the text in this component (if applicable)",
300 "type" : "Roo.Component",
308 "desc" : "Show this component.",
309 "sig" : "()\n{\n\n}",
311 "memberOf" : "Roo.Component",
313 "isConstructor" : false,
325 "type" : "Roo.Component",
333 "desc" : "Enable this component.",
334 "sig" : "()\n{\n\n}",
336 "memberOf" : "Roo.Component",
338 "isConstructor" : false,
350 "type" : "Roo.Component",
356 "name" : "setVisible",
358 "desc" : "Convenience function to hide or show this component by boolean.",
361 "memberOf" : "Roo.Component",
363 "isConstructor" : false,
375 "desc" : "True to show, false to hide",
382 "type" : "Roo.Component",
390 "desc" : "Disable this component.",
391 "sig" : "()\n{\n\n}",
393 "memberOf" : "Roo.Component",
395 "isConstructor" : false,
407 "type" : "Roo.Component",
415 "desc" : "Returns the underlying {@link Roo.Element}.",
416 "sig" : "()\n{\n\n}",
418 "memberOf" : "Roo.Component",
420 "isConstructor" : false,
432 "type" : "Roo.Element",
433 "desc" : "The element"
438 "name" : "purgeListeners",
440 "desc" : "Removes all listeners for this object",
441 "sig" : "()\n{\n\n}",
443 "memberOf" : "Roo.util.Observable",
445 "isConstructor" : false,
459 "desc" : "Appends an event handler to this element (shorthand for addListener)",
460 "sig" : "(eventName, handler, scope, options)",
462 "memberOf" : "Roo.util.Observable",
464 "isConstructor" : false,
474 "name" : "eventName",
476 "desc" : "The type of event to listen for",
482 "desc" : "The method the event invokes",
488 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
494 "desc" : "(optional)",
503 "desc" : "Removes a listener (shorthand for removeListener)",
504 "sig" : "(eventName, handler, scope)",
506 "memberOf" : "Roo.util.Observable",
508 "isConstructor" : false,
518 "name" : "eventName",
520 "desc" : "The type of event to listen for",
526 "desc" : "The handler to remove",
532 "desc" : "(optional) The scope (this object) for the handler",
539 "name" : "addEvents",
541 "desc" : "Used to define events on this Observable",
544 "memberOf" : "Roo.util.Observable",
546 "isConstructor" : false,
558 "desc" : "The object with the events defined",
565 "name" : "releaseCapture",
567 "desc" : "Removes <b>all</b> added captures from the Observable.",
570 "memberOf" : "Roo.util.Observable",
572 "isConstructor" : false,
583 "type" : "Observable",
584 "desc" : "The Observable to release",
591 "name" : "removeListener",
593 "desc" : "Removes a listener",
594 "sig" : "(eventName, handler, scope)",
596 "memberOf" : "Roo.util.Observable",
598 "isConstructor" : false,
608 "name" : "eventName",
610 "desc" : "The type of event to listen for",
616 "desc" : "The handler to remove",
622 "desc" : "(optional) The scope (this object) for the handler",
629 "name" : "fireEvent",
631 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
632 "sig" : "(eventName, args)",
634 "memberOf" : "Roo.util.Observable",
636 "isConstructor" : false,
646 "name" : "eventName",
653 "type" : "Object...",
654 "desc" : "Variable number of parameters are passed to handlers",
662 "desc" : "returns false if any of the handlers return false otherwise it returns true"
667 "name" : "hasListener",
669 "desc" : "Checks to see if this object has any listeners for a specified event",
670 "sig" : "(eventName)",
672 "memberOf" : "Roo.util.Observable",
674 "isConstructor" : false,
684 "name" : "eventName",
686 "desc" : "The name of the event to check for",
694 "desc" : "True if the event is being listened for, else false"
701 "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.",
702 "sig" : "(o, fn, scope)",
704 "memberOf" : "Roo.util.Observable",
706 "isConstructor" : false,
717 "type" : "Observable",
718 "desc" : "The Observable to capture",
724 "desc" : "The function to call",
730 "desc" : "(optional) The scope (this object) for the fn",
737 "name" : "addListener",
739 "desc" : "Appends an event handler to this component",
740 "sig" : "(eventName, handler, scope, options)",
742 "memberOf" : "Roo.util.Observable",
744 "isConstructor" : false,
754 "name" : "eventName",
756 "desc" : "The type of event to listen for",
762 "desc" : "The method the event invokes",
768 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
774 "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>",
783 "name" : "beforerender",
785 "desc" : "Fires before the component is rendered. Return false to stop the render.",
786 "sig" : "function (_self)\n{\n\n}",
787 "memberOf" : "Roo.Component",
795 "type" : "Roo.Component",
805 "desc" : "Fires after the component is disabled.",
806 "sig" : "function (_self)\n{\n\n}",
807 "memberOf" : "Roo.Component",
815 "type" : "Roo.Component",
825 "desc" : "Fires after the component is rendered.",
826 "sig" : "function (_self)\n{\n\n}",
827 "memberOf" : "Roo.Component",
835 "type" : "Roo.Component",
845 "desc" : "Fires after the component is destroyed.",
846 "sig" : "function (_self)\n{\n\n}",
847 "memberOf" : "Roo.Component",
855 "type" : "Roo.Component",
865 "desc" : "Fires after the component is hidden.",
866 "sig" : "function (_self)\n{\n\n}",
867 "memberOf" : "Roo.Component",
875 "type" : "Roo.Component",
883 "name" : "beforehide",
885 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
886 "sig" : "function (_self)\n{\n\n}",
887 "memberOf" : "Roo.Component",
895 "type" : "Roo.Component",
905 "desc" : "Fires after the component is shown.",
906 "sig" : "function (_self)\n{\n\n}",
907 "memberOf" : "Roo.Component",
915 "type" : "Roo.Component",
923 "name" : "beforeshow",
925 "desc" : "Fires before the component is shown. Return false to stop the show.",
926 "sig" : "function (_self)\n{\n\n}",
927 "memberOf" : "Roo.Component",
935 "type" : "Roo.Component",
945 "desc" : "Fires after the component is enabled.",
946 "sig" : "function (_self)\n{\n\n}",
947 "memberOf" : "Roo.Component",
955 "type" : "Roo.Component",
963 "name" : "beforedestroy",
965 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
966 "sig" : "function (_self)\n{\n\n}",
967 "memberOf" : "Roo.Component",
975 "type" : "Roo.Component",