GNU Classpath (0.95) | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
javax.swing.plaf.metal.MetalTheme
javax.swing.plaf.metal.DefaultMetalTheme
javax.swing.plaf.metal.OceanTheme
public class OceanTheme
extends DefaultMetalTheme
Method Summary | |
void |
|
protected ColorUIResource |
|
ColorUIResource |
|
ColorUIResource |
|
ColorUIResource |
|
ColorUIResource |
|
String |
|
protected ColorUIResource |
|
protected ColorUIResource |
|
protected ColorUIResource |
|
protected ColorUIResource |
|
protected ColorUIResource |
|
protected ColorUIResource |
|
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 , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
public void addCustomEntriesToTable(UIDefaults defaults)
Adds customized entries to the UIDefaults table.
- Overrides:
- addCustomEntriesToTable in interface MetalTheme
- Parameters:
defaults
- the UI defaults table
protected ColorUIResource getBlack()
Returns the OceanTheme's color for black, the RGB value (51, 51, 51).
- Overrides:
- getBlack in interface MetalTheme
- Returns:
- Returns the OceanTheme's value for black
public ColorUIResource getControlTextColor()
Returns the color for control text, which is the value of the theme's black value.
- Overrides:
- getControlTextColor in interface MetalTheme
public ColorUIResource getDesktopColor()
Returns the desktop color, which is the theme's white color.
- Overrides:
- getDesktopColor in interface MetalTheme
public ColorUIResource getInactiveControlTextColor()
Returns the color for inactive control text, which is the RGB value (153, 153, 153).
- Overrides:
- getInactiveControlTextColor in interface MetalTheme
public ColorUIResource getMenuDisabledForeground()
Returns the OceanTheme's color for disabled menu foreground,
- Overrides:
- getMenuDisabledForeground in interface MetalTheme
public String getName()
Returns the name of this theme, "Ocean"
- Overrides:
- getName in interface DefaultMetalTheme
protected ColorUIResource getPrimary1()
Return the OceanTheme's value for primary 1, the RGB value (99, 130, 191).
- Overrides:
- getPrimary1 in interface DefaultMetalTheme
protected ColorUIResource getPrimary2()
Return the OceanTheme's value for primary 2, the RGB value (163, 184, 204).
- Overrides:
- getPrimary2 in interface DefaultMetalTheme
protected ColorUIResource getPrimary3()
Return the OceanTheme's value for primary 1, the RGB value (184, 207, 229).
- Overrides:
- getPrimary3 in interface DefaultMetalTheme
protected ColorUIResource getSecondary1()
Return the OceanTheme's value for secondary 1, the RGB value (122, 138, 153).
- Overrides:
- getSecondary1 in interface DefaultMetalTheme
protected ColorUIResource getSecondary2()
Return the OceanTheme's value for secondary 2, the RGB value (184, 207, 229).
- Overrides:
- getSecondary2 in interface DefaultMetalTheme
protected ColorUIResource getSecondary3()
Return the OceanTheme's value for secondary 3, the RGB value (238, 238, 238).
- Overrides:
- getSecondary3 in interface DefaultMetalTheme
GNU Classpath (0.95) |