public interface HasColorSelectedHandlers extends HasHandlers
Modifier and Type | Method and Description |
---|---|
HandlerRegistration |
addColorSelectedHandler(ColorSelectedHandler handler)
Override this method to be notified when the user selects a color either by clicking a basic color box in simple mode,
or by clicking the OK button in complex mode.
|
fireEvent
HandlerRegistration addColorSelectedHandler(ColorSelectedHandler handler)
ColorPicker
may automatically hide itself after calling this method depending on autoHide
and defaultPickMode
.handler
- the colorSelected handlerHandlerRegistration
used to remove this handler