12345678910111213141516 |
- /*
- * Ext JS Library 2.0 Copyright(c) 2006-2007, Ext JS, LLC. licensing@extjs.com
- *
- * http://extjs.com/license
- */
- Ext.menu.ColorItem = function(A) {
- Ext.menu.ColorItem.superclass.constructor.call(this,
- new Ext.ColorPalette(A), A);
- this.palette = this.component;
- this.relayEvents(this.palette, ["select"]);
- if (this.selectHandler) {
- this.on("select", this.selectHandler, this.scope)
- }
- };
- Ext.extend(Ext.menu.ColorItem, Ext.menu.Adapter);
|