de.muntjak.tinylookandfeel
Class Theme

java.lang.Object
  extended by de.muntjak.tinylookandfeel.Theme

public class Theme
extends java.lang.Object

Theme is a data container for all the properties of a TinyLaF theme.

Notes on Theme Switching:
This class has several static methods to load themes. After loading a theme, TinyLookAndFeel needs to be re-installed and the uis need to be recreated like this:

   // re-install the Tiny Look and Feel
   UIManager.setLookAndFeel(new TinyLookAndFeel());

   // Update the ComponentUIs for all Components. This
   // needs to be invoked for all windows.
   SwingUtilities.updateComponentTreeUI(rootComponent);
 
To enable your users to switch themes, follow these steps:
  1. Call getAvailableThemes() to get an array of ThemeDescription objects. By iterating through the array and calling ThemeDescription.getName(), you can build a menu presenting the available themes.
  2. If a user selects an item from the themes menu, your code can call loadTheme(ThemeDescription) passing in the selected ThemeDescription objectt.
  3. Follow the recommendations above (re-install TinyLookAndFeel and recreate the uis).


Field Summary
static SBReference backColor
           
static ColoredFont boldFont
           
static SBReference buttonBorderColor
           
static SBReference buttonBorderDisabledColor
           
static SBReference buttonCheckColor
           
static SBReference buttonCheckDisabledColor
           
static SBReference buttonDefaultColor
           
static SBReference buttonDisabledColor
           
static SBReference buttonDisabledFgColor
           
static BooleanReference buttonEnter
           
static BooleanReference buttonFocus
           
static BooleanReference buttonFocusBorder
           
static ColoredFont buttonFont
           
static SBReference buttonFontColor
           
static javax.swing.plaf.InsetsUIResource buttonMargin
           
static SBReference buttonNormalColor
           
static SBReference buttonPressedColor
           
static SBReference buttonRolloverBgColor
           
static BooleanReference buttonRolloverBorder
           
static SBReference buttonRolloverColor
           
static IntReference buttonSpreadDark
           
static IntReference buttonSpreadDarkDisabled
           
static IntReference buttonSpreadLight
           
static IntReference buttonSpreadLightDisabled
           
static SBReference checkDisabledFgColor
           
static ColoredFont checkFont
           
static SBReference checkFontColor
           
static javax.swing.plaf.InsetsUIResource checkMargin
           
static BooleanReference[] colorize
           
static HSBReference[] colorizer
           
static SBReference comboArrowColor
           
static SBReference comboArrowDisabledColor
           
static SBReference comboBgColor
           
static SBReference comboBorderColor
           
static SBReference comboBorderDisabledColor
           
static SBReference comboButtBorderColor
           
static SBReference comboButtBorderDisabledColor
           
static SBReference comboButtColor
           
static SBReference comboButtDisabledColor
           
static SBReference comboButtPressedColor
           
static SBReference comboButtRolloverColor
           
static BooleanReference comboFocus
           
static SBReference comboFocusBgColor
           
static ColoredFont comboFont
           
static javax.swing.plaf.InsetsUIResource comboInsets
           
static BooleanReference comboRollover
           
static SBReference comboSelectedBgColor
           
static SBReference comboSelectedTextColor
           
static IntReference comboSpreadDark
           
static IntReference comboSpreadDarkDisabled
           
static IntReference comboSpreadLight
           
static IntReference comboSpreadLightDisabled
           
static SBReference comboTextColor
           
static java.lang.String DEFAULT_THEME
           
static SBReference desktopPaneBgColor
           
static SBReference disColor
           
static ColoredFont editorFont
           
static SBReference editorPaneBgColor
           
static int ERROR_FILE_NOT_FOUND
           
static int ERROR_INVALID_THEME_DESCRIPTION
           
static int ERROR_IO_EXCEPTION
           
static int ERROR_NO_TINYLAF_THEME
           
static int ERROR_NONE
           
static int ERROR_NULL_ARGUMENT
           
static int ERROR_WIN99_STYLE
           
static int errorCode
          If problems occur while loading themes, this variable will hold one of the following error codes: ERROR_FILE_NOT_FOUND - the specified file doesn't exist.
static java.lang.String FILE_EXTENSION
           
protected static int FILE_ID_1
           
protected static int FILE_ID_2
           
static int FILE_ID_3A
           
protected static int FILE_ID_3B
           
protected static int FILE_ID_3C
           
protected static int FILE_ID_3D
           
protected static int FILE_ID_3E
           
protected static int FILE_ID_3F
           
protected static int FILE_ID_4
           
protected static int FILE_ID_4B
           
protected static int FILE_ID_4C
           
protected static int FILE_ID_4D
           
protected static int FILE_ID_4E
           
static int fileID
           
static BooleanReference fixedTabs
           
static SBReference frameBorderColor
           
static SBReference frameBorderDisabledColor
           
static SBReference frameButtBorderColor
           
static SBReference frameButtBorderDisabledColor
           
static SBReference frameButtCloseBorderColor
           
static SBReference frameButtCloseBorderDisabledColor
           
static SBReference frameButtCloseColor
           
static SBReference frameButtCloseDarkColor
           
