2 "name" : "Roo.ColorPalette",
7 "desc" : "Simple color palette class for choosing colors. The palette can be rendered to any container.<br />\nHere's an example of typical usage:\n<pre><code>\nvar cp = new Roo.ColorPalette({value:'993300'}); // initial selected color\ncp.render('my-div');\n\ncp.on('select', function(palette, selColor){\n // do something with selColor\n});\n</code></pre>",
11 "memberOf" : "ColorPalette",
20 "desc" : "The config object",
29 "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>",
30 "memberOf" : "Roo.util.Observable",
34 "name" : "allowReselect",
36 "desc" : "If set to true then reselecting a color that is already selected fires the selection event",
37 "memberOf" : "Roo.ColorPalette",
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",
53 "desc" : "The initial color to highlight (should be a valid 6-digit color hex code without the # symbol). Note that\nthe hex codes are case-sensitive.",
54 "memberOf" : "Roo.ColorPalette",
58 "name" : "allowDomMove",
60 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
61 "memberOf" : "Roo.Component",
67 "desc" : "The CSS class to apply to the containing element (defaults to \"x-color-palette\")",
68 "memberOf" : "Roo.ColorPalette",
72 "name" : "actionMode",
74 "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",
75 "memberOf" : "Roo.Component",
79 "name" : "disableClass",
81 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
82 "memberOf" : "Roo.Component",
89 "desc" : "Selects the specified color in the palette (fires the select event)",
91 "isConstructor" : false,
93 "memberOf" : "Roo.ColorPalette",
102 "desc" : "A valid 6-digit color hex code (# will be stripped if included)",
110 "desc" : "Returns the id of this component.",
112 "isConstructor" : false,
114 "memberOf" : "Roo.Component",
130 "desc" : "If this is a lazy rendering component, render it to its container element.",
132 "isConstructor" : false,
134 "memberOf" : "Roo.Component",
141 "name" : "container",
142 "type" : "String/HTMLElement/Element",
143 "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",
164 "name" : "isVisible",
165 "desc" : "Returns true if this component is visible.",
167 "isConstructor" : false,
169 "memberOf" : "Roo.Component",
178 "name" : "setDisabled",
179 "desc" : "Convenience function for setting disabled/enabled by boolean.",
181 "isConstructor" : false,
183 "memberOf" : "Roo.Component",
200 "desc" : "Hide this component.",
202 "isConstructor" : false,
204 "memberOf" : "Roo.Component",
213 "type" : "Roo.Component",
220 "desc" : "Try to focus this component.",
222 "isConstructor" : false,
224 "memberOf" : "Roo.Component",
231 "name" : "selectText",
233 "desc" : "True to also select the text in this component (if applicable)",
240 "type" : "Roo.Component",
247 "desc" : "Show this component.",
249 "isConstructor" : false,
251 "memberOf" : "Roo.Component",
260 "type" : "Roo.Component",
267 "desc" : "Enable this component.",
269 "isConstructor" : false,
271 "memberOf" : "Roo.Component",
280 "type" : "Roo.Component",
286 "name" : "setVisible",
287 "desc" : "Convenience function to hide or show this component by boolean.",
289 "isConstructor" : false,
291 "memberOf" : "Roo.Component",
300 "desc" : "True to show, false to hide",
307 "type" : "Roo.Component",
314 "desc" : "Disable this component.",
316 "isConstructor" : false,
318 "memberOf" : "Roo.Component",
327 "type" : "Roo.Component",
334 "desc" : "Returns the underlying {@link Roo.Element}.",
336 "isConstructor" : false,
338 "memberOf" : "Roo.Component",
347 "type" : "Roo.Element",
348 "desc" : "The element"
353 "name" : "purgeListeners",
354 "desc" : "Removes all listeners for this object",
356 "isConstructor" : false,
358 "memberOf" : "Roo.util.Observable",
368 "desc" : "Appends an event handler to this element (shorthand for addListener)",
370 "isConstructor" : false,
372 "memberOf" : "Roo.util.Observable",
379 "name" : "eventName",
381 "desc" : "The type of event to listen for",
387 "desc" : "The method the event invokes",
393 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
399 "desc" : "(optional)",
407 "desc" : "Removes a listener (shorthand for removeListener)",
409 "isConstructor" : false,
411 "memberOf" : "Roo.util.Observable",
418 "name" : "eventName",
420 "desc" : "The type of event to listen for",
426 "desc" : "The handler to remove",
432 "desc" : "(optional) The scope (this object) for the handler",
439 "name" : "addEvents",
440 "desc" : "Used to define events on this Observable",
442 "isConstructor" : false,
444 "memberOf" : "Roo.util.Observable",
453 "desc" : "The object with the events defined",
460 "name" : "releaseCapture",
461 "desc" : "Removes <b>all</b> added captures from the Observable.",
463 "isConstructor" : false,
465 "memberOf" : "Roo.util.Observable",
473 "type" : "Observable",
474 "desc" : "The Observable to release",
481 "name" : "removeListener",
482 "desc" : "Removes a listener",
484 "isConstructor" : false,
486 "memberOf" : "Roo.util.Observable",
493 "name" : "eventName",
495 "desc" : "The type of event to listen for",
501 "desc" : "The handler to remove",
507 "desc" : "(optional) The scope (this object) for the handler",
514 "name" : "fireEvent",
515 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
517 "isConstructor" : false,
519 "memberOf" : "Roo.util.Observable",
526 "name" : "eventName",
533 "type" : "Object...",
534 "desc" : "Variable number of parameters are passed to handlers",
542 "desc" : "returns false if any of the handlers return false otherwise it returns true"
547 "name" : "hasListener",
548 "desc" : "Checks to see if this object has any listeners for a specified event",
550 "isConstructor" : false,
552 "memberOf" : "Roo.util.Observable",
559 "name" : "eventName",
561 "desc" : "The name of the event to check for",
569 "desc" : "True if the event is being listened for, else false"
575 "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.",
577 "isConstructor" : false,
579 "memberOf" : "Roo.util.Observable",
587 "type" : "Observable",
588 "desc" : "The Observable to capture",
594 "desc" : "The function to call",
600 "desc" : "(optional) The scope (this object) for the fn",
607 "name" : "addListener",
608 "desc" : "Appends an event handler to this component",
610 "isConstructor" : false,
612 "memberOf" : "Roo.util.Observable",
619 "name" : "eventName",
621 "desc" : "The type of event to listen for",
627 "desc" : "The method the event invokes",
633 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
639 "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>",
649 "desc" : "Fires when a color is selected",
650 "memberOf" : "Roo.ColorPalette",
658 "type" : "ColorPalette",
665 "desc" : "The 6-digit color hex code (without the # symbol)",
672 "name" : "beforerender",
673 "desc" : "Fires before the component is rendered. Return false to stop the render.",
674 "memberOf" : "Roo.Component",
682 "type" : "Roo.Component",
691 "desc" : "Fires after the component is disabled.",
692 "memberOf" : "Roo.Component",
700 "type" : "Roo.Component",
709 "desc" : "Fires after the component is rendered.",
710 "memberOf" : "Roo.Component",
718 "type" : "Roo.Component",
727 "desc" : "Fires after the component is destroyed.",
728 "memberOf" : "Roo.Component",
736 "type" : "Roo.Component",
745 "desc" : "Fires after the component is hidden.",
746 "memberOf" : "Roo.Component",
754 "type" : "Roo.Component",
762 "name" : "beforehide",
763 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
764 "memberOf" : "Roo.Component",
772 "type" : "Roo.Component",
781 "desc" : "Fires after the component is shown.",
782 "memberOf" : "Roo.Component",
790 "type" : "Roo.Component",
798 "name" : "beforeshow",
799 "desc" : "Fires before the component is shown. Return false to stop the show.",
800 "memberOf" : "Roo.Component",
808 "type" : "Roo.Component",
817 "desc" : "Fires after the component is enabled.",
818 "memberOf" : "Roo.Component",
826 "type" : "Roo.Component",
834 "name" : "beforedestroy",
835 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
836 "memberOf" : "Roo.Component",
844 "type" : "Roo.Component",