public class OceanTheme extends DefaultMetalTheme
| Constructor and Description |
|---|
OceanTheme() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomEntriesToTable(javax.swing.UIDefaults defaults)
Adds customized entries to the UIDefaults table.
|
protected javax.swing.plaf.ColorUIResource |
getBlack()
Returns the OceanTheme's color for black, the RGB value
(51, 51, 51).
|
javax.swing.plaf.ColorUIResource |
getControlTextColor()
Returns the color for control text, which is the
value of the theme's black value.
|
javax.swing.plaf.ColorUIResource |
getDesktopColor()
Returns the desktop color, which is the theme's white color.
|
javax.swing.plaf.ColorUIResource |
getInactiveControlTextColor()
Returns the color for inactive control text, which is the
RGB value (153, 153, 153).
|
javax.swing.plaf.ColorUIResource |
getMenuDisabledForeground()
Returns the OceanTheme's color for disabled menu foreground,
|
java.lang.String |
getName()
Returns the name of this theme, "Ocean"
|
protected javax.swing.plaf.ColorUIResource |
getPrimary1()
Return the OceanTheme's value for primary 1, the RGB value
(99, 130, 191).
|
protected javax.swing.plaf.ColorUIResource |
getPrimary2()
Return the OceanTheme's value for primary 2, the RGB value
(163, 184, 204).
|
protected javax.swing.plaf.ColorUIResource |
getPrimary3()
Return the OceanTheme's value for primary 1, the RGB value
(184, 207, 229).
|
protected javax.swing.plaf.ColorUIResource |
getSecondary1()
Return the OceanTheme's value for secondary 1, the RGB value
(122, 138, 153).
|
protected javax.swing.plaf.ColorUIResource |
getSecondary2()
Return the OceanTheme's value for secondary 2, the RGB value
(184, 207, 229).
|
protected javax.swing.plaf.ColorUIResource |
getSecondary3()
Return the OceanTheme's value for secondary 3, the RGB value
(238, 238, 238).
|
getControlTextFont, getMenuTextFont, getSubTextFont, getSystemTextFont, getUserTextFont, getWindowTitleFontgetAcceleratorForeground, 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, getWindowTitleInactiveForegroundpublic OceanTheme()
public java.lang.String getName()
getName in class DefaultMetalTheme"Steel".public javax.swing.plaf.ColorUIResource getControlTextColor()
getControlTextColor in class MetalThemepublic javax.swing.plaf.ColorUIResource getDesktopColor()
getDesktopColor in class MetalThemepublic javax.swing.plaf.ColorUIResource getInactiveControlTextColor()
getInactiveControlTextColor in class MetalThemepublic javax.swing.plaf.ColorUIResource getMenuDisabledForeground()
getMenuDisabledForeground in class MetalThemeMetalTheme.getMenuForeground()protected javax.swing.plaf.ColorUIResource getBlack()
getBlack in class MetalThemeprotected javax.swing.plaf.ColorUIResource getPrimary1()
getPrimary1 in class DefaultMetalThemeprotected javax.swing.plaf.ColorUIResource getPrimary2()
getPrimary2 in class DefaultMetalThemeprotected javax.swing.plaf.ColorUIResource getPrimary3()
getPrimary3 in class DefaultMetalThemeprotected javax.swing.plaf.ColorUIResource getSecondary1()
getSecondary1 in class DefaultMetalThemeprotected javax.swing.plaf.ColorUIResource getSecondary2()
getSecondary2 in class DefaultMetalThemeprotected javax.swing.plaf.ColorUIResource getSecondary3()
getSecondary3 in class DefaultMetalThemepublic void addCustomEntriesToTable(javax.swing.UIDefaults defaults)
addCustomEntriesToTable in class MetalThemedefaults - the UI defaults table