|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.plaf.metal.MetalTheme
javax.swing.plaf.metal.DefaultMetalTheme
javax.swing.plaf.metal.OceanTheme
public class OceanTheme
A modern theme for the Metal Look & Feel.
| Constructor Summary | |
|---|---|
OceanTheme()
|
|
| Method Summary | |
|---|---|
void |
addCustomEntriesToTable(UIDefaults defaults)
Adds customized entries to the UIDefaults table. |
protected ColorUIResource |
getBlack()
Returns the OceanTheme's color for black, the RGB value (51, 51, 51). |
ColorUIResource |
getControlTextColor()
Returns the color for control text, which is the value of the theme's black value. |
ColorUIResource |
getDesktopColor()
Returns the desktop color, which is the theme's white color. |
ColorUIResource |
getInactiveControlTextColor()
Returns the color for inactive control text, which is the RGB value (153, 153, 153). |
ColorUIResource |
getMenuDisabledForeground()
Returns the OceanTheme's color for disabled menu foreground, |
String |
getName()
Returns the name of this theme, "Ocean" |
protected ColorUIResource |
getPrimary1()
Return the OceanTheme's value for primary 1, the RGB value (99, 130, 191). |
protected ColorUIResource |
getPrimary2()
Return the OceanTheme's value for primary 2, the RGB value (163, 184, 204). |
protected ColorUIResource |
getPrimary3()
Return the OceanTheme's value for primary 1, the RGB value (184, 207, 229). |
protected ColorUIResource |
getSecondary1()
Return the OceanTheme's value for secondary 1, the RGB value (122, 138, 153). |
protected ColorUIResource |
getSecondary2()
Return the OceanTheme's value for secondary 2, the RGB value (184, 207, 229). |
protected ColorUIResource |
getSecondary3()
Return the OceanTheme's value for secondary 3, the RGB value (238, 238, 238). |
| Methods inherited from class javax.swing.plaf.metal.DefaultMetalTheme |
|---|
getControlTextFont, getMenuTextFont, getSubTextFont, getSystemTextFont, getUserTextFont, getWindowTitleFont |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OceanTheme()
| Method Detail |
|---|
public String getName()
getName in class DefaultMetalTheme"Steel".public ColorUIResource getControlTextColor()
getControlTextColor in class MetalThemepublic ColorUIResource getDesktopColor()
getDesktopColor in class MetalThemepublic ColorUIResource getInactiveControlTextColor()
getInactiveControlTextColor in class MetalThemepublic ColorUIResource getMenuDisabledForeground()
getMenuDisabledForeground in class MetalThemeMetalTheme.getMenuForeground()protected ColorUIResource getBlack()
getBlack in class MetalThemeprotected ColorUIResource getPrimary1()
getPrimary1 in class DefaultMetalThemeprotected ColorUIResource getPrimary2()
getPrimary2 in class DefaultMetalThemeprotected ColorUIResource getPrimary3()
getPrimary3 in class DefaultMetalThemeprotected ColorUIResource getSecondary1()
getSecondary1 in class DefaultMetalThemeprotected ColorUIResource getSecondary2()
getSecondary2 in class DefaultMetalThemeprotected ColorUIResource getSecondary3()
getSecondary3 in class DefaultMetalThemepublic void addCustomEntriesToTable(UIDefaults defaults)
addCustomEntriesToTable in class MetalThemedefaults - the UI defaults table
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||