2 "name" : "Roo.form.ComboBoxArray.Item",
8 "desc" : "A selected item in the list\n Fred [x] Brian [x] [Pick another |v]",
21 "desc" : "Configuration options",
30 "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>",
31 "memberOf" : "Roo.util.Observable",
37 "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\".",
38 "memberOf" : "Roo.Component",
45 "name" : "allowDomMove",
47 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
48 "memberOf" : "Roo.Component",
52 "name" : "actionMode",
54 "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",
55 "memberOf" : "Roo.Component",
61 "desc" : "width (optional) size of component",
62 "memberOf" : "Roo.BoxComponent",
68 "desc" : "height (optional) size of component",
69 "memberOf" : "Roo.BoxComponent",
73 "name" : "disableClass",
75 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
76 "memberOf" : "Roo.Component",
83 "desc" : "Sets the current box measurements of the component's underlying element.",
85 "isConstructor" : false,
87 "memberOf" : "Roo.BoxComponent",
96 "desc" : "An object in the format {x, y, width, height}",
103 "name" : "setPagePosition",
104 "desc" : "Sets the page XY position of the component. To set the left and top instead, use {@link #setPosition}.\nThis method fires the move event.",
106 "isConstructor" : false,
108 "memberOf" : "Roo.BoxComponent",
117 "desc" : "The new x position",
123 "desc" : "The new y position",
131 "desc" : "Force the component's size to recalculate based on the underlying element's current height and width.",
133 "isConstructor" : false,
135 "memberOf" : "Roo.BoxComponent",
145 "desc" : "Sets the width and height of the component. This method fires the resize event. This method can accept\neither width and height as separate numeric arguments, or you can pass a size object like {width:10, height:20}.",
147 "isConstructor" : false,
149 "memberOf" : "Roo.BoxComponent",
157 "type" : "Number/Object",
158 "desc" : "The new width to set, or a size object in the format {width, height}",
164 "desc" : "The new height to set (not required if a size object is passed as the first arg)",
171 "type" : "Roo.BoxComponent",
177 "name" : "getPosition",
178 "desc" : "Gets the current XY position of the component's underlying element.",
180 "isConstructor" : false,
182 "memberOf" : "Roo.BoxComponent",
191 "desc" : "(optional) If true the element's left and top are returned instead of page XY (defaults to false)",
199 "desc" : "The XY position of the element (e.g., [100, 200])"
205 "desc" : "Called after the component is resized, this method is empty by default but can be implemented by any\nsubclass that needs to perform custom logic after a resize occurs.",
207 "isConstructor" : false,
209 "memberOf" : "Roo.BoxComponent",
218 "desc" : "The box-adjusted width that was set",
222 "name" : "adjHeight",
224 "desc" : "The box-adjusted height that was set",
230 "desc" : "The width that was originally specified",
234 "name" : "rawHeight",
236 "desc" : "The height that was originally specified",
244 "desc" : "Gets the current box measurements of the component's underlying element.",
246 "isConstructor" : false,
248 "memberOf" : "Roo.BoxComponent",
257 "desc" : "(optional) If true the element's left and top are returned instead of page XY (defaults to false)",
265 "desc" : "Gets the current size of the component's underlying element.",
267 "isConstructor" : false,
269 "memberOf" : "Roo.BoxComponent",
279 "desc" : "An object containing the element's size {width: (element width), height: (element height)}"
284 "name" : "onPosition",
285 "desc" : "Called after the component is moved, this method is empty by default but can be implemented by any\nsubclass that needs to perform custom logic after a move occurs.",
287 "isConstructor" : false,
289 "memberOf" : "Roo.BoxComponent",
298 "desc" : "The new x position",
304 "desc" : "The new y position",
311 "name" : "setPosition",
312 "desc" : "Sets the left and top of the component. To set the page XY position instead, use {@link #setPagePosition}.\nThis method fires the move event.",
314 "isConstructor" : false,
316 "memberOf" : "Roo.BoxComponent",
325 "desc" : "The new left",
331 "desc" : "The new top",
339 "desc" : "Returns the id of this component.",
341 "isConstructor" : false,
343 "memberOf" : "Roo.Component",
359 "desc" : "If this is a lazy rendering component, render it to its container element.",
361 "isConstructor" : false,
363 "memberOf" : "Roo.Component",
370 "name" : "container",
371 "type" : "String/HTMLElement/Element",
372 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
380 "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}.",
382 "isConstructor" : false,
384 "memberOf" : "Roo.Component",
393 "name" : "isVisible",
394 "desc" : "Returns true if this component is visible.",
396 "isConstructor" : false,
398 "memberOf" : "Roo.Component",
407 "name" : "setDisabled",
408 "desc" : "Convenience function for setting disabled/enabled by boolean.",
410 "isConstructor" : false,
412 "memberOf" : "Roo.Component",
429 "desc" : "Hide this component.",
431 "isConstructor" : false,
433 "memberOf" : "Roo.Component",
442 "type" : "Roo.Component",
449 "desc" : "Try to focus this component.",
451 "isConstructor" : false,
453 "memberOf" : "Roo.Component",
460 "name" : "selectText",
462 "desc" : "True to also select the text in this component (if applicable)",
469 "type" : "Roo.Component",
476 "desc" : "Show this component.",
478 "isConstructor" : false,
480 "memberOf" : "Roo.Component",
489 "type" : "Roo.Component",
496 "desc" : "Enable this component.",
498 "isConstructor" : false,
500 "memberOf" : "Roo.Component",
509 "type" : "Roo.Component",
515 "name" : "setVisible",
516 "desc" : "Convenience function to hide or show this component by boolean.",
518 "isConstructor" : false,
520 "memberOf" : "Roo.Component",
529 "desc" : "True to show, false to hide",
536 "type" : "Roo.Component",
543 "desc" : "Disable this component.",
545 "isConstructor" : false,
547 "memberOf" : "Roo.Component",
556 "type" : "Roo.Component",
563 "desc" : "Returns the underlying {@link Roo.Element}.",
565 "isConstructor" : false,
567 "memberOf" : "Roo.Component",
576 "type" : "Roo.Element",
577 "desc" : "The element"
582 "name" : "purgeListeners",
583 "desc" : "Removes all listeners for this object",
585 "isConstructor" : false,
587 "memberOf" : "Roo.util.Observable",
597 "desc" : "Appends an event handler to this element (shorthand for addListener)",
599 "isConstructor" : false,
601 "memberOf" : "Roo.util.Observable",
608 "name" : "eventName",
610 "desc" : "The type of event to listen for",
616 "desc" : "The method the event invokes",
622 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
628 "desc" : "(optional)",
636 "desc" : "Removes a listener (shorthand for removeListener)",
638 "isConstructor" : false,
640 "memberOf" : "Roo.util.Observable",
647 "name" : "eventName",
649 "desc" : "The type of event to listen for",
655 "desc" : "The handler to remove",
661 "desc" : "(optional) The scope (this object) for the handler",
668 "name" : "addEvents",
669 "desc" : "Used to define events on this Observable",
671 "isConstructor" : false,
673 "memberOf" : "Roo.util.Observable",
682 "desc" : "The object with the events defined",
689 "name" : "releaseCapture",
690 "desc" : "Removes <b>all</b> added captures from the Observable.",
692 "isConstructor" : false,
694 "memberOf" : "Roo.util.Observable",
702 "type" : "Observable",
703 "desc" : "The Observable to release",
710 "name" : "removeListener",
711 "desc" : "Removes a listener",
713 "isConstructor" : false,
715 "memberOf" : "Roo.util.Observable",
722 "name" : "eventName",
724 "desc" : "The type of event to listen for",
730 "desc" : "The handler to remove",
736 "desc" : "(optional) The scope (this object) for the handler",
743 "name" : "fireEvent",
744 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
746 "isConstructor" : false,
748 "memberOf" : "Roo.util.Observable",
755 "name" : "eventName",
762 "type" : "Object...",
763 "desc" : "Variable number of parameters are passed to handlers",
771 "desc" : "returns false if any of the handlers return false otherwise it returns true"
776 "name" : "hasListener",
777 "desc" : "Checks to see if this object has any listeners for a specified event",
779 "isConstructor" : false,
781 "memberOf" : "Roo.util.Observable",
788 "name" : "eventName",
790 "desc" : "The name of the event to check for",
798 "desc" : "True if the event is being listened for, else false"
804 "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.",
806 "isConstructor" : false,
808 "memberOf" : "Roo.util.Observable",
816 "type" : "Observable",
817 "desc" : "The Observable to capture",
823 "desc" : "The function to call",
829 "desc" : "(optional) The scope (this object) for the fn",
836 "name" : "addListener",
837 "desc" : "Appends an event handler to this component",
839 "isConstructor" : false,
841 "memberOf" : "Roo.util.Observable",
848 "name" : "eventName",
850 "desc" : "The type of event to listen for",
856 "desc" : "The method the event invokes",
862 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
868 "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>",
878 "desc" : "Fires after the component is moved.",
879 "memberOf" : "Roo.BoxComponent",
887 "type" : "Roo.Component",
894 "desc" : "The new x position",
900 "desc" : "The new y position",
908 "desc" : "Fires after the component is resized.",
909 "memberOf" : "Roo.BoxComponent",
917 "type" : "Roo.Component",
924 "desc" : "The box-adjusted width that was set",
928 "name" : "adjHeight",
930 "desc" : "The box-adjusted height that was set",
936 "desc" : "The width that was originally specified",
940 "name" : "rawHeight",
942 "desc" : "The height that was originally specified",
949 "name" : "beforerender",
950 "desc" : "Fires before the component is rendered. Return false to stop the render.",
951 "memberOf" : "Roo.Component",
959 "type" : "Roo.Component",
968 "desc" : "Fires after the component is disabled.",
969 "memberOf" : "Roo.Component",
977 "type" : "Roo.Component",
986 "desc" : "Fires after the component is rendered.",
987 "memberOf" : "Roo.Component",
995 "type" : "Roo.Component",
1004 "desc" : "Fires after the component is destroyed.",
1005 "memberOf" : "Roo.Component",
1013 "type" : "Roo.Component",
1015 "isOptional" : false
1022 "desc" : "Fires after the component is hidden.",
1023 "memberOf" : "Roo.Component",
1031 "type" : "Roo.Component",
1033 "isOptional" : false
1039 "name" : "beforehide",
1040 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1041 "memberOf" : "Roo.Component",
1049 "type" : "Roo.Component",
1051 "isOptional" : false
1058 "desc" : "Fires after the component is shown.",
1059 "memberOf" : "Roo.Component",
1067 "type" : "Roo.Component",
1069 "isOptional" : false
1075 "name" : "beforeshow",
1076 "desc" : "Fires before the component is shown. Return false to stop the show.",
1077 "memberOf" : "Roo.Component",
1085 "type" : "Roo.Component",
1087 "isOptional" : false
1094 "desc" : "Fires after the component is enabled.",
1095 "memberOf" : "Roo.Component",
1103 "type" : "Roo.Component",
1105 "isOptional" : false
1111 "name" : "beforedestroy",
1112 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1113 "memberOf" : "Roo.Component",
1121 "type" : "Roo.Component",
1123 "isOptional" : false