public static enum Image.Dimension extends java.lang.Enum<Image.Dimension>
LARGE
with a value of 720px.Enum Constant and Description |
---|
LARGE |
MEDIUM |
SMALL |
THUMBNAIL |
X_SMALL |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static Image.Dimension |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Image.Dimension[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Image.Dimension LARGE
public static final Image.Dimension MEDIUM
public static final Image.Dimension SMALL
public static final Image.Dimension X_SMALL
public static final Image.Dimension THUMBNAIL
public static Image.Dimension[] values()
for (Image.Dimension c : Image.Dimension.values()) System.out.println(c);
public static Image.Dimension 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()