-/*\r
- * Ext JS Library 2.2.1\r
- * Copyright(c) 2006-2009, Ext JS, LLC.\r
- * licensing@extjs.com\r
- * \r
- * http://extjs.com/license\r
- */\r
-\r
-/**\r
- * @class Ext.menu.ColorItem\r
- * @extends Ext.menu.Adapter\r
- * A menu item that wraps the {@link Ext.ColorPalette} component.\r
- * @constructor\r
- * Creates a new ColorItem\r
- * @param {Object} config Configuration options\r
- */\r
-Ext.menu.ColorItem = function(config){\r
- Ext.menu.ColorItem.superclass.constructor.call(this, new Ext.ColorPalette(config), config);\r
- /** The Ext.ColorPalette object @type Ext.ColorPalette */\r
- this.palette = this.component;\r
- this.relayEvents(this.palette, ["select"]);\r
- if(this.selectHandler){\r
- this.on('select', this.selectHandler, this.scope);\r
- }\r
-};\r
-Ext.extend(Ext.menu.ColorItem, Ext.menu.Adapter);
\ No newline at end of file