Enum Constant and Description |
---|
BIG
Indicates the pictures is not to be modified, but shown
in its true dimensions.
|
LARGE |
MEDIUM |
THUMB |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getHeight()
Retrieves the height of the picture.
|
java.lang.Integer |
getWidth()
Retrieves the width of the picture.
|
static ImageSize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImageSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageSize BIG
public static final ImageSize MEDIUM
public static final ImageSize THUMB
public static final ImageSize LARGE
public static ImageSize[] values()
for (ImageSize c : ImageSize.values()) System.out.println(c);
public static ImageSize 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.Integer getHeight()
public java.lang.Integer getWidth()