Package org.compiere.plaf
Class ContrastTheme
- java.lang.Object
-
- javax.swing.plaf.metal.MetalTheme
-
- javax.swing.plaf.metal.DefaultMetalTheme
-
- org.compiere.plaf.ContrastTheme
-
public class ContrastTheme extends DefaultMetalTheme
This class describes a higher-contrast Metal Theme.- Version:
- 1.10 07/26/04
- Author:
- Michael C. Albers, Jorg Janke
-
-
Constructor Summary
Constructors Constructor Description ContrastTheme()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCustomEntriesToTable(UIDefaults table)
ColorUIResource
getAcceleratorForeground()
ColorUIResource
getAcceleratorSelectedForeground()
ColorUIResource
getControlHighlight()
ColorUIResource
getFocusColor()
ColorUIResource
getHighlightedTextColor()
ColorUIResource
getMenuSelectedBackground()
ColorUIResource
getMenuSelectedForeground()
String
getName()
protected ColorUIResource
getPrimary1()
protected ColorUIResource
getPrimary2()
protected ColorUIResource
getPrimary3()
ColorUIResource
getPrimaryControlHighlight()
protected ColorUIResource
getSecondary2()
protected ColorUIResource
getSecondary3()
ColorUIResource
getTextHighlightColor()
-
Methods inherited from class javax.swing.plaf.metal.DefaultMetalTheme
getControlTextFont, getMenuTextFont, getSecondary1, getSubTextFont, getSystemTextFont, getUserTextFont, getWindowTitleFont
-
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
-
-
-
-
Method Detail
-
getName
public String getName()
- Overrides:
getName
in classDefaultMetalTheme
-
getPrimary1
protected ColorUIResource getPrimary1()
- Overrides:
getPrimary1
in classDefaultMetalTheme
-
getPrimary2
protected ColorUIResource getPrimary2()
- Overrides:
getPrimary2
in classDefaultMetalTheme
-
getPrimary3
protected ColorUIResource getPrimary3()
- Overrides:
getPrimary3
in classDefaultMetalTheme
-
getPrimaryControlHighlight
public ColorUIResource getPrimaryControlHighlight()
- Overrides:
getPrimaryControlHighlight
in classMetalTheme
-
getSecondary2
protected ColorUIResource getSecondary2()
- Overrides:
getSecondary2
in classDefaultMetalTheme
-
getSecondary3
protected ColorUIResource getSecondary3()
- Overrides:
getSecondary3
in classDefaultMetalTheme
-
getControlHighlight
public ColorUIResource getControlHighlight()
- Overrides:
getControlHighlight
in classMetalTheme
-
getFocusColor
public ColorUIResource getFocusColor()
- Overrides:
getFocusColor
in classMetalTheme
-
getTextHighlightColor
public ColorUIResource getTextHighlightColor()
- Overrides:
getTextHighlightColor
in classMetalTheme
-
getHighlightedTextColor
public ColorUIResource getHighlightedTextColor()
- Overrides:
getHighlightedTextColor
in classMetalTheme
-
getMenuSelectedBackground
public ColorUIResource getMenuSelectedBackground()
- Overrides:
getMenuSelectedBackground
in classMetalTheme
-
getMenuSelectedForeground
public ColorUIResource getMenuSelectedForeground()
- Overrides:
getMenuSelectedForeground
in classMetalTheme
-
getAcceleratorForeground
public ColorUIResource getAcceleratorForeground()
- Overrides:
getAcceleratorForeground
in classMetalTheme
-
getAcceleratorSelectedForeground
public ColorUIResource getAcceleratorSelectedForeground()
- Overrides:
getAcceleratorSelectedForeground
in classMetalTheme
-
addCustomEntriesToTable
public void addCustomEntriesToTable(UIDefaults table)
- Overrides:
addCustomEntriesToTable
in classMetalTheme
-
-