static SBReference frameButtCloseDisabledColor
           
static SBReference frameButtCloseLightColor
           
static SBReference frameButtClosePressedColor
           
static SBReference frameButtCloseRolloverColor
           
static IntReference frameButtCloseSpreadDark
           
static IntReference frameButtCloseSpreadDarkDisabled
           
static IntReference frameButtCloseSpreadLight
           
static IntReference frameButtCloseSpreadLightDisabled
           
static SBReference frameButtColor
           
static SBReference frameButtDisabledColor
           
static SBReference frameButtPressedColor
           
static SBReference frameButtRolloverColor
           
static IntReference frameButtSpreadDark
           
static IntReference frameButtSpreadDarkDisabled
           
static IntReference frameButtSpreadLight
           
static IntReference frameButtSpreadLightDisabled
           
static SBReference frameCaptionColor
           
static SBReference frameCaptionDisabledColor
           
static SBReference frameColor
           
static SBReference frameLightColor
           
static SBReference frameLightDisabledColor
           
static IntReference frameSpreadDark
           
static IntReference frameSpreadDarkDisabled
           
static IntReference frameSpreadLight
           
static IntReference frameSpreadLightDisabled
           
static SBReference frameSymbolCloseColor
           
static SBReference frameSymbolCloseDarkColor
           
static SBReference frameSymbolCloseDarkDisabledColor
           
static SBReference frameSymbolCloseDisabledColor
           
static SBReference frameSymbolClosePressedColor
           
static SBReference frameSymbolColor
           
static SBReference frameSymbolDarkColor
           
static SBReference frameSymbolDarkDisabledColor
           
static SBReference frameSymbolDisabledColor
           
static SBReference frameSymbolLightColor
           
static SBReference frameSymbolLightDisabledColor
           
static SBReference frameSymbolPressedColor
           
static SBReference frameTitleColor
           
static SBReference frameTitleDisabledColor
           
static ColoredFont frameTitleFont
           
static SBReference frameTitleShadowColor
           
static BooleanReference ignoreSelectedBg
           
static ColoredFont internalFrameTitleFont
           
static ColoredFont internalPaletteTitleFont
           
static ColoredFont labelFont
           
static SBReference labelFontColor
           
protected static java.util.Properties LINUX_FONT_MAPPINGS
           
static SBReference listBgColor
           
static SBReference listFocusBorderColor
           
static ColoredFont listFont
           
static SBReference listSelectedBgColor
           
static SBReference listSelectedTextColor
           
static SBReference listTextColor
           
protected static java.util.Properties MAC_FONT_MAPPINGS
           
static SBReference mainColor
           
static BooleanReference menuAllowTwoIcons
           
static SBReference menuBarColor
           
static SBReference menuBorderColor
           
static SBReference menuDisabledFgColor
           
static ColoredFont menuFont
           
static SBReference menuFontColor
           
static SBReference menuIconColor
           
static SBReference menuIconDisabledColor
           
static SBReference menuIconRolloverColor
           
static SBReference menuInnerHilightColor
           
static SBReference menuInnerShadowColor
           
static SBReference menuItemDisabledFgColor
           
static ColoredFont menuItemFont
           
static SBReference menuItemFontColor
           
static SBReference menuItemRolloverColor
           
static SBReference menuItemSelectedTextColor
           
static SBReference menuOuterHilightColor
           
static SBReference menuOuterShadowColor
           
static SBReference menuPopupColor
           
static BooleanReference menuPopupShadow
           
static BooleanReference menuRollover
           
static SBReference menuRolloverBgColor
           
static SBReference menuRolloverFgColor
           
static SBReference menuSeparatorColor
           
static ColoredFont passwordFont
           
static ColoredFont plainFont
           
static ColoredFont progressBarFont
           
static SBReference progressBorderColor
           
static SBReference progressColor
           
static SBReference progressDarkColor
           
static SBReference progressLightColor
           
static SBReference progressSelectBackColor
           
static SBReference progressSelectForeColor
           
static SBReference progressTrackColor
           
static SBReference radioDisabledFgColor
           
static ColoredFont radioFont
           
static SBReference radioFontColor
           
static SBReference scrollArrowColor
           
static SBReference scrollArrowDisabledColor
           
static SBReference scrollBorderColor
           
static SBReference scrollBorderDisabledColor
           
static SBReference scrollBorderLightColor
           
static SBReference scrollButtColor
           
static SBReference scrollButtDisabledColor
           
static SBReference scrollButtPressedColor
           
static SBReference scrollButtRolloverColor
           
static SBReference scrollGripDarkColor
           
static SBReference scrollGripLightColor
           
static SBReference scrollLightDisabledColor
           
static SBReference scrollPaneBorderColor
           
static BooleanReference scrollRollover
           
static IntReference scrollSize
           
static IntReference scrollSpreadDark
           
static IntReference scrollSpreadDarkDisabled
           
static IntReference scrollSpreadLight
           
static IntReference scrollSpreadLightDisabled
           
static SBReference scrollThumbColor
           
static SBReference scrollThumbDisabledColor
           
static SBReference scrollThumbPressedColor
           
static SBReference scrollThumbRolloverColor
           
