Interface HasColorUpdatedHandlers
- All Superinterfaces:
HasHandlers
- All Known Implementing Classes:
ColorPicker
-
Method Summary
Modifier and TypeMethodDescriptionNotification fired in real-time as the user manipulates the color picker (dragging the crosshair, adjusting sliders, typing in fields).Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
-
Method Details
-
addColorUpdatedHandler
Notification fired in real-time as the user manipulates the color picker (dragging the crosshair, adjusting sliders, typing in fields). Thecolorparameter is anColorobject; whensupportsTransparencyis true it carries the current alpha, otherwise alpha is always 1.This is the preferred replacement for
ColorPicker.colorChanged(), which passes no parameters and requires the caller to use getter methods.- Parameters:
handler- the colorUpdated handler- Returns:
HandlerRegistrationused to remove this handler
-