2 "name" : "Roo.form.ComboBoxArray.Item",
8 "desc" : "A selected item in the list\n Fred [x] Brian [x] [Pick another |v]",
16 "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>",
17 "memberOf" : "Roo.util.Observable",
24 "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\".",
25 "memberOf" : "Roo.Component",
32 "name" : "allowDomMove",
34 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
35 "memberOf" : "Roo.Component",
40 "name" : "actionMode",
42 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
43 "memberOf" : "Roo.Component",
50 "desc" : "width (optional) size of component",
51 "memberOf" : "Roo.BoxComponent",
58 "desc" : "height (optional) size of component",
59 "memberOf" : "Roo.BoxComponent",
64 "name" : "disableClass",
66 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
67 "memberOf" : "Roo.Component",
75 "desc" : "Sets the current box measurements of the component's underlying element.",
77 "isConstructor" : false,
79 "memberOf" : "Roo.BoxComponent",
88 "desc" : "An object in the format {x, y, width, height}",
96 "name" : "setPagePosition",
97 "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.",
99 "isConstructor" : false,
101 "memberOf" : "Roo.BoxComponent",
110 "desc" : "The new x position",
116 "desc" : "The new y position",
125 "desc" : "Force the component's size to recalculate based on the underlying element's current height and width.",
127 "isConstructor" : false,
129 "memberOf" : "Roo.BoxComponent",
141 "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}.",
143 "isConstructor" : false,
145 "memberOf" : "Roo.BoxComponent",
153 "type" : "Number/Object",
154 "desc" : "The new width to set, or a size object in the format {width, height}",
160 "desc" : "The new height to set (not required if a size object is passed as the first arg)",
167 "type" : "Roo.BoxComponent",
173 "name" : "getPosition",
174 "desc" : "Gets the current XY position of the component's underlying element.",
176 "isConstructor" : false,
178 "memberOf" : "Roo.BoxComponent",
187 "desc" : "(optional) If true the element's left and top are returned instead of page XY (defaults to false)",
195 "desc" : "The XY position of the element (e.g., [100, 200])"
201 "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.",
203 "isConstructor" : false,
205 "memberOf" : "Roo.BoxComponent",
214 "desc" : "The box-adjusted width that was set",
218 "name" : "adjHeight",
220 "desc" : "The box-adjusted height that was set",
226 "desc" : "The width that was originally specified",
230 "name" : "rawHeight",
232 "desc" : "The height that was originally specified",
241 "desc" : "Gets the current box measurements of the component's underlying element.",
243 "isConstructor" : false,
245 "memberOf" : "Roo.BoxComponent",
254 "desc" : "(optional) If true the element's left and top are returned instead of page XY (defaults to false)",
263 "desc" : "Gets the current size of the component's underlying element.",
265 "isConstructor" : false,
267 "memberOf" : "Roo.BoxComponent",
278 "desc" : "An object containing the element's size {width: (element width), height: (element height)}"
283 "name" : "onPosition",
284 "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.",
286 "isConstructor" : false,
288 "memberOf" : "Roo.BoxComponent",
297 "desc" : "The new x position",
303 "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",
340 "desc" : "Returns the id of this component.",
342 "isConstructor" : false,
344 "memberOf" : "Roo.Component",
361 "desc" : "If this is a lazy rendering component, render it to its container element.",
363 "isConstructor" : false,
365 "memberOf" : "Roo.Component",
372 "name" : "container",
373 "type" : "String/HTMLElement/Element",
374 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
383 "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}.",
385 "isConstructor" : false,
387 "memberOf" : "Roo.Component",
398 "name" : "isVisible",
399 "desc" : "Returns true if this component is visible.",
401 "isConstructor" : false,
403 "memberOf" : "Roo.Component",
414 "name" : "setDisabled",
415 "desc" : "Convenience function for setting disabled/enabled by boolean.",
417 "isConstructor" : false,
419 "memberOf" : "Roo.Component",
437 "desc" : "Hide this component.",
439 "isConstructor" : false,
441 "memberOf" : "Roo.Component",
451 "type" : "Roo.Component",
458 "desc" : "Try to focus this component.",
460 "isConstructor" : false,
462 "memberOf" : "Roo.Component",
469 "name" : "selectText",
471 "desc" : "True to also select the text in this component (if applicable)",
478 "type" : "Roo.Component",
485 "desc" : "Show this component.",
487 "isConstructor" : false,
489 "memberOf" : "Roo.Component",
499 "type" : "Roo.Component",
506 "desc" : "Enable this component.",
508 "isConstructor" : false,
510 "memberOf" : "Roo.Component",
520 "type" : "Roo.Component",
526 "name" : "setVisible",
527 "desc" : "Convenience function to hide or show this component by boolean.",
529 "isConstructor" : false,
531 "memberOf" : "Roo.Component",
540 "desc" : "True to show, false to hide",
547 "type" : "Roo.Component",
554 "desc" : "Disable this component.",
556 "isConstructor" : false,
558 "memberOf" : "Roo.Component",
568 "type" : "Roo.Component",
575 "desc" : "Returns the underlying {@link Roo.Element}.",
577 "isConstructor" : false,
579 "memberOf" : "Roo.Component",
589 "type" : "Roo.Element",
590 "desc" : "The element"
595 "name" : "purgeListeners",
596 "desc" : "Removes all listeners for this object",
598 "isConstructor" : false,
600 "memberOf" : "Roo.util.Observable",
612 "desc" : "Appends an event handler to this element (shorthand for addListener)",
614 "isConstructor" : false,
616 "memberOf" : "Roo.util.Observable",
623 "name" : "eventName",
625 "desc" : "The type of event to listen for",
631 "desc" : "The method the event invokes",
637 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
643 "desc" : "(optional)",
652 "desc" : "Removes a listener (shorthand for removeListener)",
654 "isConstructor" : false,
656 "memberOf" : "Roo.util.Observable",
663 "name" : "eventName",
665 "desc" : "The type of event to listen for",
671 "desc" : "The handler to remove",
677 "desc" : "(optional) The scope (this object) for the handler",
685 "name" : "addEvents",
686 "desc" : "Used to define events on this Observable",
688 "isConstructor" : false,
690 "memberOf" : "Roo.util.Observable",
699 "desc" : "The object with the events defined",
707 "name" : "releaseCapture",
708 "desc" : "Removes <b>all</b> added captures from the Observable.",
710 "isConstructor" : false,
712 "memberOf" : "Roo.util.Observable",
720 "type" : "Observable",
721 "desc" : "The Observable to release",
729 "name" : "removeListener",
730 "desc" : "Removes a listener",
732 "isConstructor" : false,
734 "memberOf" : "Roo.util.Observable",
741 "name" : "eventName",
743 "desc" : "The type of event to listen for",
749 "desc" : "The handler to remove",
755 "desc" : "(optional) The scope (this object) for the handler",
763 "name" : "fireEvent",
764 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
766 "isConstructor" : false,
768 "memberOf" : "Roo.util.Observable",
775 "name" : "eventName",
782 "type" : "Object...",
783 "desc" : "Variable number of parameters are passed to handlers",
791 "desc" : "returns false if any of the handlers return false otherwise it returns true"
796 "name" : "hasListener",
797 "desc" : "Checks to see if this object has any listeners for a specified event",
799 "isConstructor" : false,
801 "memberOf" : "Roo.util.Observable",
808 "name" : "eventName",
810 "desc" : "The name of the event to check for",
818 "desc" : "True if the event is being listened for, else false"
824 "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.",
826 "isConstructor" : false,
828 "memberOf" : "Roo.util.Observable",
836 "type" : "Observable",
837 "desc" : "The Observable to capture",
843 "desc" : "The function to call",
849 "desc" : "(optional) The scope (this object) for the fn",
857 "name" : "addListener",
858 "desc" : "Appends an event handler to this component",
860 "isConstructor" : false,
862 "memberOf" : "Roo.util.Observable",
869 "name" : "eventName",
871 "desc" : "The type of event to listen for",
877 "desc" : "The method the event invokes",
883 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
889 "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>",
900 "desc" : "Fires after the component is moved.",
901 "memberOf" : "Roo.BoxComponent",
909 "type" : "Roo.Component",
916 "desc" : "The new x position",
922 "desc" : "The new y position",
931 "desc" : "Fires after the component is resized.",
932 "memberOf" : "Roo.BoxComponent",
940 "type" : "Roo.Component",
947 "desc" : "The box-adjusted width that was set",
951 "name" : "adjHeight",
953 "desc" : "The box-adjusted height that was set",
959 "desc" : "The width that was originally specified",
963 "name" : "rawHeight",
965 "desc" : "The height that was originally specified",
973 "name" : "beforerender",
974 "desc" : "Fires before the component is rendered. Return false to stop the render.",
975 "memberOf" : "Roo.Component",
983 "type" : "Roo.Component",
993 "desc" : "Fires after the component is disabled.",
994 "memberOf" : "Roo.Component",
1002 "type" : "Roo.Component",
1004 "isOptional" : false
1012 "desc" : "Fires after the component is rendered.",
1013 "memberOf" : "Roo.Component",
1021 "type" : "Roo.Component",
1023 "isOptional" : false
1031 "desc" : "Fires after the component is destroyed.",
1032 "memberOf" : "Roo.Component",
1040 "type" : "Roo.Component",
1042 "isOptional" : false
1050 "desc" : "Fires after the component is hidden.",
1051 "memberOf" : "Roo.Component",
1059 "type" : "Roo.Component",
1061 "isOptional" : false
1068 "name" : "beforehide",
1069 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1070 "memberOf" : "Roo.Component",
1078 "type" : "Roo.Component",
1080 "isOptional" : false
1088 "desc" : "Fires after the component is shown.",
1089 "memberOf" : "Roo.Component",
1097 "type" : "Roo.Component",
1099 "isOptional" : false
1106 "name" : "beforeshow",
1107 "desc" : "Fires before the component is shown. Return false to stop the show.",
1108 "memberOf" : "Roo.Component",
1116 "type" : "Roo.Component",
1118 "isOptional" : false
1126 "desc" : "Fires after the component is enabled.",
1127 "memberOf" : "Roo.Component",
1135 "type" : "Roo.Component",
1137 "isOptional" : false
1144 "name" : "beforedestroy",
1145 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1146 "memberOf" : "Roo.Component",
1154 "type" : "Roo.Component",
1156 "isOptional" : false