Interface CodeAreaColorsProfile

  • All Known Implementing Classes:
    BasicCodeAreaColorsProfile

    @ParametersAreNonnullByDefault
    public interface CodeAreaColorsProfile
    Color profile.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.awt.Color getColor​(org.exbin.bined.color.CodeAreaColorType colorType)
      Returns color of the specified type.
      java.awt.Color getColor​(org.exbin.bined.color.CodeAreaColorType colorType, org.exbin.bined.color.CodeAreaBasicColors basicAltColor)
      Returns color of the specified type.
      void reinitialize()
      Reinitialize colors.
    • Method Detail

      • getColor

        @Nullable
        java.awt.Color getColor​(org.exbin.bined.color.CodeAreaColorType colorType)
        Returns color of the specified type.
        Parameters:
        colorType - color type
        Returns:
        color or null if not defined
      • getColor

        @Nullable
        java.awt.Color getColor​(org.exbin.bined.color.CodeAreaColorType colorType,
                                @Nullable
                                org.exbin.bined.color.CodeAreaBasicColors basicAltColor)
        Returns color of the specified type.
        Parameters:
        colorType - color type
        basicAltColor - basic color type used as fallback
        Returns:
        color or null if not defined
      • reinitialize

        void reinitialize()
        Reinitialize colors.