Class ColorChangedEvent


  • public class ColorChangedEvent
    extends org.eclipse.swt.widgets.Event
    An event for different color widgets
    • Field Summary

      • Fields inherited from class org.eclipse.swt.widgets.Event

        button, character, count, data, detail, display, doit, end, gc, height, index, item, keyCode, keyLocation, magnification, rotation, segments, segmentsChars, start, stateMask, text, time, touches, type, widget, width, x, xDirection, y, yDirection
    • Constructor Summary

      Constructors 
      Constructor Description
      ColorChangedEvent​(Object source, org.eclipse.swt.graphics.RGB rgbColor)
      Creates a new ColorChangedEvent
    • Constructor Detail

      • ColorChangedEvent

        public ColorChangedEvent​(Object source,
                                 org.eclipse.swt.graphics.RGB rgbColor)
        Creates a new ColorChangedEvent
        Parameters:
        source - ignored
        rgbColor - the new color
    • Method Detail

      • getRgbColor

        public org.eclipse.swt.graphics.RGB getRgbColor()
        Returns:
        the rgbColor
      • setRgbColor

        public void setRgbColor​(org.eclipse.swt.graphics.RGB rgbColor)
        Parameters:
        rgbColor - the rgbColor to set