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",
56 "desc" : "css styles to add to component\neg. text-align:right;",
57 "memberOf" : "Roo.Component",
62 "name" : "allowDomMove",
64 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
65 "memberOf" : "Roo.Component",
70 "name" : "actionMode",
72 "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",
73 "memberOf" : "Roo.Component",
80 "desc" : "width (optional) size of component",
81 "memberOf" : "Roo.BoxComponent",
88 "desc" : "height (optional) size of component",
89 "memberOf" : "Roo.BoxComponent",
94 "name" : "disableClass",
96 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
97 "memberOf" : "Roo.Component",
104 "name" : "updateBox",
106 "desc" : "Sets the current box measurements of the component's underlying element.",
109 "memberOf" : "Roo.BoxComponent",
111 "isConstructor" : false,
123 "desc" : "An object in the format {x, y, width, height}",
130 "name" : "setPagePosition",
132 "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.",
135 "memberOf" : "Roo.BoxComponent",
137 "isConstructor" : false,
149 "desc" : "The new x position",
155 "desc" : "The new y position",
164 "desc" : "Force the component's size to recalculate based on the underlying element's current height and width.",
165 "sig" : "()\n{\n\n}",
167 "memberOf" : "Roo.BoxComponent",
169 "isConstructor" : false,
183 "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}.",
184 "sig" : "(width, height)",
186 "memberOf" : "Roo.BoxComponent",
188 "isConstructor" : false,
199 "type" : "Number/Object",
200 "desc" : "The new width to set, or a size object in the format {width, height}",
206 "desc" : "The new height to set (not required if a size object is passed as the first arg)",
213 "type" : "Roo.BoxComponent",
219 "name" : "getPosition",
221 "desc" : "Gets the current XY position of the component's underlying element.",
224 "memberOf" : "Roo.BoxComponent",
226 "isConstructor" : false,
238 "desc" : "(optional) If true the element's left and top are returned instead of page XY (defaults to false)",
246 "desc" : "The XY position of the element (e.g., [100, 200])"
253 "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.",
254 "sig" : "(adjWidth, adjHeight, rawWidth, rawHeight)",
256 "memberOf" : "Roo.BoxComponent",
258 "isConstructor" : false,
270 "desc" : "The box-adjusted width that was set",
274 "name" : "adjHeight",
276 "desc" : "The box-adjusted height that was set",
282 "desc" : "The width that was originally specified",
286 "name" : "rawHeight",
288 "desc" : "The height that was originally specified",
297 "desc" : "Gets the current box measurements of the component's underlying element.",
300 "memberOf" : "Roo.BoxComponent",
302 "isConstructor" : false,
314 "desc" : "(optional) If true the element's left and top are returned instead of page XY (defaults to false)",
323 "desc" : "Gets the current size of the component's underlying element.",
324 "sig" : "()\n{\n\n}",
326 "memberOf" : "Roo.BoxComponent",
328 "isConstructor" : false,
341 "desc" : "An object containing the element's size {width: (element width), height: (element height)}"
346 "name" : "onPosition",
348 "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.",
351 "memberOf" : "Roo.BoxComponent",
353 "isConstructor" : false,
365 "desc" : "The new x position",
371 "desc" : "The new y position",
378 "name" : "setPosition",
380 "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.",
381 "sig" : "(left, top)",
383 "memberOf" : "Roo.BoxComponent",
385 "isConstructor" : false,
397 "desc" : "The new left",
403 "desc" : "The new top",
412 "desc" : "Returns the id of this component.",
413 "sig" : "()\n{\n\n}",
415 "memberOf" : "Roo.Component",
417 "isConstructor" : false,
437 "desc" : "If this is a lazy rendering component, render it to its container element.",
438 "sig" : "(container)",
440 "memberOf" : "Roo.Component",
442 "isConstructor" : false,
452 "name" : "container",
453 "type" : "String/HTMLElement/Element",
454 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
463 "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}.",
464 "sig" : "()\n{\n\n}",
466 "memberOf" : "Roo.Component",
468 "isConstructor" : false,
480 "name" : "isVisible",
482 "desc" : "Returns true if this component is visible.",
483 "sig" : "()\n{\n\n}",
485 "memberOf" : "Roo.Component",
487 "isConstructor" : false,
499 "name" : "setDisabled",
501 "desc" : "Convenience function for setting disabled/enabled by boolean.",
502 "sig" : "(disabled)",
504 "memberOf" : "Roo.Component",
506 "isConstructor" : false,
527 "desc" : "Hide this component.",
528 "sig" : "()\n{\n\n}",
530 "memberOf" : "Roo.Component",
532 "isConstructor" : false,
544 "type" : "Roo.Component",
552 "desc" : "Try to focus this component.",
553 "sig" : "(selectText)",
555 "memberOf" : "Roo.Component",
557 "isConstructor" : false,
567 "name" : "selectText",
569 "desc" : "True to also select the text in this component (if applicable)",
576 "type" : "Roo.Component",
584 "desc" : "Show this component.",
585 "sig" : "()\n{\n\n}",
587 "memberOf" : "Roo.Component",
589 "isConstructor" : false,
601 "type" : "Roo.Component",
609 "desc" : "Enable this component.",
610 "sig" : "()\n{\n\n}",
612 "memberOf" : "Roo.Component",
614 "isConstructor" : false,
626 "type" : "Roo.Component",
632 "name" : "setVisible",
634 "desc" : "Convenience function to hide or show this component by boolean.",
637 "memberOf" : "Roo.Component",
639 "isConstructor" : false,
651 "desc" : "True to show, false to hide",
658 "type" : "Roo.Component",
666 "desc" : "Disable this component.",
667 "sig" : "()\n{\n\n}",
669 "memberOf" : "Roo.Component",
671 "isConstructor" : false,
683 "type" : "Roo.Component",
691 "desc" : "Returns the underlying {@link Roo.Element}.",
692 "sig" : "()\n{\n\n}",
694 "memberOf" : "Roo.Component",
696 "isConstructor" : false,
708 "type" : "Roo.Element",
709 "desc" : "The element"
714 "name" : "purgeListeners",
716 "desc" : "Removes all listeners for this object",
717 "sig" : "()\n{\n\n}",
719 "memberOf" : "Roo.util.Observable",
721 "isConstructor" : false,
735 "desc" : "Appends an event handler to this element (shorthand for addListener)",
736 "sig" : "(eventName, handler, scope, options)",
738 "memberOf" : "Roo.util.Observable",
740 "isConstructor" : false,
750 "name" : "eventName",
752 "desc" : "The type of event to listen for",
758 "desc" : "The method the event invokes",
764 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
770 "desc" : "(optional)",
779 "desc" : "Removes a listener (shorthand for removeListener)",
780 "sig" : "(eventName, handler, scope)",
782 "memberOf" : "Roo.util.Observable",
784 "isConstructor" : false,
794 "name" : "eventName",
796 "desc" : "The type of event to listen for",
802 "desc" : "The handler to remove",
808 "desc" : "(optional) The scope (this object) for the handler",
815 "name" : "addEvents",
817 "desc" : "Used to define events on this Observable",
820 "memberOf" : "Roo.util.Observable",
822 "isConstructor" : false,
834 "desc" : "The object with the events defined",
841 "name" : "releaseCapture",
843 "desc" : "Removes <b>all</b> added captures from the Observable.",
846 "memberOf" : "Roo.util.Observable",
848 "isConstructor" : false,
859 "type" : "Observable",
860 "desc" : "The Observable to release",
867 "name" : "removeListener",
869 "desc" : "Removes a listener",
870 "sig" : "(eventName, handler, scope)",
872 "memberOf" : "Roo.util.Observable",
874 "isConstructor" : false,
884 "name" : "eventName",
886 "desc" : "The type of event to listen for",
892 "desc" : "The handler to remove",
898 "desc" : "(optional) The scope (this object) for the handler",
905 "name" : "fireEvent",
907 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
908 "sig" : "(eventName, args)",
910 "memberOf" : "Roo.util.Observable",
912 "isConstructor" : false,
922 "name" : "eventName",
929 "type" : "Object...",
930 "desc" : "Variable number of parameters are passed to handlers",
938 "desc" : "returns false if any of the handlers return false otherwise it returns true"
943 "name" : "hasListener",
945 "desc" : "Checks to see if this object has any listeners for a specified event",
946 "sig" : "(eventName)",
948 "memberOf" : "Roo.util.Observable",
950 "isConstructor" : false,
960 "name" : "eventName",
962 "desc" : "The name of the event to check for",
970 "desc" : "True if the event is being listened for, else false"
977 "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.",
978 "sig" : "(o, fn, scope)",
980 "memberOf" : "Roo.util.Observable",
982 "isConstructor" : false,
993 "type" : "Observable",
994 "desc" : "The Observable to capture",
1000 "desc" : "The function to call",
1001 "isOptional" : false
1006 "desc" : "(optional) The scope (this object) for the fn",
1007 "isOptional" : false
1013 "name" : "addListener",
1014 "type" : "function",
1015 "desc" : "Appends an event handler to this component",
1016 "sig" : "(eventName, handler, scope, options)",
1018 "memberOf" : "Roo.util.Observable",
1020 "isConstructor" : false,
1021 "isPrivate" : false,
1030 "name" : "eventName",
1032 "desc" : "The type of event to listen for",
1033 "isOptional" : false
1037 "type" : "Function",
1038 "desc" : "The method the event invokes",
1039 "isOptional" : false
1044 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1045 "isOptional" : false
1050 "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>",
1051 "isOptional" : false
1060 "type" : "function",
1061 "desc" : "Fires after the component is moved.",
1062 "sig" : "function (_self, x, y)\n{\n\n}",
1063 "memberOf" : "Roo.BoxComponent",
1071 "type" : "Roo.Component",
1073 "isOptional" : false
1078 "desc" : "The new x position",
1079 "isOptional" : false
1084 "desc" : "The new y position",
1085 "isOptional" : false
1092 "type" : "function",
1093 "desc" : "Fires after the component is resized.",
1094 "sig" : "function (_self, adjWidth, adjHeight, rawWidth, rawHeight)\n{\n\n}",
1095 "memberOf" : "Roo.BoxComponent",
1103 "type" : "Roo.Component",
1105 "isOptional" : false
1108 "name" : "adjWidth",
1110 "desc" : "The box-adjusted width that was set",
1111 "isOptional" : false
1114 "name" : "adjHeight",
1116 "desc" : "The box-adjusted height that was set",
1117 "isOptional" : false
1120 "name" : "rawWidth",
1122 "desc" : "The width that was originally specified",
1123 "isOptional" : false
1126 "name" : "rawHeight",
1128 "desc" : "The height that was originally specified",
1129 "isOptional" : false
1135 "name" : "beforerender",
1136 "type" : "function",
1137 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1138 "sig" : "function (_self)\n{\n\n}",
1139 "memberOf" : "Roo.Component",
1147 "type" : "Roo.Component",
1149 "isOptional" : false
1156 "type" : "function",
1157 "desc" : "Fires after the component is disabled.",
1158 "sig" : "function (_self)\n{\n\n}",
1159 "memberOf" : "Roo.Component",
1167 "type" : "Roo.Component",
1169 "isOptional" : false
1176 "type" : "function",
1177 "desc" : "Fires after the component is rendered.",
1178 "sig" : "function (_self)\n{\n\n}",
1179 "memberOf" : "Roo.Component",
1187 "type" : "Roo.Component",
1189 "isOptional" : false
1196 "type" : "function",
1197 "desc" : "Fires after the component is destroyed.",
1198 "sig" : "function (_self)\n{\n\n}",
1199 "memberOf" : "Roo.Component",
1207 "type" : "Roo.Component",
1209 "isOptional" : false
1216 "type" : "function",
1217 "desc" : "Fires after the component is hidden.",
1218 "sig" : "function (_self)\n{\n\n}",
1219 "memberOf" : "Roo.Component",
1227 "type" : "Roo.Component",
1229 "isOptional" : false
1235 "name" : "beforehide",
1236 "type" : "function",
1237 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1238 "sig" : "function (_self)\n{\n\n}",
1239 "memberOf" : "Roo.Component",
1247 "type" : "Roo.Component",
1249 "isOptional" : false
1256 "type" : "function",
1257 "desc" : "Fires after the component is shown.",
1258 "sig" : "function (_self)\n{\n\n}",
1259 "memberOf" : "Roo.Component",
1267 "type" : "Roo.Component",
1269 "isOptional" : false
1275 "name" : "beforeshow",
1276 "type" : "function",
1277 "desc" : "Fires before the component is shown. Return false to stop the show.",
1278 "sig" : "function (_self)\n{\n\n}",
1279 "memberOf" : "Roo.Component",
1287 "type" : "Roo.Component",
1289 "isOptional" : false
1296 "type" : "function",
1297 "desc" : "Fires after the component is enabled.",
1298 "sig" : "function (_self)\n{\n\n}",
1299 "memberOf" : "Roo.Component",
1307 "type" : "Roo.Component",
1309 "isOptional" : false
1315 "name" : "beforedestroy",
1316 "type" : "function",
1317 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1318 "sig" : "function (_self)\n{\n\n}",
1319 "memberOf" : "Roo.Component",
1327 "type" : "Roo.Component",
1329 "isOptional" : false