2 "name" : "Roo.form.ComboBoxArray.Item",
11 "desc" : "A selected item in the list\n Fred [x] Brian [x] [Pick another |v]",
12 "isSingleton" : false,
16 "isBuilderTop" : false,
26 "desc" : "Configuration options",
37 "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>",
38 "memberOf" : "Roo.util.Observable",
45 "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",
46 "memberOf" : "Roo.Component",
54 "name" : "allowDomMove",
56 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
57 "memberOf" : "Roo.Component",
62 "name" : "actionMode",
64 "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",
65 "memberOf" : "Roo.Component",
72 "desc" : "width (optional) size of component",
73 "memberOf" : "Roo.BoxComponent",
80 "desc" : "height (optional) size of component",
81 "memberOf" : "Roo.BoxComponent",
86 "name" : "disableClass",
88 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
89 "memberOf" : "Roo.Component",
98 "desc" : "Sets the current box measurements of the component's underlying element.",
101 "memberOf" : "Roo.BoxComponent",
103 "isConstructor" : false,
115 "desc" : "An object in the format {x, y, width, height}",
122 "name" : "setPagePosition",
124 "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.",
127 "memberOf" : "Roo.BoxComponent",
129 "isConstructor" : false,
141 "desc" : "The new x position",
147 "desc" : "The new y position",
156 "desc" : "Force the component's size to recalculate based on the underlying element's current height and width.",
157 "sig" : "()\n{\n\n}",
159 "memberOf" : "Roo.BoxComponent",
161 "isConstructor" : false,
175 "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}.",
176 "sig" : "(width, height)",
178 "memberOf" : "Roo.BoxComponent",
180 "isConstructor" : false,
191 "type" : "Number/Object",
192 "desc" : "The new width to set, or a size object in the format {width, height}",
198 "desc" : "The new height to set (not required if a size object is passed as the first arg)",
205 "type" : "Roo.BoxComponent",
211 "name" : "getPosition",
213 "desc" : "Gets the current XY position of the component's underlying element.",
216 "memberOf" : "Roo.BoxComponent",
218 "isConstructor" : false,
230 "desc" : "(optional) If true the element's left and top are returned instead of page XY (defaults to false)",
238 "desc" : "The XY position of the element (e.g., [100, 200])"
245 "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.",
246 "sig" : "(adjWidth, adjHeight, rawWidth, rawHeight)",
248 "memberOf" : "Roo.BoxComponent",
250 "isConstructor" : false,
262 "desc" : "The box-adjusted width that was set",
266 "name" : "adjHeight",
268 "desc" : "The box-adjusted height that was set",
274 "desc" : "The width that was originally specified",
278 "name" : "rawHeight",
280 "desc" : "The height that was originally specified",
289 "desc" : "Gets the current box measurements of the component's underlying element.",
292 "memberOf" : "Roo.BoxComponent",
294 "isConstructor" : false,
306 "desc" : "(optional) If true the element's left and top are returned instead of page XY (defaults to false)",
315 "desc" : "Gets the current size of the component's underlying element.",
316 "sig" : "()\n{\n\n}",
318 "memberOf" : "Roo.BoxComponent",
320 "isConstructor" : false,
333 "desc" : "An object containing the element's size {width: (element width), height: (element height)}"
338 "name" : "onPosition",
340 "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.",
343 "memberOf" : "Roo.BoxComponent",
345 "isConstructor" : false,
357 "desc" : "The new x position",
363 "desc" : "The new y position",
370 "name" : "setPosition",
372 "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.",
373 "sig" : "(left, top)",
375 "memberOf" : "Roo.BoxComponent",
377 "isConstructor" : false,
389 "desc" : "The new left",
395 "desc" : "The new top",
404 "desc" : "Returns the id of this component.",
405 "sig" : "()\n{\n\n}",
407 "memberOf" : "Roo.Component",
409 "isConstructor" : false,
429 "desc" : "If this is a lazy rendering component, render it to its container element.",
430 "sig" : "(container)",
432 "memberOf" : "Roo.Component",
434 "isConstructor" : false,
444 "name" : "container",
445 "type" : "String/HTMLElement/Element",
446 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
455 "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}.",
456 "sig" : "()\n{\n\n}",
458 "memberOf" : "Roo.Component",
460 "isConstructor" : false,
472 "name" : "isVisible",
474 "desc" : "Returns true if this component is visible.",
475 "sig" : "()\n{\n\n}",
477 "memberOf" : "Roo.Component",
479 "isConstructor" : false,
491 "name" : "setDisabled",
493 "desc" : "Convenience function for setting disabled/enabled by boolean.",
494 "sig" : "(disabled)",
496 "memberOf" : "Roo.Component",
498 "isConstructor" : false,
519 "desc" : "Hide this component.",
520 "sig" : "()\n{\n\n}",
522 "memberOf" : "Roo.Component",
524 "isConstructor" : false,
536 "type" : "Roo.Component",
544 "desc" : "Try to focus this component.",
545 "sig" : "(selectText)",
547 "memberOf" : "Roo.Component",
549 "isConstructor" : false,
559 "name" : "selectText",
561 "desc" : "True to also select the text in this component (if applicable)",
568 "type" : "Roo.Component",
576 "desc" : "Show this component.",
577 "sig" : "()\n{\n\n}",
579 "memberOf" : "Roo.Component",
581 "isConstructor" : false,
593 "type" : "Roo.Component",
601 "desc" : "Enable this component.",
602 "sig" : "()\n{\n\n}",
604 "memberOf" : "Roo.Component",
606 "isConstructor" : false,
618 "type" : "Roo.Component",
624 "name" : "setVisible",
626 "desc" : "Convenience function to hide or show this component by boolean.",
629 "memberOf" : "Roo.Component",
631 "isConstructor" : false,
643 "desc" : "True to show, false to hide",
650 "type" : "Roo.Component",
658 "desc" : "Disable this component.",
659 "sig" : "()\n{\n\n}",
661 "memberOf" : "Roo.Component",
663 "isConstructor" : false,
675 "type" : "Roo.Component",
683 "desc" : "Returns the underlying {@link Roo.Element}.",
684 "sig" : "()\n{\n\n}",
686 "memberOf" : "Roo.Component",
688 "isConstructor" : false,
700 "type" : "Roo.Element",
701 "desc" : "The element"
706 "name" : "purgeListeners",
708 "desc" : "Removes all listeners for this object",
709 "sig" : "()\n{\n\n}",
711 "memberOf" : "Roo.util.Observable",
713 "isConstructor" : false,
727 "desc" : "Appends an event handler to this element (shorthand for addListener)",
728 "sig" : "(eventName, handler, scope, options)",
730 "memberOf" : "Roo.util.Observable",
732 "isConstructor" : false,
742 "name" : "eventName",
744 "desc" : "The type of event to listen for",
750 "desc" : "The method the event invokes",
756 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
762 "desc" : "(optional)",
771 "desc" : "Removes a listener (shorthand for removeListener)",
772 "sig" : "(eventName, handler, scope)",
774 "memberOf" : "Roo.util.Observable",
776 "isConstructor" : false,
786 "name" : "eventName",
788 "desc" : "The type of event to listen for",
794 "desc" : "The handler to remove",
800 "desc" : "(optional) The scope (this object) for the handler",
807 "name" : "addEvents",
809 "desc" : "Used to define events on this Observable",
812 "memberOf" : "Roo.util.Observable",
814 "isConstructor" : false,
826 "desc" : "The object with the events defined",
833 "name" : "releaseCapture",
835 "desc" : "Removes <b>all</b> added captures from the Observable.",
838 "memberOf" : "Roo.util.Observable",
840 "isConstructor" : false,
851 "type" : "Observable",
852 "desc" : "The Observable to release",
859 "name" : "removeListener",
861 "desc" : "Removes a listener",
862 "sig" : "(eventName, handler, scope)",
864 "memberOf" : "Roo.util.Observable",
866 "isConstructor" : false,
876 "name" : "eventName",
878 "desc" : "The type of event to listen for",
884 "desc" : "The handler to remove",
890 "desc" : "(optional) The scope (this object) for the handler",
897 "name" : "fireEvent",
899 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
900 "sig" : "(eventName, args)",
902 "memberOf" : "Roo.util.Observable",
904 "isConstructor" : false,
914 "name" : "eventName",
921 "type" : "Object...",
922 "desc" : "Variable number of parameters are passed to handlers",
930 "desc" : "returns false if any of the handlers return false otherwise it returns true"
935 "name" : "hasListener",
937 "desc" : "Checks to see if this object has any listeners for a specified event",
938 "sig" : "(eventName)",
940 "memberOf" : "Roo.util.Observable",
942 "isConstructor" : false,
952 "name" : "eventName",
954 "desc" : "The name of the event to check for",
962 "desc" : "True if the event is being listened for, else false"
969 "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.",
970 "sig" : "(o, fn, scope)",
972 "memberOf" : "Roo.util.Observable",
974 "isConstructor" : false,
985 "type" : "Observable",
986 "desc" : "The Observable to capture",
992 "desc" : "The function to call",
998 "desc" : "(optional) The scope (this object) for the fn",
1005 "name" : "addListener",
1006 "type" : "function",
1007 "desc" : "Appends an event handler to this component",
1008 "sig" : "(eventName, handler, scope, options)",
1010 "memberOf" : "Roo.util.Observable",
1012 "isConstructor" : false,
1013 "isPrivate" : false,
1022 "name" : "eventName",
1024 "desc" : "The type of event to listen for",
1025 "isOptional" : false
1029 "type" : "Function",
1030 "desc" : "The method the event invokes",
1031 "isOptional" : false
1036 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1037 "isOptional" : false
1042 "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>",
1043 "isOptional" : false
1052 "type" : "function",
1053 "desc" : "Fires after the component is moved.",
1054 "sig" : "function (_self, x, y)\n{\n\n}",
1055 "memberOf" : "Roo.BoxComponent",
1063 "type" : "Roo.Component",
1065 "isOptional" : false
1070 "desc" : "The new x position",
1071 "isOptional" : false
1076 "desc" : "The new y position",
1077 "isOptional" : false
1084 "type" : "function",
1085 "desc" : "Fires after the component is resized.",
1086 "sig" : "function (_self, adjWidth, adjHeight, rawWidth, rawHeight)\n{\n\n}",
1087 "memberOf" : "Roo.BoxComponent",
1095 "type" : "Roo.Component",
1097 "isOptional" : false
1100 "name" : "adjWidth",
1102 "desc" : "The box-adjusted width that was set",
1103 "isOptional" : false
1106 "name" : "adjHeight",
1108 "desc" : "The box-adjusted height that was set",
1109 "isOptional" : false
1112 "name" : "rawWidth",
1114 "desc" : "The width that was originally specified",
1115 "isOptional" : false
1118 "name" : "rawHeight",
1120 "desc" : "The height that was originally specified",
1121 "isOptional" : false
1127 "name" : "beforerender",
1128 "type" : "function",
1129 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1130 "sig" : "function (_self)\n{\n\n}",
1131 "memberOf" : "Roo.Component",
1139 "type" : "Roo.Component",
1141 "isOptional" : false
1148 "type" : "function",
1149 "desc" : "Fires after the component is disabled.",
1150 "sig" : "function (_self)\n{\n\n}",
1151 "memberOf" : "Roo.Component",
1159 "type" : "Roo.Component",
1161 "isOptional" : false
1168 "type" : "function",
1169 "desc" : "Fires after the component is rendered.",
1170 "sig" : "function (_self)\n{\n\n}",
1171 "memberOf" : "Roo.Component",
1179 "type" : "Roo.Component",
1181 "isOptional" : false
1188 "type" : "function",
1189 "desc" : "Fires after the component is destroyed.",
1190 "sig" : "function (_self)\n{\n\n}",
1191 "memberOf" : "Roo.Component",
1199 "type" : "Roo.Component",
1201 "isOptional" : false
1208 "type" : "function",
1209 "desc" : "Fires after the component is hidden.",
1210 "sig" : "function (_self)\n{\n\n}",
1211 "memberOf" : "Roo.Component",
1219 "type" : "Roo.Component",
1221 "isOptional" : false
1227 "name" : "beforehide",
1228 "type" : "function",
1229 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1230 "sig" : "function (_self)\n{\n\n}",
1231 "memberOf" : "Roo.Component",
1239 "type" : "Roo.Component",
1241 "isOptional" : false
1248 "type" : "function",
1249 "desc" : "Fires after the component is shown.",
1250 "sig" : "function (_self)\n{\n\n}",
1251 "memberOf" : "Roo.Component",
1259 "type" : "Roo.Component",
1261 "isOptional" : false
1267 "name" : "beforeshow",
1268 "type" : "function",
1269 "desc" : "Fires before the component is shown. Return false to stop the show.",
1270 "sig" : "function (_self)\n{\n\n}",
1271 "memberOf" : "Roo.Component",
1279 "type" : "Roo.Component",
1281 "isOptional" : false
1288 "type" : "function",
1289 "desc" : "Fires after the component is enabled.",
1290 "sig" : "function (_self)\n{\n\n}",
1291 "memberOf" : "Roo.Component",
1299 "type" : "Roo.Component",
1301 "isOptional" : false
1307 "name" : "beforedestroy",
1308 "type" : "function",
1309 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1310 "sig" : "function (_self)\n{\n\n}",
1311 "memberOf" : "Roo.Component",
1319 "type" : "Roo.Component",
1321 "isOptional" : false