static SBReference scrollTrackBorderColor
           
static SBReference scrollTrackBorderDisabledColor
           
static SBReference scrollTrackColor
           
static SBReference scrollTrackDisabledColor
           
static SBReference separatorColor
           
static BooleanReference shiftButtonText
           
static SBReference sliderBorderColor
           
static SBReference sliderBorderDisabledColor
           
static SBReference sliderDarkColor
           
static SBReference sliderFocusColor
           
static BooleanReference sliderFocusEnabled
           
static SBReference sliderLightColor
           
static BooleanReference sliderRolloverEnabled
           
static SBReference sliderThumbColor
           
static SBReference sliderThumbDisabledColor
           
static SBReference sliderThumbPressedColor
           
static SBReference sliderThumbRolloverColor
           
static SBReference sliderTickColor
           
static SBReference sliderTickDisabledColor
           
static SBReference sliderTrackBorderColor
           
static SBReference sliderTrackColor
           
static SBReference sliderTrackDarkColor
           
static SBReference sliderTrackLightColor
           
static SBReference spinnerArrowColor
           
static SBReference spinnerArrowDisabledColor
           
static SBReference spinnerBorderColor
           
static SBReference spinnerBorderDisabledColor
           
static SBReference spinnerButtColor
           
static SBReference spinnerButtDisabledColor
           
static SBReference spinnerButtPressedColor
           
static SBReference spinnerButtRolloverColor
           
static BooleanReference spinnerRollover
           
static IntReference spinnerSpreadDark
           
static IntReference spinnerSpreadDarkDisabled
           
static IntReference spinnerSpreadLight
           
static IntReference spinnerSpreadLightDisabled
           
static SBReference splitPaneButtonColor
           
static SBReference sub1Color
           
static SBReference sub2Color
           
static SBReference sub3Color
           
static SBReference sub4Color
           
static SBReference sub5Color
           
static SBReference sub6Color
           
static SBReference sub7Color
           
static SBReference sub8Color
           
static javax.swing.plaf.InsetsUIResource tabAreaInsets
           
static SBReference tabBorderColor
           
static SBReference tabDisabledBorderColor
           
static SBReference tabDisabledColor
           
static SBReference tabDisabledSelectedColor
           
static SBReference tabDisabledTextColor
           
static BooleanReference tabFocus
           
static ColoredFont tabFont
           
static SBReference tabFontColor
           
static javax.swing.plaf.InsetsUIResource tabInsets
           
static SBReference tableAlternateRowColor
           
static SBReference tableBackColor
           
static SBReference tableBorderDarkColor
           
static SBReference tableBorderLightColor
           
static SBReference tableFocusBorderColor
           
static ColoredFont tableFont
           
static SBReference tableFontColor
           
static SBReference tableGridColor
           
static SBReference tableHeaderArrowColor
           
static SBReference tableHeaderBackColor
           
static SBReference tableHeaderDarkColor
           
static ColoredFont tableHeaderFont
           
static SBReference tableHeaderFontColor
           
static SBReference tableHeaderLightColor
           
static SBReference tableHeaderRolloverBackColor
           
static SBReference tableHeaderRolloverColor
           
static SBReference tableSelectedBackColor
           
static SBReference tableSelectedForeColor
           
static SBReference tabNormalColor
           
static SBReference tabPaneBorderColor
           
static SBReference tabPaneDisabledBorderColor
           
static BooleanReference tabRollover
           
static SBReference tabRolloverColor
           
static SBReference tabSelectedColor
           
static ColoredFont textAreaFont
           
static SBReference textBgColor
           
static SBReference textBorderColor
           
static SBReference textBorderDisabledColor
           
static SBReference textCaretColor
           
static SBReference textDisabledBgColor
           
static ColoredFont textFieldFont
           
static javax.swing.plaf.InsetsUIResource textInsets
           
static SBReference textNonEditableBgColor
           
static SBReference textPaneBgColor
           
static ColoredFont textPaneFont
           
static SBReference textSelectedBgColor
           
static SBReference textSelectedTextColor
           
static SBReference textTextColor
           
static java.io.FilenameFilter THEMES_FILTER
          A file name filter which accepts only file names ending with ".theme".
static SBReference tipBgColor
           
static SBReference tipBgDis
           
static SBReference tipBorderColor
           
static SBReference tipBorderDis
           
static SBReference tipTextColor
           
static SBReference tipTextDis
           
static SBReference titledBorderColor
           
static ColoredFont titledBorderFont
           
static SBReference titledBorderFontColor
           
static SBReference toggleSelectedBg
           
static SBReference toolBarColor
           
static SBReference toolBarDarkColor
           
static SBReference toolBarLightColor
           
static SBReference toolBorderColor
           
static SBReference toolBorderPressedColor
           
static SBReference toolBorderRolloverColor
           
static SBReference toolBorderSelectedColor
           
static SBReference toolButtColor
           
static SBReference toolButtPressedColor
           
static SBReference toolButtRolloverColor
           
static SBReference toolButtSelectedColor
           
static BooleanReference toolFocus
           
static SBReference toolGripDarkColor
           
static SBReference toolGripLightColor
           
static javax.swing.plaf.InsetsUIResource toolMargin
           
