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