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