static BooleanReference toolRollover
           
static SBReference toolSeparatorColor
           
static ColoredFont toolTipFont
           
static SBReference treeBgColor
           
static ColoredFont treeFont
           
static SBReference treeLineColor
           
static SBReference treeSelectedBgColor
           
static SBReference treeSelectedTextColor
           
static SBReference treeTextBgColor
           
static SBReference treeTextColor
           
protected static int YQ_STYLE
           
 
Method Summary
static ThemeDescription[] getAvailableThemes()
          Searches for available TinyLaF theme resources and returns them as an array of ThemeDescriptions.
static java.lang.String getPlatformFont(java.lang.String fontFamily)
           
static boolean loadTheme(java.io.File f)
          Loads a theme from the specified file.
static boolean loadTheme(ThemeDescription td)
          Loads the specified theme.
static boolean loadTheme(java.net.URL url)
          Loads a theme from the specified URL.
static void loadYQTheme()
          Loads the default (hard-coded) YQ theme.
static boolean saveTheme(java.lang.String fileName)
          Saves the current theme.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

THEMES_FILTER

public static final java.io.FilenameFilter THEMES_FILTER
A file name filter which accepts only file names ending with ".theme".


ERROR_NONE

public static final int ERROR_NONE
See Also:
Constant Field Values

ERROR_NULL_ARGUMENT

public static final int ERROR_NULL_ARGUMENT
See Also:
Constant Field Values

ERROR_FILE_NOT_FOUND

public static final int ERROR_FILE_NOT_FOUND
See Also:
Constant Field Values

ERROR_IO_EXCEPTION

public static final int ERROR_IO_EXCEPTION
See Also:
Constant Field Values

ERROR_NO_TINYLAF_THEME

public static final int ERROR_NO_TINYLAF_THEME
See Also:
Constant Field Values

ERROR_WIN99_STYLE

public static final int ERROR_WIN99_STYLE
See Also:
Constant Field Values

ERROR_INVALID_THEME_DESCRIPTION

public static final int ERROR_INVALID_THEME_DESCRIPTION
See Also:
Constant Field Values

errorCode

public static int errorCode
If problems occur while loading themes, this variable will hold one of the following error codes:


MAC_FONT_MAPPINGS

protected static final java.util.Properties MAC_FONT_MAPPINGS

LINUX_FONT_MAPPINGS

protected static final java.util.Properties LINUX_FONT_MAPPINGS

YQ_STYLE

protected static final int YQ_STYLE
See Also:
Constant Field Values

DEFAULT_THEME

public static final java.lang.String DEFAULT_THEME
See Also:
Constant Field Values

FILE_EXTENSION

public static final java.lang.String FILE_EXTENSION
See Also:
Constant Field Values

FILE_ID_1

protected static final int FILE_ID_1
See Also:
Constant Field Values

FILE_ID_2

protected static final int FILE_ID_2
See Also:
Constant Field Values

FILE_ID_3A

public static final int FILE_ID_3A
See Also:
Constant Field Values

FILE_ID_3B

protected static final int FILE_ID_3B
See Also:
Constant Field Values

FILE_ID_3C

protected static final int FILE_ID_3C
See Also:
Constant Field Values

FILE_ID_3D

protected static final int FILE_ID_3D
See Also:
Constant Field Values

FILE_ID_3E

protected static final int FILE_ID_3E
See Also:
Constant Field Values

FILE_ID_3F

protected static final int FILE_ID_3F
See Also:
Constant Field Values

FILE_ID_4

protected static final int FILE_ID_4
See Also:
Constant Field Values

FILE_ID_4B

protected static final int FILE_ID_4B
See Also:
Constant Field Values

FILE_ID_4C

protected static final int FILE_ID_4C
See Also:
Constant Field Values

FILE_ID_4D

protected static final int FILE_ID_4D
See Also:
Constant Field Values

FILE_ID_4E

protected static final int FILE_ID_4E
See Also:
Constant Field Values

fileID

public static int fileID

mainColor

public static SBReference mainColor

disColor

public static SBReference disColor

backColor

public static SBReference backColor

frameColor

public static SBReference frameColor

sub1Color

public static SBReference sub1Color

sub2Color

public static SBReference sub2Color

sub3Color

public static SBReference sub3Color

sub4Color

public static SBReference sub4Color

sub5Color

public static SBReference sub5Color

sub6Color

public static SBReference sub6Color

sub7Color

public static SBReference sub7Color

sub8Color

public static SBReference sub8Color

plainFont

public static ColoredFont plainFont

boldFont

public static ColoredFont boldFont

buttonFont

public static ColoredFont buttonFont

buttonFontColor

public static SBReference buttonFontColor

labelFont

public static ColoredFont labelFont

labelFontColor

public static SBReference labelFontColor

comboFont

public static ColoredFont comboFont

listFont

public static ColoredFont listFont

menuFont

public static ColoredFont menuFont

menuFontColor

public static SBReference menuFontColor

menuItemFont

public static ColoredFont menuItemFont

menuItemFontColor

public static SBReference menuItemFontColor

passwordFont

public static ColoredFont passwordFont

radioFont

public static ColoredFont radioFont

