public static enum VisibleBase.DisplayPreference extends java.lang.Enum<VisibleBase.DisplayPreference>
Enum Constant and Description |
---|
FLAT_SHADED |
GOURAUD_SHADED |
NONE |
SOLID_FILL |
WIRE_FRAME |
Modifier and Type | Field and Description |
---|---|
static VisibleBase.DisplayPreference |
DEFAULT |
int |
id |
Modifier and Type | Method and Description |
---|---|
static VisibleBase.DisplayPreference |
get(int id) |
static VisibleBase.DisplayPreference |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VisibleBase.DisplayPreference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VisibleBase.DisplayPreference NONE
public static final VisibleBase.DisplayPreference WIRE_FRAME
public static final VisibleBase.DisplayPreference SOLID_FILL
public static final VisibleBase.DisplayPreference FLAT_SHADED
public static final VisibleBase.DisplayPreference GOURAUD_SHADED
public final int id
public static final VisibleBase.DisplayPreference DEFAULT
public static VisibleBase.DisplayPreference[] values()
for (VisibleBase.DisplayPreference c : VisibleBase.DisplayPreference.values()) System.out.println(c);
public static VisibleBase.DisplayPreference 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 VisibleBase.DisplayPreference get(int id)