Class AbstractTheme
- Direct Known Subclasses:
AcrylDefaultTheme
,AeroDefaultTheme
,AluminiumDefaultTheme
,BernsteinDefaultTheme
,FastDefaultTheme
,GraphiteDefaultTheme
,HiFiDefaultTheme
,LunaDefaultTheme
,McWinDefaultTheme
,MintDefaultTheme
,NoireDefaultTheme
,SmartDefaultTheme
,TextureDefaultTheme
Abstract AbstractTheme class.
-
Field Summary
Modifier and TypeFieldDescriptionprotected static Color[]
Constant ACTIVE_COLORSprotected static ColorUIResource
Constant alterBackgroundColorprotected static ColorUIResource
Constant backgroundColorprotected static ColorUIResource
Constant backgroundColorDarkprotected static ColorUIResource
Constant backgroundColorLightprotected boolean
Constant backgroundPattern=truestatic final ColorUIResource
Constant BLACKstatic final ColorUIResource
Constant BLUEprotected static Color[]
Constant BUTTON_COLORSprotected static ColorUIResource
Constant buttonBackgroundColorprotected static ColorUIResource
Constant buttonColorDarkprotected static ColorUIResource
Constant buttonColorLightprotected static ColorUIResource
Constant buttonForegroundColorprotected static Color[]
Constant CHECKBOX_COLORSprotected static Color[]
Constant COL_HEADER_COLORSprotected static ColorUIResource
Constant controlBackgroundColorprotected static ColorUIResource
Constant controlColorDarkprotected static ColorUIResource
Constant controlColorLightprotected static ColorUIResource
Constant controlDarkShadowColorprotected static FontUIResource
Constant controlFontprotected static ColorUIResource
Constant controlForegroundColorprotected static ColorUIResource
Constant controlHighlightColorprotected static ColorUIResource
Constant controlShadowColorstatic final ColorUIResource
Constant CYANstatic final ColorUIResource
Constant DARK_BLUEstatic final ColorUIResource
Constant DARK_GRAYprotected static Color[]
Constant DEFAULT_COLORSprotected static ColorUIResource
Constant desktopColorstatic final String
Constant DIALOG="Dialog"protected static Color[]
Constant DISABLED_COLORSprotected static ColorUIResource
Constant disabledBackgroundColorprotected static ColorUIResource
Constant disabledForegroundColorstatic final ColorUIResource
Constant EXTRA_DARK_GRAYstatic final ColorUIResource
Constant EXTRA_LIGHT_GRAYprotected static Color[]
Constant FOCUS_COLORSprotected static ColorUIResource
Constant focusBackgroundColorprotected static ColorUIResource
Constant focusCellColorprotected static ColorUIResource
Constant focusColorprotected static ColorUIResource
Constant focusForegroundColorprotected static ColorUIResource
Constant focusFrameColorprotected static ColorUIResource
Constant foregroundColorprotected static ColorUIResource
Constant frameColorstatic final ColorUIResource
Constant GRAYstatic final ColorUIResource
Constant GREENprotected static ColorUIResource
Constant gridColorprotected static Color[]
Constant HIDEFAULT_COLORSprotected static Color[]
Constant INACTIVE_COLORSprotected static ColorUIResource
Constant inputBackgroundColorprotected static ColorUIResource
Constant inputForegroundColorstatic final ColorUIResource
Constant LIGHT_GRAYstatic final ColorUIResource
Constant LIGHT_ORANGEprotected static Color[]
Constant MENU_SELECTION_COLORSprotected static float
Constant menuAlpha=0.9fprotected static ColorUIResource
Constant menuBackgroundColorprotected static Color[]
Constant MENUBAR_COLORSprotected static ColorUIResource
Constant menuColorDarkprotected static ColorUIResource
Constant menuColorLightprotected static FontUIResource
Constant menuFontprotected static ColorUIResource
Constant menuForegroundColorprotected boolean
Constant menuOpaque=trueprotected static ColorUIResource
Constant menuSelectionBackgroundColorprotected static ColorUIResource
Constant menuSelectionBackgroundColorDarkprotected static ColorUIResource
Constant menuSelectionBackgroundColorLightprotected static ColorUIResource
Constant menuSelectionForegroundColorstatic final ColorUIResource
Constant ORANGEprotected static Color[]
Constant PRESSED_COLORSprotected static ColorUIResource
Constant pressedBackgroundColorprotected static ColorUIResource
Constant pressedBackgroundColorDarkprotected static ColorUIResource
Constant pressedBackgroundColorLightprotected static ColorUIResource
Constant pressedForegroundColorprotected static Color[]
Constant PROGRESSBAR_COLORSstatic final ColorUIResource
Constant REDprotected static Color[]
Constant ROLLOVER_COLORSprotected static ColorUIResource
Constant rolloverColorprotected static ColorUIResource
Constant rolloverColorDarkprotected static ColorUIResource
Constant rolloverColorLightprotected static ColorUIResource
Constant rolloverForegroundColorprotected static Color[]
Constant SELECTED_COLORSprotected static Color[]
Constant SELECTION_COLORSprotected static ColorUIResource
Constant selectionBackgroundColorprotected static ColorUIResource
Constant selectionBackgroundColorDarkprotected static ColorUIResource
Constant selectionBackgroundColorLightprotected static ColorUIResource
Constant selectionForegroundColorprotected static ColorUIResource
Constant shadowColorprotected boolean
Constant showFocusFrame=falseprotected static Color[]
Constant SLIDER_COLORSprotected static FontUIResource
Constant smallFontstatic final ColorUIResource
Constant SUPER_LIGHT_GRAYprotected static FontUIResource
Constant systemFontprotected static Color[]
Constant TAB_COLORSprotected static ColorUIResource
Constant tabAreaBackgroundColorprotected static ColorUIResource
Constant tabSelectionForegroundColorstatic final int
Constant TEXT_ANTIALIAS_DEFAULT=0static final int
Constant TEXT_ANTIALIAS_GRAY=1static final int
Constant TEXT_ANTIALIAS_HBGR=3static final int
Constant TEXT_ANTIALIAS_HRGB=2static final int
Constant TEXT_ANTIALIAS_VBGR=5static final int
Constant TEXT_ANTIALIAS_VRGB=4protected static int
Constant textAntiAliasingMode=TEXT_ANTIALIAS_HRGBprotected boolean
Constant textShadow=falseprotected static Color[]
Constant THUMB_COLORSprotected static Color[]
Constant TOOLBAR_COLORSprotected static ColorUIResource
Constant toolbarBackgroundColorprotected static ColorUIResource
Constant toolbarColorDarkprotected static ColorUIResource
Constant toolbarColorLightprotected static ColorUIResource
Constant toolbarForegroundColorprotected static ColorUIResource
Constant tooltipBackgroundColorprotected static int
Constant tooltipBorderSize=6protected static ColorUIResource
Constant tooltipForegroundColorprotected static int
Constant tooltipShadowSize=6protected static Color[]
Constant TRACK_COLORSprotected static FontUIResource
Constant userFontstatic final ColorUIResource
Constant WHITEprotected static Color[]
Constant WINDOW_INACTIVE_TITLE_COLORSprotected static Color[]
Constant WINDOW_TITLE_COLORSprotected static ColorUIResource
Constant windowBorderColorprotected static ColorUIResource
Constant windowIconColorprotected static ColorUIResource
Constant windowIconRolloverColorprotected static ColorUIResource
Constant windowIconShadowColorprotected static ColorUIResource
Constant windowInactiveBorderColorprotected static ColorUIResource
Constant windowInactiveTitleBackgroundColorprotected static ColorUIResource
Constant windowInactiveTitleColorDarkprotected static ColorUIResource
Constant windowInactiveTitleColorLightprotected static ColorUIResource
Constant windowInactiveTitleForegroundColorprotected static ColorUIResource
Constant windowTitleBackgroundColorprotected static ColorUIResource
Constant windowTitleColorDarkprotected static ColorUIResource
Constant windowTitleColorLightprotected static FontUIResource
Constant windowTitleFontprotected static ColorUIResource
Constant windowTitleForegroundColorstatic final ColorUIResource
Constant YELLOW -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static ColorUIResource
createColor
(String colorStr, ColorUIResource color) createColor.protected static FontUIResource
createFont
(String fontProp) createFont.protected static int
createInt.boolean
doDrawSquareButtons.boolean
doShowFocusFrame.Color[]
getActiveColors.Getter for the field alterBackgroundColor.Getter for the field backgroundColor.Getter for the field backgroundColorDark.Getter for the field backgroundColorLight.Getter for the field buttonBackgroundColor.Getter for the field buttonColorDark.Getter for the field buttonColorLight.Color[]
getButtonColors.Getter for the field buttonForegroundColor.Color[]
getCheckBoxColors.Color[]
getColHeaderColors.Getter for the field controlBackgroundColor.Getter for the field controlColorDark.Getter for the field controlColorLight.Getter for the field controlDarkShadowColor.Getter for the field controlForegroundColor.Getter for the field controlHighlightColor.Getter for the field controlShadowColor.Color[]
getDefaultColors.Getter for the field disabledBackgroundColor.Color[]
getDisabledColors.Getter for the field disabledForegroundColor.Getter for the field focusBackgroundColor.Getter for the field focusCellColor.Color[]
getFocusColors.Getter for the field focusForegroundColor.Getter for the field focusFrameColor.Getter for the field foregroundColor.Getter for the field frameColor.Getter for the field gridColor.Color[]
getHiDefaultColors.Color[]
getInActiveColors.Getter for the field inputBackgroundColor.Getter for the field inputForegroundColor.Getter for the field logoString.float
Getter for the field menuAlpha.Getter for the field menuBackgroundColor.Color[]
getMenuBarColors.Getter for the field menuColorDark.Getter for the field menuColorLight.Getter for the field menuForegroundColor.Getter for the field menuSelectionBackgroundColor.Getter for the field menuSelectionBackgroundColorDark.Getter for the field menuSelectionBackgroundColorLight.Color[]
getMenuSelectionColors.Getter for the field menuSelectionForegroundColor.getName()
Getter for the field pressedBackgroundColor.Color[]
getPressedColors.Getter for the field pressedForegroundColor.protected ColorUIResource
protected ColorUIResource
protected ColorUIResource
Color[]
getProgressBarColors.getPropertyFileName.Getter for the field rolloverColor.Getter for the field rolloverColorDark.Getter for the field rolloverColorLight.Color[]
getRolloverColors.Getter for the field rolloverForegroundColor.protected ColorUIResource
protected ColorUIResource
protected ColorUIResource
Color[]
getSelectedColors.Getter for the field selectionBackgroundColor.Getter for the field selectionBackgroundColorDark.Getter for the field selectionBackgroundColorLight.Color[]
getSelectionColors.Getter for the field selectionForegroundColor.Getter for the field shadowColor.Color[]
getSliderColors.Getter for the field tabAreaBackgroundColor.Color[]
getTabColors.Getter for the field tabSelectionForegroundColor.getTextAntiAliasingHint.int
Getter for the field textAntiAliasingMode.Color[]
getThumbColors.Getter for the field toolbarBackgroundColor.Getter for the field toolbarColorDark.Getter for the field toolbarColorLight.Color[]
getToolBarColors.Getter for the field toolbarForegroundColor.Getter for the field tooltipBackgroundColor.int
Getter for the field tooltipBorderSize.Getter for the field tooltipForegroundColor.int
Getter for the field tooltipShadowSize.Color[]
getTrackColors.Getter for the field windowBorderColor.Getter for the field windowIconColor.Getter for the field windowIconRolloverColor.Getter for the field windowIconShadowColor.Getter for the field windowInactiveBorderColor.Getter for the field windowInactiveTitleBackgroundColor.Getter for the field windowInactiveTitleColorDark.Getter for the field windowInactiveTitleColorLight.Color[]
getWindowInactiveTitleColors.Getter for the field windowInactiveTitleForegroundColor.Getter for the field windowTitleBackgroundColor.Getter for the field windowTitleColorDark.Getter for the field windowTitleColorLight.Color[]
getWindowTitleColors.Getter for the field windowTitleForegroundColor.boolean
isBackgroundPatternOn.boolean
isCenterWindowTitleOn.boolean
isLargeFontSize.boolean
isLinuxStyleScrollBarOn.boolean
isMacStyleScrollBarOn.boolean
isMacStyleWindowDecorationOn.boolean
isMediumFontSize.boolean
isSmallFontSize.boolean
isTextAntiAliasingOn.boolean
isTextShadowOn.boolean
isTinyFontSize.boolean
isWindowDecorationOn.void
loadProperties.void
setProperties
(Properties props) setProperties.void
setUpColor.void
setUpColorArrs.Methods inherited from class javax.swing.plaf.metal.MetalTheme
addCustomEntriesToTable, getAcceleratorForeground, getAcceleratorSelectedForeground, getBlack, getHighlightedTextColor, getInactiveControlTextColor, getInactiveSystemTextColor, getMenuBackground, getMenuDisabledForeground, getMenuForeground, getMenuSelectedBackground, getMenuSelectedForeground, getSeparatorBackground, getSeparatorForeground, getTextHighlightColor, getUserTextColor, getWhite, getWindowBackground, getWindowTitleBackground, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground
-
Field Details
-
TEXT_ANTIALIAS_DEFAULT
public static final int TEXT_ANTIALIAS_DEFAULTConstant TEXT_ANTIALIAS_DEFAULT=0- See Also:
-
TEXT_ANTIALIAS_GRAY
public static final int TEXT_ANTIALIAS_GRAYConstant TEXT_ANTIALIAS_GRAY=1- See Also:
-
TEXT_ANTIALIAS_HRGB
public static final int TEXT_ANTIALIAS_HRGBConstant TEXT_ANTIALIAS_HRGB=2- See Also:
-
TEXT_ANTIALIAS_HBGR
public static final int TEXT_ANTIALIAS_HBGRConstant TEXT_ANTIALIAS_HBGR=3- See Also:
-
TEXT_ANTIALIAS_VRGB
public static final int TEXT_ANTIALIAS_VRGBConstant TEXT_ANTIALIAS_VRGB=4- See Also:
-
TEXT_ANTIALIAS_VBGR
public static final int TEXT_ANTIALIAS_VBGRConstant TEXT_ANTIALIAS_VBGR=5- See Also:
-
DIALOG
Constant DIALOG="Dialog"- See Also:
-
RED
Constant RED -
GREEN
Constant GREEN -
CYAN
Constant CYAN -
WHITE
Constant WHITE -
SUPER_LIGHT_GRAY
Constant SUPER_LIGHT_GRAY -
EXTRA_LIGHT_GRAY
Constant EXTRA_LIGHT_GRAY -
LIGHT_GRAY
Constant LIGHT_GRAY -
GRAY
Constant GRAY -
DARK_GRAY
Constant DARK_GRAY -
EXTRA_DARK_GRAY
Constant EXTRA_DARK_GRAY -
BLACK
Constant BLACK -
ORANGE
Constant ORANGE -
LIGHT_ORANGE
Constant LIGHT_ORANGE -
YELLOW
Constant YELLOW -
BLUE
Constant BLUE -
DARK_BLUE
Constant DARK_BLUE -
textShadow
protected boolean textShadowConstant textShadow=false -
textAntiAliasingMode
protected static int textAntiAliasingModeConstant textAntiAliasingMode=TEXT_ANTIALIAS_HRGB -
backgroundPattern
protected boolean backgroundPatternConstant backgroundPattern=true -
showFocusFrame
protected boolean showFocusFrameConstant showFocusFrame=false -
controlFont
Constant controlFont -
systemFont
Constant systemFont -
userFont
Constant userFont -
smallFont
Constant smallFont -
windowTitleFont
Constant windowTitleFont -
foregroundColor
Constant foregroundColor -
backgroundColor
Constant backgroundColor -
backgroundColorLight
Constant backgroundColorLight -
backgroundColorDark
Constant backgroundColorDark -
alterBackgroundColor
Constant alterBackgroundColor -
disabledForegroundColor
Constant disabledForegroundColor -
disabledBackgroundColor
Constant disabledBackgroundColor -
inputBackgroundColor
Constant inputBackgroundColor -
inputForegroundColor
Constant inputForegroundColor -
selectionForegroundColor
Constant selectionForegroundColor -
selectionBackgroundColorLight
Constant selectionBackgroundColorLight -
selectionBackgroundColorDark
Constant selectionBackgroundColorDark -
selectionBackgroundColor
Constant selectionBackgroundColor -
rolloverForegroundColor
Constant rolloverForegroundColor -
rolloverColor
Constant rolloverColor -
rolloverColorLight
Constant rolloverColorLight -
rolloverColorDark
Constant rolloverColorDark -
pressedForegroundColor
Constant pressedForegroundColor -
pressedBackgroundColor
Constant pressedBackgroundColor -
pressedBackgroundColorLight
Constant pressedBackgroundColorLight -
pressedBackgroundColorDark
Constant pressedBackgroundColorDark -
focusColor
Constant focusColor -
focusCellColor
Constant focusCellColor -
focusFrameColor
Constant focusFrameColor -
focusBackgroundColor
Constant focusBackgroundColor -
focusForegroundColor
Constant focusForegroundColor -
frameColor
Constant frameColor -
gridColor
Constant gridColor -
shadowColor
Constant shadowColor -
buttonForegroundColor
Constant buttonForegroundColor -
buttonBackgroundColor
Constant buttonBackgroundColor -
buttonColorLight
Constant buttonColorLight -
buttonColorDark
Constant buttonColorDark -
controlForegroundColor
Constant controlForegroundColor -
controlBackgroundColor
Constant controlBackgroundColor -
controlHighlightColor
Constant controlHighlightColor -
controlShadowColor
Constant controlShadowColor -
controlDarkShadowColor
Constant controlDarkShadowColor -
controlColorLight
Constant controlColorLight -
controlColorDark
Constant controlColorDark -
windowTitleForegroundColor
Constant windowTitleForegroundColor -
windowTitleBackgroundColor
Constant windowTitleBackgroundColor -
windowTitleColorLight
Constant windowTitleColorLight -
windowTitleColorDark
Constant windowTitleColorDark -
windowBorderColor
Constant windowBorderColor -
windowIconColor
Constant windowIconColor -
windowIconShadowColor
Constant windowIconShadowColor -
windowIconRolloverColor
Constant windowIconRolloverColor -
windowInactiveTitleForegroundColor
Constant windowInactiveTitleForegroundColor -
windowInactiveTitleBackgroundColor
Constant windowInactiveTitleBackgroundColor -
windowInactiveTitleColorLight
Constant windowInactiveTitleColorLight -
windowInactiveTitleColorDark
Constant windowInactiveTitleColorDark -
windowInactiveBorderColor
Constant windowInactiveBorderColor -
toolbarForegroundColor
Constant toolbarForegroundColor -
toolbarBackgroundColor
Constant toolbarBackgroundColor -
toolbarColorLight
Constant toolbarColorLight -
toolbarColorDark
Constant toolbarColorDark -
tabAreaBackgroundColor
Constant tabAreaBackgroundColor -
tabSelectionForegroundColor
Constant tabSelectionForegroundColor -
desktopColor
Constant desktopColor -
tooltipForegroundColor
Constant tooltipForegroundColor -
tooltipBackgroundColor
Constant tooltipBackgroundColor -
tooltipBorderSize
protected static int tooltipBorderSizeConstant tooltipBorderSize=6 -
tooltipShadowSize
protected static int tooltipShadowSizeConstant tooltipShadowSize=6 -
DEFAULT_COLORS
Constant DEFAULT_COLORS -
HIDEFAULT_COLORS
Constant HIDEFAULT_COLORS -
ACTIVE_COLORS
Constant ACTIVE_COLORS -
INACTIVE_COLORS
Constant INACTIVE_COLORS -
ROLLOVER_COLORS
Constant ROLLOVER_COLORS -
SELECTED_COLORS
Constant SELECTED_COLORS -
SELECTION_COLORS
Constant SELECTION_COLORS -
FOCUS_COLORS
Constant FOCUS_COLORS -
MENU_SELECTION_COLORS
Constant MENU_SELECTION_COLORS -
PRESSED_COLORS
Constant PRESSED_COLORS -
DISABLED_COLORS
Constant DISABLED_COLORS -
WINDOW_TITLE_COLORS
Constant WINDOW_TITLE_COLORS -
WINDOW_INACTIVE_TITLE_COLORS
Constant WINDOW_INACTIVE_TITLE_COLORS -
TOOLBAR_COLORS
Constant TOOLBAR_COLORS -
MENUBAR_COLORS
Constant MENUBAR_COLORS -
BUTTON_COLORS
Constant BUTTON_COLORS -
CHECKBOX_COLORS
Constant CHECKBOX_COLORS -
TAB_COLORS
Constant TAB_COLORS -
COL_HEADER_COLORS
Constant COL_HEADER_COLORS -
TRACK_COLORS
Constant TRACK_COLORS -
THUMB_COLORS
Constant THUMB_COLORS -
SLIDER_COLORS
Constant SLIDER_COLORS -
PROGRESSBAR_COLORS
Constant PROGRESSBAR_COLORS
-
-
Constructor Details
-
AbstractTheme
public AbstractTheme()Constructor for AbstractTheme.
-
-
Method Details
-
createColor
createColor.
- Parameters:
colorStr
- aString
object.color
- aColorUIResource
object.- Returns:
- a
ColorUIResource
object.
-
createFont
createFont.
- Parameters:
fontProp
- aString
object.- Returns:
- a
FontUIResource
object.
-
createInt
createInt.
-
doDrawSquareButtons
public boolean doDrawSquareButtons()doDrawSquareButtons.
- Returns:
- a boolean.
-
doShowFocusFrame
public boolean doShowFocusFrame()doShowFocusFrame.
- Returns:
- a boolean.
-
getActiveColors
getActiveColors.
- Returns:
- an array of
Color
objects.
-
getAlterBackgroundColor
Getter for the field alterBackgroundColor.
- Returns:
- a
ColorUIResource
object.
-
getBackgroundColor
Getter for the field backgroundColor.
- Returns:
- a
ColorUIResource
object.
-
getBackgroundColorDark
Getter for the field backgroundColorDark.
- Returns:
- a
ColorUIResource
object.
-
getBackgroundColorLight
Getter for the field backgroundColorLight.
- Returns:
- a
ColorUIResource
object.
-
getButtonBackgroundColor
Getter for the field buttonBackgroundColor.
- Returns:
- a
ColorUIResource
object.
-
getButtonColorDark
Getter for the field buttonColorDark.
- Returns:
- a
ColorUIResource
object.
-
getButtonColorLight
Getter for the field buttonColorLight.
- Returns:
- a
ColorUIResource
object.
-
getButtonColors
getButtonColors.
- Returns:
- an array of
Color
objects.
-
getButtonForegroundColor
Getter for the field buttonForegroundColor.
- Returns:
- a
ColorUIResource
object.
-
getCheckBoxColors
getCheckBoxColors.
- Returns:
- an array of
Color
objects.
-
getColHeaderColors
getColHeaderColors.
- Returns:
- an array of
Color
objects.
-
getControl
- Overrides:
getControl
in classMetalTheme
-
getControlBackgroundColor
Getter for the field controlBackgroundColor.
- Returns:
- a
ColorUIResource
object.
-
getControlColorDark
Getter for the field controlColorDark.
- Returns:
- a
ColorUIResource
object.
-
getControlColorLight
Getter for the field controlColorLight.
- Returns:
- a
ColorUIResource
object.
-
getControlDarkShadow
- Overrides:
getControlDarkShadow
in classMetalTheme
-
getControlDarkShadowColor
Getter for the field controlDarkShadowColor.
- Returns:
- a
ColorUIResource
object.
-
getControlDisabled
- Overrides:
getControlDisabled
in classMetalTheme
-
getControlForegroundColor
Getter for the field controlForegroundColor.
- Returns:
- a
ColorUIResource
object.
-
getControlHighlight
- Overrides:
getControlHighlight
in classMetalTheme
-
getControlHighlightColor
Getter for the field controlHighlightColor.
- Returns:
- a
ColorUIResource
object.
-
getControlInfo
- Overrides:
getControlInfo
in classMetalTheme
-
getControlShadow
- Overrides:
getControlShadow
in classMetalTheme
-
getControlShadowColor
Getter for the field controlShadowColor.
- Returns:
- a
ColorUIResource
object.
-
getControlTextColor
- Overrides:
getControlTextColor
in classMetalTheme
-
getControlTextFont
- Specified by:
getControlTextFont
in classMetalTheme
-
getDefaultColors
getDefaultColors.
- Returns:
- an array of
Color
objects.
-
getDesktopColor
- Overrides:
getDesktopColor
in classMetalTheme
-
getDisabledBackgroundColor
Getter for the field disabledBackgroundColor.
- Returns:
- a
ColorUIResource
object.
-
getDisabledColors
getDisabledColors.
- Returns:
- an array of
Color
objects.
-
getDisabledForegroundColor
Getter for the field disabledForegroundColor.
- Returns:
- a
ColorUIResource
object.
-
getFocusBackgroundColor
Getter for the field focusBackgroundColor.
- Returns:
- a
ColorUIResource
object.
-
getFocusCellColor
Getter for the field focusCellColor.
- Returns:
- a
ColorUIResource
object.
-
getFocusColor
- Overrides:
getFocusColor
in classMetalTheme
-
getFocusColors
getFocusColors.
- Returns:
- an array of
Color
objects.
-
getFocusForegroundColor
Getter for the field focusForegroundColor.
- Returns:
- a
ColorUIResource
object.
-
getFocusFrameColor
Getter for the field focusFrameColor.
- Returns:
- a
ColorUIResource
object.
-
getForegroundColor
Getter for the field foregroundColor.
- Returns:
- a
ColorUIResource
object.
-
getFrameColor
Getter for the field frameColor.
- Returns:
- a
ColorUIResource
object.
-
getGridColor
Getter for the field gridColor.
- Returns:
- a
ColorUIResource
object.
-
getHiDefaultColors
getHiDefaultColors.
- Returns:
- an array of
Color
objects.
-
getInActiveColors
getInActiveColors.
- Returns:
- an array of
Color
objects.
-
getInputBackgroundColor
Getter for the field inputBackgroundColor.
- Returns:
- a
ColorUIResource
object.
-
getInputForegroundColor
Getter for the field inputForegroundColor.
- Returns:
- a
ColorUIResource
object.
-
getLogoString
Getter for the field logoString.
- Returns:
- a
String
object.
-
getMenuAlpha
public float getMenuAlpha()Getter for the field menuAlpha.
- Returns:
- a float.
-
getMenuBackgroundColor
Getter for the field menuBackgroundColor.
- Returns:
- a
ColorUIResource
object.
-
getMenuBarColors
getMenuBarColors.
- Returns:
- an array of
Color
objects.
-
getMenuColorDark
Getter for the field menuColorDark.
- Returns:
- a
ColorUIResource
object.
-
getMenuColorLight
Getter for the field menuColorLight.
- Returns:
- a
ColorUIResource
object.
-
getMenuForegroundColor
Getter for the field menuForegroundColor.
- Returns:
- a
ColorUIResource
object.
-
getMenuSelectionBackgroundColor
Getter for the field menuSelectionBackgroundColor.
- Returns:
- a
ColorUIResource
object.
-
getMenuSelectionBackgroundColorDark
Getter for the field menuSelectionBackgroundColorDark.
- Returns:
- a
ColorUIResource
object.
-
getMenuSelectionBackgroundColorLight
Getter for the field menuSelectionBackgroundColorLight.
- Returns:
- a
ColorUIResource
object.
-
getMenuSelectionColors
getMenuSelectionColors.
- Returns:
- an array of
Color
objects.
-
getMenuSelectionForegroundColor
Getter for the field menuSelectionForegroundColor.
- Returns:
- a
ColorUIResource
object.
-
getMenuTextFont
- Specified by:
getMenuTextFont
in classMetalTheme
-
getName
- Specified by:
getName
in classMetalTheme
-
getPressedBackgroundColor
Getter for the field pressedBackgroundColor.
- Returns:
- a
ColorUIResource
object.
-
getPressedColors
getPressedColors.
- Returns:
- an array of
Color
objects.
-
getPressedForegroundColor
Getter for the field pressedForegroundColor.
- Returns:
- a
ColorUIResource
object.
-
getPrimary1
- Specified by:
getPrimary1
in classMetalTheme
-
getPrimary2
- Specified by:
getPrimary2
in classMetalTheme
-
getPrimary3
- Specified by:
getPrimary3
in classMetalTheme
-
getPrimaryControl
- Overrides:
getPrimaryControl
in classMetalTheme
-
getPrimaryControlDarkShadow
- Overrides:
getPrimaryControlDarkShadow
in classMetalTheme
-
getPrimaryControlHighlight
- Overrides:
getPrimaryControlHighlight
in classMetalTheme
-
getPrimaryControlInfo
- Overrides:
getPrimaryControlInfo
in classMetalTheme
-
getPrimaryControlShadow
- Overrides:
getPrimaryControlShadow
in classMetalTheme
-
getProgressBarColors
getProgressBarColors.
- Returns:
- an array of
Color
objects.
-
getPropertyFileName
getPropertyFileName.
- Returns:
- a
String
object.
-
getRolloverColor
Getter for the field rolloverColor.
- Returns:
- a
ColorUIResource
object.
-
getRolloverColorDark
Getter for the field rolloverColorDark.
- Returns:
- a
ColorUIResource
object.
-
getRolloverColorLight
Getter for the field rolloverColorLight.
- Returns:
- a
ColorUIResource
object.
-
getRolloverColors
getRolloverColors.
- Returns:
- an array of
Color
objects.
-
getRolloverForegroundColor
Getter for the field rolloverForegroundColor.
- Returns:
- a
ColorUIResource
object.
-
getSecondary1
- Specified by:
getSecondary1
in classMetalTheme
-
getSecondary2
- Specified by:
getSecondary2
in classMetalTheme
-
getSecondary3
- Specified by:
getSecondary3
in classMetalTheme
-
getSelectedColors
getSelectedColors.
- Returns:
- an array of
Color
objects.
-
getSelectionBackgroundColor
Getter for the field selectionBackgroundColor.
- Returns:
- a
ColorUIResource
object.
-
getSelectionBackgroundColorDark
Getter for the field selectionBackgroundColorDark.
- Returns:
- a
ColorUIResource
object.
-
getSelectionBackgroundColorLight
Getter for the field selectionBackgroundColorLight.
- Returns:
- a
ColorUIResource
object.
-
getSelectionColors
getSelectionColors.
- Returns:
- an array of
Color
objects.
-
getSelectionForegroundColor
Getter for the field selectionForegroundColor.
- Returns:
- a
ColorUIResource
object.
-
getShadowColor
Getter for the field shadowColor.
- Returns:
- a
ColorUIResource
object.
-
getSliderColors
getSliderColors.
- Returns:
- an array of
Color
objects.
-
getSubTextFont
- Specified by:
getSubTextFont
in classMetalTheme
-
getSystemTextColor
- Overrides:
getSystemTextColor
in classMetalTheme
-
getSystemTextFont
- Specified by:
getSystemTextFont
in classMetalTheme
-
getTabAreaBackgroundColor
Getter for the field tabAreaBackgroundColor.
- Returns:
- a
ColorUIResource
object.
-
getTabColors
getTabColors.
- Returns:
- an array of
Color
objects.
-
getTabSelectionForegroundColor
Getter for the field tabSelectionForegroundColor.
- Returns:
- a
ColorUIResource
object.
-
getTextAntiAliasingHint
getTextAntiAliasingHint.
- Returns:
- a
Object
object.
-
getTextAntiAliasingMode
public int getTextAntiAliasingMode()Getter for the field textAntiAliasingMode.
- Returns:
- a
Integer
object.
-
getThumbColors
getThumbColors.
- Returns:
- an array of
Color
objects.
-
getToolbarBackgroundColor
Getter for the field toolbarBackgroundColor.
- Returns:
- a
ColorUIResource
object.
-
getToolbarColorDark
Getter for the field toolbarColorDark.
- Returns:
- a
ColorUIResource
object.
-
getToolbarColorLight
Getter for the field toolbarColorLight.
- Returns:
- a
ColorUIResource
object.
-
getToolBarColors
getToolBarColors.
- Returns:
- an array of
Color
objects.
-
getToolbarForegroundColor
Getter for the field toolbarForegroundColor.
- Returns:
- a
ColorUIResource
object.
-
getTooltipBackgroundColor
Getter for the field tooltipBackgroundColor.
- Returns:
- a
ColorUIResource
object.
-
getTooltipBorderSize
public int getTooltipBorderSize()Getter for the field tooltipBorderSize.
- Returns:
- a
Integer
object.
-
getTooltipForegroundColor
Getter for the field tooltipForegroundColor.
- Returns:
- a
ColorUIResource
object.
-
getTooltipShadowSize
public int getTooltipShadowSize()Getter for the field tooltipShadowSize.
- Returns:
- a
Integer
object.
-
getTrackColors
getTrackColors.
- Returns:
- an array of
Color
objects.
-
getUserTextFont
- Specified by:
getUserTextFont
in classMetalTheme
-
getWindowBorderColor
Getter for the field windowBorderColor.
- Returns:
- a
ColorUIResource
object.
-
getWindowIconColor
Getter for the field windowIconColor.
- Returns:
- a
ColorUIResource
object.
-
getWindowIconRolloverColor
Getter for the field windowIconRolloverColor.
- Returns:
- a
ColorUIResource
object.
-
getWindowIconShadowColor
Getter for the field windowIconShadowColor.
- Returns:
- a
ColorUIResource
object.
-
getWindowInactiveBorderColor
Getter for the field windowInactiveBorderColor.
- Returns:
- a
ColorUIResource
object.
-
getWindowInactiveTitleBackgroundColor
Getter for the field windowInactiveTitleBackgroundColor.
- Returns:
- a
ColorUIResource
object.
-
getWindowInactiveTitleColorDark
Getter for the field windowInactiveTitleColorDark.
- Returns:
- a
ColorUIResource
object.
-
getWindowInactiveTitleColorLight
Getter for the field windowInactiveTitleColorLight.
- Returns:
- a
ColorUIResource
object.
-
getWindowInactiveTitleColors
getWindowInactiveTitleColors.
- Returns:
- an array of
Color
objects.
-
getWindowInactiveTitleForegroundColor
Getter for the field windowInactiveTitleForegroundColor.
- Returns:
- a
ColorUIResource
object.
-
getWindowTitleBackgroundColor
Getter for the field windowTitleBackgroundColor.
- Returns:
- a
ColorUIResource
object.
-
getWindowTitleColorDark
Getter for the field windowTitleColorDark.
- Returns:
- a
ColorUIResource
object.
-
getWindowTitleColorLight
Getter for the field windowTitleColorLight.
- Returns:
- a
ColorUIResource
object.
-
getWindowTitleColors
getWindowTitleColors.
- Returns:
- an array of
Color
objects.
-
getWindowTitleFont
- Specified by:
getWindowTitleFont
in classMetalTheme
-
getWindowTitleForegroundColor
Getter for the field windowTitleForegroundColor.
- Returns:
- a
ColorUIResource
object.
-
isBackgroundPatternOn
public boolean isBackgroundPatternOn()isBackgroundPatternOn.
- Returns:
- a boolean.
-
isCenterWindowTitleOn
public boolean isCenterWindowTitleOn()isCenterWindowTitleOn.
- Returns:
- a boolean.
-
isLargeFontSize
public boolean isLargeFontSize()isLargeFontSize.
- Returns:
- a boolean.
-
isLinuxStyleScrollBarOn
public boolean isLinuxStyleScrollBarOn()isLinuxStyleScrollBarOn.
- Returns:
- a boolean.
-
isMacStyleScrollBarOn
public boolean isMacStyleScrollBarOn()isMacStyleScrollBarOn.
- Returns:
- a boolean.
-
isMacStyleWindowDecorationOn
public boolean isMacStyleWindowDecorationOn()isMacStyleWindowDecorationOn.
- Returns:
- a boolean.
-
isMediumFontSize
public boolean isMediumFontSize()isMediumFontSize.
- Returns:
- a boolean.
-
isSmallFontSize
public boolean isSmallFontSize()isSmallFontSize.
- Returns:
- a boolean.
-
isTextAntiAliasingOn
public boolean isTextAntiAliasingOn()isTextAntiAliasingOn.
- Returns:
- a boolean.
-
isTextShadowOn
public boolean isTextShadowOn()isTextShadowOn.
- Returns:
- a boolean.
-
isTinyFontSize
public boolean isTinyFontSize()isTinyFontSize.
- Returns:
- a boolean.
-
isWindowDecorationOn
public boolean isWindowDecorationOn()isWindowDecorationOn.
- Returns:
- a boolean.
-
loadProperties
public void loadProperties()loadProperties.
-
setProperties
setProperties.
- Parameters:
props
- aProperties
object.
-
setUpColor
public void setUpColor()setUpColor.
-
setUpColorArrs
public void setUpColorArrs()setUpColorArrs.
-