radioFontColor

public static SBReference radioFontColor

checkFont

public static ColoredFont checkFont

checkFontColor

public static SBReference checkFontColor

tableFont

public static ColoredFont tableFont

tableFontColor

public static SBReference tableFontColor

tableHeaderFont

public static ColoredFont tableHeaderFont

tableHeaderFontColor

public static SBReference tableHeaderFontColor

textAreaFont

public static ColoredFont textAreaFont

textFieldFont

public static ColoredFont textFieldFont

textPaneFont

public static ColoredFont textPaneFont

titledBorderFont

public static ColoredFont titledBorderFont

titledBorderFontColor

public static SBReference titledBorderFontColor

toolTipFont

public static ColoredFont toolTipFont

treeFont

public static ColoredFont treeFont

tabFont

public static ColoredFont tabFont

tabFontColor

public static SBReference tabFontColor

editorFont

public static ColoredFont editorFont

frameTitleFont

public static ColoredFont frameTitleFont

internalFrameTitleFont

public static ColoredFont internalFrameTitleFont

internalPaletteTitleFont

public static ColoredFont internalPaletteTitleFont

progressBarFont

public static ColoredFont progressBarFont

progressColor

public static SBReference progressColor

progressTrackColor

public static SBReference progressTrackColor

progressBorderColor

public static SBReference progressBorderColor

progressDarkColor

public static SBReference progressDarkColor

progressLightColor

public static SBReference progressLightColor

progressSelectForeColor

public static SBReference progressSelectForeColor

progressSelectBackColor

public static SBReference progressSelectBackColor

textBgColor

public static SBReference textBgColor

textSelectedBgColor

public static SBReference textSelectedBgColor

textDisabledBgColor

public static SBReference textDisabledBgColor

textNonEditableBgColor

public static SBReference textNonEditableBgColor

textTextColor

public static SBReference textTextColor

textSelectedTextColor

public static SBReference textSelectedTextColor

textBorderColor

public static SBReference textBorderColor

textBorderDisabledColor

public static SBReference textBorderDisabledColor

textCaretColor

public static SBReference textCaretColor

textPaneBgColor

public static SBReference textPaneBgColor

editorPaneBgColor

public static SBReference editorPaneBgColor

desktopPaneBgColor

public static SBReference desktopPaneBgColor

textInsets

public static javax.swing.plaf.InsetsUIResource textInsets

comboBorderColor

public static SBReference comboBorderColor

comboBorderDisabledColor

public static SBReference comboBorderDisabledColor

comboSelectedBgColor

public static SBReference comboSelectedBgColor

comboSelectedTextColor

public static SBReference comboSelectedTextColor

comboFocusBgColor

public static SBReference comboFocusBgColor

comboArrowColor

public static SBReference comboArrowColor

comboArrowDisabledColor

public static SBReference comboArrowDisabledColor

comboButtColor

public static SBReference comboButtColor

comboButtRolloverColor

public static SBReference comboButtRolloverColor

comboButtPressedColor

public static SBReference comboButtPressedColor

comboButtDisabledColor

public static SBReference comboButtDisabledColor

comboButtBorderColor

public static SBReference comboButtBorderColor

comboButtBorderDisabledColor

public static SBReference comboButtBorderDisabledColor

comboBgColor

public static SBReference comboBgColor

comboTextColor

public static SBReference comboTextColor

comboSpreadLight

public static IntReference comboSpreadLight

comboSpreadLightDisabled

public static IntReference comboSpreadLightDisabled

comboSpreadDark

public static IntReference comboSpreadDark

comboSpreadDarkDisabled

public static IntReference comboSpreadDarkDisabled

comboInsets

public static javax.swing.plaf.InsetsUIResource comboInsets

comboRollover

public static BooleanReference comboRollover

comboFocus

public static BooleanReference comboFocus

listBgColor

public static SBReference listBgColor

listTextColor

public static SBReference listTextColor

listSelectedBgColor

public static SBReference listSelectedBgColor

listSelectedTextColor

public static SBReference listSelectedTextColor

listFocusBorderColor

public static SBReference listFocusBorderColor

menuBarColor

public static SBReference menuBarColor

menuRolloverBgColor

public static SBReference menuRolloverBgColor

menuRolloverFgColor

public static SBReference menuRolloverFgColor

menuDisabledFgColor

public static SBReference menuDisabledFgColor

menuItemDisabledFgColor

public static SBReference menuItemDisabledFgColor

menuItemRolloverColor

public static SBReference menuItemRolloverColor

menuItemSelectedTextColor

public static SBReference menuItemSelectedTextColor

menuBorderColor

public static SBReference menuBorderColor

menuPopupColor

public static SBReference menuPopupColor

menuInnerHilightColor

public static SBReference menuInnerHilightColor

menuInnerShadowColor

public static SBReference menuInnerShadowColor

menuOuterHilightColor

public static SBReference menuOuterHilightColor

menuOuterShadowColor

public static SBReference menuOuterShadowColor

menuIconColor

public static SBReference menuIconColor

menuIconRolloverColor

public static SBReference menuIconRolloverColor

menuIconDisabledColor

public static SBReference menuIconDisabledColor

