public static enum DocumentView.CacheConfig extends java.lang.Enum<DocumentView.CacheConfig>
| Enum Constant and Description |
|---|
AUTO_QUALITY |
GRAYSCALE |
HIGH_QUALITY |
LOW_QUALITY |
NO_CACHE |
| Modifier and Type | Method and Description |
|---|---|
static DocumentView.CacheConfig |
getById(int id) |
int |
getId() |
static DocumentView.CacheConfig |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DocumentView.CacheConfig[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentView.CacheConfig NO_CACHE
public static final DocumentView.CacheConfig AUTO_QUALITY
public static final DocumentView.CacheConfig LOW_QUALITY
public static final DocumentView.CacheConfig HIGH_QUALITY
public static final DocumentView.CacheConfig GRAYSCALE
public static DocumentView.CacheConfig[] values()
for (DocumentView.CacheConfig c : DocumentView.CacheConfig.values()) System.out.println(c);
public static DocumentView.CacheConfig 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 DocumentView.CacheConfig getById(int id)
public int getId()