Class ExtendedCodeAreaColorProfile
- java.lang.Object
-
- org.exbin.bined.swing.extended.color.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.
-
-
Constructor Summary
Constructors Constructor Description ExtendedCodeAreaColorProfile()
-
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)
-
-
-
Method Detail
-
createCopy
@Nonnull public ExtendedCodeAreaColorProfile createCopy()
Copy constructor.- Returns:
- full copy of profile
-
getColor
@Nullable public java.awt.Color getColor(org.exbin.bined.color.CodeAreaColorType colorType)
Returns color of the specified type.- Specified by:
getColor
in interfaceorg.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 interfaceorg.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 typecolor
- 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 interfaceorg.exbin.bined.swing.basic.color.CodeAreaColorsProfile
-
-