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",
31 "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>",
32 "memberOf" : "Roo.util.Observable",
39 "desc" : "How this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
40 "memberOf" : "Roo.Component",
47 "name" : "allowDomMove",
49 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
50 "memberOf" : "Roo.Component",
55 "name" : "actionMode",
57 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
58 "memberOf" : "Roo.Component",
65 "desc" : "width (optional) size of component",
66 "memberOf" : "Roo.BoxComponent",
73 "desc" : "height (optional) size of component",
74 "memberOf" : "Roo.BoxComponent",
79 "name" : "disableClass",
81 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
82 "memberOf" : "Roo.Component",
90 "desc" : "Sets the current box measurements of the component's underlying element.",
92 "isConstructor" : false,
94 "memberOf" : "Roo.BoxComponent",
103 "desc" : "An object in the format {x, y, width, height}",
111 "name" : "setPagePosition",
112 "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.",
114 "isConstructor" : false,
116 "memberOf" : "Roo.BoxComponent",
125 "desc" : "The new x position",
131 "desc" : "The new y position",
140 "desc" : "Force the component's size to recalculate based on the underlying element's current height and width.",
142 "isConstructor" : false,
144 "memberOf" : "Roo.BoxComponent",
156 "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}.",
158 "isConstructor" : false,
160 "memberOf" : "Roo.BoxComponent",
168 "type" : "Number/Object",
169 "desc" : "The new width to set, or a size object in the format {width, height}",
175 "desc" : "The new height to set (not required if a size object is passed as the first arg)",
182 "type" : "Roo.BoxComponent",
188 "name" : "getPosition",
189 "desc" : "Gets the current XY position of the component's underlying element.",
191 "isConstructor" : false,
193 "memberOf" : "Roo.BoxComponent",
202 "desc" : "(optional) If true the element's left and top are returned instead of page XY (defaults to false)",
210 "desc" : "The XY position of the element (e.g., [100, 200])"
216 "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.",
218 "isConstructor" : false,
220 "memberOf" : "Roo.BoxComponent",
229 "desc" : "The box-adjusted width that was set",
233 "name" : "adjHeight",
235 "desc" : "The box-adjusted height that was set",
241 "desc" : "The width that was originally specified",
245 "name" : "rawHeight",
247 "desc" : "The height that was originally specified",
256 "desc" : "Gets the current box measurements of the component's underlying element.",
258 "isConstructor" : false,
260 "memberOf" : "Roo.BoxComponent",
269 "desc" : "(optional) If true the element's left and top are returned instead of page XY (defaults to false)",
278 "desc" : "Gets the current size of the component's underlying element.",
280 "isConstructor" : false,
282 "memberOf" : "Roo.BoxComponent",
293 "desc" : "An object containing the element's size {width: (element width), height: (element height)}"
298 "name" : "onPosition",
299 "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.",
301 "isConstructor" : false,
303 "memberOf" : "Roo.BoxComponent",
312 "desc" : "The new x position",
318 "desc" : "The new y position",
326 "name" : "setPosition",
327 "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.",
329 "isConstructor" : false,
331 "memberOf" : "Roo.BoxComponent",
340 "desc" : "The new left",
346 "desc" : "The new top",
355 "desc" : "Returns the id of this component.",
357 "isConstructor" : false,
359 "memberOf" : "Roo.Component",
376 "desc" : "If this is a lazy rendering component, render it to its container element.",
378 "isConstructor" : false,
380 "memberOf" : "Roo.Component",
387 "name" : "container",
388 "type" : "String/HTMLElement/Element",
389 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
398 "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}.",
400 "isConstructor" : false,
402 "memberOf" : "Roo.Component",
413 "name" : "isVisible",
414 "desc" : "Returns true if this component is visible.",
416 "isConstructor" : false,
418 "memberOf" : "Roo.Component",
429 "name" : "setDisabled",
430 "desc" : "Convenience function for setting disabled/enabled by boolean.",
432 "isConstructor" : false,
434 "memberOf" : "Roo.Component",
452 "desc" : "Hide this component.",
454 "isConstructor" : false,
456 "memberOf" : "Roo.Component",
466 "type" : "Roo.Component",
473 "desc" : "Try to focus this component.",
475 "isConstructor" : false,
477 "memberOf" : "Roo.Component",
484 "name" : "selectText",
486 "desc" : "True to also select the text in this component (if applicable)",
493 "type" : "Roo.Component",
500 "desc" : "Show this component.",
502 "isConstructor" : false,
504 "memberOf" : "Roo.Component",
514 "type" : "Roo.Component",
521 "desc" : "Enable this component.",
523 "isConstructor" : false,
525 "memberOf" : "Roo.Component",
535 "type" : "Roo.Component",
541 "name" : "setVisible",
542 "desc" : "Convenience function to hide or show this component by boolean.",
544 "isConstructor" : false,
546 "memberOf" : "Roo.Component",
555 "desc" : "True to show, false to hide",
562 "type" : "Roo.Component",
569 "desc" : "Disable this component.",
571 "isConstructor" : false,
573 "memberOf" : "Roo.Component",
583 "type" : "Roo.Component",
590 "desc" : "Returns the underlying {@link Roo.Element}.",
592 "isConstructor" : false,
594 "memberOf" : "Roo.Component",
604 "type" : "Roo.Element",
605 "desc" : "The element"
610 "name" : "purgeListeners",
611 "desc" : "Removes all listeners for this object",
613 "isConstructor" : false,
615 "memberOf" : "Roo.util.Observable",
627 "desc" : "Appends an event handler to this element (shorthand for addListener)",
629 "isConstructor" : false,
631 "memberOf" : "Roo.util.Observable",
638 "name" : "eventName",
640 "desc" : "The type of event to listen for",
646 "desc" : "The method the event invokes",
652 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
658 "desc" : "(optional)",
667 "desc" : "Removes a listener (shorthand for removeListener)",
669 "isConstructor" : false,
671 "memberOf" : "Roo.util.Observable",
678 "name" : "eventName",
680 "desc" : "The type of event to listen for",
686 "desc" : "The handler to remove",
692 "desc" : "(optional) The scope (this object) for the handler",
700 "name" : "addEvents",
701 "desc" : "Used to define events on this Observable",
703 "isConstructor" : false,
705 "memberOf" : "Roo.util.Observable",
714 "desc" : "The object with the events defined",
722 "name" : "releaseCapture",
723 "desc" : "Removes <b>all</b> added captures from the Observable.",
725 "isConstructor" : false,
727 "memberOf" : "Roo.util.Observable",
735 "type" : "Observable",
736 "desc" : "The Observable to release",
744 "name" : "removeListener",
745 "desc" : "Removes a listener",
747 "isConstructor" : false,
749 "memberOf" : "Roo.util.Observable",
756 "name" : "eventName",
758 "desc" : "The type of event to listen for",
764 "desc" : "The handler to remove",
770 "desc" : "(optional) The scope (this object) for the handler",
778 "name" : "fireEvent",
779 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
781 "isConstructor" : false,
783 "memberOf" : "Roo.util.Observable",
790 "name" : "eventName",
797 "type" : "Object...",
798 "desc" : "Variable number of parameters are passed to handlers",
806 "desc" : "returns false if any of the handlers return false otherwise it returns true"
811 "name" : "hasListener",
812 "desc" : "Checks to see if this object has any listeners for a specified event",
814 "isConstructor" : false,
816 "memberOf" : "Roo.util.Observable",
823 "name" : "eventName",
825 "desc" : "The name of the event to check for",
833 "desc" : "True if the event is being listened for, else false"
839 "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.",
841 "isConstructor" : false,
843 "memberOf" : "Roo.util.Observable",
851 "type" : "Observable",
852 "desc" : "The Observable to capture",
858 "desc" : "The function to call",
864 "desc" : "(optional) The scope (this object) for the fn",
872 "name" : "addListener",
873 "desc" : "Appends an event handler to this component",
875 "isConstructor" : false,
877 "memberOf" : "Roo.util.Observable",
884 "name" : "eventName",
886 "desc" : "The type of event to listen for",
892 "desc" : "The method the event invokes",
898 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
904 "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>",
915 "desc" : "Fires after the component is moved.",
916 "memberOf" : "Roo.BoxComponent",
924 "type" : "Roo.Component",
931 "desc" : "The new x position",
937 "desc" : "The new y position",
946 "desc" : "Fires after the component is resized.",
947 "memberOf" : "Roo.BoxComponent",
955 "type" : "Roo.Component",
962 "desc" : "The box-adjusted width that was set",
966 "name" : "adjHeight",
968 "desc" : "The box-adjusted height that was set",
974 "desc" : "The width that was originally specified",
978 "name" : "rawHeight",
980 "desc" : "The height that was originally specified",
988 "name" : "beforerender",
989 "desc" : "Fires before the component is rendered. Return false to stop the render.",
990 "memberOf" : "Roo.Component",
998 "type" : "Roo.Component",
1000 "isOptional" : false
1008 "desc" : "Fires after the component is disabled.",
1009 "memberOf" : "Roo.Component",
1017 "type" : "Roo.Component",
1019 "isOptional" : false
1027 "desc" : "Fires after the component is rendered.",
1028 "memberOf" : "Roo.Component",
1036 "type" : "Roo.Component",
1038 "isOptional" : false
1046 "desc" : "Fires after the component is destroyed.",
1047 "memberOf" : "Roo.Component",
1055 "type" : "Roo.Component",
1057 "isOptional" : false
1065 "desc" : "Fires after the component is hidden.",
1066 "memberOf" : "Roo.Component",
1074 "type" : "Roo.Component",
1076 "isOptional" : false
1083 "name" : "beforehide",
1084 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1085 "memberOf" : "Roo.Component",
1093 "type" : "Roo.Component",
1095 "isOptional" : false
1103 "desc" : "Fires after the component is shown.",
1104 "memberOf" : "Roo.Component",
1112 "type" : "Roo.Component",
1114 "isOptional" : false
1121 "name" : "beforeshow",
1122 "desc" : "Fires before the component is shown. Return false to stop the show.",
1123 "memberOf" : "Roo.Component",
1131 "type" : "Roo.Component",
1133 "isOptional" : false
1141 "desc" : "Fires after the component is enabled.",
1142 "memberOf" : "Roo.Component",
1150 "type" : "Roo.Component",
1152 "isOptional" : false
1159 "name" : "beforedestroy",
1160 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1161 "memberOf" : "Roo.Component",
1169 "type" : "Roo.Component",
1171 "isOptional" : false