2 "name" : "Roo.form.Row",
9 "desc" : "Creates a row container for layout and rendering of fields in an {@link Roo.form.Form}.",
10 "isSingleton" : false,
22 "desc" : "Configuration options",
31 "name" : "labelAlign",
33 "desc" : "Valid values are \"left,\" \"top\" and \"right\" (defaults to \"left\")",
34 "memberOf" : "Roo.form.Layout"
39 "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>",
40 "memberOf" : "Roo.util.Observable"
43 "name" : "hideLabels",
45 "desc" : "True to suppress the display of field labels in this layout (defaults to false)",
46 "memberOf" : "Roo.form.Layout"
51 "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\".",
52 "memberOf" : "Roo.Component"
56 "type" : "String/Object/Function",
57 "desc" : "A style specification string, e.g. \"width:100px\", or object in the form {width:\"100px\"}, or\na function which returns such a specification.",
58 "memberOf" : "Roo.form.Layout"
61 "name" : "allowDomMove",
63 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
64 "memberOf" : "Roo.Component"
67 "name" : "labelWidth",
69 "desc" : "Fixed width in pixels of all field labels (defaults to undefined)",
70 "memberOf" : "Roo.form.Layout"
73 "name" : "labelSeparator",
75 "desc" : "The separator to use after field labels (defaults to ':')",
76 "memberOf" : "Roo.form.Layout"
79 "name" : "autoCreate",
80 "type" : "String/Object",
81 "desc" : "A DomHelper element spec used to autocreate the layout (defaults to {tag: 'div', cls: 'x-form-ct'})",
82 "memberOf" : "Roo.form.Layout"
87 "desc" : "True to add a clearing element at the end of this layout, equivalent to CSS clear: both (defaults to true)",
88 "memberOf" : "Roo.form.Layout"
91 "name" : "actionMode",
93 "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",
94 "memberOf" : "Roo.Component"
98 "type" : "Number/String",
99 "desc" : "The fixed width of the column in pixels or CSS value (defaults to \"auto\")",
104 "type" : "Number/String",
105 "desc" : "The fixed height of the column in pixels or CSS value (defaults to \"auto\")",
109 "name" : "disableClass",
111 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
112 "memberOf" : "Roo.Component"
119 "desc" : "Adds a object form elements (using the xtype property as the factory method.)\nValid xtypes are: TextField, TextArea .... Button, Layout, FieldSet, Column",
122 "memberOf" : "Roo.form.Layout",
124 "isConstructor" : false,
145 "desc" : "Returns the id of this component.",
146 "sig" : "()\n{\n\n}",
148 "memberOf" : "Roo.Component",
150 "isConstructor" : false,
170 "desc" : "If this is a lazy rendering component, render it to its container element.",
171 "sig" : "(container)",
173 "memberOf" : "Roo.Component",
175 "isConstructor" : false,
185 "name" : "container",
186 "type" : "String/HTMLElement/Element",
187 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
196 "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}.",
197 "sig" : "()\n{\n\n}",
199 "memberOf" : "Roo.Component",
201 "isConstructor" : false,
213 "name" : "isVisible",
215 "desc" : "Returns true if this component is visible.",
216 "sig" : "()\n{\n\n}",
218 "memberOf" : "Roo.Component",
220 "isConstructor" : false,
232 "name" : "setDisabled",
234 "desc" : "Convenience function for setting disabled/enabled by boolean.",
235 "sig" : "(disabled)",
237 "memberOf" : "Roo.Component",
239 "isConstructor" : false,
260 "desc" : "Hide this component.",
261 "sig" : "()\n{\n\n}",
263 "memberOf" : "Roo.Component",
265 "isConstructor" : false,
277 "type" : "Roo.Component",
285 "desc" : "Try to focus this component.",
286 "sig" : "(selectText)",
288 "memberOf" : "Roo.Component",
290 "isConstructor" : false,
300 "name" : "selectText",
302 "desc" : "True to also select the text in this component (if applicable)",
309 "type" : "Roo.Component",
317 "desc" : "Show this component.",
318 "sig" : "()\n{\n\n}",
320 "memberOf" : "Roo.Component",
322 "isConstructor" : false,
334 "type" : "Roo.Component",
342 "desc" : "Enable this component.",
343 "sig" : "()\n{\n\n}",
345 "memberOf" : "Roo.Component",
347 "isConstructor" : false,
359 "type" : "Roo.Component",
365 "name" : "setVisible",
367 "desc" : "Convenience function to hide or show this component by boolean.",
370 "memberOf" : "Roo.Component",
372 "isConstructor" : false,
384 "desc" : "True to show, false to hide",
391 "type" : "Roo.Component",
399 "desc" : "Disable this component.",
400 "sig" : "()\n{\n\n}",
402 "memberOf" : "Roo.Component",
404 "isConstructor" : false,
416 "type" : "Roo.Component",
424 "desc" : "Returns the underlying {@link Roo.Element}.",
425 "sig" : "()\n{\n\n}",
427 "memberOf" : "Roo.Component",
429 "isConstructor" : false,
441 "type" : "Roo.Element",
442 "desc" : "The element"
447 "name" : "purgeListeners",
449 "desc" : "Removes all listeners for this object",
450 "sig" : "()\n{\n\n}",
452 "memberOf" : "Roo.util.Observable",
454 "isConstructor" : false,
468 "desc" : "Appends an event handler to this element (shorthand for addListener)",
469 "sig" : "(eventName, handler, scope, options)",
471 "memberOf" : "Roo.util.Observable",
473 "isConstructor" : false,
483 "name" : "eventName",
485 "desc" : "The type of event to listen for",
491 "desc" : "The method the event invokes",
497 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
503 "desc" : "(optional)",
512 "desc" : "Removes a listener (shorthand for removeListener)",
513 "sig" : "(eventName, handler, scope)",
515 "memberOf" : "Roo.util.Observable",
517 "isConstructor" : false,
527 "name" : "eventName",
529 "desc" : "The type of event to listen for",
535 "desc" : "The handler to remove",
541 "desc" : "(optional) The scope (this object) for the handler",
548 "name" : "addEvents",
550 "desc" : "Used to define events on this Observable",
553 "memberOf" : "Roo.util.Observable",
555 "isConstructor" : false,
567 "desc" : "The object with the events defined",
574 "name" : "releaseCapture",
576 "desc" : "Removes <b>all</b> added captures from the Observable.",
579 "memberOf" : "Roo.util.Observable",
581 "isConstructor" : false,
592 "type" : "Observable",
593 "desc" : "The Observable to release",
600 "name" : "removeListener",
602 "desc" : "Removes a listener",
603 "sig" : "(eventName, handler, scope)",
605 "memberOf" : "Roo.util.Observable",
607 "isConstructor" : false,
617 "name" : "eventName",
619 "desc" : "The type of event to listen for",
625 "desc" : "The handler to remove",
631 "desc" : "(optional) The scope (this object) for the handler",
638 "name" : "fireEvent",
640 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
641 "sig" : "(eventName, args)",
643 "memberOf" : "Roo.util.Observable",
645 "isConstructor" : false,
655 "name" : "eventName",
662 "type" : "Object...",
663 "desc" : "Variable number of parameters are passed to handlers",
671 "desc" : "returns false if any of the handlers return false otherwise it returns true"
676 "name" : "hasListener",
678 "desc" : "Checks to see if this object has any listeners for a specified event",
679 "sig" : "(eventName)",
681 "memberOf" : "Roo.util.Observable",
683 "isConstructor" : false,
693 "name" : "eventName",
695 "desc" : "The name of the event to check for",
703 "desc" : "True if the event is being listened for, else false"
710 "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.",
711 "sig" : "(o, fn, scope)",
713 "memberOf" : "Roo.util.Observable",
715 "isConstructor" : false,
726 "type" : "Observable",
727 "desc" : "The Observable to capture",
733 "desc" : "The function to call",
739 "desc" : "(optional) The scope (this object) for the fn",
746 "name" : "addListener",
748 "desc" : "Appends an event handler to this component",
749 "sig" : "(eventName, handler, scope, options)",
751 "memberOf" : "Roo.util.Observable",
753 "isConstructor" : false,
763 "name" : "eventName",
765 "desc" : "The type of event to listen for",
771 "desc" : "The method the event invokes",
777 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
783 "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>",
792 "name" : "beforerender",
794 "desc" : "Fires before the component is rendered. Return false to stop the render.",
795 "sig" : "function (_self)\n{\n\n}",
796 "memberOf" : "Roo.Component",
804 "type" : "Roo.Component",
814 "desc" : "Fires after the component is disabled.",
815 "sig" : "function (_self)\n{\n\n}",
816 "memberOf" : "Roo.Component",
824 "type" : "Roo.Component",
834 "desc" : "Fires after the component is rendered.",
835 "sig" : "function (_self)\n{\n\n}",
836 "memberOf" : "Roo.Component",
844 "type" : "Roo.Component",
854 "desc" : "Fires after the component is destroyed.",
855 "sig" : "function (_self)\n{\n\n}",
856 "memberOf" : "Roo.Component",
864 "type" : "Roo.Component",
874 "desc" : "Fires after the component is hidden.",
875 "sig" : "function (_self)\n{\n\n}",
876 "memberOf" : "Roo.Component",
884 "type" : "Roo.Component",
892 "name" : "beforehide",
894 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
895 "sig" : "function (_self)\n{\n\n}",
896 "memberOf" : "Roo.Component",
904 "type" : "Roo.Component",
914 "desc" : "Fires after the component is shown.",
915 "sig" : "function (_self)\n{\n\n}",
916 "memberOf" : "Roo.Component",
924 "type" : "Roo.Component",
932 "name" : "beforeshow",
934 "desc" : "Fires before the component is shown. Return false to stop the show.",
935 "sig" : "function (_self)\n{\n\n}",
936 "memberOf" : "Roo.Component",
944 "type" : "Roo.Component",
954 "desc" : "Fires after the component is enabled.",
955 "sig" : "function (_self)\n{\n\n}",
956 "memberOf" : "Roo.Component",
964 "type" : "Roo.Component",
972 "name" : "beforedestroy",
974 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
975 "sig" : "function (_self)\n{\n\n}",
976 "memberOf" : "Roo.Component",
984 "type" : "Roo.Component",