2 "name" : "Roo.form.FieldSet",
8 "desc" : "Creates a fieldset container for layout and rendering of fields in an {@link Roo.form.Form}.",
12 "memberOf" : "FieldSet",
21 "desc" : "Configuration options",
30 "name" : "labelAlign",
32 "desc" : "Valid values are \"left,\" \"top\" and \"right\" (defaults to \"left\")",
33 "memberOf" : "Roo.form.Layout"
38 "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>",
39 "memberOf" : "Roo.util.Observable"
42 "name" : "hideLabels",
44 "desc" : "True to suppress the display of field labels in this layout (defaults to false)",
45 "memberOf" : "Roo.form.Layout"
50 "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\".",
51 "memberOf" : "Roo.Component"
56 "desc" : "The text to display as the legend for the FieldSet (defaults to '')",
61 "type" : "String/Object/Function",
62 "desc" : "A style specification string, e.g. \"width:100px\", or object in the form {width:\"100px\"}, or\na function which returns such a specification.",
63 "memberOf" : "Roo.form.Layout"
66 "name" : "allowDomMove",
68 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
69 "memberOf" : "Roo.Component"
72 "name" : "labelWidth",
74 "desc" : "Fixed width in pixels of all field labels (defaults to undefined)",
75 "memberOf" : "Roo.form.Layout"
78 "name" : "labelSeparator",
80 "desc" : "The separator to use after field labels (defaults to ':')",
81 "memberOf" : "Roo.form.Layout"
84 "name" : "autoCreate",
85 "type" : "String/Object",
86 "desc" : "A DomHelper element spec used to autocreate the fieldset (defaults to {tag: 'fieldset', cn: {tag:'legend'}})",
92 "desc" : "True to add a clearing element at the end of this layout, equivalent to CSS clear: both (defaults to true)",
93 "memberOf" : "Roo.form.Layout"
96 "name" : "actionMode",
98 "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",
99 "memberOf" : "Roo.Component"
102 "name" : "disableClass",
104 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
105 "memberOf" : "Roo.Component"
112 "desc" : "Adds a object form elements (using the xtype property as the factory method.)\nValid xtypes are: TextField, TextArea .... Button, Layout, FieldSet, Column",
115 "memberOf" : "Roo.form.Layout",
117 "isConstructor" : false,
138 "desc" : "Returns the id of this component.",
139 "sig" : "()\n{\n\n}",
141 "memberOf" : "Roo.Component",
143 "isConstructor" : false,
163 "desc" : "If this is a lazy rendering component, render it to its container element.",
164 "sig" : "(container)",
166 "memberOf" : "Roo.Component",
168 "isConstructor" : false,
178 "name" : "container",
179 "type" : "String/HTMLElement/Element",
180 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
189 "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}.",
190 "sig" : "()\n{\n\n}",
192 "memberOf" : "Roo.Component",
194 "isConstructor" : false,
206 "name" : "isVisible",
208 "desc" : "Returns true if this component is visible.",
209 "sig" : "()\n{\n\n}",
211 "memberOf" : "Roo.Component",
213 "isConstructor" : false,
225 "name" : "setDisabled",
227 "desc" : "Convenience function for setting disabled/enabled by boolean.",
228 "sig" : "(disabled)",
230 "memberOf" : "Roo.Component",
232 "isConstructor" : false,
253 "desc" : "Hide this component.",
254 "sig" : "()\n{\n\n}",
256 "memberOf" : "Roo.Component",
258 "isConstructor" : false,
270 "type" : "Roo.Component",
278 "desc" : "Try to focus this component.",
279 "sig" : "(selectText)",
281 "memberOf" : "Roo.Component",
283 "isConstructor" : false,
293 "name" : "selectText",
295 "desc" : "True to also select the text in this component (if applicable)",
302 "type" : "Roo.Component",
310 "desc" : "Show this component.",
311 "sig" : "()\n{\n\n}",
313 "memberOf" : "Roo.Component",
315 "isConstructor" : false,
327 "type" : "Roo.Component",
335 "desc" : "Enable this component.",
336 "sig" : "()\n{\n\n}",
338 "memberOf" : "Roo.Component",
340 "isConstructor" : false,
352 "type" : "Roo.Component",
358 "name" : "setVisible",
360 "desc" : "Convenience function to hide or show this component by boolean.",
363 "memberOf" : "Roo.Component",
365 "isConstructor" : false,
377 "desc" : "True to show, false to hide",
384 "type" : "Roo.Component",
392 "desc" : "Disable this component.",
393 "sig" : "()\n{\n\n}",
395 "memberOf" : "Roo.Component",
397 "isConstructor" : false,
409 "type" : "Roo.Component",
417 "desc" : "Returns the underlying {@link Roo.Element}.",
418 "sig" : "()\n{\n\n}",
420 "memberOf" : "Roo.Component",
422 "isConstructor" : false,
434 "type" : "Roo.Element",
435 "desc" : "The element"
440 "name" : "purgeListeners",
442 "desc" : "Removes all listeners for this object",
443 "sig" : "()\n{\n\n}",
445 "memberOf" : "Roo.util.Observable",
447 "isConstructor" : false,
461 "desc" : "Appends an event handler to this element (shorthand for addListener)",
462 "sig" : "(eventName, handler, scope, options)",
464 "memberOf" : "Roo.util.Observable",
466 "isConstructor" : false,
476 "name" : "eventName",
478 "desc" : "The type of event to listen for",
484 "desc" : "The method the event invokes",
490 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
496 "desc" : "(optional)",
505 "desc" : "Removes a listener (shorthand for removeListener)",
506 "sig" : "(eventName, handler, scope)",
508 "memberOf" : "Roo.util.Observable",
510 "isConstructor" : false,
520 "name" : "eventName",
522 "desc" : "The type of event to listen for",
528 "desc" : "The handler to remove",
534 "desc" : "(optional) The scope (this object) for the handler",
541 "name" : "addEvents",
543 "desc" : "Used to define events on this Observable",
546 "memberOf" : "Roo.util.Observable",
548 "isConstructor" : false,
560 "desc" : "The object with the events defined",
567 "name" : "releaseCapture",
569 "desc" : "Removes <b>all</b> added captures from the Observable.",
572 "memberOf" : "Roo.util.Observable",
574 "isConstructor" : false,
585 "type" : "Observable",
586 "desc" : "The Observable to release",
593 "name" : "removeListener",
595 "desc" : "Removes a listener",
596 "sig" : "(eventName, handler, scope)",
598 "memberOf" : "Roo.util.Observable",
600 "isConstructor" : false,
610 "name" : "eventName",
612 "desc" : "The type of event to listen for",
618 "desc" : "The handler to remove",
624 "desc" : "(optional) The scope (this object) for the handler",
631 "name" : "fireEvent",
633 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
634 "sig" : "(eventName, args)",
636 "memberOf" : "Roo.util.Observable",
638 "isConstructor" : false,
648 "name" : "eventName",
655 "type" : "Object...",
656 "desc" : "Variable number of parameters are passed to handlers",
664 "desc" : "returns false if any of the handlers return false otherwise it returns true"
669 "name" : "hasListener",
671 "desc" : "Checks to see if this object has any listeners for a specified event",
672 "sig" : "(eventName)",
674 "memberOf" : "Roo.util.Observable",
676 "isConstructor" : false,
686 "name" : "eventName",
688 "desc" : "The name of the event to check for",
696 "desc" : "True if the event is being listened for, else false"
703 "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.",
704 "sig" : "(o, fn, scope)",
706 "memberOf" : "Roo.util.Observable",
708 "isConstructor" : false,
719 "type" : "Observable",
720 "desc" : "The Observable to capture",
726 "desc" : "The function to call",
732 "desc" : "(optional) The scope (this object) for the fn",
739 "name" : "addListener",
741 "desc" : "Appends an event handler to this component",
742 "sig" : "(eventName, handler, scope, options)",
744 "memberOf" : "Roo.util.Observable",
746 "isConstructor" : false,
756 "name" : "eventName",
758 "desc" : "The type of event to listen for",
764 "desc" : "The method the event invokes",
770 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
776 "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>",
785 "name" : "beforerender",
787 "desc" : "Fires before the component is rendered. Return false to stop the render.",
788 "sig" : "function (_self)\n{\n\n}",
789 "memberOf" : "Roo.Component",
797 "type" : "Roo.Component",
807 "desc" : "Fires after the component is disabled.",
808 "sig" : "function (_self)\n{\n\n}",
809 "memberOf" : "Roo.Component",
817 "type" : "Roo.Component",
827 "desc" : "Fires after the component is rendered.",
828 "sig" : "function (_self)\n{\n\n}",
829 "memberOf" : "Roo.Component",
837 "type" : "Roo.Component",
847 "desc" : "Fires after the component is destroyed.",
848 "sig" : "function (_self)\n{\n\n}",
849 "memberOf" : "Roo.Component",
857 "type" : "Roo.Component",
867 "desc" : "Fires after the component is hidden.",
868 "sig" : "function (_self)\n{\n\n}",
869 "memberOf" : "Roo.Component",
877 "type" : "Roo.Component",
885 "name" : "beforehide",
887 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
888 "sig" : "function (_self)\n{\n\n}",
889 "memberOf" : "Roo.Component",
897 "type" : "Roo.Component",
907 "desc" : "Fires after the component is shown.",
908 "sig" : "function (_self)\n{\n\n}",
909 "memberOf" : "Roo.Component",
917 "type" : "Roo.Component",
925 "name" : "beforeshow",
927 "desc" : "Fires before the component is shown. Return false to stop the show.",
928 "sig" : "function (_self)\n{\n\n}",
929 "memberOf" : "Roo.Component",
937 "type" : "Roo.Component",
947 "desc" : "Fires after the component is enabled.",
948 "sig" : "function (_self)\n{\n\n}",
949 "memberOf" : "Roo.Component",
957 "type" : "Roo.Component",
965 "name" : "beforedestroy",
967 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
968 "sig" : "function (_self)\n{\n\n}",
969 "memberOf" : "Roo.Component",
977 "type" : "Roo.Component",