menuSeparatorColor

public static SBReference menuSeparatorColor

menuRollover

public static BooleanReference menuRollover

menuPopupShadow

public static BooleanReference menuPopupShadow

menuAllowTwoIcons

public static BooleanReference menuAllowTwoIcons

toolBarColor

public static SBReference toolBarColor

toolBarDarkColor

public static SBReference toolBarDarkColor

toolBarLightColor

public static SBReference toolBarLightColor

toolButtColor

public static SBReference toolButtColor

toolButtSelectedColor

public static SBReference toolButtSelectedColor

toolButtRolloverColor

public static SBReference toolButtRolloverColor

toolButtPressedColor

public static SBReference toolButtPressedColor

toolBorderColor

public static SBReference toolBorderColor

toolBorderSelectedColor

public static SBReference toolBorderSelectedColor

toolBorderRolloverColor

public static SBReference toolBorderRolloverColor

toolBorderPressedColor

public static SBReference toolBorderPressedColor

toolGripDarkColor

public static SBReference toolGripDarkColor

toolGripLightColor

public static SBReference toolGripLightColor

toolSeparatorColor

public static SBReference toolSeparatorColor

toolMargin

public static javax.swing.plaf.InsetsUIResource toolMargin

toolFocus

public static BooleanReference toolFocus

toolRollover

public static BooleanReference toolRollover

buttonNormalColor

public static SBReference buttonNormalColor

buttonRolloverBgColor

public static SBReference buttonRolloverBgColor

buttonPressedColor

public static SBReference buttonPressedColor

buttonDisabledColor

public static SBReference buttonDisabledColor

buttonRolloverColor

public static SBReference buttonRolloverColor

buttonDefaultColor

public static SBReference buttonDefaultColor

buttonCheckColor

public static SBReference buttonCheckColor

buttonCheckDisabledColor

public static SBReference buttonCheckDisabledColor

buttonBorderColor

public static SBReference buttonBorderColor

buttonBorderDisabledColor

public static SBReference buttonBorderDisabledColor

buttonDisabledFgColor

public static SBReference buttonDisabledFgColor

checkDisabledFgColor

public static SBReference checkDisabledFgColor

radioDisabledFgColor

public static SBReference radioDisabledFgColor

toggleSelectedBg

public static SBReference toggleSelectedBg

buttonRolloverBorder

public static BooleanReference buttonRolloverBorder

buttonFocus

public static BooleanReference buttonFocus

buttonFocusBorder

public static BooleanReference buttonFocusBorder

buttonEnter

public static BooleanReference buttonEnter

shiftButtonText

public static BooleanReference shiftButtonText

buttonMargin

public static javax.swing.plaf.InsetsUIResource buttonMargin

buttonSpreadLight

public static IntReference buttonSpreadLight

buttonSpreadLightDisabled

public static IntReference buttonSpreadLightDisabled

buttonSpreadDark

public static IntReference buttonSpreadDark

buttonSpreadDarkDisabled

public static IntReference buttonSpreadDarkDisabled

checkMargin

public static javax.swing.plaf.InsetsUIResource checkMargin

tabPaneBorderColor

public static SBReference tabPaneBorderColor

tabNormalColor

public static SBReference tabNormalColor

tabSelectedColor

public static SBReference tabSelectedColor

tabDisabledColor

public static SBReference tabDisabledColor

tabDisabledSelectedColor

public static SBReference tabDisabledSelectedColor

tabDisabledTextColor

public static SBReference tabDisabledTextColor

tabBorderColor

public static SBReference tabBorderColor

tabRolloverColor

public static SBReference tabRolloverColor

tabPaneDisabledBorderColor

public static SBReference tabPaneDisabledBorderColor

tabDisabledBorderColor

public static SBReference tabDisabledBorderColor

tabRollover

public static BooleanReference tabRollover

tabFocus

public static BooleanReference tabFocus

ignoreSelectedBg

public static BooleanReference ignoreSelectedBg

fixedTabs

public static BooleanReference fixedTabs

tabInsets

public static javax.swing.plaf.InsetsUIResource tabInsets

tabAreaInsets

public static javax.swing.plaf.InsetsUIResource tabAreaInsets

sliderRolloverEnabled

public static BooleanReference sliderRolloverEnabled

sliderFocusEnabled

public static BooleanReference sliderFocusEnabled

sliderThumbColor

public static SBReference sliderThumbColor

sliderThumbRolloverColor

public static SBReference sliderThumbRolloverColor

sliderThumbPressedColor

public static SBReference sliderThumbPressedColor

sliderThumbDisabledColor

public static SBReference sliderThumbDisabledColor

sliderBorderColor

public static SBReference sliderBorderColor

sliderDarkColor

public static SBReference sliderDarkColor

sliderLightColor

public static SBReference sliderLightColor

sliderBorderDisabledColor

public static SBReference sliderBorderDisabledColor

sliderTrackColor

public static SBReference sliderTrackColor

sliderTrackBorderColor

public static SBReference sliderTrackBorderColor

sliderTrackDarkColor

public static SBReference sliderTrackDarkColor

sliderTrackLightColor

public static SBReference sliderTrackLightColor

sliderTickColor

