Interface ColorProvider

All Superinterfaces:
Serializable
All Known Subinterfaces:
Settings, UserSettings
All Known Implementing Classes:
DefaultColorProvider, DefaultSetting

public interface ColorProvider extends Serializable
Provides the colors used by the Painter to paint the Markers for the Difference Groups and their modifications.
Since:
3.20
  • Method Details

    • getMarkerColor

      @Nonnull @Nonnull Color getMarkerColor(DiffGroup.GroupType t)
      Returns the color of the marker for a difference group of the given type
      Parameters:
      t - the type of the difference group
      Returns:
      the color of the marker for a difference group, should not be null
      Since:
      3.20
    • getOutlineColor

      @Nonnull @Nonnull Color getOutlineColor(DiffGroup.GroupType t)
      Returns the color to mark the difference elements inside a difference group of the given type
      Parameters:
      t - the type of the difference group
      Returns:
      the color to mark the difference elements, should not be null
      Since:
      3.20