2 "name" : "Roo.menu.ColorItem",
12 "desc" : "A menu item that wraps the {@link Roo.ColorPalette} component.",
13 "isSingleton" : false,
17 "isBuilderTop" : false,
18 "memberOf" : "ColorItem",
27 "desc" : "Configuration options",
38 "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>",
39 "memberOf" : "Roo.util.Observable"
42 "name" : "activeClass",
44 "desc" : "The CSS class to use when the item becomes activated (defaults to \"x-menu-item-active\")",
45 "memberOf" : "Roo.menu.BaseItem"
50 "desc" : "True to prevent creation of this menu item (defaults to false)",
51 "memberOf" : "Roo.menu.BaseItem"
56 "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\".",
57 "memberOf" : "Roo.Component"
62 "desc" : "A function that will handle the click event of this menu item (defaults to undefined)",
63 "memberOf" : "Roo.menu.BaseItem"
68 "desc" : "Length of time in milliseconds to wait before hiding after a click (defaults to 100)",
69 "memberOf" : "Roo.menu.BaseItem"
72 "name" : "hideOnClick",
74 "desc" : "True to hide the containing menu after this item is clicked (defaults to true)",
75 "memberOf" : "Roo.menu.BaseItem"
78 "name" : "allowDomMove",
80 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
81 "memberOf" : "Roo.Component"
84 "name" : "actionMode",
86 "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",
87 "memberOf" : "Roo.Component"
90 "name" : "canActivate",
92 "desc" : "True if this item can be visually activated (defaults to false)",
93 "memberOf" : "Roo.menu.BaseItem"
96 "name" : "disableClass",
98 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
99 "memberOf" : "Roo.Component"
106 "desc" : "Returns the id of this component.",
107 "sig" : "()\n{\n\n}",
109 "memberOf" : "Roo.Component",
111 "isConstructor" : false,
131 "desc" : "If this is a lazy rendering component, render it to its container element.",
132 "sig" : "(container)",
134 "memberOf" : "Roo.Component",
136 "isConstructor" : false,
146 "name" : "container",
147 "type" : "String/HTMLElement/Element",
148 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
157 "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}.",
158 "sig" : "()\n{\n\n}",
160 "memberOf" : "Roo.Component",
162 "isConstructor" : false,
174 "name" : "isVisible",
176 "desc" : "Returns true if this component is visible.",
177 "sig" : "()\n{\n\n}",
179 "memberOf" : "Roo.Component",
181 "isConstructor" : false,
193 "name" : "setDisabled",
195 "desc" : "Convenience function for setting disabled/enabled by boolean.",
196 "sig" : "(disabled)",
198 "memberOf" : "Roo.Component",
200 "isConstructor" : false,
221 "desc" : "Hide this component.",
222 "sig" : "()\n{\n\n}",
224 "memberOf" : "Roo.Component",
226 "isConstructor" : false,
238 "type" : "Roo.Component",
246 "desc" : "Try to focus this component.",
247 "sig" : "(selectText)",
249 "memberOf" : "Roo.Component",
251 "isConstructor" : false,
261 "name" : "selectText",
263 "desc" : "True to also select the text in this component (if applicable)",
270 "type" : "Roo.Component",
278 "desc" : "Show this component.",
279 "sig" : "()\n{\n\n}",
281 "memberOf" : "Roo.Component",
283 "isConstructor" : false,
295 "type" : "Roo.Component",
303 "desc" : "Enable this component.",
304 "sig" : "()\n{\n\n}",
306 "memberOf" : "Roo.Component",
308 "isConstructor" : false,
320 "type" : "Roo.Component",
326 "name" : "setVisible",
328 "desc" : "Convenience function to hide or show this component by boolean.",
331 "memberOf" : "Roo.Component",
333 "isConstructor" : false,
345 "desc" : "True to show, false to hide",
352 "type" : "Roo.Component",
360 "desc" : "Disable this component.",
361 "sig" : "()\n{\n\n}",
363 "memberOf" : "Roo.Component",
365 "isConstructor" : false,
377 "type" : "Roo.Component",
385 "desc" : "Returns the underlying {@link Roo.Element}.",
386 "sig" : "()\n{\n\n}",
388 "memberOf" : "Roo.Component",
390 "isConstructor" : false,
402 "type" : "Roo.Element",
403 "desc" : "The element"
408 "name" : "purgeListeners",
410 "desc" : "Removes all listeners for this object",
411 "sig" : "()\n{\n\n}",
413 "memberOf" : "Roo.util.Observable",
415 "isConstructor" : false,
429 "desc" : "Appends an event handler to this element (shorthand for addListener)",
430 "sig" : "(eventName, handler, scope, options)",
432 "memberOf" : "Roo.util.Observable",
434 "isConstructor" : false,
444 "name" : "eventName",
446 "desc" : "The type of event to listen for",
452 "desc" : "The method the event invokes",
458 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
464 "desc" : "(optional)",
473 "desc" : "Removes a listener (shorthand for removeListener)",
474 "sig" : "(eventName, handler, scope)",
476 "memberOf" : "Roo.util.Observable",
478 "isConstructor" : false,
488 "name" : "eventName",
490 "desc" : "The type of event to listen for",
496 "desc" : "The handler to remove",
502 "desc" : "(optional) The scope (this object) for the handler",
509 "name" : "addEvents",
511 "desc" : "Used to define events on this Observable",
514 "memberOf" : "Roo.util.Observable",
516 "isConstructor" : false,
528 "desc" : "The object with the events defined",
535 "name" : "releaseCapture",
537 "desc" : "Removes <b>all</b> added captures from the Observable.",
540 "memberOf" : "Roo.util.Observable",
542 "isConstructor" : false,
553 "type" : "Observable",
554 "desc" : "The Observable to release",
561 "name" : "removeListener",
563 "desc" : "Removes a listener",
564 "sig" : "(eventName, handler, scope)",
566 "memberOf" : "Roo.util.Observable",
568 "isConstructor" : false,
578 "name" : "eventName",
580 "desc" : "The type of event to listen for",
586 "desc" : "The handler to remove",
592 "desc" : "(optional) The scope (this object) for the handler",
599 "name" : "fireEvent",
601 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
602 "sig" : "(eventName, args)",
604 "memberOf" : "Roo.util.Observable",
606 "isConstructor" : false,
616 "name" : "eventName",
623 "type" : "Object...",
624 "desc" : "Variable number of parameters are passed to handlers",
632 "desc" : "returns false if any of the handlers return false otherwise it returns true"
637 "name" : "hasListener",
639 "desc" : "Checks to see if this object has any listeners for a specified event",
640 "sig" : "(eventName)",
642 "memberOf" : "Roo.util.Observable",
644 "isConstructor" : false,
654 "name" : "eventName",
656 "desc" : "The name of the event to check for",
664 "desc" : "True if the event is being listened for, else false"
671 "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.",
672 "sig" : "(o, fn, scope)",
674 "memberOf" : "Roo.util.Observable",
676 "isConstructor" : false,
687 "type" : "Observable",
688 "desc" : "The Observable to capture",
694 "desc" : "The function to call",
700 "desc" : "(optional) The scope (this object) for the fn",
707 "name" : "addListener",
709 "desc" : "Appends an event handler to this component",
710 "sig" : "(eventName, handler, scope, options)",
712 "memberOf" : "Roo.util.Observable",
714 "isConstructor" : false,
724 "name" : "eventName",
726 "desc" : "The type of event to listen for",
732 "desc" : "The method the event invokes",
738 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
744 "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>",
755 "desc" : "Fires when this item is clicked",
756 "sig" : "function (_self, e)\n{\n\n}",
757 "memberOf" : "Roo.menu.BaseItem",
765 "type" : "Roo.menu.BaseItem",
771 "type" : "Roo.EventObject",
781 "desc" : "Fires when this item is activated",
782 "sig" : "function (_self)\n{\n\n}",
783 "memberOf" : "Roo.menu.BaseItem",
791 "type" : "Roo.menu.BaseItem",
799 "name" : "deactivate",
801 "desc" : "Fires when this item is deactivated",
802 "sig" : "function (_self)\n{\n\n}",
803 "memberOf" : "Roo.menu.BaseItem",
811 "type" : "Roo.menu.BaseItem",
819 "name" : "beforerender",
821 "desc" : "Fires before the component is rendered. Return false to stop the render.",
822 "sig" : "function (_self)\n{\n\n}",
823 "memberOf" : "Roo.Component",
831 "type" : "Roo.Component",
841 "desc" : "Fires after the component is disabled.",
842 "sig" : "function (_self)\n{\n\n}",
843 "memberOf" : "Roo.Component",
851 "type" : "Roo.Component",
861 "desc" : "Fires after the component is rendered.",
862 "sig" : "function (_self)\n{\n\n}",
863 "memberOf" : "Roo.Component",
871 "type" : "Roo.Component",
881 "desc" : "Fires after the component is destroyed.",
882 "sig" : "function (_self)\n{\n\n}",
883 "memberOf" : "Roo.Component",
891 "type" : "Roo.Component",
901 "desc" : "Fires after the component is hidden.",
902 "sig" : "function (_self)\n{\n\n}",
903 "memberOf" : "Roo.Component",
911 "type" : "Roo.Component",
919 "name" : "beforehide",
921 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
922 "sig" : "function (_self)\n{\n\n}",
923 "memberOf" : "Roo.Component",
931 "type" : "Roo.Component",
941 "desc" : "Fires after the component is shown.",
942 "sig" : "function (_self)\n{\n\n}",
943 "memberOf" : "Roo.Component",
951 "type" : "Roo.Component",
959 "name" : "beforeshow",
961 "desc" : "Fires before the component is shown. Return false to stop the show.",
962 "sig" : "function (_self)\n{\n\n}",
963 "memberOf" : "Roo.Component",
971 "type" : "Roo.Component",
981 "desc" : "Fires after the component is enabled.",
982 "sig" : "function (_self)\n{\n\n}",
983 "memberOf" : "Roo.Component",
991 "type" : "Roo.Component",
999 "name" : "beforedestroy",
1000 "type" : "function",
1001 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1002 "sig" : "function (_self)\n{\n\n}",
1003 "memberOf" : "Roo.Component",
1011 "type" : "Roo.Component",
1013 "isOptional" : false