public enum PreviewType extends Enum<PreviewType>
Modifier and Type | Method and Description |
---|---|
static PreviewType |
createType(String classifier)
Returns the
PreviewType for the specified string. |
String |
getClassifier()
Returns the type as string.
|
static PreviewType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PreviewType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreviewType NO
public static final PreviewType ICON
public static final PreviewType THUMBNAIL
public static PreviewType[] values()
for (PreviewType c : PreviewType.values()) System.out.println(c);
public static PreviewType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getClassifier()
public static PreviewType createType(String classifier)
PreviewType
for the specified string.classifier
- the string representation of a preview typeCopyright © 2010 - 2017 edorasware ag. All Rights Reserved.