2 "name" : "Roo.ColorPalette",
8 "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>",
12 "memberOf" : "ColorPalette",
21 "desc" : "The config object",
32 "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>",
33 "memberOf" : "Roo.util.Observable"
36 "name" : "allowReselect",
38 "desc" : "If set to true then reselecting a color that is already selected fires the selection event",
44 "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\".",
45 "memberOf" : "Roo.Component"
50 "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 "name" : "allowDomMove",
56 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
57 "memberOf" : "Roo.Component"
62 "desc" : "The CSS class to apply to the containing element (defaults to \"x-color-palette\")",
66 "name" : "actionMode",
68 "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",
69 "memberOf" : "Roo.Component"
72 "name" : "disableClass",
74 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
75 "memberOf" : "Roo.Component"
82 "desc" : "Selects the specified color in the palette (fires the select event)",
87 "isConstructor" : false,
99 "desc" : "A valid 6-digit color hex code (# will be stripped if included)",
108 "desc" : "Returns the id of this component.",
109 "sig" : "()\n{\n\n}",
111 "memberOf" : "Roo.Component",
113 "isConstructor" : false,
133 "desc" : "If this is a lazy rendering component, render it to its container element.",
134 "sig" : "(container)",
136 "memberOf" : "Roo.Component",
138 "isConstructor" : false,
148 "name" : "container",
149 "type" : "String/HTMLElement/Element",
150 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
159 "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}.",
160 "sig" : "()\n{\n\n}",
162 "memberOf" : "Roo.Component",
164 "isConstructor" : false,
176 "name" : "isVisible",
178 "desc" : "Returns true if this component is visible.",
179 "sig" : "()\n{\n\n}",
181 "memberOf" : "Roo.Component",
183 "isConstructor" : false,
195 "name" : "setDisabled",
197 "desc" : "Convenience function for setting disabled/enabled by boolean.",
198 "sig" : "(disabled)",
200 "memberOf" : "Roo.Component",
202 "isConstructor" : false,
223 "desc" : "Hide this component.",
224 "sig" : "()\n{\n\n}",
226 "memberOf" : "Roo.Component",
228 "isConstructor" : false,
240 "type" : "Roo.Component",
248 "desc" : "Try to focus this component.",
249 "sig" : "(selectText)",
251 "memberOf" : "Roo.Component",
253 "isConstructor" : false,
263 "name" : "selectText",
265 "desc" : "True to also select the text in this component (if applicable)",
272 "type" : "Roo.Component",
280 "desc" : "Show this component.",
281 "sig" : "()\n{\n\n}",
283 "memberOf" : "Roo.Component",
285 "isConstructor" : false,
297 "type" : "Roo.Component",
305 "desc" : "Enable this component.",
306 "sig" : "()\n{\n\n}",
308 "memberOf" : "Roo.Component",
310 "isConstructor" : false,
322 "type" : "Roo.Component",
328 "name" : "setVisible",
330 "desc" : "Convenience function to hide or show this component by boolean.",
333 "memberOf" : "Roo.Component",
335 "isConstructor" : false,
347 "desc" : "True to show, false to hide",
354 "type" : "Roo.Component",
362 "desc" : "Disable this component.",
363 "sig" : "()\n{\n\n}",
365 "memberOf" : "Roo.Component",
367 "isConstructor" : false,
379 "type" : "Roo.Component",
387 "desc" : "Returns the underlying {@link Roo.Element}.",
388 "sig" : "()\n{\n\n}",
390 "memberOf" : "Roo.Component",
392 "isConstructor" : false,
404 "type" : "Roo.Element",
405 "desc" : "The element"
410 "name" : "purgeListeners",
412 "desc" : "Removes all listeners for this object",
413 "sig" : "()\n{\n\n}",
415 "memberOf" : "Roo.util.Observable",
417 "isConstructor" : false,
431 "desc" : "Appends an event handler to this element (shorthand for addListener)",
432 "sig" : "(eventName, handler, scope, options)",
434 "memberOf" : "Roo.util.Observable",
436 "isConstructor" : false,
446 "name" : "eventName",
448 "desc" : "The type of event to listen for",
454 "desc" : "The method the event invokes",
460 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
466 "desc" : "(optional)",
475 "desc" : "Removes a listener (shorthand for removeListener)",
476 "sig" : "(eventName, handler, scope)",
478 "memberOf" : "Roo.util.Observable",
480 "isConstructor" : false,
490 "name" : "eventName",
492 "desc" : "The type of event to listen for",
498 "desc" : "The handler to remove",
504 "desc" : "(optional) The scope (this object) for the handler",
511 "name" : "addEvents",
513 "desc" : "Used to define events on this Observable",
516 "memberOf" : "Roo.util.Observable",
518 "isConstructor" : false,
530 "desc" : "The object with the events defined",
537 "name" : "releaseCapture",
539 "desc" : "Removes <b>all</b> added captures from the Observable.",
542 "memberOf" : "Roo.util.Observable",
544 "isConstructor" : false,
555 "type" : "Observable",
556 "desc" : "The Observable to release",
563 "name" : "removeListener",
565 "desc" : "Removes a listener",
566 "sig" : "(eventName, handler, scope)",
568 "memberOf" : "Roo.util.Observable",
570 "isConstructor" : false,
580 "name" : "eventName",
582 "desc" : "The type of event to listen for",
588 "desc" : "The handler to remove",
594 "desc" : "(optional) The scope (this object) for the handler",
601 "name" : "fireEvent",
603 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
604 "sig" : "(eventName, args)",
606 "memberOf" : "Roo.util.Observable",
608 "isConstructor" : false,
618 "name" : "eventName",
625 "type" : "Object...",
626 "desc" : "Variable number of parameters are passed to handlers",
634 "desc" : "returns false if any of the handlers return false otherwise it returns true"
639 "name" : "hasListener",
641 "desc" : "Checks to see if this object has any listeners for a specified event",
642 "sig" : "(eventName)",
644 "memberOf" : "Roo.util.Observable",
646 "isConstructor" : false,
656 "name" : "eventName",
658 "desc" : "The name of the event to check for",
666 "desc" : "True if the event is being listened for, else false"
673 "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.",
674 "sig" : "(o, fn, scope)",
676 "memberOf" : "Roo.util.Observable",
678 "isConstructor" : false,
689 "type" : "Observable",
690 "desc" : "The Observable to capture",
696 "desc" : "The function to call",
702 "desc" : "(optional) The scope (this object) for the fn",
709 "name" : "addListener",
711 "desc" : "Appends an event handler to this component",
712 "sig" : "(eventName, handler, scope, options)",
714 "memberOf" : "Roo.util.Observable",
716 "isConstructor" : false,
726 "name" : "eventName",
728 "desc" : "The type of event to listen for",
734 "desc" : "The method the event invokes",
740 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
746 "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>",
757 "desc" : "Fires when a color is selected",
758 "sig" : "function (_self, color)\n{\n\n}",
767 "type" : "ColorPalette",
774 "desc" : "The 6-digit color hex code (without the # symbol)",
781 "name" : "beforerender",
783 "desc" : "Fires before the component is rendered. Return false to stop the render.",
784 "sig" : "function (_self)\n{\n\n}",
785 "memberOf" : "Roo.Component",
793 "type" : "Roo.Component",
803 "desc" : "Fires after the component is disabled.",
804 "sig" : "function (_self)\n{\n\n}",
805 "memberOf" : "Roo.Component",
813 "type" : "Roo.Component",
823 "desc" : "Fires after the component is rendered.",
824 "sig" : "function (_self)\n{\n\n}",
825 "memberOf" : "Roo.Component",
833 "type" : "Roo.Component",
843 "desc" : "Fires after the component is destroyed.",
844 "sig" : "function (_self)\n{\n\n}",
845 "memberOf" : "Roo.Component",
853 "type" : "Roo.Component",
863 "desc" : "Fires after the component is hidden.",
864 "sig" : "function (_self)\n{\n\n}",
865 "memberOf" : "Roo.Component",
873 "type" : "Roo.Component",
881 "name" : "beforehide",
883 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
884 "sig" : "function (_self)\n{\n\n}",
885 "memberOf" : "Roo.Component",
893 "type" : "Roo.Component",
903 "desc" : "Fires after the component is shown.",
904 "sig" : "function (_self)\n{\n\n}",
905 "memberOf" : "Roo.Component",
913 "type" : "Roo.Component",
921 "name" : "beforeshow",
923 "desc" : "Fires before the component is shown. Return false to stop the show.",
924 "sig" : "function (_self)\n{\n\n}",
925 "memberOf" : "Roo.Component",
933 "type" : "Roo.Component",
943 "desc" : "Fires after the component is enabled.",
944 "sig" : "function (_self)\n{\n\n}",
945 "memberOf" : "Roo.Component",
953 "type" : "Roo.Component",
961 "name" : "beforedestroy",
963 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
964 "sig" : "function (_self)\n{\n\n}",
965 "memberOf" : "Roo.Component",
973 "type" : "Roo.Component",