Class BasicCodeAreaColorsProfile
- java.lang.Object
-
- org.exbin.bined.swing.basic.color.BasicCodeAreaColorsProfile
-
- All Implemented Interfaces:
CodeAreaColorsProfile
@ParametersAreNonnullByDefault public class BasicCodeAreaColorsProfile extends java.lang.Object implements CodeAreaColorsProfile
Basic code area set of colors.
-
-
Constructor Summary
Constructors Constructor Description BasicCodeAreaColorsProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Color
getAlternateBackground()
java.awt.Color
getAlternateColor()
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.java.awt.Color
getCursorColor()
java.awt.Color
getCursorNegativeColor()
java.awt.Color
getDecorationLine()
java.awt.Color
getSelectionBackground()
java.awt.Color
getSelectionColor()
java.awt.Color
getSelectionMirrorBackground()
java.awt.Color
getSelectionMirrorColor()
java.awt.Color
getTextBackground()
java.awt.Color
getTextColor()
void
reinitialize()
Reinitialize colors.
-
-
-
Method Detail
-
getTextColor
@Nonnull public java.awt.Color getTextColor()
-
getTextBackground
@Nonnull public java.awt.Color getTextBackground()
-
getSelectionColor
@Nonnull public java.awt.Color getSelectionColor()
-
getSelectionBackground
@Nonnull public java.awt.Color getSelectionBackground()
-
getSelectionMirrorColor
@Nonnull public java.awt.Color getSelectionMirrorColor()
-
getSelectionMirrorBackground
@Nonnull public java.awt.Color getSelectionMirrorBackground()
-
getAlternateColor
@Nonnull public java.awt.Color getAlternateColor()
-
getAlternateBackground
@Nonnull public java.awt.Color getAlternateBackground()
-
getCursorColor
@Nonnull public java.awt.Color getCursorColor()
-
getCursorNegativeColor
@Nonnull public java.awt.Color getCursorNegativeColor()
-
getDecorationLine
@Nonnull public java.awt.Color getDecorationLine()
-
getColor
@Nullable public java.awt.Color getColor(org.exbin.bined.color.CodeAreaColorType colorType)
Description copied from interface:CodeAreaColorsProfile
Returns color of the specified type.- Specified by:
getColor
in interfaceCodeAreaColorsProfile
- Parameters:
colorType
- color type- Returns:
- color or null if not defined
-
getColor
@Nullable public java.awt.Color getColor(org.exbin.bined.color.CodeAreaColorType colorType, @Nullable org.exbin.bined.color.CodeAreaBasicColors basicAltColor)
Description copied from interface:CodeAreaColorsProfile
Returns color of the specified type.- Specified by:
getColor
in interfaceCodeAreaColorsProfile
- Parameters:
colorType
- color typebasicAltColor
- basic color type used as fallback- Returns:
- color or null if not defined
-
reinitialize
public void reinitialize()
Description copied from interface:CodeAreaColorsProfile
Reinitialize colors.- Specified by:
reinitialize
in interfaceCodeAreaColorsProfile
-
-