javax.swing.plaf.metal
Class MetalHighContrastTheme
java.lang.Object
javax.swing.plaf.metal.MetalTheme
javax.swing.plaf.metal.DefaultMetalTheme
javax.swing.plaf.metal.MetalHighContrastTheme
- class MetalHighContrastTheme
- extends DefaultMetalTheme
A high contrast theme. This is used on Windows if the system property
awt.highContrast.on is true.
- Author:
- Michael C. Albers
Methods inherited from class javax.swing.plaf.metal.DefaultMetalTheme |
getControlTextFont, getDefaultFontName, getDefaultFontSize, getDefaultFontStyle, getDefaultPropertyName, getMenuTextFont, getSecondary1, getSubTextFont, getSystemTextFont, getUserTextFont, getWindowTitleFont, install |
Methods inherited from class javax.swing.plaf.metal.MetalTheme |
getBlack, getControl, getControlDarkShadow, getControlDisabled, getControlInfo, getControlShadow, getControlTextColor, getDesktopColor, getInactiveControlTextColor, getInactiveSystemTextColor, getMenuBackground, getMenuDisabledForeground, getMenuForeground, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getSystemTextColor, getUserTextColor, getWhite, getWindowBackground, getWindowTitleBackground, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
primary1
private static final ColorUIResource primary1
primary2
private static final ColorUIResource primary2
primary3
private static final ColorUIResource primary3
primaryHighlight
private static final ColorUIResource primaryHighlight
secondary2
private static final ColorUIResource secondary2
secondary3
private static final ColorUIResource secondary3
controlHighlight
private static final ColorUIResource controlHighlight
MetalHighContrastTheme
MetalHighContrastTheme()
getName
public String getName()
- Overrides:
getName
in class DefaultMetalTheme
getPrimary1
protected ColorUIResource getPrimary1()
- Overrides:
getPrimary1
in class DefaultMetalTheme
getPrimary2
protected ColorUIResource getPrimary2()
- Overrides:
getPrimary2
in class DefaultMetalTheme
getPrimary3
protected ColorUIResource getPrimary3()
- Overrides:
getPrimary3
in class DefaultMetalTheme
getPrimaryControlHighlight
public ColorUIResource getPrimaryControlHighlight()
- Overrides:
getPrimaryControlHighlight
in class MetalTheme
getSecondary2
protected ColorUIResource getSecondary2()
- Overrides:
getSecondary2
in class DefaultMetalTheme
getSecondary3
protected ColorUIResource getSecondary3()
- Overrides:
getSecondary3
in class DefaultMetalTheme
getControlHighlight
public ColorUIResource getControlHighlight()
- Overrides:
getControlHighlight
in class MetalTheme
getFocusColor
public ColorUIResource getFocusColor()
- Overrides:
getFocusColor
in class MetalTheme
getTextHighlightColor
public ColorUIResource getTextHighlightColor()
- Overrides:
getTextHighlightColor
in class MetalTheme
getHighlightedTextColor
public ColorUIResource getHighlightedTextColor()
- Overrides:
getHighlightedTextColor
in class MetalTheme
getMenuSelectedBackground
public ColorUIResource getMenuSelectedBackground()
- Overrides:
getMenuSelectedBackground
in class MetalTheme
getMenuSelectedForeground
public ColorUIResource getMenuSelectedForeground()
- Overrides:
getMenuSelectedForeground
in class MetalTheme
getAcceleratorForeground
public ColorUIResource getAcceleratorForeground()
- Overrides:
getAcceleratorForeground
in class MetalTheme
getAcceleratorSelectedForeground
public ColorUIResource getAcceleratorSelectedForeground()
- Overrides:
getAcceleratorSelectedForeground
in class MetalTheme
addCustomEntriesToTable
public void addCustomEntriesToTable(UIDefaults table)
- Overrides:
addCustomEntriesToTable
in class MetalTheme
isSystemTheme
boolean isSystemTheme()
- Returns true if this is a theme provided by the core platform.
- Overrides:
isSystemTheme
in class DefaultMetalTheme