public class ColorTheme extends DefaultMetalTheme
Config
object. This allows themes to be read from data files.Constructor and Description |
---|
ColorTheme(Config config)
Construct a new
ColorTheme . |
addCustomEntriesToTable
private ColorUIResource primary1
private ColorUIResource primary2
private ColorUIResource primary3
private ColorUIResource secondary1
private ColorUIResource secondary2
private ColorUIResource secondary3
private ColorUIResource black
private ColorUIResource white
private ColorUIResource acceleratorForegroundColor
private ColorUIResource acceleratorSelectedForegroundColor
private ColorUIResource controlColor
private ColorUIResource controlDarkShadowColor
private ColorUIResource controlDisabledColor
private ColorUIResource controlHighlightColor
private ColorUIResource controlInfoColor
private ColorUIResource controlShadowColor
private ColorUIResource controlTextColor
private ColorUIResource desktopColor
private ColorUIResource focusColor
private ColorUIResource highlightedTextColor
private ColorUIResource inactiveControlTextColor
private ColorUIResource inactiveSystemTextColor
private ColorUIResource menuBackgroundColor
private ColorUIResource menuDisabledForegroundColor
private ColorUIResource menuForegroundColor
private ColorUIResource menuSelectedBackgroundColor
private ColorUIResource menuSelectedForegroundColor
private ColorUIResource primaryControlColor
private ColorUIResource primaryControlDarkShadowColor
private ColorUIResource primaryControlHighlightColor
private ColorUIResource primaryControlInfoColor
private ColorUIResource primaryControlShadowColor
private ColorUIResource separatorBackgroundColor
private ColorUIResource separatorForegroundColor
private ColorUIResource systemTextColor
private ColorUIResource textHighlightColor
private ColorUIResource userTextColor
private ColorUIResource windowBackgroundColor
private ColorUIResource windowTitleBackgroundColor
private ColorUIResource windowTitleForegroundColor
private ColorUIResource windowTitleInactiveBackgroundColor
private ColorUIResource windowTitleInactiveForegroundColor
private FontUIResource controlTextFont
private FontUIResource menuTextFont
private FontUIResource subTextFont
private FontUIResource systemTextFont
private FontUIResource userTextFont
private FontUIResource windowTitleFont
public ColorTheme(Config config)
ColorTheme
.config
- The Config
object from which color and font
properties will be read.public String getName()
getName
in class DefaultMetalTheme
protected ColorUIResource getPrimary1()
getPrimary1
in class DefaultMetalTheme
protected ColorUIResource getPrimary2()
getPrimary2
in class DefaultMetalTheme
protected ColorUIResource getPrimary3()
getPrimary3
in class DefaultMetalTheme
protected ColorUIResource getSecondary1()
getSecondary1
in class DefaultMetalTheme
protected ColorUIResource getSecondary2()
getSecondary2
in class DefaultMetalTheme
protected ColorUIResource getSecondary3()
getSecondary3
in class DefaultMetalTheme
protected ColorUIResource getBlack()
getBlack
in class MetalTheme
protected ColorUIResource getWhite()
getWhite
in class MetalTheme
public ColorUIResource getAcceleratorForeground()
getAcceleratorForeground
in class MetalTheme
public ColorUIResource getAcceleratorSelectedForeground()
getAcceleratorSelectedForeground
in class MetalTheme
public ColorUIResource getControl()
getControl
in class MetalTheme
public ColorUIResource getControlDarkShadow()
getControlDarkShadow
in class MetalTheme
public ColorUIResource getControlDisabled()
getControlDisabled
in class MetalTheme
public ColorUIResource getControlHighlight()
getControlHighlight
in class MetalTheme
public ColorUIResource getControlInfo()
getControlInfo
in class MetalTheme
public ColorUIResource getControlShadow()
getControlShadow
in class MetalTheme
public ColorUIResource getControlTextColor()
getControlTextColor
in class MetalTheme
public ColorUIResource getDesktopColor()
getDesktopColor
in class MetalTheme
public ColorUIResource getFocusColor()
getFocusColor
in class MetalTheme
public ColorUIResource getHighlightedTextColor()
getHighlightedTextColor
in class MetalTheme
public ColorUIResource getInactiveControlTextColor()
getInactiveControlTextColor
in class MetalTheme
public ColorUIResource getInactiveSystemTextColor()
getInactiveSystemTextColor
in class MetalTheme
public ColorUIResource getMenuBackground()
getMenuBackground
in class MetalTheme
public ColorUIResource getMenuDisabledForeground()
getMenuDisabledForeground
in class MetalTheme
public ColorUIResource getMenuForeground()
getMenuForeground
in class MetalTheme
public ColorUIResource getMenuSelectedBackground()
getMenuSelectedBackground
in class MetalTheme
public ColorUIResource getMenuSelectedForeground()
getMenuSelectedForeground
in class MetalTheme
public ColorUIResource getPrimaryControl()
getPrimaryControl
in class MetalTheme
public ColorUIResource getPrimaryControlDarkShadow()
getPrimaryControlDarkShadow
in class MetalTheme
public ColorUIResource getPrimaryControlHighlight()
getPrimaryControlHighlight
in class MetalTheme
public ColorUIResource getPrimaryControlInfo()
getPrimaryControlInfo
in class MetalTheme
public ColorUIResource getPrimaryControlShadow()
getPrimaryControlShadow
in class MetalTheme
public ColorUIResource getSeparatorBackground()
getSeparatorBackground
in class MetalTheme
public ColorUIResource getSeparatorForeground()
getSeparatorForeground
in class MetalTheme
public ColorUIResource getSystemTextColor()
getSystemTextColor
in class MetalTheme
public ColorUIResource getTextHighlightColor()
getTextHighlightColor
in class MetalTheme
public ColorUIResource getUserTextColor()
getUserTextColor
in class MetalTheme
public ColorUIResource getWindowBackground()
getWindowBackground
in class MetalTheme
public ColorUIResource getWindowTitleBackground()
getWindowTitleBackground
in class MetalTheme
public ColorUIResource getWindowTitleForeground()
getWindowTitleForeground
in class MetalTheme
public ColorUIResource getWindowTitleInactiveBackground()
getWindowTitleInactiveBackground
in class MetalTheme
public ColorUIResource getWindowTitleInactiveForeground()
getWindowTitleInactiveForeground
in class MetalTheme
public FontUIResource getControlTextFont()
getControlTextFont
in class DefaultMetalTheme
public FontUIResource getMenuTextFont()
getMenuTextFont
in class DefaultMetalTheme
public FontUIResource getSubTextFont()
getSubTextFont
in class DefaultMetalTheme
public FontUIResource getSystemTextFont()
getSystemTextFont
in class DefaultMetalTheme
public FontUIResource getUserTextFont()
getUserTextFont
in class DefaultMetalTheme
public FontUIResource getWindowTitleFont()
getWindowTitleFont
in class DefaultMetalTheme
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses