Class ExtendedCodeAreaColorProfile

  • All Implemented Interfaces:
    org.exbin.bined.swing.basic.color.CodeAreaColorsProfile

    @ParametersAreNonnullByDefault
    public class ExtendedCodeAreaColorProfile
    extends java.lang.Object
    implements org.exbin.bined.swing.basic.color.CodeAreaColorsProfile
    Color profile for extended code area.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ExtendedCodeAreaColorProfile createCopy()
      Copy constructor.
      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.
      boolean isInheritSystemColors()  
      void reinitialize()  
      void removeColor​(org.exbin.bined.color.CodeAreaColorType colorType)  
      void setColor​(org.exbin.bined.color.CodeAreaColorType colorType, java.awt.Color color)
      Sets color as replacement of the existing color.
      void setInheritSystemColors​(boolean inheritSystemColors)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExtendedCodeAreaColorProfile

        public ExtendedCodeAreaColorProfile()
    • Method Detail

      • getColor

        @Nullable
        public java.awt.Color getColor​(org.exbin.bined.color.CodeAreaColorType colorType)
        Returns color of the specified type.
        Specified by:
        getColor in interface org.exbin.bined.swing.basic.color.CodeAreaColorsProfile
        Parameters:
        colorType - color type
        Returns:
        color
      • getColor

        @Nullable
        public java.awt.Color getColor​(org.exbin.bined.color.CodeAreaColorType colorType,
                                       @Nullable
                                       org.exbin.bined.color.CodeAreaBasicColors basicAltColor)
        Returns color of the specified type.
        Specified by:
        getColor in interface org.exbin.bined.swing.basic.color.CodeAreaColorsProfile
        Parameters:
        colorType - color type
        Returns:
        color
      • setColor

        public void setColor​(org.exbin.bined.color.CodeAreaColorType colorType,
                             java.awt.Color color)
        Sets color as replacement of the existing color.
        Parameters:
        colorType - color type
        color - color value
      • removeColor

        public void removeColor​(org.exbin.bined.color.CodeAreaColorType colorType)
      • isInheritSystemColors

        public boolean isInheritSystemColors()
      • setInheritSystemColors

        public void setInheritSystemColors​(boolean inheritSystemColors)
      • reinitialize

        public void reinitialize()
        Specified by:
        reinitialize in interface org.exbin.bined.swing.basic.color.CodeAreaColorsProfile