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