public static SBReference sliderTickColor

sliderTickDisabledColor

public static SBReference sliderTickDisabledColor

sliderFocusColor

public static SBReference sliderFocusColor

spinnerRollover

public static BooleanReference spinnerRollover

spinnerButtColor

public static SBReference spinnerButtColor

spinnerButtRolloverColor

public static SBReference spinnerButtRolloverColor

spinnerButtPressedColor

public static SBReference spinnerButtPressedColor

spinnerButtDisabledColor

public static SBReference spinnerButtDisabledColor

spinnerBorderColor

public static SBReference spinnerBorderColor

spinnerBorderDisabledColor

public static SBReference spinnerBorderDisabledColor

spinnerArrowColor

public static SBReference spinnerArrowColor

spinnerArrowDisabledColor

public static SBReference spinnerArrowDisabledColor

spinnerSpreadLight

public static IntReference spinnerSpreadLight

spinnerSpreadLightDisabled

public static IntReference spinnerSpreadLightDisabled

spinnerSpreadDark

public static IntReference spinnerSpreadDark

spinnerSpreadDarkDisabled

public static IntReference spinnerSpreadDarkDisabled

scrollTrackColor

public static SBReference scrollTrackColor

scrollTrackDisabledColor

public static SBReference scrollTrackDisabledColor

scrollTrackBorderColor

public static SBReference scrollTrackBorderColor

scrollTrackBorderDisabledColor

public static SBReference scrollTrackBorderDisabledColor

scrollThumbColor

public static SBReference scrollThumbColor

scrollThumbRolloverColor

public static SBReference scrollThumbRolloverColor

scrollThumbPressedColor

public static SBReference scrollThumbPressedColor

scrollThumbDisabledColor

public static SBReference scrollThumbDisabledColor

scrollButtColor

public static SBReference scrollButtColor

scrollButtRolloverColor

public static SBReference scrollButtRolloverColor

scrollButtPressedColor

public static SBReference scrollButtPressedColor

scrollButtDisabledColor

public static SBReference scrollButtDisabledColor

scrollArrowColor

public static SBReference scrollArrowColor

scrollArrowDisabledColor

public static SBReference scrollArrowDisabledColor

scrollGripLightColor

public static SBReference scrollGripLightColor

scrollGripDarkColor

public static SBReference scrollGripDarkColor

scrollBorderColor

public static SBReference scrollBorderColor

scrollBorderLightColor

public static SBReference scrollBorderLightColor

scrollBorderDisabledColor

public static SBReference scrollBorderDisabledColor

scrollLightDisabledColor

public static SBReference scrollLightDisabledColor

scrollPaneBorderColor

public static SBReference scrollPaneBorderColor

scrollSpreadLight

public static IntReference scrollSpreadLight

scrollSpreadLightDisabled

public static IntReference scrollSpreadLightDisabled

scrollSpreadDark

public static IntReference scrollSpreadDark

scrollSpreadDarkDisabled

public static IntReference scrollSpreadDarkDisabled

scrollRollover

public static BooleanReference scrollRollover

scrollSize

public static IntReference scrollSize

treeBgColor

public static SBReference treeBgColor

treeTextColor

public static SBReference treeTextColor

treeTextBgColor

public static SBReference treeTextBgColor

treeSelectedTextColor

public static SBReference treeSelectedTextColor

treeSelectedBgColor

public static SBReference treeSelectedBgColor

treeLineColor

public static SBReference treeLineColor

frameCaptionColor

public static SBReference frameCaptionColor

frameCaptionDisabledColor

public static SBReference frameCaptionDisabledColor

frameBorderColor

public static SBReference frameBorderColor

frameLightColor

public static SBReference frameLightColor

frameBorderDisabledColor

public static SBReference frameBorderDisabledColor

frameLightDisabledColor

public static SBReference frameLightDisabledColor

frameTitleColor

public static SBReference frameTitleColor

frameTitleShadowColor

public static SBReference frameTitleShadowColor

frameTitleDisabledColor

public static SBReference frameTitleDisabledColor

frameButtColor

public static SBReference frameButtColor

frameButtRolloverColor

public static SBReference frameButtRolloverColor

frameButtPressedColor

public static SBReference frameButtPressedColor

frameButtDisabledColor

public static SBReference frameButtDisabledColor

frameButtCloseColor

public static SBReference frameButtCloseColor

frameButtCloseRolloverColor

public static SBReference frameButtCloseRolloverColor

frameButtClosePressedColor

public static SBReference frameButtClosePressedColor

frameButtCloseDisabledColor

public static SBReference frameButtCloseDisabledColor

frameButtBorderColor

public static SBReference frameButtBorderColor

frameButtBorderDisabledColor

public static SBReference frameButtBorderDisabledColor

frameButtSpreadLight

public static IntReference frameButtSpreadLight

frameButtSpreadDark

public static IntReference frameButtSpreadDark

frameButtSpreadLightDisabled

public static IntReference frameButtSpreadLightDisabled

frameButtSpreadDarkDisabled

public static IntReference frameButtSpreadDarkDisabled

frameButtCloseBorderColor

public static SBReference frameButtCloseBorderColor

frameButtCloseDarkColor

