Method Summary |
|
public static PlasticTheme | createMyDefaultTheme() Creates and returns the default color theme. |
protected static PlasticTheme | createTheme(String themeName) Creates and returns a color theme from the specified theme name. |
public static ColorUIResource | getControl() |
public static ColorUIResource | getControlDarkShadow() |
public static ColorUIResource | getControlHighlight() |
public String | getDescription() |
public Icon | getDisabledIcon(JComponent component, Icon icon) Returns an icon with a disabled appearance. |
public static ColorUIResource | getFocusColor() |
public static FontPolicy | getFontPolicy() Looks up and retrieves the FontPolicy used
by the JGoodies Plastic Look&Feel family.
If a FontPolicy has been set, it'll be returned.
Otherwise, this method checks if a FontPolicy or FontSet is defined
in the system properties or UIDefaults. |
public static boolean | getHighContrastFocusColorsEnabled() |
public String | getID() |
public static List | getInstalledThemes() Lazily initializes and returns the List of installed
color themes. |
public static BorderUIResource | getInternalFrameBorder() |
public static ColorUIResource | getMenuItemBackground() |
public static ColorUIResource | getMenuItemSelectedBackground() |
public static ColorUIResource | getMenuItemSelectedForeground() |
public static MicroLayoutPolicy | getMicroLayoutPolicy() Looks up and retrieves the MicroLayoutPolicy used by
the JGoodies Plastic Look&Fs. |
public String | getName() |
public static BorderUIResource | getPaletteBorder() |
public static PlasticTheme | getPlasticTheme() Lazily initializes and returns the PlasticTheme.
In Java 5 or later, this method looks up the theme
using MetalLookAndFeel#getCurrentTheme . |
public static ColorUIResource | getPrimaryControl() |
public static ColorUIResource | getPrimaryControlDarkShadow() |
public static ColorUIResource | getPrimaryControlHighlight() |
public static ColorUIResource | getPrimaryControlInfo() |
public static ColorUIResource | getPrimaryControlShadow() |
public static ColorUIResource | getSimpleInternalFrameBackground() |
public static ColorUIResource | getSimpleInternalFrameForeground() |
public static String | getTabStyle() |
public static ColorUIResource | getTitleTextColor() |
public static FontUIResource | getTitleTextFont() |
public static ColorUIResource | getWindowTitleBackground() |
public static ColorUIResource | getWindowTitleForeground() |
public static ColorUIResource | getWindowTitleInactiveBackground() |
public static ColorUIResource | getWindowTitleInactiveForeground() |
protected void | initClassDefaults(UIDefaults table) Initializes the class defaults, that is, overrides some UI delegates
with JGoodies Plastic implementations. |
protected void | initComponentDefaults(UIDefaults table) |
protected void | initSystemColorDefaults(UIDefaults table) Unlike my superclass I register a unified shadow color. |
public void | initialize() Invoked during UIManager#setLookAndFeel . |
protected static void | installDefaultThemes() Install the default color themes. |
public static void | installTheme(PlasticTheme theme) Installs a color theme. |
protected boolean | is3DEnabled() |
public static boolean | isSelectTextOnKeyboardFocusGained() |
public static void | set3DEnabled(boolean b) |
public static void | setFontPolicy(FontPolicy fontPolicy) Sets the FontPolicy to be used with the JGoodies Plastic L&F
family. |
public static void | setHighContrastFocusColorsEnabled(boolean b) |
public static void | setMicroLayoutPolicy(MicroLayout microLayoutPolicy) Sets the MicroLayoutPolicy to be used with the JGoodies Plastic L&Fs. |
public static void | setPlasticTheme(PlasticTheme theme) Sets the theme for colors and fonts used by the Plastic L&F.
After setting the theme, you need to re-install the Look&Feel,
as well as update the UI's of any previously created components
- just as if you'd change the Look&Feel. |
public static void | setSelectTextOnKeyboardFocusGained(boolean b) Sets whether text field text shall be selected when it gains focus
via the keyboard. |
public static void | setTabStyle(String tabStyle) |
public void | uninitialize() Invoked during UIManager#setLookAndFeel . |