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",
28 "name" : "labelAlign",
30 "desc" : "Valid values are \"left,\" \"top\" and \"right\" (defaults to \"left\")",
31 "memberOf" : "Roo.form.Layout",
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",
42 "name" : "hideLabels",
44 "desc" : "True to suppress the display of field labels in this layout (defaults to false)",
45 "memberOf" : "Roo.form.Layout",
51 "desc" : "How this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
52 "memberOf" : "Roo.Component",
61 "desc" : "The text to display as the legend for the FieldSet (defaults to '')",
62 "memberOf" : "Roo.form.FieldSet",
67 "type" : "String/Object/Function",
68 "desc" : "A style specification string, e.g. \"width:100px\", or object in the form {width:\"100px\"}, or\na function which returns such a specification.",
69 "memberOf" : "Roo.form.Layout",
73 "name" : "allowDomMove",
75 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
76 "memberOf" : "Roo.Component",
80 "name" : "labelWidth",
82 "desc" : "Fixed width in pixels of all field labels (defaults to undefined)",
83 "memberOf" : "Roo.form.Layout",
87 "name" : "labelSeparator",
89 "desc" : "The separator to use after field labels (defaults to ':')",
90 "memberOf" : "Roo.form.Layout",
94 "name" : "autoCreate",
95 "type" : "String/Object",
96 "desc" : "A DomHelper element spec used to autocreate the fieldset (defaults to {tag: 'fieldset', cn: {tag:'legend'}})",
97 "memberOf" : "Roo.form.FieldSet",
103 "desc" : "True to add a clearing element at the end of this layout, equivalent to CSS clear: both (defaults to true)",
104 "memberOf" : "Roo.form.Layout",
108 "name" : "actionMode",
110 "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",
111 "memberOf" : "Roo.Component",
115 "name" : "disableClass",
117 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
118 "memberOf" : "Roo.Component",
125 "desc" : "Adds a object form elements (using the xtype property as the factory method.)\nValid xtypes are: TextField, TextArea .... Button, Layout, FieldSet, Column",
127 "isConstructor" : false,
129 "memberOf" : "Roo.form.Layout",
146 "desc" : "Returns the id of this component.",
148 "isConstructor" : false,
150 "memberOf" : "Roo.Component",
166 "desc" : "If this is a lazy rendering component, render it to its container element.",
168 "isConstructor" : false,
170 "memberOf" : "Roo.Component",
177 "name" : "container",
178 "type" : "String/HTMLElement/Element",
179 "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}.",
189 "isConstructor" : false,
191 "memberOf" : "Roo.Component",
200 "name" : "isVisible",
201 "desc" : "Returns true if this component is visible.",
203 "isConstructor" : false,
205 "memberOf" : "Roo.Component",
214 "name" : "setDisabled",
215 "desc" : "Convenience function for setting disabled/enabled by boolean.",
217 "isConstructor" : false,
219 "memberOf" : "Roo.Component",
236 "desc" : "Hide this component.",
238 "isConstructor" : false,
240 "memberOf" : "Roo.Component",
249 "type" : "Roo.Component",
256 "desc" : "Try to focus this component.",
258 "isConstructor" : false,
260 "memberOf" : "Roo.Component",
267 "name" : "selectText",
269 "desc" : "True to also select the text in this component (if applicable)",
276 "type" : "Roo.Component",
283 "desc" : "Show this component.",
285 "isConstructor" : false,
287 "memberOf" : "Roo.Component",
296 "type" : "Roo.Component",
303 "desc" : "Enable this component.",
305 "isConstructor" : false,
307 "memberOf" : "Roo.Component",
316 "type" : "Roo.Component",
322 "name" : "setVisible",
323 "desc" : "Convenience function to hide or show this component by boolean.",
325 "isConstructor" : false,
327 "memberOf" : "Roo.Component",
336 "desc" : "True to show, false to hide",
343 "type" : "Roo.Component",
350 "desc" : "Disable this component.",
352 "isConstructor" : false,
354 "memberOf" : "Roo.Component",
363 "type" : "Roo.Component",
370 "desc" : "Returns the underlying {@link Roo.Element}.",
372 "isConstructor" : false,
374 "memberOf" : "Roo.Component",
383 "type" : "Roo.Element",
384 "desc" : "The element"
389 "name" : "purgeListeners",
390 "desc" : "Removes all listeners for this object",
392 "isConstructor" : false,
394 "memberOf" : "Roo.util.Observable",
404 "desc" : "Appends an event handler to this element (shorthand for addListener)",
406 "isConstructor" : false,
408 "memberOf" : "Roo.util.Observable",
415 "name" : "eventName",
417 "desc" : "The type of event to listen for",
423 "desc" : "The method the event invokes",
429 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
435 "desc" : "(optional)",
443 "desc" : "Removes a listener (shorthand for removeListener)",
445 "isConstructor" : false,
447 "memberOf" : "Roo.util.Observable",
454 "name" : "eventName",
456 "desc" : "The type of event to listen for",
462 "desc" : "The handler to remove",
468 "desc" : "(optional) The scope (this object) for the handler",
475 "name" : "addEvents",
476 "desc" : "Used to define events on this Observable",
478 "isConstructor" : false,
480 "memberOf" : "Roo.util.Observable",
489 "desc" : "The object with the events defined",
496 "name" : "releaseCapture",
497 "desc" : "Removes <b>all</b> added captures from the Observable.",
499 "isConstructor" : false,
501 "memberOf" : "Roo.util.Observable",
509 "type" : "Observable",
510 "desc" : "The Observable to release",
517 "name" : "removeListener",
518 "desc" : "Removes a listener",
520 "isConstructor" : false,
522 "memberOf" : "Roo.util.Observable",
529 "name" : "eventName",
531 "desc" : "The type of event to listen for",
537 "desc" : "The handler to remove",
543 "desc" : "(optional) The scope (this object) for the handler",
550 "name" : "fireEvent",
551 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
553 "isConstructor" : false,
555 "memberOf" : "Roo.util.Observable",
562 "name" : "eventName",
569 "type" : "Object...",
570 "desc" : "Variable number of parameters are passed to handlers",
578 "desc" : "returns false if any of the handlers return false otherwise it returns true"
583 "name" : "hasListener",
584 "desc" : "Checks to see if this object has any listeners for a specified event",
586 "isConstructor" : false,
588 "memberOf" : "Roo.util.Observable",
595 "name" : "eventName",
597 "desc" : "The name of the event to check for",
605 "desc" : "True if the event is being listened for, else false"
611 "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.",
613 "isConstructor" : false,
615 "memberOf" : "Roo.util.Observable",
623 "type" : "Observable",
624 "desc" : "The Observable to capture",
630 "desc" : "The function to call",
636 "desc" : "(optional) The scope (this object) for the fn",
643 "name" : "addListener",
644 "desc" : "Appends an event handler to this component",
646 "isConstructor" : false,
648 "memberOf" : "Roo.util.Observable",
655 "name" : "eventName",
657 "desc" : "The type of event to listen for",
663 "desc" : "The method the event invokes",
669 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
675 "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>",
684 "name" : "beforerender",
685 "desc" : "Fires before the component is rendered. Return false to stop the render.",
686 "memberOf" : "Roo.Component",
694 "type" : "Roo.Component",
703 "desc" : "Fires after the component is disabled.",
704 "memberOf" : "Roo.Component",
712 "type" : "Roo.Component",
721 "desc" : "Fires after the component is rendered.",
722 "memberOf" : "Roo.Component",
730 "type" : "Roo.Component",
739 "desc" : "Fires after the component is destroyed.",
740 "memberOf" : "Roo.Component",
748 "type" : "Roo.Component",
757 "desc" : "Fires after the component is hidden.",
758 "memberOf" : "Roo.Component",
766 "type" : "Roo.Component",
774 "name" : "beforehide",
775 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
776 "memberOf" : "Roo.Component",
784 "type" : "Roo.Component",
793 "desc" : "Fires after the component is shown.",
794 "memberOf" : "Roo.Component",
802 "type" : "Roo.Component",
810 "name" : "beforeshow",
811 "desc" : "Fires before the component is shown. Return false to stop the show.",
812 "memberOf" : "Roo.Component",
820 "type" : "Roo.Component",
829 "desc" : "Fires after the component is enabled.",
830 "memberOf" : "Roo.Component",
838 "type" : "Roo.Component",
846 "name" : "beforedestroy",
847 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
848 "memberOf" : "Roo.Component",
856 "type" : "Roo.Component",