public static enum FontInitializer.FontSize extends java.lang.Enum<FontInitializer.FontSize>
Modifier and Type | Method and Description |
---|---|
int |
getFontSize() |
static FontInitializer.FontSize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FontInitializer.FontSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontInitializer.FontSize NORMAL
public static final FontInitializer.FontSize SMALL
public static final FontInitializer.FontSize LARGE
public static FontInitializer.FontSize[] values()
for (FontInitializer.FontSize c : FontInitializer.FontSize.values()) System.out.println(c);
public static FontInitializer.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 getFontSize()