2 "name" : "Roo.form.Column",
11 "desc" : "Creates a column container for layout and rendering of fields in an {@link Roo.form.Form}.",
12 "isSingleton" : false,
16 "isBuilderTop" : false,
17 "memberOf" : "Column",
26 "desc" : "Configuration options",
35 "name" : "labelAlign",
37 "desc" : "Valid values are \"left,\" \"top\" and \"right\" (defaults to \"left\")",
38 "memberOf" : "Roo.form.Layout"
43 "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>",
44 "memberOf" : "Roo.util.Observable"
47 "name" : "hideLabels",
49 "desc" : "True to suppress the display of field labels in this layout (defaults to false)",
50 "memberOf" : "Roo.form.Layout"
55 "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\".",
56 "memberOf" : "Roo.Component"
60 "type" : "String/Object/Function",
61 "desc" : "A style specification string, e.g. \"width:100px\", or object in the form {width:\"100px\"}, or\na function which returns such a specification.",
62 "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"
71 "name" : "labelWidth",
73 "desc" : "Fixed width in pixels of all field labels (defaults to undefined)",
74 "memberOf" : "Roo.form.Layout"
77 "name" : "labelSeparator",
79 "desc" : "The separator to use after field labels (defaults to ':')",
80 "memberOf" : "Roo.form.Layout"
83 "name" : "autoCreate",
84 "type" : "String/Object",
85 "desc" : "A DomHelper element spec used to autocreate the column (defaults to {tag: 'div', cls: 'x-form-ct x-form-column'})",
91 "desc" : "True to add a clearing element at the end of this layout, equivalent to CSS clear: both (defaults to true)",
92 "memberOf" : "Roo.form.Layout"
95 "name" : "actionMode",
97 "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",
98 "memberOf" : "Roo.Component"
102 "type" : "Number/String",
103 "desc" : "The fixed width of the column in pixels or CSS value (defaults to \"auto\")",
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",
120 "memberOf" : "Roo.form.Layout",
122 "isConstructor" : false,
143 "desc" : "Returns the id of this component.",
144 "sig" : "()\n{\n\n}",
146 "memberOf" : "Roo.Component",
148 "isConstructor" : false,
168 "desc" : "If this is a lazy rendering component, render it to its container element.",
169 "sig" : "(container)",
171 "memberOf" : "Roo.Component",
173 "isConstructor" : false,
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}.",
195 "sig" : "()\n{\n\n}",
197 "memberOf" : "Roo.Component",
199 "isConstructor" : false,
211 "name" : "isVisible",
213 "desc" : "Returns true if this component is visible.",
214 "sig" : "()\n{\n\n}",
216 "memberOf" : "Roo.Component",
218 "isConstructor" : false,
230 "name" : "setDisabled",
232 "desc" : "Convenience function for setting disabled/enabled by boolean.",
233 "sig" : "(disabled)",
235 "memberOf" : "Roo.Component",
237 "isConstructor" : false,
258 "desc" : "Hide this component.",
259 "sig" : "()\n{\n\n}",
261 "memberOf" : "Roo.Component",
263 "isConstructor" : false,
275 "type" : "Roo.Component",
283 "desc" : "Try to focus this component.",
284 "sig" : "(selectText)",
286 "memberOf" : "Roo.Component",
288 "isConstructor" : false,
298 "name" : "selectText",
300 "desc" : "True to also select the text in this component (if applicable)",
307 "type" : "Roo.Component",
315 "desc" : "Show this component.",
316 "sig" : "()\n{\n\n}",
318 "memberOf" : "Roo.Component",
320 "isConstructor" : false,
332 "type" : "Roo.Component",
340 "desc" : "Enable this component.",
341 "sig" : "()\n{\n\n}",
343 "memberOf" : "Roo.Component",
345 "isConstructor" : false,
357 "type" : "Roo.Component",
363 "name" : "setVisible",
365 "desc" : "Convenience function to hide or show this component by boolean.",
368 "memberOf" : "Roo.Component",
370 "isConstructor" : false,
382 "desc" : "True to show, false to hide",
389 "type" : "Roo.Component",
397 "desc" : "Disable this component.",
398 "sig" : "()\n{\n\n}",
400 "memberOf" : "Roo.Component",
402 "isConstructor" : false,
414 "type" : "Roo.Component",
422 "desc" : "Returns the underlying {@link Roo.Element}.",
423 "sig" : "()\n{\n\n}",
425 "memberOf" : "Roo.Component",
427 "isConstructor" : false,
439 "type" : "Roo.Element",
440 "desc" : "The element"
445 "name" : "purgeListeners",
447 "desc" : "Removes all listeners for this object",
448 "sig" : "()\n{\n\n}",
450 "memberOf" : "Roo.util.Observable",
452 "isConstructor" : false,
466 "desc" : "Appends an event handler to this element (shorthand for addListener)",
467 "sig" : "(eventName, handler, scope, options)",
469 "memberOf" : "Roo.util.Observable",
471 "isConstructor" : false,
481 "name" : "eventName",
483 "desc" : "The type of event to listen for",
489 "desc" : "The method the event invokes",
495 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
501 "desc" : "(optional)",
510 "desc" : "Removes a listener (shorthand for removeListener)",
511 "sig" : "(eventName, handler, scope)",
513 "memberOf" : "Roo.util.Observable",
515 "isConstructor" : false,
525 "name" : "eventName",
527 "desc" : "The type of event to listen for",
533 "desc" : "The handler to remove",
539 "desc" : "(optional) The scope (this object) for the handler",
546 "name" : "addEvents",
548 "desc" : "Used to define events on this Observable",
551 "memberOf" : "Roo.util.Observable",
553 "isConstructor" : false,
565 "desc" : "The object with the events defined",
572 "name" : "releaseCapture",
574 "desc" : "Removes <b>all</b> added captures from the Observable.",
577 "memberOf" : "Roo.util.Observable",
579 "isConstructor" : false,
590 "type" : "Observable",
591 "desc" : "The Observable to release",
598 "name" : "removeListener",
600 "desc" : "Removes a listener",
601 "sig" : "(eventName, handler, scope)",
603 "memberOf" : "Roo.util.Observable",
605 "isConstructor" : false,
615 "name" : "eventName",
617 "desc" : "The type of event to listen for",
623 "desc" : "The handler to remove",
629 "desc" : "(optional) The scope (this object) for the handler",
636 "name" : "fireEvent",
638 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
639 "sig" : "(eventName, args)",
641 "memberOf" : "Roo.util.Observable",
643 "isConstructor" : false,
653 "name" : "eventName",
660 "type" : "Object...",
661 "desc" : "Variable number of parameters are passed to handlers",
669 "desc" : "returns false if any of the handlers return false otherwise it returns true"
674 "name" : "hasListener",
676 "desc" : "Checks to see if this object has any listeners for a specified event",
677 "sig" : "(eventName)",
679 "memberOf" : "Roo.util.Observable",
681 "isConstructor" : false,
691 "name" : "eventName",
693 "desc" : "The name of the event to check for",
701 "desc" : "True if the event is being listened for, else false"
708 "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.",
709 "sig" : "(o, fn, scope)",
711 "memberOf" : "Roo.util.Observable",
713 "isConstructor" : false,
724 "type" : "Observable",
725 "desc" : "The Observable to capture",
731 "desc" : "The function to call",
737 "desc" : "(optional) The scope (this object) for the fn",
744 "name" : "addListener",
746 "desc" : "Appends an event handler to this component",
747 "sig" : "(eventName, handler, scope, options)",
749 "memberOf" : "Roo.util.Observable",
751 "isConstructor" : false,
761 "name" : "eventName",
763 "desc" : "The type of event to listen for",
769 "desc" : "The method the event invokes",
775 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
781 "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>",
790 "name" : "beforerender",
792 "desc" : "Fires before the component is rendered. Return false to stop the render.",
793 "sig" : "function (_self)\n{\n\n}",
794 "memberOf" : "Roo.Component",
802 "type" : "Roo.Component",
812 "desc" : "Fires after the component is disabled.",
813 "sig" : "function (_self)\n{\n\n}",
814 "memberOf" : "Roo.Component",
822 "type" : "Roo.Component",
832 "desc" : "Fires after the component is rendered.",
833 "sig" : "function (_self)\n{\n\n}",
834 "memberOf" : "Roo.Component",
842 "type" : "Roo.Component",
852 "desc" : "Fires after the component is destroyed.",
853 "sig" : "function (_self)\n{\n\n}",
854 "memberOf" : "Roo.Component",
862 "type" : "Roo.Component",
872 "desc" : "Fires after the component is hidden.",
873 "sig" : "function (_self)\n{\n\n}",
874 "memberOf" : "Roo.Component",
882 "type" : "Roo.Component",
890 "name" : "beforehide",
892 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
893 "sig" : "function (_self)\n{\n\n}",
894 "memberOf" : "Roo.Component",
902 "type" : "Roo.Component",
912 "desc" : "Fires after the component is shown.",
913 "sig" : "function (_self)\n{\n\n}",
914 "memberOf" : "Roo.Component",
922 "type" : "Roo.Component",
930 "name" : "beforeshow",
932 "desc" : "Fires before the component is shown. Return false to stop the show.",
933 "sig" : "function (_self)\n{\n\n}",
934 "memberOf" : "Roo.Component",
942 "type" : "Roo.Component",
952 "desc" : "Fires after the component is enabled.",
953 "sig" : "function (_self)\n{\n\n}",
954 "memberOf" : "Roo.Component",
962 "type" : "Roo.Component",
970 "name" : "beforedestroy",
972 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
973 "sig" : "function (_self)\n{\n\n}",
974 "memberOf" : "Roo.Component",
982 "type" : "Roo.Component",