|
Préférences
Moteurs de recherche
|
||||||||||||||||||||||||||||||||||||
| JavaTM 2 Platform Std. Ed. v1.5.0
javax.swing.plaf.metal
|
|||||||||||||||||||||||||||||||||||||
| Constructor Summary | |
|---|---|
OceanTheme()
Construct an instance of OceanTheme |
|
| Method Summary | |
|---|---|
void |
addCustomEntriesToTable(UIDefaults table)
Add this theme's custom entries to the defaults table. |
protected ColorUIResource |
getBlack()
Return the color that the Metal Look and Feel should use as "Black". |
ColorUIResource |
getControlTextColor()
Return the color that the Metal Look and Feel should use as the default color for controls. |
ColorUIResource |
getDesktopColor()
Return the color that the Metal Look and Feel should use for the desktop background. |
ColorUIResource |
getInactiveControlTextColor()
Return the color that the Metal Look and Feel should use as the default color for inactive controls. |
ColorUIResource |
getMenuDisabledForeground()
Return the color that the Metal Look and Feel should use as the foreground color for disabled menu items. |
String |
getName()
Return the name of this theme, "Ocean". |
protected ColorUIResource |
getPrimary1()
Return the color that the Metal Look and Feel should use as "Primary 1". |
protected ColorUIResource |
getPrimary2()
Return the color that the Metal Look and Feel should use as "Primary 2". |
protected ColorUIResource |
getPrimary3()
Return the color that the Metal Look and Feel should use as "Primary 3". |
protected ColorUIResource |
getSecondary1()
Return the color that the Metal Look and Feel should use as "Secondary 1". |
protected ColorUIResource |
getSecondary2()
Return the color that the Metal Look and Feel should use as "Secondary 2". |
protected ColorUIResource |
getSecondary3()
Return the color that the Metal Look and Feel should use as "Secondary 3". |
| 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()
OceanTheme
| Method Detail |
|---|
public void addCustomEntriesToTable(UIDefaults table)
addCustomEntriesToTable in class MetalThemetable - the defaults table, non-null
NullPointerException - if the parameter is nullpublic String getName()
getName in class DefaultMetalThemeprotected 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 DefaultMetalThemeprotected ColorUIResource getBlack()
getBlack in class MetalThemepublic ColorUIResource getDesktopColor()
getDesktopColor in class MetalThemepublic ColorUIResource getInactiveControlTextColor()
getInactiveControlTextColor in class MetalThemepublic ColorUIResource getControlTextColor()
getControlTextColor in class MetalThemepublic ColorUIResource getMenuDisabledForeground()
getMenuDisabledForeground in class MetalTheme