public class SettingsColorScheme extends java.lang.Object implements ColorScheme
| Modifier and Type | Field and Description |
|---|---|
protected ColorSetting |
activeColor
Setting to be used for
getActiveColor(). |
protected ColorSetting |
backgroundColor
Setting to be used for
getBackgroundColor(). |
protected ColorSetting |
fontColor
Setting to be used for
getFontColor(). |
protected ColorSetting |
inactiveColor
Setting to be used for
getInactiveColor(). |
protected NumberSetting |
opacity
Setting to be used for
getOpacity(). |
protected ColorSetting |
outlineColor
Setting to be used for
getOutlineColor(). |
| Constructor and Description |
|---|
SettingsColorScheme(ColorSetting activeColor,
ColorSetting inactiveColor,
ColorSetting backgroundColor,
ColorSetting outlineColor,
ColorSetting fontColor,
NumberSetting opacity)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.Color |
getActiveColor()
Returns the color that should be used to indicate that a component is active.
|
java.awt.Color |
getBackgroundColor()
Returns the background color.
|
java.awt.Color |
getFontColor()
Returns the text color.
|
java.awt.Color |
getInactiveColor()
Returns the color that should be used to indicate that a component is inactive.
|
int |
getOpacity()
Returns the alpha for partially transparent components of the GUI.
|
java.awt.Color |
getOutlineColor()
Returns the outline color.
|
protected final ColorSetting activeColor
getActiveColor().protected final ColorSetting inactiveColor
getInactiveColor().protected final ColorSetting backgroundColor
getBackgroundColor().protected final ColorSetting outlineColor
getOutlineColor().protected final ColorSetting fontColor
getFontColor().protected final NumberSetting opacity
getOpacity().public SettingsColorScheme(ColorSetting activeColor, ColorSetting inactiveColor, ColorSetting backgroundColor, ColorSetting outlineColor, ColorSetting fontColor, NumberSetting opacity)
activeColor - active color settinginactiveColor - inactive color settingbackgroundColor - background color settingoutlineColor - outline color settingfontColor - font color settingopacity - opacity settingpublic java.awt.Color getActiveColor()
ColorSchemegetActiveColor in interface ColorSchemepublic java.awt.Color getInactiveColor()
ColorSchemegetInactiveColor in interface ColorSchemepublic java.awt.Color getBackgroundColor()
ColorSchemegetBackgroundColor in interface ColorSchemepublic java.awt.Color getOutlineColor()
ColorSchemegetOutlineColor in interface ColorSchemepublic java.awt.Color getFontColor()
ColorSchemegetFontColor in interface ColorSchemepublic int getOpacity()
ColorSchemegetOpacity in interface ColorScheme