com.jgoodies.metamorphosis
Class Style
java.lang.Object
com.jgoodies.metamorphosis.Style
final class Style
- extends Object
This class provides information about the choose UI style,
e.g. which icon or border style should be applied.
- Author:
- Karsten Lentzsch
Constructor Summary |
Style(String name,
Style.IconStyle iconStyle,
boolean reduceBorders,
boolean forceBetterColorTheme,
boolean forceSystemLookAndFeel,
boolean useExtendedLookAndFeel,
boolean useEclipseBorder,
boolean useEclipseGradient)
|
ALL
private static final List<Style> ALL
FRANKEN
static final Style FRANKEN
ROOKIE
static final Style ROOKIE
STANDARD
static final Style STANDARD
ADVANCED
static final Style ADVANCED
ELEGANT
static final Style ELEGANT
STANDARDX
static final Style STANDARDX
ADVANCEDX
static final Style ADVANCEDX
ELEGANTX
static final Style ELEGANTX
current
static Style current
name
private final String name
iconStyle
private final Style.IconStyle iconStyle
reduceBorders
private final boolean reduceBorders
forceBetterColorTheme
private final boolean forceBetterColorTheme
forceSystemLookAndFeel
private final boolean forceSystemLookAndFeel
useExtendedLookAndFeel
private final boolean useExtendedLookAndFeel
useEclipseBorder
private final boolean useEclipseBorder
useEclipseGradient
private final boolean useEclipseGradient
Style
Style(String name,
Style.IconStyle iconStyle,
boolean reduceBorders,
boolean forceBetterColorTheme,
boolean forceSystemLookAndFeel,
boolean useExtendedLookAndFeel,
boolean useEclipseBorder,
boolean useEclipseGradient)
getCurrent
public static Style getCurrent()
setCurrent
public static void setCurrent(Style newStyle)
valueOf
public static Style valueOf(String styleName)
iconStyle
public Style.IconStyle iconStyle()
reduceBorders
public boolean reduceBorders()
forceBetterColorTheme
public boolean forceBetterColorTheme()
forceSystemLookAndFeel
public boolean forceSystemLookAndFeel()
useExtendedLookAndFeel
public boolean useExtendedLookAndFeel()
useEclipseBorder
public boolean useEclipseBorder()
useEclipseGradient
public boolean useEclipseGradient()
toString
public String toString()
- Overrides:
toString
in class Object
getDescription
public String getDescription()
Copyright © 2002-2008 JGoodies Karsten Lentzsch. All Rights Reserved.