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",
32 "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>",
33 "memberOf" : "Roo.util.Observable"
38 "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\".",
39 "memberOf" : "Roo.Component"
42 "name" : "allowDomMove",
44 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
45 "memberOf" : "Roo.Component"
48 "name" : "actionMode",
50 "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",
51 "memberOf" : "Roo.Component"
56 "desc" : "width (optional) size of component",
57 "memberOf" : "Roo.BoxComponent"
62 "desc" : "height (optional) size of component",
63 "memberOf" : "Roo.BoxComponent"
66 "name" : "disableClass",
68 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
69 "memberOf" : "Roo.Component"
76 "desc" : "Sets the current box measurements of the component's underlying element.",
79 "memberOf" : "Roo.BoxComponent",
81 "isConstructor" : false,
93 "desc" : "An object in the format {x, y, width, height}",
100 "name" : "setPagePosition",
102 "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.",
105 "memberOf" : "Roo.BoxComponent",
107 "isConstructor" : false,
119 "desc" : "The new x position",
125 "desc" : "The new y position",
134 "desc" : "Force the component's size to recalculate based on the underlying element's current height and width.",
135 "sig" : "()\n{\n\n}",
137 "memberOf" : "Roo.BoxComponent",
139 "isConstructor" : false,
153 "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}.",
154 "sig" : "(width, height)",
156 "memberOf" : "Roo.BoxComponent",
158 "isConstructor" : false,
169 "type" : "Number/Object",
170 "desc" : "The new width to set, or a size object in the format {width, height}",
176 "desc" : "The new height to set (not required if a size object is passed as the first arg)",
183 "type" : "Roo.BoxComponent",
189 "name" : "getPosition",
191 "desc" : "Gets the current XY position of the component's underlying element.",
194 "memberOf" : "Roo.BoxComponent",
196 "isConstructor" : false,
208 "desc" : "(optional) If true the element's left and top are returned instead of page XY (defaults to false)",
216 "desc" : "The XY position of the element (e.g., [100, 200])"
223 "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.",
224 "sig" : "(adjWidth, adjHeight, rawWidth, rawHeight)",
226 "memberOf" : "Roo.BoxComponent",
228 "isConstructor" : false,
240 "desc" : "The box-adjusted width that was set",
244 "name" : "adjHeight",
246 "desc" : "The box-adjusted height that was set",
252 "desc" : "The width that was originally specified",
256 "name" : "rawHeight",
258 "desc" : "The height that was originally specified",
267 "desc" : "Gets the current box measurements of the component's underlying element.",
270 "memberOf" : "Roo.BoxComponent",
272 "isConstructor" : false,
284 "desc" : "(optional) If true the element's left and top are returned instead of page XY (defaults to false)",
293 "desc" : "Gets the current size of the component's underlying element.",
294 "sig" : "()\n{\n\n}",
296 "memberOf" : "Roo.BoxComponent",
298 "isConstructor" : false,
311 "desc" : "An object containing the element's size {width: (element width), height: (element height)}"
316 "name" : "onPosition",
318 "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.",
321 "memberOf" : "Roo.BoxComponent",
323 "isConstructor" : false,
335 "desc" : "The new x position",
341 "desc" : "The new y position",
348 "name" : "setPosition",
350 "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.",
351 "sig" : "(left, top)",
353 "memberOf" : "Roo.BoxComponent",
355 "isConstructor" : false,
367 "desc" : "The new left",
373 "desc" : "The new top",
382 "desc" : "Returns the id of this component.",
383 "sig" : "()\n{\n\n}",
385 "memberOf" : "Roo.Component",
387 "isConstructor" : false,
407 "desc" : "If this is a lazy rendering component, render it to its container element.",
408 "sig" : "(container)",
410 "memberOf" : "Roo.Component",
412 "isConstructor" : false,
422 "name" : "container",
423 "type" : "String/HTMLElement/Element",
424 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
433 "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}.",
434 "sig" : "()\n{\n\n}",
436 "memberOf" : "Roo.Component",
438 "isConstructor" : false,
450 "name" : "isVisible",
452 "desc" : "Returns true if this component is visible.",
453 "sig" : "()\n{\n\n}",
455 "memberOf" : "Roo.Component",
457 "isConstructor" : false,
469 "name" : "setDisabled",
471 "desc" : "Convenience function for setting disabled/enabled by boolean.",
472 "sig" : "(disabled)",
474 "memberOf" : "Roo.Component",
476 "isConstructor" : false,
497 "desc" : "Hide this component.",
498 "sig" : "()\n{\n\n}",
500 "memberOf" : "Roo.Component",
502 "isConstructor" : false,
514 "type" : "Roo.Component",
522 "desc" : "Try to focus this component.",
523 "sig" : "(selectText)",
525 "memberOf" : "Roo.Component",
527 "isConstructor" : false,
537 "name" : "selectText",
539 "desc" : "True to also select the text in this component (if applicable)",
546 "type" : "Roo.Component",
554 "desc" : "Show this component.",
555 "sig" : "()\n{\n\n}",
557 "memberOf" : "Roo.Component",
559 "isConstructor" : false,
571 "type" : "Roo.Component",
579 "desc" : "Enable this component.",
580 "sig" : "()\n{\n\n}",
582 "memberOf" : "Roo.Component",
584 "isConstructor" : false,
596 "type" : "Roo.Component",
602 "name" : "setVisible",
604 "desc" : "Convenience function to hide or show this component by boolean.",
607 "memberOf" : "Roo.Component",
609 "isConstructor" : false,
621 "desc" : "True to show, false to hide",
628 "type" : "Roo.Component",
636 "desc" : "Disable this component.",
637 "sig" : "()\n{\n\n}",
639 "memberOf" : "Roo.Component",
641 "isConstructor" : false,
653 "type" : "Roo.Component",
661 "desc" : "Returns the underlying {@link Roo.Element}.",
662 "sig" : "()\n{\n\n}",
664 "memberOf" : "Roo.Component",
666 "isConstructor" : false,
678 "type" : "Roo.Element",
679 "desc" : "The element"
684 "name" : "purgeListeners",
686 "desc" : "Removes all listeners for this object",
687 "sig" : "()\n{\n\n}",
689 "memberOf" : "Roo.util.Observable",
691 "isConstructor" : false,
705 "desc" : "Appends an event handler to this element (shorthand for addListener)",
706 "sig" : "(eventName, handler, scope, options)",
708 "memberOf" : "Roo.util.Observable",
710 "isConstructor" : false,
720 "name" : "eventName",
722 "desc" : "The type of event to listen for",
728 "desc" : "The method the event invokes",
734 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
740 "desc" : "(optional)",
749 "desc" : "Removes a listener (shorthand for removeListener)",
750 "sig" : "(eventName, handler, scope)",
752 "memberOf" : "Roo.util.Observable",
754 "isConstructor" : false,
764 "name" : "eventName",
766 "desc" : "The type of event to listen for",
772 "desc" : "The handler to remove",
778 "desc" : "(optional) The scope (this object) for the handler",
785 "name" : "addEvents",
787 "desc" : "Used to define events on this Observable",
790 "memberOf" : "Roo.util.Observable",
792 "isConstructor" : false,
804 "desc" : "The object with the events defined",
811 "name" : "releaseCapture",
813 "desc" : "Removes <b>all</b> added captures from the Observable.",
816 "memberOf" : "Roo.util.Observable",
818 "isConstructor" : false,
829 "type" : "Observable",
830 "desc" : "The Observable to release",
837 "name" : "removeListener",
839 "desc" : "Removes a listener",
840 "sig" : "(eventName, handler, scope)",
842 "memberOf" : "Roo.util.Observable",
844 "isConstructor" : false,
854 "name" : "eventName",
856 "desc" : "The type of event to listen for",
862 "desc" : "The handler to remove",
868 "desc" : "(optional) The scope (this object) for the handler",
875 "name" : "fireEvent",
877 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
878 "sig" : "(eventName, args)",
880 "memberOf" : "Roo.util.Observable",
882 "isConstructor" : false,
892 "name" : "eventName",
899 "type" : "Object...",
900 "desc" : "Variable number of parameters are passed to handlers",
908 "desc" : "returns false if any of the handlers return false otherwise it returns true"
913 "name" : "hasListener",
915 "desc" : "Checks to see if this object has any listeners for a specified event",
916 "sig" : "(eventName)",
918 "memberOf" : "Roo.util.Observable",
920 "isConstructor" : false,
930 "name" : "eventName",
932 "desc" : "The name of the event to check for",
940 "desc" : "True if the event is being listened for, else false"
947 "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.",
948 "sig" : "(o, fn, scope)",
950 "memberOf" : "Roo.util.Observable",
952 "isConstructor" : false,
963 "type" : "Observable",
964 "desc" : "The Observable to capture",
970 "desc" : "The function to call",
976 "desc" : "(optional) The scope (this object) for the fn",
983 "name" : "addListener",
985 "desc" : "Appends an event handler to this component",
986 "sig" : "(eventName, handler, scope, options)",
988 "memberOf" : "Roo.util.Observable",
990 "isConstructor" : false,
1000 "name" : "eventName",
1002 "desc" : "The type of event to listen for",
1003 "isOptional" : false
1007 "type" : "Function",
1008 "desc" : "The method the event invokes",
1009 "isOptional" : false
1014 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1015 "isOptional" : false
1020 "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>",
1021 "isOptional" : false
1030 "type" : "function",
1031 "desc" : "Fires after the component is moved.",
1032 "sig" : "function (_self, x, y)\n{\n\n}",
1033 "memberOf" : "Roo.BoxComponent",
1041 "type" : "Roo.Component",
1043 "isOptional" : false
1048 "desc" : "The new x position",
1049 "isOptional" : false
1054 "desc" : "The new y position",
1055 "isOptional" : false
1062 "type" : "function",
1063 "desc" : "Fires after the component is resized.",
1064 "sig" : "function (_self, adjWidth, adjHeight, rawWidth, rawHeight)\n{\n\n}",
1065 "memberOf" : "Roo.BoxComponent",
1073 "type" : "Roo.Component",
1075 "isOptional" : false
1078 "name" : "adjWidth",
1080 "desc" : "The box-adjusted width that was set",
1081 "isOptional" : false
1084 "name" : "adjHeight",
1086 "desc" : "The box-adjusted height that was set",
1087 "isOptional" : false
1090 "name" : "rawWidth",
1092 "desc" : "The width that was originally specified",
1093 "isOptional" : false
1096 "name" : "rawHeight",
1098 "desc" : "The height that was originally specified",
1099 "isOptional" : false
1105 "name" : "beforerender",
1106 "type" : "function",
1107 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1108 "sig" : "function (_self)\n{\n\n}",
1109 "memberOf" : "Roo.Component",
1117 "type" : "Roo.Component",
1119 "isOptional" : false
1126 "type" : "function",
1127 "desc" : "Fires after the component is disabled.",
1128 "sig" : "function (_self)\n{\n\n}",
1129 "memberOf" : "Roo.Component",
1137 "type" : "Roo.Component",
1139 "isOptional" : false
1146 "type" : "function",
1147 "desc" : "Fires after the component is rendered.",
1148 "sig" : "function (_self)\n{\n\n}",
1149 "memberOf" : "Roo.Component",
1157 "type" : "Roo.Component",
1159 "isOptional" : false
1166 "type" : "function",
1167 "desc" : "Fires after the component is destroyed.",
1168 "sig" : "function (_self)\n{\n\n}",
1169 "memberOf" : "Roo.Component",
1177 "type" : "Roo.Component",
1179 "isOptional" : false
1186 "type" : "function",
1187 "desc" : "Fires after the component is hidden.",
1188 "sig" : "function (_self)\n{\n\n}",
1189 "memberOf" : "Roo.Component",
1197 "type" : "Roo.Component",
1199 "isOptional" : false
1205 "name" : "beforehide",
1206 "type" : "function",
1207 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1208 "sig" : "function (_self)\n{\n\n}",
1209 "memberOf" : "Roo.Component",
1217 "type" : "Roo.Component",
1219 "isOptional" : false
1226 "type" : "function",
1227 "desc" : "Fires after the component is shown.",
1228 "sig" : "function (_self)\n{\n\n}",
1229 "memberOf" : "Roo.Component",
1237 "type" : "Roo.Component",
1239 "isOptional" : false
1245 "name" : "beforeshow",
1246 "type" : "function",
1247 "desc" : "Fires before the component is shown. Return false to stop the show.",
1248 "sig" : "function (_self)\n{\n\n}",
1249 "memberOf" : "Roo.Component",
1257 "type" : "Roo.Component",
1259 "isOptional" : false
1266 "type" : "function",
1267 "desc" : "Fires after the component is enabled.",
1268 "sig" : "function (_self)\n{\n\n}",
1269 "memberOf" : "Roo.Component",
1277 "type" : "Roo.Component",
1279 "isOptional" : false
1285 "name" : "beforedestroy",
1286 "type" : "function",
1287 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1288 "sig" : "function (_self)\n{\n\n}",
1289 "memberOf" : "Roo.Component",
1297 "type" : "Roo.Component",
1299 "isOptional" : false