2 "name" : "Roo.form.ComboBoxArray.Item",
9 "desc" : "A selected item in the list\n Fred [x] Brian [x] [Pick another |v]",
10 "isSingleton" : false,
22 "desc" : "Configuration options",
33 "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>",
34 "memberOf" : "Roo.util.Observable"
39 "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\".",
40 "memberOf" : "Roo.Component"
43 "name" : "allowDomMove",
45 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
46 "memberOf" : "Roo.Component"
49 "name" : "actionMode",
51 "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",
52 "memberOf" : "Roo.Component"
57 "desc" : "width (optional) size of component",
58 "memberOf" : "Roo.BoxComponent"
63 "desc" : "height (optional) size of component",
64 "memberOf" : "Roo.BoxComponent"
67 "name" : "disableClass",
69 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
70 "memberOf" : "Roo.Component"
77 "desc" : "Sets the current box measurements of the component's underlying element.",
80 "memberOf" : "Roo.BoxComponent",
82 "isConstructor" : false,
94 "desc" : "An object in the format {x, y, width, height}",
101 "name" : "setPagePosition",
103 "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 "memberOf" : "Roo.BoxComponent",
108 "isConstructor" : false,
120 "desc" : "The new x position",
126 "desc" : "The new y position",
135 "desc" : "Force the component's size to recalculate based on the underlying element's current height and width.",
136 "sig" : "()\n{\n\n}",
138 "memberOf" : "Roo.BoxComponent",
140 "isConstructor" : false,
154 "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}.",
155 "sig" : "(width, height)",
157 "memberOf" : "Roo.BoxComponent",
159 "isConstructor" : false,
170 "type" : "Number/Object",
171 "desc" : "The new width to set, or a size object in the format {width, height}",
177 "desc" : "The new height to set (not required if a size object is passed as the first arg)",
184 "type" : "Roo.BoxComponent",
190 "name" : "getPosition",
192 "desc" : "Gets the current XY position of the component's underlying element.",
195 "memberOf" : "Roo.BoxComponent",
197 "isConstructor" : false,
209 "desc" : "(optional) If true the element's left and top are returned instead of page XY (defaults to false)",
217 "desc" : "The XY position of the element (e.g., [100, 200])"
224 "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.",
225 "sig" : "(adjWidth, adjHeight, rawWidth, rawHeight)",
227 "memberOf" : "Roo.BoxComponent",
229 "isConstructor" : false,
241 "desc" : "The box-adjusted width that was set",
245 "name" : "adjHeight",
247 "desc" : "The box-adjusted height that was set",
253 "desc" : "The width that was originally specified",
257 "name" : "rawHeight",
259 "desc" : "The height that was originally specified",
268 "desc" : "Gets the current box measurements of the component's underlying element.",
271 "memberOf" : "Roo.BoxComponent",
273 "isConstructor" : false,
285 "desc" : "(optional) If true the element's left and top are returned instead of page XY (defaults to false)",
294 "desc" : "Gets the current size of the component's underlying element.",
295 "sig" : "()\n{\n\n}",
297 "memberOf" : "Roo.BoxComponent",
299 "isConstructor" : false,
312 "desc" : "An object containing the element's size {width: (element width), height: (element height)}"
317 "name" : "onPosition",
319 "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.",
322 "memberOf" : "Roo.BoxComponent",
324 "isConstructor" : false,
336 "desc" : "The new x position",
342 "desc" : "The new y position",
349 "name" : "setPosition",
351 "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.",
352 "sig" : "(left, top)",
354 "memberOf" : "Roo.BoxComponent",
356 "isConstructor" : false,
368 "desc" : "The new left",
374 "desc" : "The new top",
383 "desc" : "Returns the id of this component.",
384 "sig" : "()\n{\n\n}",
386 "memberOf" : "Roo.Component",
388 "isConstructor" : false,
408 "desc" : "If this is a lazy rendering component, render it to its container element.",
409 "sig" : "(container)",
411 "memberOf" : "Roo.Component",
413 "isConstructor" : false,
423 "name" : "container",
424 "type" : "String/HTMLElement/Element",
425 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
434 "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}.",
435 "sig" : "()\n{\n\n}",
437 "memberOf" : "Roo.Component",
439 "isConstructor" : false,
451 "name" : "isVisible",
453 "desc" : "Returns true if this component is visible.",
454 "sig" : "()\n{\n\n}",
456 "memberOf" : "Roo.Component",
458 "isConstructor" : false,
470 "name" : "setDisabled",
472 "desc" : "Convenience function for setting disabled/enabled by boolean.",
473 "sig" : "(disabled)",
475 "memberOf" : "Roo.Component",
477 "isConstructor" : false,
498 "desc" : "Hide this component.",
499 "sig" : "()\n{\n\n}",
501 "memberOf" : "Roo.Component",
503 "isConstructor" : false,
515 "type" : "Roo.Component",
523 "desc" : "Try to focus this component.",
524 "sig" : "(selectText)",
526 "memberOf" : "Roo.Component",
528 "isConstructor" : false,
538 "name" : "selectText",
540 "desc" : "True to also select the text in this component (if applicable)",
547 "type" : "Roo.Component",
555 "desc" : "Show this component.",
556 "sig" : "()\n{\n\n}",
558 "memberOf" : "Roo.Component",
560 "isConstructor" : false,
572 "type" : "Roo.Component",
580 "desc" : "Enable this component.",
581 "sig" : "()\n{\n\n}",
583 "memberOf" : "Roo.Component",
585 "isConstructor" : false,
597 "type" : "Roo.Component",
603 "name" : "setVisible",
605 "desc" : "Convenience function to hide or show this component by boolean.",
608 "memberOf" : "Roo.Component",
610 "isConstructor" : false,
622 "desc" : "True to show, false to hide",
629 "type" : "Roo.Component",
637 "desc" : "Disable this component.",
638 "sig" : "()\n{\n\n}",
640 "memberOf" : "Roo.Component",
642 "isConstructor" : false,
654 "type" : "Roo.Component",
662 "desc" : "Returns the underlying {@link Roo.Element}.",
663 "sig" : "()\n{\n\n}",
665 "memberOf" : "Roo.Component",
667 "isConstructor" : false,
679 "type" : "Roo.Element",
680 "desc" : "The element"
685 "name" : "purgeListeners",
687 "desc" : "Removes all listeners for this object",
688 "sig" : "()\n{\n\n}",
690 "memberOf" : "Roo.util.Observable",
692 "isConstructor" : false,
706 "desc" : "Appends an event handler to this element (shorthand for addListener)",
707 "sig" : "(eventName, handler, scope, options)",
709 "memberOf" : "Roo.util.Observable",
711 "isConstructor" : false,
721 "name" : "eventName",
723 "desc" : "The type of event to listen for",
729 "desc" : "The method the event invokes",
735 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
741 "desc" : "(optional)",
750 "desc" : "Removes a listener (shorthand for removeListener)",
751 "sig" : "(eventName, handler, scope)",
753 "memberOf" : "Roo.util.Observable",
755 "isConstructor" : false,
765 "name" : "eventName",
767 "desc" : "The type of event to listen for",
773 "desc" : "The handler to remove",
779 "desc" : "(optional) The scope (this object) for the handler",
786 "name" : "addEvents",
788 "desc" : "Used to define events on this Observable",
791 "memberOf" : "Roo.util.Observable",
793 "isConstructor" : false,
805 "desc" : "The object with the events defined",
812 "name" : "releaseCapture",
814 "desc" : "Removes <b>all</b> added captures from the Observable.",
817 "memberOf" : "Roo.util.Observable",
819 "isConstructor" : false,
830 "type" : "Observable",
831 "desc" : "The Observable to release",
838 "name" : "removeListener",
840 "desc" : "Removes a listener",
841 "sig" : "(eventName, handler, scope)",
843 "memberOf" : "Roo.util.Observable",
845 "isConstructor" : false,
855 "name" : "eventName",
857 "desc" : "The type of event to listen for",
863 "desc" : "The handler to remove",
869 "desc" : "(optional) The scope (this object) for the handler",
876 "name" : "fireEvent",
878 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
879 "sig" : "(eventName, args)",
881 "memberOf" : "Roo.util.Observable",
883 "isConstructor" : false,
893 "name" : "eventName",
900 "type" : "Object...",
901 "desc" : "Variable number of parameters are passed to handlers",
909 "desc" : "returns false if any of the handlers return false otherwise it returns true"
914 "name" : "hasListener",
916 "desc" : "Checks to see if this object has any listeners for a specified event",
917 "sig" : "(eventName)",
919 "memberOf" : "Roo.util.Observable",
921 "isConstructor" : false,
931 "name" : "eventName",
933 "desc" : "The name of the event to check for",
941 "desc" : "True if the event is being listened for, else false"
948 "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.",
949 "sig" : "(o, fn, scope)",
951 "memberOf" : "Roo.util.Observable",
953 "isConstructor" : false,
964 "type" : "Observable",
965 "desc" : "The Observable to capture",
971 "desc" : "The function to call",
977 "desc" : "(optional) The scope (this object) for the fn",
984 "name" : "addListener",
986 "desc" : "Appends an event handler to this component",
987 "sig" : "(eventName, handler, scope, options)",
989 "memberOf" : "Roo.util.Observable",
991 "isConstructor" : false,
1001 "name" : "eventName",
1003 "desc" : "The type of event to listen for",
1004 "isOptional" : false
1008 "type" : "Function",
1009 "desc" : "The method the event invokes",
1010 "isOptional" : false
1015 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1016 "isOptional" : false
1021 "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>",
1022 "isOptional" : false
1031 "type" : "function",
1032 "desc" : "Fires after the component is moved.",
1033 "sig" : "function (_self, x, y)\n{\n\n}",
1034 "memberOf" : "Roo.BoxComponent",
1042 "type" : "Roo.Component",
1044 "isOptional" : false
1049 "desc" : "The new x position",
1050 "isOptional" : false
1055 "desc" : "The new y position",
1056 "isOptional" : false
1063 "type" : "function",
1064 "desc" : "Fires after the component is resized.",
1065 "sig" : "function (_self, adjWidth, adjHeight, rawWidth, rawHeight)\n{\n\n}",
1066 "memberOf" : "Roo.BoxComponent",
1074 "type" : "Roo.Component",
1076 "isOptional" : false
1079 "name" : "adjWidth",
1081 "desc" : "The box-adjusted width that was set",
1082 "isOptional" : false
1085 "name" : "adjHeight",
1087 "desc" : "The box-adjusted height that was set",
1088 "isOptional" : false
1091 "name" : "rawWidth",
1093 "desc" : "The width that was originally specified",
1094 "isOptional" : false
1097 "name" : "rawHeight",
1099 "desc" : "The height that was originally specified",
1100 "isOptional" : false
1106 "name" : "beforerender",
1107 "type" : "function",
1108 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1109 "sig" : "function (_self)\n{\n\n}",
1110 "memberOf" : "Roo.Component",
1118 "type" : "Roo.Component",
1120 "isOptional" : false
1127 "type" : "function",
1128 "desc" : "Fires after the component is disabled.",
1129 "sig" : "function (_self)\n{\n\n}",
1130 "memberOf" : "Roo.Component",
1138 "type" : "Roo.Component",
1140 "isOptional" : false
1147 "type" : "function",
1148 "desc" : "Fires after the component is rendered.",
1149 "sig" : "function (_self)\n{\n\n}",
1150 "memberOf" : "Roo.Component",
1158 "type" : "Roo.Component",
1160 "isOptional" : false
1167 "type" : "function",
1168 "desc" : "Fires after the component is destroyed.",
1169 "sig" : "function (_self)\n{\n\n}",
1170 "memberOf" : "Roo.Component",
1178 "type" : "Roo.Component",
1180 "isOptional" : false
1187 "type" : "function",
1188 "desc" : "Fires after the component is hidden.",
1189 "sig" : "function (_self)\n{\n\n}",
1190 "memberOf" : "Roo.Component",
1198 "type" : "Roo.Component",
1200 "isOptional" : false
1206 "name" : "beforehide",
1207 "type" : "function",
1208 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1209 "sig" : "function (_self)\n{\n\n}",
1210 "memberOf" : "Roo.Component",
1218 "type" : "Roo.Component",
1220 "isOptional" : false
1227 "type" : "function",
1228 "desc" : "Fires after the component is shown.",
1229 "sig" : "function (_self)\n{\n\n}",
1230 "memberOf" : "Roo.Component",
1238 "type" : "Roo.Component",
1240 "isOptional" : false
1246 "name" : "beforeshow",
1247 "type" : "function",
1248 "desc" : "Fires before the component is shown. Return false to stop the show.",
1249 "sig" : "function (_self)\n{\n\n}",
1250 "memberOf" : "Roo.Component",
1258 "type" : "Roo.Component",
1260 "isOptional" : false
1267 "type" : "function",
1268 "desc" : "Fires after the component is enabled.",
1269 "sig" : "function (_self)\n{\n\n}",
1270 "memberOf" : "Roo.Component",
1278 "type" : "Roo.Component",
1280 "isOptional" : false
1286 "name" : "beforedestroy",
1287 "type" : "function",
1288 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1289 "sig" : "function (_self)\n{\n\n}",
1290 "memberOf" : "Roo.Component",
1298 "type" : "Roo.Component",
1300 "isOptional" : false