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 voidaddCustomEntriesToTable(UIDefaults table)ColorUIResourcegetAcceleratorForeground()ColorUIResourcegetAcceleratorSelectedForeground()ColorUIResourcegetControlHighlight()ColorUIResourcegetFocusColor()ColorUIResourcegetHighlightedTextColor()ColorUIResourcegetMenuSelectedBackground()ColorUIResourcegetMenuSelectedForeground()StringgetName()protected ColorUIResourcegetPrimary1()protected ColorUIResourcegetPrimary2()protected ColorUIResourcegetPrimary3()ColorUIResourcegetPrimaryControlHighlight()protected ColorUIResourcegetSecondary2()protected ColorUIResourcegetSecondary3()ColorUIResourcegetTextHighlightColor()-
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:
getNamein classDefaultMetalTheme
-
getPrimary1
protected ColorUIResource getPrimary1()
- Overrides:
getPrimary1in classDefaultMetalTheme
-
getPrimary2
protected ColorUIResource getPrimary2()
- Overrides:
getPrimary2in classDefaultMetalTheme
-
getPrimary3
protected ColorUIResource getPrimary3()
- Overrides:
getPrimary3in classDefaultMetalTheme
-
getPrimaryControlHighlight
public ColorUIResource getPrimaryControlHighlight()
- Overrides:
getPrimaryControlHighlightin classMetalTheme
-
getSecondary2
protected ColorUIResource getSecondary2()
- Overrides:
getSecondary2in classDefaultMetalTheme
-
getSecondary3
protected ColorUIResource getSecondary3()
- Overrides:
getSecondary3in classDefaultMetalTheme
-
getControlHighlight
public ColorUIResource getControlHighlight()
- Overrides:
getControlHighlightin classMetalTheme
-
getFocusColor
public ColorUIResource getFocusColor()
- Overrides:
getFocusColorin classMetalTheme
-
getTextHighlightColor
public ColorUIResource getTextHighlightColor()
- Overrides:
getTextHighlightColorin classMetalTheme
-
getHighlightedTextColor
public ColorUIResource getHighlightedTextColor()
- Overrides:
getHighlightedTextColorin classMetalTheme
-
getMenuSelectedBackground
public ColorUIResource getMenuSelectedBackground()
- Overrides:
getMenuSelectedBackgroundin classMetalTheme
-
getMenuSelectedForeground
public ColorUIResource getMenuSelectedForeground()
- Overrides:
getMenuSelectedForegroundin classMetalTheme
-
getAcceleratorForeground
public ColorUIResource getAcceleratorForeground()
- Overrides:
getAcceleratorForegroundin classMetalTheme
-
getAcceleratorSelectedForeground
public ColorUIResource getAcceleratorSelectedForeground()
- Overrides:
getAcceleratorSelectedForegroundin classMetalTheme
-
addCustomEntriesToTable
public void addCustomEntriesToTable(UIDefaults table)
- Overrides:
addCustomEntriesToTablein classMetalTheme
-
-