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"
40 "name" : "allowReselect",
42 "desc" : "If set to true then reselecting a color that is already selected fires the selection event",
48 "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\".",
49 "memberOf" : "Roo.Component"
54 "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.",
58 "name" : "allowDomMove",
60 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
61 "memberOf" : "Roo.Component"
66 "desc" : "The CSS class to apply to the containing element (defaults to \"x-color-palette\")",
70 "name" : "actionMode",
72 "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",
73 "memberOf" : "Roo.Component"
76 "name" : "disableClass",
78 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
79 "memberOf" : "Roo.Component"
86 "desc" : "Selects the specified color in the palette (fires the select event)",
91 "isConstructor" : false,
103 "desc" : "A valid 6-digit color hex code (# will be stripped if included)",
112 "desc" : "Returns the id of this component.",
113 "sig" : "()\n{\n\n}",
115 "memberOf" : "Roo.Component",
117 "isConstructor" : false,
137 "desc" : "If this is a lazy rendering component, render it to its container element.",
138 "sig" : "(container)",
140 "memberOf" : "Roo.Component",
142 "isConstructor" : false,
152 "name" : "container",
153 "type" : "String/HTMLElement/Element",
154 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
163 "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}.",
164 "sig" : "()\n{\n\n}",
166 "memberOf" : "Roo.Component",
168 "isConstructor" : false,
180 "name" : "isVisible",
182 "desc" : "Returns true if this component is visible.",
183 "sig" : "()\n{\n\n}",
185 "memberOf" : "Roo.Component",
187 "isConstructor" : false,
199 "name" : "setDisabled",
201 "desc" : "Convenience function for setting disabled/enabled by boolean.",
202 "sig" : "(disabled)",
204 "memberOf" : "Roo.Component",
206 "isConstructor" : false,
227 "desc" : "Hide this component.",
228 "sig" : "()\n{\n\n}",
230 "memberOf" : "Roo.Component",
232 "isConstructor" : false,
244 "type" : "Roo.Component",
252 "desc" : "Try to focus this component.",
253 "sig" : "(selectText)",
255 "memberOf" : "Roo.Component",
257 "isConstructor" : false,
267 "name" : "selectText",
269 "desc" : "True to also select the text in this component (if applicable)",
276 "type" : "Roo.Component",
284 "desc" : "Show this component.",
285 "sig" : "()\n{\n\n}",
287 "memberOf" : "Roo.Component",
289 "isConstructor" : false,
301 "type" : "Roo.Component",
309 "desc" : "Enable this component.",
310 "sig" : "()\n{\n\n}",
312 "memberOf" : "Roo.Component",
314 "isConstructor" : false,
326 "type" : "Roo.Component",
332 "name" : "setVisible",
334 "desc" : "Convenience function to hide or show this component by boolean.",
337 "memberOf" : "Roo.Component",
339 "isConstructor" : false,
351 "desc" : "True to show, false to hide",
358 "type" : "Roo.Component",
366 "desc" : "Disable this component.",
367 "sig" : "()\n{\n\n}",
369 "memberOf" : "Roo.Component",
371 "isConstructor" : false,
383 "type" : "Roo.Component",
391 "desc" : "Returns the underlying {@link Roo.Element}.",
392 "sig" : "()\n{\n\n}",
394 "memberOf" : "Roo.Component",
396 "isConstructor" : false,
408 "type" : "Roo.Element",
409 "desc" : "The element"
414 "name" : "purgeListeners",
416 "desc" : "Removes all listeners for this object",
417 "sig" : "()\n{\n\n}",
419 "memberOf" : "Roo.util.Observable",
421 "isConstructor" : false,
435 "desc" : "Appends an event handler to this element (shorthand for addListener)",
436 "sig" : "(eventName, handler, scope, options)",
438 "memberOf" : "Roo.util.Observable",
440 "isConstructor" : false,
450 "name" : "eventName",
452 "desc" : "The type of event to listen for",
458 "desc" : "The method the event invokes",
464 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
470 "desc" : "(optional)",
479 "desc" : "Removes a listener (shorthand for removeListener)",
480 "sig" : "(eventName, handler, scope)",
482 "memberOf" : "Roo.util.Observable",
484 "isConstructor" : false,
494 "name" : "eventName",
496 "desc" : "The type of event to listen for",
502 "desc" : "The handler to remove",
508 "desc" : "(optional) The scope (this object) for the handler",
515 "name" : "addEvents",
517 "desc" : "Used to define events on this Observable",
520 "memberOf" : "Roo.util.Observable",
522 "isConstructor" : false,
534 "desc" : "The object with the events defined",
541 "name" : "releaseCapture",
543 "desc" : "Removes <b>all</b> added captures from the Observable.",
546 "memberOf" : "Roo.util.Observable",
548 "isConstructor" : false,
559 "type" : "Observable",
560 "desc" : "The Observable to release",
567 "name" : "removeListener",
569 "desc" : "Removes a listener",
570 "sig" : "(eventName, handler, scope)",
572 "memberOf" : "Roo.util.Observable",
574 "isConstructor" : false,
584 "name" : "eventName",
586 "desc" : "The type of event to listen for",
592 "desc" : "The handler to remove",
598 "desc" : "(optional) The scope (this object) for the handler",
605 "name" : "fireEvent",
607 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
608 "sig" : "(eventName, args)",
610 "memberOf" : "Roo.util.Observable",
612 "isConstructor" : false,
622 "name" : "eventName",
629 "type" : "Object...",
630 "desc" : "Variable number of parameters are passed to handlers",
638 "desc" : "returns false if any of the handlers return false otherwise it returns true"
643 "name" : "hasListener",
645 "desc" : "Checks to see if this object has any listeners for a specified event",
646 "sig" : "(eventName)",
648 "memberOf" : "Roo.util.Observable",
650 "isConstructor" : false,
660 "name" : "eventName",
662 "desc" : "The name of the event to check for",
670 "desc" : "True if the event is being listened for, else false"
677 "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.",
678 "sig" : "(o, fn, scope)",
680 "memberOf" : "Roo.util.Observable",
682 "isConstructor" : false,
693 "type" : "Observable",
694 "desc" : "The Observable to capture",
700 "desc" : "The function to call",
706 "desc" : "(optional) The scope (this object) for the fn",
713 "name" : "addListener",
715 "desc" : "Appends an event handler to this component",
716 "sig" : "(eventName, handler, scope, options)",
718 "memberOf" : "Roo.util.Observable",
720 "isConstructor" : false,
730 "name" : "eventName",
732 "desc" : "The type of event to listen for",
738 "desc" : "The method the event invokes",
744 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
750 "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>",
761 "desc" : "Fires when a color is selected",
762 "sig" : "function (_self, color)\n{\n\n}",
771 "type" : "ColorPalette",
778 "desc" : "The 6-digit color hex code (without the # symbol)",
785 "name" : "beforerender",
787 "desc" : "Fires before the component is rendered. Return false to stop the render.",
788 "sig" : "function (_self)\n{\n\n}",
789 "memberOf" : "Roo.Component",
797 "type" : "Roo.Component",
807 "desc" : "Fires after the component is disabled.",
808 "sig" : "function (_self)\n{\n\n}",
809 "memberOf" : "Roo.Component",
817 "type" : "Roo.Component",
827 "desc" : "Fires after the component is rendered.",
828 "sig" : "function (_self)\n{\n\n}",
829 "memberOf" : "Roo.Component",
837 "type" : "Roo.Component",
847 "desc" : "Fires after the component is destroyed.",
848 "sig" : "function (_self)\n{\n\n}",
849 "memberOf" : "Roo.Component",
857 "type" : "Roo.Component",
867 "desc" : "Fires after the component is hidden.",
868 "sig" : "function (_self)\n{\n\n}",
869 "memberOf" : "Roo.Component",
877 "type" : "Roo.Component",
885 "name" : "beforehide",
887 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
888 "sig" : "function (_self)\n{\n\n}",
889 "memberOf" : "Roo.Component",
897 "type" : "Roo.Component",
907 "desc" : "Fires after the component is shown.",
908 "sig" : "function (_self)\n{\n\n}",
909 "memberOf" : "Roo.Component",
917 "type" : "Roo.Component",
925 "name" : "beforeshow",
927 "desc" : "Fires before the component is shown. Return false to stop the show.",
928 "sig" : "function (_self)\n{\n\n}",
929 "memberOf" : "Roo.Component",
937 "type" : "Roo.Component",
947 "desc" : "Fires after the component is enabled.",
948 "sig" : "function (_self)\n{\n\n}",
949 "memberOf" : "Roo.Component",
957 "type" : "Roo.Component",
965 "name" : "beforedestroy",
967 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
968 "sig" : "function (_self)\n{\n\n}",
969 "memberOf" : "Roo.Component",
977 "type" : "Roo.Component",