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",
27 "name" : "labelAlign",
29 "desc" : "Valid values are \"left,\" \"top\" and \"right\" (defaults to \"left\")",
30 "memberOf" : "Roo.form.Layout",
36 "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>",
37 "memberOf" : "Roo.util.Observable",
41 "name" : "hideLabels",
43 "desc" : "True to suppress the display of field labels in this layout (defaults to false)",
44 "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",
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.",
61 "memberOf" : "Roo.form.Layout",
65 "name" : "allowDomMove",
67 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
68 "memberOf" : "Roo.Component",
72 "name" : "labelWidth",
74 "desc" : "Fixed width in pixels of all field labels (defaults to undefined)",
75 "memberOf" : "Roo.form.Layout",
79 "name" : "labelSeparator",
81 "desc" : "The separator to use after field labels (defaults to ':')",
82 "memberOf" : "Roo.form.Layout",
86 "name" : "autoCreate",
87 "type" : "String/Object",
88 "desc" : "A DomHelper element spec used to autocreate the layout (defaults to {tag: 'div', cls: 'x-form-ct'})",
89 "memberOf" : "Roo.form.Layout",
95 "desc" : "True to add a clearing element at the end of this layout, equivalent to CSS clear: both (defaults to true)",
96 "memberOf" : "Roo.form.Layout",
100 "name" : "actionMode",
102 "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",
103 "memberOf" : "Roo.Component",
107 "name" : "disableClass",
109 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
110 "memberOf" : "Roo.Component",
117 "desc" : "Adds a object form elements (using the xtype property as the factory method.)\nValid xtypes are: TextField, TextArea .... Button, Layout, FieldSet, Column",
119 "isConstructor" : false,
121 "memberOf" : "Roo.form.Layout",
138 "desc" : "Returns the id of this component.",
140 "isConstructor" : false,
142 "memberOf" : "Roo.Component",
158 "desc" : "If this is a lazy rendering component, render it to its container element.",
160 "isConstructor" : false,
162 "memberOf" : "Roo.Component",
169 "name" : "container",
170 "type" : "String/HTMLElement/Element",
171 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
179 "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}.",
181 "isConstructor" : false,
183 "memberOf" : "Roo.Component",
192 "name" : "isVisible",
193 "desc" : "Returns true if this component is visible.",
195 "isConstructor" : false,
197 "memberOf" : "Roo.Component",
206 "name" : "setDisabled",
207 "desc" : "Convenience function for setting disabled/enabled by boolean.",
209 "isConstructor" : false,
211 "memberOf" : "Roo.Component",
228 "desc" : "Hide this component.",
230 "isConstructor" : false,
232 "memberOf" : "Roo.Component",
241 "type" : "Roo.Component",
248 "desc" : "Try to focus this component.",
250 "isConstructor" : false,
252 "memberOf" : "Roo.Component",
259 "name" : "selectText",
261 "desc" : "True to also select the text in this component (if applicable)",
268 "type" : "Roo.Component",
275 "desc" : "Show this component.",
277 "isConstructor" : false,
279 "memberOf" : "Roo.Component",
288 "type" : "Roo.Component",
295 "desc" : "Enable this component.",
297 "isConstructor" : false,
299 "memberOf" : "Roo.Component",
308 "type" : "Roo.Component",
314 "name" : "setVisible",
315 "desc" : "Convenience function to hide or show this component by boolean.",
317 "isConstructor" : false,
319 "memberOf" : "Roo.Component",
328 "desc" : "True to show, false to hide",
335 "type" : "Roo.Component",
342 "desc" : "Disable this component.",
344 "isConstructor" : false,
346 "memberOf" : "Roo.Component",
355 "type" : "Roo.Component",
362 "desc" : "Returns the underlying {@link Roo.Element}.",
364 "isConstructor" : false,
366 "memberOf" : "Roo.Component",
375 "type" : "Roo.Element",
376 "desc" : "The element"
381 "name" : "purgeListeners",
382 "desc" : "Removes all listeners for this object",
384 "isConstructor" : false,
386 "memberOf" : "Roo.util.Observable",
396 "desc" : "Appends an event handler to this element (shorthand for addListener)",
398 "isConstructor" : false,
400 "memberOf" : "Roo.util.Observable",
407 "name" : "eventName",
409 "desc" : "The type of event to listen for",
415 "desc" : "The method the event invokes",
421 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
427 "desc" : "(optional)",
435 "desc" : "Removes a listener (shorthand for removeListener)",
437 "isConstructor" : false,
439 "memberOf" : "Roo.util.Observable",
446 "name" : "eventName",
448 "desc" : "The type of event to listen for",
454 "desc" : "The handler to remove",
460 "desc" : "(optional) The scope (this object) for the handler",
467 "name" : "addEvents",
468 "desc" : "Used to define events on this Observable",
470 "isConstructor" : false,
472 "memberOf" : "Roo.util.Observable",
481 "desc" : "The object with the events defined",
488 "name" : "releaseCapture",
489 "desc" : "Removes <b>all</b> added captures from the Observable.",
491 "isConstructor" : false,
493 "memberOf" : "Roo.util.Observable",
501 "type" : "Observable",
502 "desc" : "The Observable to release",
509 "name" : "removeListener",
510 "desc" : "Removes a listener",
512 "isConstructor" : false,
514 "memberOf" : "Roo.util.Observable",
521 "name" : "eventName",
523 "desc" : "The type of event to listen for",
529 "desc" : "The handler to remove",
535 "desc" : "(optional) The scope (this object) for the handler",
542 "name" : "fireEvent",
543 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
545 "isConstructor" : false,
547 "memberOf" : "Roo.util.Observable",
554 "name" : "eventName",
561 "type" : "Object...",
562 "desc" : "Variable number of parameters are passed to handlers",
570 "desc" : "returns false if any of the handlers return false otherwise it returns true"
575 "name" : "hasListener",
576 "desc" : "Checks to see if this object has any listeners for a specified event",
578 "isConstructor" : false,
580 "memberOf" : "Roo.util.Observable",
587 "name" : "eventName",
589 "desc" : "The name of the event to check for",
597 "desc" : "True if the event is being listened for, else false"
603 "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.",
605 "isConstructor" : false,
607 "memberOf" : "Roo.util.Observable",
615 "type" : "Observable",
616 "desc" : "The Observable to capture",
622 "desc" : "The function to call",
628 "desc" : "(optional) The scope (this object) for the fn",
635 "name" : "addListener",
636 "desc" : "Appends an event handler to this component",
638 "isConstructor" : false,
640 "memberOf" : "Roo.util.Observable",
647 "name" : "eventName",
649 "desc" : "The type of event to listen for",
655 "desc" : "The method the event invokes",
661 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
667 "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>",
676 "name" : "beforerender",
677 "desc" : "Fires before the component is rendered. Return false to stop the render.",
678 "memberOf" : "Roo.Component",
686 "type" : "Roo.Component",
695 "desc" : "Fires after the component is disabled.",
696 "memberOf" : "Roo.Component",
704 "type" : "Roo.Component",
713 "desc" : "Fires after the component is rendered.",
714 "memberOf" : "Roo.Component",
722 "type" : "Roo.Component",
731 "desc" : "Fires after the component is destroyed.",
732 "memberOf" : "Roo.Component",
740 "type" : "Roo.Component",
749 "desc" : "Fires after the component is hidden.",
750 "memberOf" : "Roo.Component",
758 "type" : "Roo.Component",
766 "name" : "beforehide",
767 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
768 "memberOf" : "Roo.Component",
776 "type" : "Roo.Component",
785 "desc" : "Fires after the component is shown.",
786 "memberOf" : "Roo.Component",
794 "type" : "Roo.Component",
802 "name" : "beforeshow",
803 "desc" : "Fires before the component is shown. Return false to stop the show.",
804 "memberOf" : "Roo.Component",
812 "type" : "Roo.Component",
821 "desc" : "Fires after the component is enabled.",
822 "memberOf" : "Roo.Component",
830 "type" : "Roo.Component",
838 "name" : "beforedestroy",
839 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
840 "memberOf" : "Roo.Component",
848 "type" : "Roo.Component",