Interface SetColorEffect.IColoredObject

  • Enclosing class:
    SetColorEffect

    public static interface SetColorEffect.IColoredObject
    Objects on which the SetColorEffect is applied must implements this interface. This allows to use this effect on different widgets and select the right color to change (foreground, background).
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.swt.graphics.Color getColor()
      Get the current color of this object
      void setColor​(org.eclipse.swt.graphics.Color c)
      Set the color of this object
    • Method Detail

      • setColor

        void setColor​(org.eclipse.swt.graphics.Color c)
        Set the color of this object
        Parameters:
        c -
      • getColor

        org.eclipse.swt.graphics.Color getColor()
        Get the current color of this object
        Returns: