public static enum View.LensType extends java.lang.Enum<View.LensType> implements Decorators.Decorator, Decorators.HasLabel
Enum Constant and Description |
---|
HYPERBOLIC_IMAGE |
HYPERBOLIC_LAYOUT |
NONE |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
label |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toLabel() |
java.lang.Object |
toValue() |
static View.LensType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static View.LensType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final View.LensType NONE
public static final View.LensType HYPERBOLIC_LAYOUT
public static final View.LensType HYPERBOLIC_IMAGE
public static View.LensType[] values()
for (View.LensType c : View.LensType.values()) System.out.println(c);
public static View.LensType 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 toLabel()
toLabel
in interface Decorators.HasLabel
public java.lang.Object toValue()
toValue
in interface Decorators.Decorator