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"
43 "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\".",
44 "memberOf" : "Roo.Component"
47 "name" : "allowDomMove",
49 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
50 "memberOf" : "Roo.Component"
53 "name" : "actionMode",
55 "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",
56 "memberOf" : "Roo.Component"
61 "desc" : "width (optional) size of component",
62 "memberOf" : "Roo.BoxComponent"
67 "desc" : "height (optional) size of component",
68 "memberOf" : "Roo.BoxComponent"
71 "name" : "disableClass",
73 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
74 "memberOf" : "Roo.Component"
81 "desc" : "Sets the current box measurements of the component's underlying element.",
84 "memberOf" : "Roo.BoxComponent",
86 "isConstructor" : false,
98 "desc" : "An object in the format {x, y, width, height}",
105 "name" : "setPagePosition",
107 "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.",
110 "memberOf" : "Roo.BoxComponent",
112 "isConstructor" : false,
124 "desc" : "The new x position",
130 "desc" : "The new y position",
139 "desc" : "Force the component's size to recalculate based on the underlying element's current height and width.",
140 "sig" : "()\n{\n\n}",
142 "memberOf" : "Roo.BoxComponent",
144 "isConstructor" : false,
158 "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}.",
159 "sig" : "(width, height)",
161 "memberOf" : "Roo.BoxComponent",
163 "isConstructor" : false,
174 "type" : "Number/Object",
175 "desc" : "The new width to set, or a size object in the format {width, height}",
181 "desc" : "The new height to set (not required if a size object is passed as the first arg)",
188 "type" : "Roo.BoxComponent",
194 "name" : "getPosition",
196 "desc" : "Gets the current XY position of the component's underlying element.",
199 "memberOf" : "Roo.BoxComponent",
201 "isConstructor" : false,
213 "desc" : "(optional) If true the element's left and top are returned instead of page XY (defaults to false)",
221 "desc" : "The XY position of the element (e.g., [100, 200])"
228 "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.",
229 "sig" : "(adjWidth, adjHeight, rawWidth, rawHeight)",
231 "memberOf" : "Roo.BoxComponent",
233 "isConstructor" : false,
245 "desc" : "The box-adjusted width that was set",
249 "name" : "adjHeight",
251 "desc" : "The box-adjusted height that was set",
257 "desc" : "The width that was originally specified",
261 "name" : "rawHeight",
263 "desc" : "The height that was originally specified",
272 "desc" : "Gets the current box measurements of the component's underlying element.",
275 "memberOf" : "Roo.BoxComponent",
277 "isConstructor" : false,
289 "desc" : "(optional) If true the element's left and top are returned instead of page XY (defaults to false)",
298 "desc" : "Gets the current size of the component's underlying element.",
299 "sig" : "()\n{\n\n}",
301 "memberOf" : "Roo.BoxComponent",
303 "isConstructor" : false,
316 "desc" : "An object containing the element's size {width: (element width), height: (element height)}"
321 "name" : "onPosition",
323 "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.",
326 "memberOf" : "Roo.BoxComponent",
328 "isConstructor" : false,
340 "desc" : "The new x position",
346 "desc" : "The new y position",
353 "name" : "setPosition",
355 "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.",
356 "sig" : "(left, top)",
358 "memberOf" : "Roo.BoxComponent",
360 "isConstructor" : false,
372 "desc" : "The new left",
378 "desc" : "The new top",
387 "desc" : "Returns the id of this component.",
388 "sig" : "()\n{\n\n}",
390 "memberOf" : "Roo.Component",
392 "isConstructor" : false,
412 "desc" : "If this is a lazy rendering component, render it to its container element.",
413 "sig" : "(container)",
415 "memberOf" : "Roo.Component",
417 "isConstructor" : false,
427 "name" : "container",
428 "type" : "String/HTMLElement/Element",
429 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
438 "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}.",
439 "sig" : "()\n{\n\n}",
441 "memberOf" : "Roo.Component",
443 "isConstructor" : false,
455 "name" : "isVisible",
457 "desc" : "Returns true if this component is visible.",
458 "sig" : "()\n{\n\n}",
460 "memberOf" : "Roo.Component",
462 "isConstructor" : false,
474 "name" : "setDisabled",
476 "desc" : "Convenience function for setting disabled/enabled by boolean.",
477 "sig" : "(disabled)",
479 "memberOf" : "Roo.Component",
481 "isConstructor" : false,
502 "desc" : "Hide this component.",
503 "sig" : "()\n{\n\n}",
505 "memberOf" : "Roo.Component",
507 "isConstructor" : false,
519 "type" : "Roo.Component",
527 "desc" : "Try to focus this component.",
528 "sig" : "(selectText)",
530 "memberOf" : "Roo.Component",
532 "isConstructor" : false,
542 "name" : "selectText",
544 "desc" : "True to also select the text in this component (if applicable)",
551 "type" : "Roo.Component",
559 "desc" : "Show this component.",
560 "sig" : "()\n{\n\n}",
562 "memberOf" : "Roo.Component",
564 "isConstructor" : false,
576 "type" : "Roo.Component",
584 "desc" : "Enable this component.",
585 "sig" : "()\n{\n\n}",
587 "memberOf" : "Roo.Component",
589 "isConstructor" : false,
601 "type" : "Roo.Component",
607 "name" : "setVisible",
609 "desc" : "Convenience function to hide or show this component by boolean.",
612 "memberOf" : "Roo.Component",
614 "isConstructor" : false,
626 "desc" : "True to show, false to hide",
633 "type" : "Roo.Component",
641 "desc" : "Disable this component.",
642 "sig" : "()\n{\n\n}",
644 "memberOf" : "Roo.Component",
646 "isConstructor" : false,
658 "type" : "Roo.Component",
666 "desc" : "Returns the underlying {@link Roo.Element}.",
667 "sig" : "()\n{\n\n}",
669 "memberOf" : "Roo.Component",
671 "isConstructor" : false,
683 "type" : "Roo.Element",
684 "desc" : "The element"
689 "name" : "purgeListeners",
691 "desc" : "Removes all listeners for this object",
692 "sig" : "()\n{\n\n}",
694 "memberOf" : "Roo.util.Observable",
696 "isConstructor" : false,
710 "desc" : "Appends an event handler to this element (shorthand for addListener)",
711 "sig" : "(eventName, handler, scope, options)",
713 "memberOf" : "Roo.util.Observable",
715 "isConstructor" : false,
725 "name" : "eventName",
727 "desc" : "The type of event to listen for",
733 "desc" : "The method the event invokes",
739 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
745 "desc" : "(optional)",
754 "desc" : "Removes a listener (shorthand for removeListener)",
755 "sig" : "(eventName, handler, scope)",
757 "memberOf" : "Roo.util.Observable",
759 "isConstructor" : false,
769 "name" : "eventName",
771 "desc" : "The type of event to listen for",
777 "desc" : "The handler to remove",
783 "desc" : "(optional) The scope (this object) for the handler",
790 "name" : "addEvents",
792 "desc" : "Used to define events on this Observable",
795 "memberOf" : "Roo.util.Observable",
797 "isConstructor" : false,
809 "desc" : "The object with the events defined",
816 "name" : "releaseCapture",
818 "desc" : "Removes <b>all</b> added captures from the Observable.",
821 "memberOf" : "Roo.util.Observable",
823 "isConstructor" : false,
834 "type" : "Observable",
835 "desc" : "The Observable to release",
842 "name" : "removeListener",
844 "desc" : "Removes a listener",
845 "sig" : "(eventName, handler, scope)",
847 "memberOf" : "Roo.util.Observable",
849 "isConstructor" : false,
859 "name" : "eventName",
861 "desc" : "The type of event to listen for",
867 "desc" : "The handler to remove",
873 "desc" : "(optional) The scope (this object) for the handler",
880 "name" : "fireEvent",
882 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
883 "sig" : "(eventName, args)",
885 "memberOf" : "Roo.util.Observable",
887 "isConstructor" : false,
897 "name" : "eventName",
904 "type" : "Object...",
905 "desc" : "Variable number of parameters are passed to handlers",
913 "desc" : "returns false if any of the handlers return false otherwise it returns true"
918 "name" : "hasListener",
920 "desc" : "Checks to see if this object has any listeners for a specified event",
921 "sig" : "(eventName)",
923 "memberOf" : "Roo.util.Observable",
925 "isConstructor" : false,
935 "name" : "eventName",
937 "desc" : "The name of the event to check for",
945 "desc" : "True if the event is being listened for, else false"
952 "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.",
953 "sig" : "(o, fn, scope)",
955 "memberOf" : "Roo.util.Observable",
957 "isConstructor" : false,
968 "type" : "Observable",
969 "desc" : "The Observable to capture",
975 "desc" : "The function to call",
981 "desc" : "(optional) The scope (this object) for the fn",
988 "name" : "addListener",
990 "desc" : "Appends an event handler to this component",
991 "sig" : "(eventName, handler, scope, options)",
993 "memberOf" : "Roo.util.Observable",
995 "isConstructor" : false,
1005 "name" : "eventName",
1007 "desc" : "The type of event to listen for",
1008 "isOptional" : false
1012 "type" : "Function",
1013 "desc" : "The method the event invokes",
1014 "isOptional" : false
1019 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1020 "isOptional" : false
1025 "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>",
1026 "isOptional" : false
1035 "type" : "function",
1036 "desc" : "Fires after the component is moved.",
1037 "sig" : "function (_self, x, y)\n{\n\n}",
1038 "memberOf" : "Roo.BoxComponent",
1046 "type" : "Roo.Component",
1048 "isOptional" : false
1053 "desc" : "The new x position",
1054 "isOptional" : false
1059 "desc" : "The new y position",
1060 "isOptional" : false
1067 "type" : "function",
1068 "desc" : "Fires after the component is resized.",
1069 "sig" : "function (_self, adjWidth, adjHeight, rawWidth, rawHeight)\n{\n\n}",
1070 "memberOf" : "Roo.BoxComponent",
1078 "type" : "Roo.Component",
1080 "isOptional" : false
1083 "name" : "adjWidth",
1085 "desc" : "The box-adjusted width that was set",
1086 "isOptional" : false
1089 "name" : "adjHeight",
1091 "desc" : "The box-adjusted height that was set",
1092 "isOptional" : false
1095 "name" : "rawWidth",
1097 "desc" : "The width that was originally specified",
1098 "isOptional" : false
1101 "name" : "rawHeight",
1103 "desc" : "The height that was originally specified",
1104 "isOptional" : false
1110 "name" : "beforerender",
1111 "type" : "function",
1112 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1113 "sig" : "function (_self)\n{\n\n}",
1114 "memberOf" : "Roo.Component",
1122 "type" : "Roo.Component",
1124 "isOptional" : false
1131 "type" : "function",
1132 "desc" : "Fires after the component is disabled.",
1133 "sig" : "function (_self)\n{\n\n}",
1134 "memberOf" : "Roo.Component",
1142 "type" : "Roo.Component",
1144 "isOptional" : false
1151 "type" : "function",
1152 "desc" : "Fires after the component is rendered.",
1153 "sig" : "function (_self)\n{\n\n}",
1154 "memberOf" : "Roo.Component",
1162 "type" : "Roo.Component",
1164 "isOptional" : false
1171 "type" : "function",
1172 "desc" : "Fires after the component is destroyed.",
1173 "sig" : "function (_self)\n{\n\n}",
1174 "memberOf" : "Roo.Component",
1182 "type" : "Roo.Component",
1184 "isOptional" : false
1191 "type" : "function",
1192 "desc" : "Fires after the component is hidden.",
1193 "sig" : "function (_self)\n{\n\n}",
1194 "memberOf" : "Roo.Component",
1202 "type" : "Roo.Component",
1204 "isOptional" : false
1210 "name" : "beforehide",
1211 "type" : "function",
1212 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1213 "sig" : "function (_self)\n{\n\n}",
1214 "memberOf" : "Roo.Component",
1222 "type" : "Roo.Component",
1224 "isOptional" : false
1231 "type" : "function",
1232 "desc" : "Fires after the component is shown.",
1233 "sig" : "function (_self)\n{\n\n}",
1234 "memberOf" : "Roo.Component",
1242 "type" : "Roo.Component",
1244 "isOptional" : false
1250 "name" : "beforeshow",
1251 "type" : "function",
1252 "desc" : "Fires before the component is shown. Return false to stop the show.",
1253 "sig" : "function (_self)\n{\n\n}",
1254 "memberOf" : "Roo.Component",
1262 "type" : "Roo.Component",
1264 "isOptional" : false
1271 "type" : "function",
1272 "desc" : "Fires after the component is enabled.",
1273 "sig" : "function (_self)\n{\n\n}",
1274 "memberOf" : "Roo.Component",
1282 "type" : "Roo.Component",
1284 "isOptional" : false
1290 "name" : "beforedestroy",
1291 "type" : "function",
1292 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1293 "sig" : "function (_self)\n{\n\n}",
1294 "memberOf" : "Roo.Component",
1302 "type" : "Roo.Component",
1304 "isOptional" : false