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