Interface ColorUpdatedHandler

All Superinterfaces:
EventHandler

public interface ColorUpdatedHandler extends EventHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Notification fired in real-time as the user manipulates the color picker (dragging the crosshair, adjusting sliders, typing in fields).
  • Method Details

    • onColorUpdated

      void onColorUpdated(ColorUpdatedEvent event)
      Notification fired in real-time as the user manipulates the color picker (dragging the crosshair, adjusting sliders, typing in fields). The color parameter is an Color object; when supportsTransparency is 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