2 "name" : "Roo.menu.ColorItem",
9 "desc" : "A menu item that wraps the {@link Roo.ColorPalette} component.",
10 "isSingleton" : false,
17 "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>",
18 "memberOf" : "Roo.util.Observable",
23 "name" : "activeClass",
25 "desc" : "The CSS class to use when the item becomes activated (defaults to \"x-menu-item-active\")",
26 "memberOf" : "Roo.menu.BaseItem",
33 "desc" : "True to prevent creation of this menu item (defaults to false)",
34 "memberOf" : "Roo.menu.BaseItem",
41 "desc" : "How this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
42 "memberOf" : "Roo.Component",
51 "desc" : "A function that will handle the click event of this menu item (defaults to undefined)",
52 "memberOf" : "Roo.menu.BaseItem",
59 "desc" : "Length of time in milliseconds to wait before hiding after a click (defaults to 100)",
60 "memberOf" : "Roo.menu.BaseItem",
65 "name" : "hideOnClick",
67 "desc" : "True to hide the containing menu after this item is clicked (defaults to true)",
68 "memberOf" : "Roo.menu.BaseItem",
73 "name" : "allowDomMove",
75 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
76 "memberOf" : "Roo.Component",
81 "name" : "actionMode",
83 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
84 "memberOf" : "Roo.Component",
89 "name" : "canActivate",
91 "desc" : "True if this item can be visually activated (defaults to false)",
92 "memberOf" : "Roo.menu.BaseItem",
97 "name" : "disableClass",
99 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
100 "memberOf" : "Roo.Component",
108 "desc" : "Returns the id of this component.",
110 "isConstructor" : false,
112 "memberOf" : "Roo.Component",
129 "desc" : "If this is a lazy rendering component, render it to its container element.",
131 "isConstructor" : false,
133 "memberOf" : "Roo.Component",
140 "name" : "container",
141 "type" : "String/HTMLElement/Element",
142 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
151 "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}.",
153 "isConstructor" : false,
155 "memberOf" : "Roo.Component",
166 "name" : "isVisible",
167 "desc" : "Returns true if this component is visible.",
169 "isConstructor" : false,
171 "memberOf" : "Roo.Component",
182 "name" : "setDisabled",
183 "desc" : "Convenience function for setting disabled/enabled by boolean.",
185 "isConstructor" : false,
187 "memberOf" : "Roo.Component",
205 "desc" : "Hide this component.",
207 "isConstructor" : false,
209 "memberOf" : "Roo.Component",
219 "type" : "Roo.Component",
226 "desc" : "Try to focus this component.",
228 "isConstructor" : false,
230 "memberOf" : "Roo.Component",
237 "name" : "selectText",
239 "desc" : "True to also select the text in this component (if applicable)",
246 "type" : "Roo.Component",
253 "desc" : "Show this component.",
255 "isConstructor" : false,
257 "memberOf" : "Roo.Component",
267 "type" : "Roo.Component",
274 "desc" : "Enable this component.",
276 "isConstructor" : false,
278 "memberOf" : "Roo.Component",
288 "type" : "Roo.Component",
294 "name" : "setVisible",
295 "desc" : "Convenience function to hide or show this component by boolean.",
297 "isConstructor" : false,
299 "memberOf" : "Roo.Component",
308 "desc" : "True to show, false to hide",
315 "type" : "Roo.Component",
322 "desc" : "Disable this component.",
324 "isConstructor" : false,
326 "memberOf" : "Roo.Component",
336 "type" : "Roo.Component",
343 "desc" : "Returns the underlying {@link Roo.Element}.",
345 "isConstructor" : false,
347 "memberOf" : "Roo.Component",
357 "type" : "Roo.Element",
358 "desc" : "The element"
363 "name" : "purgeListeners",
364 "desc" : "Removes all listeners for this object",
366 "isConstructor" : false,
368 "memberOf" : "Roo.util.Observable",
380 "desc" : "Appends an event handler to this element (shorthand for addListener)",
382 "isConstructor" : false,
384 "memberOf" : "Roo.util.Observable",
391 "name" : "eventName",
393 "desc" : "The type of event to listen for",
399 "desc" : "The method the event invokes",
405 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
411 "desc" : "(optional)",
420 "desc" : "Removes a listener (shorthand for removeListener)",
422 "isConstructor" : false,
424 "memberOf" : "Roo.util.Observable",
431 "name" : "eventName",
433 "desc" : "The type of event to listen for",
439 "desc" : "The handler to remove",
445 "desc" : "(optional) The scope (this object) for the handler",
453 "name" : "addEvents",
454 "desc" : "Used to define events on this Observable",
456 "isConstructor" : false,
458 "memberOf" : "Roo.util.Observable",
467 "desc" : "The object with the events defined",
475 "name" : "releaseCapture",
476 "desc" : "Removes <b>all</b> added captures from the Observable.",
478 "isConstructor" : false,
480 "memberOf" : "Roo.util.Observable",
488 "type" : "Observable",
489 "desc" : "The Observable to release",
497 "name" : "removeListener",
498 "desc" : "Removes a listener",
500 "isConstructor" : false,
502 "memberOf" : "Roo.util.Observable",
509 "name" : "eventName",
511 "desc" : "The type of event to listen for",
517 "desc" : "The handler to remove",
523 "desc" : "(optional) The scope (this object) for the handler",
531 "name" : "fireEvent",
532 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
534 "isConstructor" : false,
536 "memberOf" : "Roo.util.Observable",
543 "name" : "eventName",
550 "type" : "Object...",
551 "desc" : "Variable number of parameters are passed to handlers",
559 "desc" : "returns false if any of the handlers return false otherwise it returns true"
564 "name" : "hasListener",
565 "desc" : "Checks to see if this object has any listeners for a specified event",
567 "isConstructor" : false,
569 "memberOf" : "Roo.util.Observable",
576 "name" : "eventName",
578 "desc" : "The name of the event to check for",
586 "desc" : "True if the event is being listened for, else false"
592 "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.",
594 "isConstructor" : false,
596 "memberOf" : "Roo.util.Observable",
604 "type" : "Observable",
605 "desc" : "The Observable to capture",
611 "desc" : "The function to call",
617 "desc" : "(optional) The scope (this object) for the fn",
625 "name" : "addListener",
626 "desc" : "Appends an event handler to this component",
628 "isConstructor" : false,
630 "memberOf" : "Roo.util.Observable",
637 "name" : "eventName",
639 "desc" : "The type of event to listen for",
645 "desc" : "The method the event invokes",
651 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
657 "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>",
668 "desc" : "Fires when this item is clicked",
669 "memberOf" : "Roo.menu.BaseItem",
677 "type" : "Roo.menu.BaseItem",
683 "type" : "Roo.EventObject",
693 "desc" : "Fires when this item is activated",
694 "memberOf" : "Roo.menu.BaseItem",
702 "type" : "Roo.menu.BaseItem",
711 "name" : "deactivate",
712 "desc" : "Fires when this item is deactivated",
713 "memberOf" : "Roo.menu.BaseItem",
721 "type" : "Roo.menu.BaseItem",
730 "name" : "beforerender",
731 "desc" : "Fires before the component is rendered. Return false to stop the render.",
732 "memberOf" : "Roo.Component",
740 "type" : "Roo.Component",
750 "desc" : "Fires after the component is disabled.",
751 "memberOf" : "Roo.Component",
759 "type" : "Roo.Component",
769 "desc" : "Fires after the component is rendered.",
770 "memberOf" : "Roo.Component",
778 "type" : "Roo.Component",
788 "desc" : "Fires after the component is destroyed.",
789 "memberOf" : "Roo.Component",
797 "type" : "Roo.Component",
807 "desc" : "Fires after the component is hidden.",
808 "memberOf" : "Roo.Component",
816 "type" : "Roo.Component",
825 "name" : "beforehide",
826 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
827 "memberOf" : "Roo.Component",
835 "type" : "Roo.Component",
845 "desc" : "Fires after the component is shown.",
846 "memberOf" : "Roo.Component",
854 "type" : "Roo.Component",
863 "name" : "beforeshow",
864 "desc" : "Fires before the component is shown. Return false to stop the show.",
865 "memberOf" : "Roo.Component",
873 "type" : "Roo.Component",
883 "desc" : "Fires after the component is enabled.",
884 "memberOf" : "Roo.Component",
892 "type" : "Roo.Component",
901 "name" : "beforedestroy",
902 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
903 "memberOf" : "Roo.Component",
911 "type" : "Roo.Component",