Interface ISharedTextColors

  • public interface ISharedTextColors
    Manages SWT color objects. Until the dispose method is called, the same color object is returned for equal RGB values.

    This interface may be implemented by clients.

    • Method Detail

      • getColor

        Color getColor​(RGB rgb)
        Returns the color object for the value represented by the given RGB object.
        rgb - the RBG color specification
        the color object for the given RGB value
      • dispose

        default void dispose()
        Tells this object to dispose all its managed objects- Note that colors do not need dispose anymore