public class ModernMetalTheme extends DefaultMetalTheme
Modifier and Type | Field and Description |
---|---|
static ColorUIResource |
CONTROL_TEXT_COLOR |
static Color |
DARK_GRAY |
static Color |
GRAY |
static ColorUIResource |
INACTIVE_CONTROL_TEXT_COLOR |
static Color |
LIGHT_GRAY |
static Color |
MEDIUM_GRAY |
static ColorUIResource |
MENU_DISABLED_FOREGROUND |
static ColorUIResource |
OCEAN_BLACK |
static ColorUIResource |
OCEAN_DROP |
static ColorUIResource |
PRIMARY1 |
static ColorUIResource |
PRIMARY2 |
static ColorUIResource |
PRIMARY3 |
static ColorUIResource |
PRIMARY4 |
static ColorUIResource |
PRIMARY5 |
static ColorUIResource |
PRIMARY6 |
static ColorUIResource |
SECONDARY1 |
static ColorUIResource |
SECONDARY2 |
static ColorUIResource |
SECONDARY3 |
static Color |
TRANSPARENT |
Constructor and Description |
---|
ModernMetalTheme()
Creates an instance of
OceanTheme |
Modifier and Type | Method and Description |
---|---|
void |
addCustomEntriesToTable(UIDefaults table)
Add this theme's custom entries to the defaults table.
|
protected ColorUIResource |
getBlack()
Returns the black color.
|
ColorUIResource |
getControlTextColor()
Returns the control text color.
|
ColorUIResource |
getDesktopColor()
Returns the desktop color.
|
ColorUIResource |
getInactiveControlTextColor()
Returns the inactive control text color.
|
ColorUIResource |
getMenuDisabledForeground()
Returns the menu disabled foreground color.
|
String |
getName()
Return the name of this theme, "Ocean".
|
protected ColorUIResource |
getPrimary1()
Returns the primary 1 color.
|
protected ColorUIResource |
getPrimary2()
Returns the primary 2 color.
|
protected ColorUIResource |
getPrimary3()
Returns the primary 3 color.
|
protected ColorUIResource |
getSecondary1()
Returns the secondary 1 color.
|
protected ColorUIResource |
getSecondary2()
Returns the secondary 2 color.
|
protected ColorUIResource |
getSecondary3()
Returns the secondary 3 color.
|
getControlTextFont, getMenuTextFont, getSubTextFont, getSystemTextFont, getUserTextFont, getWindowTitleFont
getAcceleratorForeground, getAcceleratorSelectedForeground, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlShadow, getFocusColor, getHighlightedTextColor, getInactiveSystemTextColor, getMenuBackground, getMenuForeground, getMenuSelectedBackground, getMenuSelectedForeground, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getSystemTextColor, getTextHighlightColor, getUserTextColor, getWhite, getWindowBackground, getWindowTitleBackground, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground
public static final Color TRANSPARENT
public static final ColorUIResource PRIMARY1
public static final ColorUIResource PRIMARY2
public static final ColorUIResource PRIMARY3
public static final ColorUIResource SECONDARY1
public static final ColorUIResource SECONDARY2
public static final ColorUIResource SECONDARY3
public static final ColorUIResource PRIMARY4
public static final ColorUIResource PRIMARY5
public static final ColorUIResource PRIMARY6
public static final Color DARK_GRAY
public static final Color MEDIUM_GRAY
public static final Color GRAY
public static final Color LIGHT_GRAY
public static final ColorUIResource CONTROL_TEXT_COLOR
public static final ColorUIResource INACTIVE_CONTROL_TEXT_COLOR
public static final ColorUIResource MENU_DISABLED_FOREGROUND
public static final ColorUIResource OCEAN_BLACK
public static final ColorUIResource OCEAN_DROP
public void addCustomEntriesToTable(UIDefaults table)
addCustomEntriesToTable
in class MetalTheme
table
- the defaults table, non-nullNullPointerException
- if table
is null
public String getName()
getName
in class DefaultMetalTheme
protected ColorUIResource getPrimary1()
0x6382BF
.getPrimary1
in class DefaultMetalTheme
Color.decode(java.lang.String)
protected ColorUIResource getPrimary2()
0xA3B8CC
.getPrimary2
in class DefaultMetalTheme
Color.decode(java.lang.String)
protected ColorUIResource getPrimary3()
0xB8CFE5
.getPrimary3
in class DefaultMetalTheme
Color.decode(java.lang.String)
protected ColorUIResource getSecondary1()
0x7A8A99
.getSecondary1
in class DefaultMetalTheme
Color.decode(java.lang.String)
protected ColorUIResource getSecondary2()
0xB8CFE5
.getSecondary2
in class DefaultMetalTheme
Color.decode(java.lang.String)
protected ColorUIResource getSecondary3()
0xEEEEEE
.getSecondary3
in class DefaultMetalTheme
Color.decode(java.lang.String)
protected ColorUIResource getBlack()
0x333333
.getBlack
in class MetalTheme
Color.decode(java.lang.String)
public ColorUIResource getDesktopColor()
0xFFFFFF
.getDesktopColor
in class MetalTheme
Color.decode(java.lang.String)
public ColorUIResource getInactiveControlTextColor()
0x999999
.getInactiveControlTextColor
in class MetalTheme
public ColorUIResource getControlTextColor()
0x333333
.getControlTextColor
in class MetalTheme
public ColorUIResource getMenuDisabledForeground()
0x999999
.getMenuDisabledForeground
in class MetalTheme
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.