01: /*
02: * GWT-Ext Widget Library
03: * Copyright(c) 2007-2008, GWT-Ext.
04: * licensing@gwt-ext.com
05: *
06: * http://www.gwt-ext.com/license
07: */
08:
09: package com.gwtext.client.widgets.event;
10:
11: import com.gwtext.client.widgets.ColorPalette;
12:
13: public interface ColorPaletteListener extends ComponentListener {
14:
15: /**
16: * Fires when a color is selected.
17: *
18: * @param colorPalette this
19: * @param color The 6-digit color hex code (without the # symbol)
20: */
21: void onSelect(ColorPalette colorPalette, String color);
22: }
|