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