| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public class OceanTheme extends DefaultMetalTheme
The default theme for the {@code MetalLookAndFeel}.
The designers of the Metal Look and Feel strive to keep the default look up to date, possibly through the use of new themes in the future. Therefore, developers should only use this class directly when they wish to customize the "Ocean" look, or force it to be the current theme, regardless of future updates.
All colors returned by {@code OceanTheme} are completely opaque.
Constructor Summary | |
---|---|
Creates an instance of OceanTheme
|
Method Summary | |
---|---|
void |
Add this theme's custom entries to the defaults table. |
protected ColorUIResource |
getBlack() Returns the black color. |
ColorUIResource |
Returns the control text color. |
ColorUIResource |
Returns the desktop color. |
ColorUIResource |
Returns the inactive control text color. |
ColorUIResource |
Returns the menu disabled foreground color. |
String |
getName() Return the name of this theme, "Ocean". |
protected ColorUIResource |
Returns the primary 1 color. |
protected ColorUIResource |
Returns the primary 2 color. |
protected ColorUIResource |
Returns the primary 3 color. |
protected ColorUIResource |
Returns the secondary 1 color. |
protected ColorUIResource |
Returns the secondary 2 color. |
protected ColorUIResource |
Returns the secondary 3 color. |
Methods inherited from class javax.swing.plaf.metal.DefaultMetalTheme |
---|
getControlTextFont, getMenuTextFont, getName, getPrimary1, getPrimary2, getPrimary3, getSecondary1, getSecondary2, getSecondary3, 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()
OceanTheme
Method Detail |
---|
public void addCustomEntriesToTable(UIDefaults table)
addCustomEntriesToTable
in class MetalTheme
table
- the defaults table, non-nullprotected ColorUIResource getBlack()
getBlack
in class MetalTheme
public ColorUIResource getControlTextColor()
getControlTextColor
in class MetalTheme
public ColorUIResource getDesktopColor()
getDesktopColor
in class MetalTheme
public ColorUIResource getInactiveControlTextColor()
getInactiveControlTextColor
in class MetalTheme
public ColorUIResource getMenuDisabledForeground()
getMenuDisabledForeground
in class MetalTheme
public String getName()
getName
in class DefaultMetalTheme
protected ColorUIResource getPrimary1()
getPrimary1
in class DefaultMetalTheme
protected ColorUIResource getPrimary2()
getPrimary2
in class DefaultMetalTheme
protected ColorUIResource getPrimary3()
getPrimary3
in class DefaultMetalTheme
protected ColorUIResource getSecondary1()
getSecondary1
in class DefaultMetalTheme
protected ColorUIResource getSecondary2()
getSecondary2
in class DefaultMetalTheme
protected ColorUIResource getSecondary3()
getSecondary3
in class DefaultMetalTheme
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |