public static enum ThemeSettingsPanel.FontSize extends java.lang.Enum<ThemeSettingsPanel.FontSize>
Enum Constant and Description |
---|
BELOW_DEFAULT |
BELOW_HUGE |
BELOW_LARGE |
BELOW_LARGER |
BELOW_LARGEST |
BELOW_SMALL |
BELOW_SMALLER |
DEFAULT |
HUGE |
LARGE |
LARGER |
LARGEST |
SMALL |
SMALLER |
SMALLEST |
Modifier and Type | Method and Description |
---|---|
static ThemeSettingsPanel.FontSize |
fromPercent(int percent) |
static ThemeSettingsPanel.FontSize |
fromSize(int size) |
int |
getPercent() |
int |
getSize() |
static ThemeSettingsPanel.FontSize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThemeSettingsPanel.FontSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThemeSettingsPanel.FontSize SMALLEST
public static final ThemeSettingsPanel.FontSize BELOW_SMALLER
public static final ThemeSettingsPanel.FontSize SMALLER
public static final ThemeSettingsPanel.FontSize BELOW_SMALL
public static final ThemeSettingsPanel.FontSize SMALL
public static final ThemeSettingsPanel.FontSize BELOW_DEFAULT
public static final ThemeSettingsPanel.FontSize DEFAULT
public static final ThemeSettingsPanel.FontSize BELOW_LARGE
public static final ThemeSettingsPanel.FontSize LARGE
public static final ThemeSettingsPanel.FontSize BELOW_LARGER
public static final ThemeSettingsPanel.FontSize LARGER
public static final ThemeSettingsPanel.FontSize BELOW_HUGE
public static final ThemeSettingsPanel.FontSize HUGE
public static final ThemeSettingsPanel.FontSize BELOW_LARGEST
public static final ThemeSettingsPanel.FontSize LARGEST
public static ThemeSettingsPanel.FontSize[] values()
for (ThemeSettingsPanel.FontSize c : ThemeSettingsPanel.FontSize.values()) System.out.println(c);
public static ThemeSettingsPanel.FontSize valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getSize()
public int getPercent()
public static ThemeSettingsPanel.FontSize fromPercent(int percent)
public static ThemeSettingsPanel.FontSize fromSize(int size)