public static SBReference frameButtCloseDarkColor

frameButtCloseLightColor

public static SBReference frameButtCloseLightColor

frameButtCloseBorderDisabledColor

public static SBReference frameButtCloseBorderDisabledColor

frameButtCloseSpreadLight

public static IntReference frameButtCloseSpreadLight

frameButtCloseSpreadLightDisabled

public static IntReference frameButtCloseSpreadLightDisabled

frameButtCloseSpreadDark

public static IntReference frameButtCloseSpreadDark

frameButtCloseSpreadDarkDisabled

public static IntReference frameButtCloseSpreadDarkDisabled

frameSymbolColor

public static SBReference frameSymbolColor

frameSymbolPressedColor

public static SBReference frameSymbolPressedColor

frameSymbolDisabledColor

public static SBReference frameSymbolDisabledColor

frameSymbolDarkColor

public static SBReference frameSymbolDarkColor

frameSymbolLightColor

public static SBReference frameSymbolLightColor

frameSymbolDarkDisabledColor

public static SBReference frameSymbolDarkDisabledColor

frameSymbolLightDisabledColor

public static SBReference frameSymbolLightDisabledColor

frameSymbolCloseColor

public static SBReference frameSymbolCloseColor

frameSymbolClosePressedColor

public static SBReference frameSymbolClosePressedColor

frameSymbolCloseDisabledColor

public static SBReference frameSymbolCloseDisabledColor

frameSymbolCloseDarkColor

public static SBReference frameSymbolCloseDarkColor

frameSymbolCloseDarkDisabledColor

public static SBReference frameSymbolCloseDarkDisabledColor

frameSpreadDark

public static IntReference frameSpreadDark

frameSpreadLight

public static IntReference frameSpreadLight

frameSpreadDarkDisabled

public static IntReference frameSpreadDarkDisabled

frameSpreadLightDisabled

public static IntReference frameSpreadLightDisabled

tableBackColor

public static SBReference tableBackColor

tableHeaderBackColor

public static SBReference tableHeaderBackColor

tableHeaderRolloverBackColor

public static SBReference tableHeaderRolloverBackColor

tableHeaderRolloverColor

public static SBReference tableHeaderRolloverColor

tableHeaderArrowColor

public static SBReference tableHeaderArrowColor

tableGridColor

public static SBReference tableGridColor

tableSelectedBackColor

public static SBReference tableSelectedBackColor

tableSelectedForeColor

public static SBReference tableSelectedForeColor

tableBorderDarkColor

public static SBReference tableBorderDarkColor

tableBorderLightColor

public static SBReference tableBorderLightColor

tableHeaderDarkColor

public static SBReference tableHeaderDarkColor

tableHeaderLightColor

public static SBReference tableHeaderLightColor

tableFocusBorderColor

public static SBReference tableFocusBorderColor

tableAlternateRowColor

public static SBReference tableAlternateRowColor

colorizer

public static HSBReference[] colorizer

colorize

public static BooleanReference[] colorize

separatorColor

public static SBReference separatorColor

tipBorderColor

public static SBReference tipBorderColor

tipBorderDis

public static SBReference tipBorderDis

tipBgColor

public static SBReference tipBgColor

tipBgDis

public static SBReference tipBgDis

tipTextColor

public static SBReference tipTextColor

tipTextDis

public static SBReference tipTextDis

titledBorderColor

public static SBReference titledBorderColor

splitPaneButtonColor

public static SBReference splitPaneButtonColor
Method Detail

getAvailableThemes

public static ThemeDescription[] getAvailableThemes()
Searches for available TinyLaF theme resources and returns them as an array of ThemeDescriptions. The search order is as follows:

Returns:
an array of ThemeDescription objects which can be of zero length but will not be null.

getPlatformFont

public static java.lang.String getPlatformFont(java.lang.String fontFamily)

loadYQTheme

public static void loadYQTheme()
Loads the default (hard-coded) YQ theme. (See the notes on Theme Switching).


loadTheme

public static boolean loadTheme(java.io.File f)
Loads a theme from the specified file. (See the notes on Theme Switching).

Parameters:
f - a non-null file specifying a TinyLaF theme
Returns:
true if the theme was successfully loaded, false otherwise. If false is returned then errorCode is set to a value other than ERROR_NONE.

loadTheme

public static boolean loadTheme(ThemeDescription td)
Loads the specified theme. (See the notes on Theme Switching).

Parameters:
td - a non-null ThemeDescription
Returns:
true if the theme was successfully loaded, false otherwise. If false is returned then errorCode is set to a value other than ERROR_NONE.

loadTheme

public static boolean loadTheme(java.net.URL url)
Loads a theme from the specified URL. (See the notes on Theme Switching).

Parameters:
url - a non-null URL specifying a TinyLaF theme
Returns:
true if the theme was successfully loaded, false otherwise. If false is returned then errorCode is set to a value other than ERROR_NONE.

saveTheme

public static boolean saveTheme(java.lang.String fileName)
Saves the current theme.

Parameters:
fileName - a non-null file path
Returns:
true if the theme was successfully saved, false otherwise.
Throws:
java.lang.IllegalArgumentException - if fileName is null.