2 "name" : "Roo.form.Layout",
20 "Roo.form.ComboBoxArray",
21 "Roo.form.ComboCheck",
22 "Roo.form.ComboNested",
25 "Roo.form.DisplayField",
29 "Roo.form.HtmlEditor",
30 "Roo.form.MonthField",
31 "Roo.form.NumberField",
37 "Roo.form.TriggerField",
41 "Roo.Toolbar.SplitButton",
45 "desc" : "Creates a container for layout and rendering of fields in an {@link Roo.form.Form}.",
46 "isSingleton" : false,
50 "isBuilderTop" : false,
51 "memberOf" : "Layout",
60 "desc" : "Configuration options",
69 "name" : "labelAlign",
71 "desc" : "Valid values are \"left,\" \"top\" and \"right\" (defaults to \"left\")",
72 "memberOf" : "Roo.form.Layout"
77 "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>",
78 "memberOf" : "Roo.util.Observable"
81 "name" : "hideLabels",
83 "desc" : "True to suppress the display of field labels in this layout (defaults to false)",
84 "memberOf" : "Roo.form.Layout"
89 "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\".",
90 "memberOf" : "Roo.Component"
94 "type" : "String/Object/Function",
95 "desc" : "A style specification string, e.g. \"width:100px\", or object in the form {width:\"100px\"}, or\na function which returns such a specification.",
96 "memberOf" : "Roo.form.Layout"
99 "name" : "allowDomMove",
101 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
102 "memberOf" : "Roo.Component"
105 "name" : "labelWidth",
107 "desc" : "Fixed width in pixels of all field labels (defaults to undefined)",
108 "memberOf" : "Roo.form.Layout"
111 "name" : "labelSeparator",
113 "desc" : "The separator to use after field labels (defaults to ':')",
114 "memberOf" : "Roo.form.Layout"
117 "name" : "autoCreate",
118 "type" : "String/Object",
119 "desc" : "A DomHelper element spec used to autocreate the layout (defaults to {tag: 'div', cls: 'x-form-ct'})",
120 "memberOf" : "Roo.form.Layout"
125 "desc" : "True to add a clearing element at the end of this layout, equivalent to CSS clear: both (defaults to true)",
126 "memberOf" : "Roo.form.Layout"
129 "name" : "actionMode",
131 "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",
132 "memberOf" : "Roo.Component"
135 "name" : "disableClass",
137 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
138 "memberOf" : "Roo.Component"
145 "desc" : "Adds a object form elements (using the xtype property as the factory method.)\nValid xtypes are: TextField, TextArea .... Button, Layout, FieldSet, Column",
150 "isConstructor" : false,
171 "desc" : "Returns the id of this component.",
172 "sig" : "()\n{\n\n}",
174 "memberOf" : "Roo.Component",
176 "isConstructor" : false,
196 "desc" : "If this is a lazy rendering component, render it to its container element.",
197 "sig" : "(container)",
199 "memberOf" : "Roo.Component",
201 "isConstructor" : false,
211 "name" : "container",
212 "type" : "String/HTMLElement/Element",
213 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
222 "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}.",
223 "sig" : "()\n{\n\n}",
225 "memberOf" : "Roo.Component",
227 "isConstructor" : false,
239 "name" : "isVisible",
241 "desc" : "Returns true if this component is visible.",
242 "sig" : "()\n{\n\n}",
244 "memberOf" : "Roo.Component",
246 "isConstructor" : false,
258 "name" : "setDisabled",
260 "desc" : "Convenience function for setting disabled/enabled by boolean.",
261 "sig" : "(disabled)",
263 "memberOf" : "Roo.Component",
265 "isConstructor" : false,
286 "desc" : "Hide this component.",
287 "sig" : "()\n{\n\n}",
289 "memberOf" : "Roo.Component",
291 "isConstructor" : false,
303 "type" : "Roo.Component",
311 "desc" : "Try to focus this component.",
312 "sig" : "(selectText)",
314 "memberOf" : "Roo.Component",
316 "isConstructor" : false,
326 "name" : "selectText",
328 "desc" : "True to also select the text in this component (if applicable)",
335 "type" : "Roo.Component",
343 "desc" : "Show this component.",
344 "sig" : "()\n{\n\n}",
346 "memberOf" : "Roo.Component",
348 "isConstructor" : false,
360 "type" : "Roo.Component",
368 "desc" : "Enable this component.",
369 "sig" : "()\n{\n\n}",
371 "memberOf" : "Roo.Component",
373 "isConstructor" : false,
385 "type" : "Roo.Component",
391 "name" : "setVisible",
393 "desc" : "Convenience function to hide or show this component by boolean.",
396 "memberOf" : "Roo.Component",
398 "isConstructor" : false,
410 "desc" : "True to show, false to hide",
417 "type" : "Roo.Component",
425 "desc" : "Disable this component.",
426 "sig" : "()\n{\n\n}",
428 "memberOf" : "Roo.Component",
430 "isConstructor" : false,
442 "type" : "Roo.Component",
450 "desc" : "Returns the underlying {@link Roo.Element}.",
451 "sig" : "()\n{\n\n}",
453 "memberOf" : "Roo.Component",
455 "isConstructor" : false,
467 "type" : "Roo.Element",
468 "desc" : "The element"
473 "name" : "purgeListeners",
475 "desc" : "Removes all listeners for this object",
476 "sig" : "()\n{\n\n}",
478 "memberOf" : "Roo.util.Observable",
480 "isConstructor" : false,
494 "desc" : "Appends an event handler to this element (shorthand for addListener)",
495 "sig" : "(eventName, handler, scope, options)",
497 "memberOf" : "Roo.util.Observable",
499 "isConstructor" : false,
509 "name" : "eventName",
511 "desc" : "The type of event to listen for",
517 "desc" : "The method the event invokes",
523 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
529 "desc" : "(optional)",
538 "desc" : "Removes a listener (shorthand for removeListener)",
539 "sig" : "(eventName, handler, scope)",
541 "memberOf" : "Roo.util.Observable",
543 "isConstructor" : false,
553 "name" : "eventName",
555 "desc" : "The type of event to listen for",
561 "desc" : "The handler to remove",
567 "desc" : "(optional) The scope (this object) for the handler",
574 "name" : "addEvents",
576 "desc" : "Used to define events on this Observable",
579 "memberOf" : "Roo.util.Observable",
581 "isConstructor" : false,
593 "desc" : "The object with the events defined",
600 "name" : "releaseCapture",
602 "desc" : "Removes <b>all</b> added captures from the Observable.",
605 "memberOf" : "Roo.util.Observable",
607 "isConstructor" : false,
618 "type" : "Observable",
619 "desc" : "The Observable to release",
626 "name" : "removeListener",
628 "desc" : "Removes a listener",
629 "sig" : "(eventName, handler, scope)",
631 "memberOf" : "Roo.util.Observable",
633 "isConstructor" : false,
643 "name" : "eventName",
645 "desc" : "The type of event to listen for",
651 "desc" : "The handler to remove",
657 "desc" : "(optional) The scope (this object) for the handler",
664 "name" : "fireEvent",
666 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
667 "sig" : "(eventName, args)",
669 "memberOf" : "Roo.util.Observable",
671 "isConstructor" : false,
681 "name" : "eventName",
688 "type" : "Object...",
689 "desc" : "Variable number of parameters are passed to handlers",
697 "desc" : "returns false if any of the handlers return false otherwise it returns true"
702 "name" : "hasListener",
704 "desc" : "Checks to see if this object has any listeners for a specified event",
705 "sig" : "(eventName)",
707 "memberOf" : "Roo.util.Observable",
709 "isConstructor" : false,
719 "name" : "eventName",
721 "desc" : "The name of the event to check for",
729 "desc" : "True if the event is being listened for, else false"
736 "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.",
737 "sig" : "(o, fn, scope)",
739 "memberOf" : "Roo.util.Observable",
741 "isConstructor" : false,
752 "type" : "Observable",
753 "desc" : "The Observable to capture",
759 "desc" : "The function to call",
765 "desc" : "(optional) The scope (this object) for the fn",
772 "name" : "addListener",
774 "desc" : "Appends an event handler to this component",
775 "sig" : "(eventName, handler, scope, options)",
777 "memberOf" : "Roo.util.Observable",
779 "isConstructor" : false,
789 "name" : "eventName",
791 "desc" : "The type of event to listen for",
797 "desc" : "The method the event invokes",
803 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
809 "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>",
818 "name" : "beforerender",
820 "desc" : "Fires before the component is rendered. Return false to stop the render.",
821 "sig" : "function (_self)\n{\n\n}",
822 "memberOf" : "Roo.Component",
830 "type" : "Roo.Component",
840 "desc" : "Fires after the component is disabled.",
841 "sig" : "function (_self)\n{\n\n}",
842 "memberOf" : "Roo.Component",
850 "type" : "Roo.Component",
860 "desc" : "Fires after the component is rendered.",
861 "sig" : "function (_self)\n{\n\n}",
862 "memberOf" : "Roo.Component",
870 "type" : "Roo.Component",
880 "desc" : "Fires after the component is destroyed.",
881 "sig" : "function (_self)\n{\n\n}",
882 "memberOf" : "Roo.Component",
890 "type" : "Roo.Component",
900 "desc" : "Fires after the component is hidden.",
901 "sig" : "function (_self)\n{\n\n}",
902 "memberOf" : "Roo.Component",
910 "type" : "Roo.Component",
918 "name" : "beforehide",
920 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
921 "sig" : "function (_self)\n{\n\n}",
922 "memberOf" : "Roo.Component",
930 "type" : "Roo.Component",
940 "desc" : "Fires after the component is shown.",
941 "sig" : "function (_self)\n{\n\n}",
942 "memberOf" : "Roo.Component",
950 "type" : "Roo.Component",
958 "name" : "beforeshow",
960 "desc" : "Fires before the component is shown. Return false to stop the show.",
961 "sig" : "function (_self)\n{\n\n}",
962 "memberOf" : "Roo.Component",
970 "type" : "Roo.Component",
980 "desc" : "Fires after the component is enabled.",
981 "sig" : "function (_self)\n{\n\n}",
982 "memberOf" : "Roo.Component",
990 "type" : "Roo.Component",
998 "name" : "beforedestroy",
1000 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1001 "sig" : "function (_self)\n{\n\n}",
1002 "memberOf" : "Roo.Component",
1010 "type" : "Roo.Component",
1012 "isOptional" : false