Interface ColorUpdatedHandler
- All Superinterfaces:
EventHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoidonColorUpdated(ColorUpdatedEvent event) Notification fired in real-time as the user manipulates the color picker (dragging the crosshair, adjusting sliders, typing in fields).
-
Method Details
-
onColorUpdated
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:
event- the event
-