Class DerivedColorsResolverDark
- java.lang.Object
-
- org.pushingpixels.radiance.theming.api.colorscheme.DerivedColorsResolverDark
-
- All Implemented Interfaces:
SchemeDerivedColors
class DerivedColorsResolverDark extends java.lang.Object implements SchemeDerivedColors
Resolver of derived colors for dark color schemes. This class is not accessible outside the package and is for internal use only.
-
-
Field Summary
Fields Modifier and Type Field Description private RadianceColorScheme
scheme
The original color scheme.
-
Constructor Summary
Constructors Constructor Description DerivedColorsResolverDark(RadianceColorScheme scheme)
Creates the resolver of derived colors for the specified dark color scheme.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Color
getAccentedBackgroundFillColor()
Returns the accented background fill color forthis
scheme.java.awt.Color
getBackgroundFillColor()
Returns the background fill color forthis
scheme.java.awt.Color
getEchoColor()
Returns the echo color forthis
scheme.java.awt.Color
getFocusRingColor()
Returns the focus ring color forthis
scheme.java.awt.Color
getLineColor()
Returns the line color forthis
scheme.java.awt.Color
getMarkColor()
Returns the mark color forthis
scheme.java.awt.Color
getSelectionBackgroundColor()
Returns the selection background color forthis
scheme.java.awt.Color
getSelectionForegroundColor()
Returns the selection foreground color forthis
scheme.java.awt.Color
getSeparatorPrimaryColor()
Returns the primary separator color forthis
scheme.java.awt.Color
getSeparatorSecondaryColor()
Returns the secondary separator color forthis
scheme.java.awt.Color
getTextBackgroundFillColor()
Returns the text background fill color forthis
scheme.java.lang.String
toString()
-
-
-
Field Detail
-
scheme
private RadianceColorScheme scheme
The original color scheme.
-
-
Constructor Detail
-
DerivedColorsResolverDark
public DerivedColorsResolverDark(RadianceColorScheme scheme)
Creates the resolver of derived colors for the specified dark color scheme.- Parameters:
scheme
- The original color scheme.
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getLineColor
public java.awt.Color getLineColor()
Description copied from interface:SchemeDerivedColors
Returns the line color forthis
scheme.- Specified by:
getLineColor
in interfaceSchemeDerivedColors
- Returns:
- The line color for
this
scheme. - See Also:
RadianceSkin.getOverlayColor(RadianceThemingSlices.ColorOverlayType, RadianceThemingSlices.DecorationAreaType, ComponentState)
-
getSelectionForegroundColor
public java.awt.Color getSelectionForegroundColor()
Description copied from interface:SchemeDerivedColors
Returns the selection foreground color forthis
scheme.- Specified by:
getSelectionForegroundColor
in interfaceSchemeDerivedColors
- Returns:
- The selection foreground color for
this
scheme.
-
getSelectionBackgroundColor
public java.awt.Color getSelectionBackgroundColor()
Description copied from interface:SchemeDerivedColors
Returns the selection background color forthis
scheme.- Specified by:
getSelectionBackgroundColor
in interfaceSchemeDerivedColors
- Returns:
- The selection background color for
this
scheme.
-
getBackgroundFillColor
public java.awt.Color getBackgroundFillColor()
Description copied from interface:SchemeDerivedColors
Returns the background fill color forthis
scheme.- Specified by:
getBackgroundFillColor
in interfaceSchemeDerivedColors
- Returns:
- The background fill color for
this
scheme.
-
getAccentedBackgroundFillColor
public java.awt.Color getAccentedBackgroundFillColor()
Description copied from interface:SchemeDerivedColors
Returns the accented background fill color forthis
scheme.- Specified by:
getAccentedBackgroundFillColor
in interfaceSchemeDerivedColors
- Returns:
- The accented background fill color for
this
scheme.
-
getFocusRingColor
public java.awt.Color getFocusRingColor()
Description copied from interface:SchemeDerivedColors
Returns the focus ring color forthis
scheme.- Specified by:
getFocusRingColor
in interfaceSchemeDerivedColors
- Returns:
- The focus ring color for
this
scheme. - See Also:
RadianceSkin.getOverlayColor(RadianceThemingSlices.ColorOverlayType, RadianceThemingSlices.DecorationAreaType, ComponentState)
-
getTextBackgroundFillColor
public java.awt.Color getTextBackgroundFillColor()
Description copied from interface:SchemeDerivedColors
Returns the text background fill color forthis
scheme.- Specified by:
getTextBackgroundFillColor
in interfaceSchemeDerivedColors
- Returns:
- The text background fill color for
this
scheme.
-
getSeparatorPrimaryColor
public java.awt.Color getSeparatorPrimaryColor()
Description copied from interface:SchemeDerivedColors
Returns the primary separator color forthis
scheme.- Specified by:
getSeparatorPrimaryColor
in interfaceSchemeDerivedColors
- Returns:
- The primary separator color for
this
scheme.
-
getSeparatorSecondaryColor
public java.awt.Color getSeparatorSecondaryColor()
Description copied from interface:SchemeDerivedColors
Returns the secondary separator color forthis
scheme.- Specified by:
getSeparatorSecondaryColor
in interfaceSchemeDerivedColors
- Returns:
- The secondary separator color for
this
scheme.
-
getMarkColor
public java.awt.Color getMarkColor()
Description copied from interface:SchemeDerivedColors
Returns the mark color forthis
scheme. Mark color is used on checkboxes, radio buttons, scrollbar arrows, combo arrows, menu arrows, etc.- Specified by:
getMarkColor
in interfaceSchemeDerivedColors
- Returns:
- The mark color for
this
scheme.
-
getEchoColor
public java.awt.Color getEchoColor()
Description copied from interface:SchemeDerivedColors
Returns the echo color forthis
scheme. Echo color is used for drawing slight echo / drop shadow around title pane texts and similar "primary" elements.- Specified by:
getEchoColor
in interfaceSchemeDerivedColors
- Returns:
- The echo color for
this
scheme.
-
-