2 "name" : "Roo.ColorPalette",
10 "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 "isSingleton" : false,
15 "isBuilderTop" : false,
16 "memberOf" : "ColorPalette",
25 "desc" : "The config object",
36 "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>",
37 "memberOf" : "Roo.util.Observable",
42 "name" : "allowReselect",
44 "desc" : "If set to true then reselecting a color that is already selected fires the selection event",
52 "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",
53 "memberOf" : "Roo.Component",
63 "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.",
69 "name" : "allowDomMove",
71 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
72 "memberOf" : "Roo.Component",
79 "desc" : "The CSS class to apply to the containing element (defaults to \"x-color-palette\")",
85 "name" : "actionMode",
87 "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",
88 "memberOf" : "Roo.Component",
93 "name" : "disableClass",
95 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
96 "memberOf" : "Roo.Component",
105 "desc" : "Selects the specified color in the palette (fires the select event)",
110 "isConstructor" : false,
122 "desc" : "A valid 6-digit color hex code (# will be stripped if included)",
131 "desc" : "Returns the id of this component.",
132 "sig" : "()\n{\n\n}",
134 "memberOf" : "Roo.Component",
136 "isConstructor" : false,
156 "desc" : "If this is a lazy rendering component, render it to its container element.",
157 "sig" : "(container)",
159 "memberOf" : "Roo.Component",
161 "isConstructor" : false,
171 "name" : "container",
172 "type" : "String/HTMLElement/Element",
173 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
182 "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}.",
183 "sig" : "()\n{\n\n}",
185 "memberOf" : "Roo.Component",
187 "isConstructor" : false,
199 "name" : "isVisible",
201 "desc" : "Returns true if this component is visible.",
202 "sig" : "()\n{\n\n}",
204 "memberOf" : "Roo.Component",
206 "isConstructor" : false,
218 "name" : "setDisabled",
220 "desc" : "Convenience function for setting disabled/enabled by boolean.",
221 "sig" : "(disabled)",
223 "memberOf" : "Roo.Component",
225 "isConstructor" : false,
246 "desc" : "Hide this component.",
247 "sig" : "()\n{\n\n}",
249 "memberOf" : "Roo.Component",
251 "isConstructor" : false,
263 "type" : "Roo.Component",
271 "desc" : "Try to focus this component.",
272 "sig" : "(selectText)",
274 "memberOf" : "Roo.Component",
276 "isConstructor" : false,
286 "name" : "selectText",
288 "desc" : "True to also select the text in this component (if applicable)",
295 "type" : "Roo.Component",
303 "desc" : "Show this component.",
304 "sig" : "()\n{\n\n}",
306 "memberOf" : "Roo.Component",
308 "isConstructor" : false,
320 "type" : "Roo.Component",
328 "desc" : "Enable this component.",
329 "sig" : "()\n{\n\n}",
331 "memberOf" : "Roo.Component",
333 "isConstructor" : false,
345 "type" : "Roo.Component",
351 "name" : "setVisible",
353 "desc" : "Convenience function to hide or show this component by boolean.",
356 "memberOf" : "Roo.Component",
358 "isConstructor" : false,
370 "desc" : "True to show, false to hide",
377 "type" : "Roo.Component",
385 "desc" : "Disable this component.",
386 "sig" : "()\n{\n\n}",
388 "memberOf" : "Roo.Component",
390 "isConstructor" : false,
402 "type" : "Roo.Component",
410 "desc" : "Returns the underlying {@link Roo.Element}.",
411 "sig" : "()\n{\n\n}",
413 "memberOf" : "Roo.Component",
415 "isConstructor" : false,
427 "type" : "Roo.Element",
428 "desc" : "The element"
433 "name" : "purgeListeners",
435 "desc" : "Removes all listeners for this object",
436 "sig" : "()\n{\n\n}",
438 "memberOf" : "Roo.util.Observable",
440 "isConstructor" : false,
454 "desc" : "Appends an event handler to this element (shorthand for addListener)",
455 "sig" : "(eventName, handler, scope, options)",
457 "memberOf" : "Roo.util.Observable",
459 "isConstructor" : false,
469 "name" : "eventName",
471 "desc" : "The type of event to listen for",
477 "desc" : "The method the event invokes",
483 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
489 "desc" : "(optional)",
498 "desc" : "Removes a listener (shorthand for removeListener)",
499 "sig" : "(eventName, handler, scope)",
501 "memberOf" : "Roo.util.Observable",
503 "isConstructor" : false,
513 "name" : "eventName",
515 "desc" : "The type of event to listen for",
521 "desc" : "The handler to remove",
527 "desc" : "(optional) The scope (this object) for the handler",
534 "name" : "addEvents",
536 "desc" : "Used to define events on this Observable",
539 "memberOf" : "Roo.util.Observable",
541 "isConstructor" : false,
553 "desc" : "The object with the events defined",
560 "name" : "releaseCapture",
562 "desc" : "Removes <b>all</b> added captures from the Observable.",
565 "memberOf" : "Roo.util.Observable",
567 "isConstructor" : false,
578 "type" : "Observable",
579 "desc" : "The Observable to release",
586 "name" : "removeListener",
588 "desc" : "Removes a listener",
589 "sig" : "(eventName, handler, scope)",
591 "memberOf" : "Roo.util.Observable",
593 "isConstructor" : false,
603 "name" : "eventName",
605 "desc" : "The type of event to listen for",
611 "desc" : "The handler to remove",
617 "desc" : "(optional) The scope (this object) for the handler",
624 "name" : "fireEvent",
626 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
627 "sig" : "(eventName, args)",
629 "memberOf" : "Roo.util.Observable",
631 "isConstructor" : false,
641 "name" : "eventName",
648 "type" : "Object...",
649 "desc" : "Variable number of parameters are passed to handlers",
657 "desc" : "returns false if any of the handlers return false otherwise it returns true"
662 "name" : "hasListener",
664 "desc" : "Checks to see if this object has any listeners for a specified event",
665 "sig" : "(eventName)",
667 "memberOf" : "Roo.util.Observable",
669 "isConstructor" : false,
679 "name" : "eventName",
681 "desc" : "The name of the event to check for",
689 "desc" : "True if the event is being listened for, else false"
696 "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.",
697 "sig" : "(o, fn, scope)",
699 "memberOf" : "Roo.util.Observable",
701 "isConstructor" : false,
712 "type" : "Observable",
713 "desc" : "The Observable to capture",
719 "desc" : "The function to call",
725 "desc" : "(optional) The scope (this object) for the fn",
732 "name" : "addListener",
734 "desc" : "Appends an event handler to this component",
735 "sig" : "(eventName, handler, scope, options)",
737 "memberOf" : "Roo.util.Observable",
739 "isConstructor" : false,
749 "name" : "eventName",
751 "desc" : "The type of event to listen for",
757 "desc" : "The method the event invokes",
763 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
769 "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>",
780 "desc" : "Fires when a color is selected",
781 "sig" : "function (_self, color)\n{\n\n}",
790 "type" : "ColorPalette",
797 "desc" : "The 6-digit color hex code (without the # symbol)",
804 "name" : "beforerender",
806 "desc" : "Fires before the component is rendered. Return false to stop the render.",
807 "sig" : "function (_self)\n{\n\n}",
808 "memberOf" : "Roo.Component",
816 "type" : "Roo.Component",
826 "desc" : "Fires after the component is disabled.",
827 "sig" : "function (_self)\n{\n\n}",
828 "memberOf" : "Roo.Component",
836 "type" : "Roo.Component",
846 "desc" : "Fires after the component is rendered.",
847 "sig" : "function (_self)\n{\n\n}",
848 "memberOf" : "Roo.Component",
856 "type" : "Roo.Component",
866 "desc" : "Fires after the component is destroyed.",
867 "sig" : "function (_self)\n{\n\n}",
868 "memberOf" : "Roo.Component",
876 "type" : "Roo.Component",
886 "desc" : "Fires after the component is hidden.",
887 "sig" : "function (_self)\n{\n\n}",
888 "memberOf" : "Roo.Component",
896 "type" : "Roo.Component",
904 "name" : "beforehide",
906 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
907 "sig" : "function (_self)\n{\n\n}",
908 "memberOf" : "Roo.Component",
916 "type" : "Roo.Component",
926 "desc" : "Fires after the component is shown.",
927 "sig" : "function (_self)\n{\n\n}",
928 "memberOf" : "Roo.Component",
936 "type" : "Roo.Component",
944 "name" : "beforeshow",
946 "desc" : "Fires before the component is shown. Return false to stop the show.",
947 "sig" : "function (_self)\n{\n\n}",
948 "memberOf" : "Roo.Component",
956 "type" : "Roo.Component",
966 "desc" : "Fires after the component is enabled.",
967 "sig" : "function (_self)\n{\n\n}",
968 "memberOf" : "Roo.Component",
976 "type" : "Roo.Component",
984 "name" : "beforedestroy",
986 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
987 "sig" : "function (_self)\n{\n\n}",
988 "memberOf" : "Roo.Component",
996 "type" : "Roo.Component",