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",
28 "name" : "labelAlign",
30 "desc" : "Valid values are \"left,\" \"top\" and \"right\" (defaults to \"left\")",
31 "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",
44 "name" : "hideLabels",
46 "desc" : "True to suppress the display of field labels in this layout (defaults to false)",
47 "memberOf" : "Roo.form.Layout",
54 "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\".",
55 "memberOf" : "Roo.Component",
63 "type" : "String/Object/Function",
64 "desc" : "A style specification string, e.g. \"width:100px\", or object in the form {width:\"100px\"}, or\na function which returns such a specification.",
65 "memberOf" : "Roo.form.Layout",
70 "name" : "allowDomMove",
72 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
73 "memberOf" : "Roo.Component",
78 "name" : "labelWidth",
80 "desc" : "Fixed width in pixels of all field labels (defaults to undefined)",
81 "memberOf" : "Roo.form.Layout",
86 "name" : "labelSeparator",
88 "desc" : "The separator to use after field labels (defaults to ':')",
89 "memberOf" : "Roo.form.Layout",
94 "name" : "autoCreate",
95 "type" : "String/Object",
96 "desc" : "A DomHelper element spec used to autocreate the layout (defaults to {tag: 'div', cls: 'x-form-ct'})",
97 "memberOf" : "Roo.form.Layout",
104 "desc" : "True to add a clearing element at the end of this layout, equivalent to CSS clear: both (defaults to true)",
105 "memberOf" : "Roo.form.Layout",
110 "name" : "actionMode",
112 "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",
113 "memberOf" : "Roo.Component",
118 "name" : "disableClass",
120 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
121 "memberOf" : "Roo.Component",
129 "desc" : "Adds a object form elements (using the xtype property as the factory method.)\nValid xtypes are: TextField, TextArea .... Button, Layout, FieldSet, Column",
131 "isConstructor" : false,
133 "memberOf" : "Roo.form.Layout",
151 "desc" : "Returns the id of this component.",
153 "isConstructor" : false,
155 "memberOf" : "Roo.Component",
172 "desc" : "If this is a lazy rendering component, render it to its container element.",
174 "isConstructor" : false,
176 "memberOf" : "Roo.Component",
183 "name" : "container",
184 "type" : "String/HTMLElement/Element",
185 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
194 "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}.",
196 "isConstructor" : false,
198 "memberOf" : "Roo.Component",
209 "name" : "isVisible",
210 "desc" : "Returns true if this component is visible.",
212 "isConstructor" : false,
214 "memberOf" : "Roo.Component",
225 "name" : "setDisabled",
226 "desc" : "Convenience function for setting disabled/enabled by boolean.",
228 "isConstructor" : false,
230 "memberOf" : "Roo.Component",
248 "desc" : "Hide this component.",
250 "isConstructor" : false,
252 "memberOf" : "Roo.Component",
262 "type" : "Roo.Component",
269 "desc" : "Try to focus this component.",
271 "isConstructor" : false,
273 "memberOf" : "Roo.Component",
280 "name" : "selectText",
282 "desc" : "True to also select the text in this component (if applicable)",
289 "type" : "Roo.Component",
296 "desc" : "Show this component.",
298 "isConstructor" : false,
300 "memberOf" : "Roo.Component",
310 "type" : "Roo.Component",
317 "desc" : "Enable this component.",
319 "isConstructor" : false,
321 "memberOf" : "Roo.Component",
331 "type" : "Roo.Component",
337 "name" : "setVisible",
338 "desc" : "Convenience function to hide or show this component by boolean.",
340 "isConstructor" : false,
342 "memberOf" : "Roo.Component",
351 "desc" : "True to show, false to hide",
358 "type" : "Roo.Component",
365 "desc" : "Disable this component.",
367 "isConstructor" : false,
369 "memberOf" : "Roo.Component",
379 "type" : "Roo.Component",
386 "desc" : "Returns the underlying {@link Roo.Element}.",
388 "isConstructor" : false,
390 "memberOf" : "Roo.Component",
400 "type" : "Roo.Element",
401 "desc" : "The element"
406 "name" : "purgeListeners",
407 "desc" : "Removes all listeners for this object",
409 "isConstructor" : false,
411 "memberOf" : "Roo.util.Observable",
423 "desc" : "Appends an event handler to this element (shorthand for addListener)",
425 "isConstructor" : false,
427 "memberOf" : "Roo.util.Observable",
434 "name" : "eventName",
436 "desc" : "The type of event to listen for",
442 "desc" : "The method the event invokes",
448 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
454 "desc" : "(optional)",
463 "desc" : "Removes a listener (shorthand for removeListener)",
465 "isConstructor" : false,
467 "memberOf" : "Roo.util.Observable",
474 "name" : "eventName",
476 "desc" : "The type of event to listen for",
482 "desc" : "The handler to remove",
488 "desc" : "(optional) The scope (this object) for the handler",
496 "name" : "addEvents",
497 "desc" : "Used to define events on this Observable",
499 "isConstructor" : false,
501 "memberOf" : "Roo.util.Observable",
510 "desc" : "The object with the events defined",
518 "name" : "releaseCapture",
519 "desc" : "Removes <b>all</b> added captures from the Observable.",
521 "isConstructor" : false,
523 "memberOf" : "Roo.util.Observable",
531 "type" : "Observable",
532 "desc" : "The Observable to release",
540 "name" : "removeListener",
541 "desc" : "Removes a listener",
543 "isConstructor" : false,
545 "memberOf" : "Roo.util.Observable",
552 "name" : "eventName",
554 "desc" : "The type of event to listen for",
560 "desc" : "The handler to remove",
566 "desc" : "(optional) The scope (this object) for the handler",
574 "name" : "fireEvent",
575 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
577 "isConstructor" : false,
579 "memberOf" : "Roo.util.Observable",
586 "name" : "eventName",
593 "type" : "Object...",
594 "desc" : "Variable number of parameters are passed to handlers",
602 "desc" : "returns false if any of the handlers return false otherwise it returns true"
607 "name" : "hasListener",
608 "desc" : "Checks to see if this object has any listeners for a specified event",
610 "isConstructor" : false,
612 "memberOf" : "Roo.util.Observable",
619 "name" : "eventName",
621 "desc" : "The name of the event to check for",
629 "desc" : "True if the event is being listened for, else false"
635 "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.",
637 "isConstructor" : false,
639 "memberOf" : "Roo.util.Observable",
647 "type" : "Observable",
648 "desc" : "The Observable to capture",
654 "desc" : "The function to call",
660 "desc" : "(optional) The scope (this object) for the fn",
668 "name" : "addListener",
669 "desc" : "Appends an event handler to this component",
671 "isConstructor" : false,
673 "memberOf" : "Roo.util.Observable",
680 "name" : "eventName",
682 "desc" : "The type of event to listen for",
688 "desc" : "The method the event invokes",
694 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
700 "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>",
710 "name" : "beforerender",
711 "desc" : "Fires before the component is rendered. Return false to stop the render.",
712 "memberOf" : "Roo.Component",
720 "type" : "Roo.Component",
730 "desc" : "Fires after the component is disabled.",
731 "memberOf" : "Roo.Component",
739 "type" : "Roo.Component",
749 "desc" : "Fires after the component is rendered.",
750 "memberOf" : "Roo.Component",
758 "type" : "Roo.Component",
768 "desc" : "Fires after the component is destroyed.",
769 "memberOf" : "Roo.Component",
777 "type" : "Roo.Component",
787 "desc" : "Fires after the component is hidden.",
788 "memberOf" : "Roo.Component",
796 "type" : "Roo.Component",
805 "name" : "beforehide",
806 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
807 "memberOf" : "Roo.Component",
815 "type" : "Roo.Component",
825 "desc" : "Fires after the component is shown.",
826 "memberOf" : "Roo.Component",
834 "type" : "Roo.Component",
843 "name" : "beforeshow",
844 "desc" : "Fires before the component is shown. Return false to stop the show.",
845 "memberOf" : "Roo.Component",
853 "type" : "Roo.Component",
863 "desc" : "Fires after the component is enabled.",
864 "memberOf" : "Roo.Component",
872 "type" : "Roo.Component",
881 "name" : "beforedestroy",
882 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
883 "memberOf" : "Roo.Component",
891 "type" : "Roo.Component",