public enum ThumbnailSize extends java.lang.Enum<ThumbnailSize>
| Enum Constant and Description |
|---|
GRANDE |
LARGE |
MEDIUM |
MICRO |
SMALL |
SMEDIUM |
| Modifier and Type | Method and Description |
|---|---|
int |
getImageHeight() |
java.lang.String |
getImageSize() |
int |
getImageWidth() |
static ThumbnailSize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThumbnailSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThumbnailSize MICRO
public static final ThumbnailSize SMALL
public static final ThumbnailSize SMEDIUM
public static final ThumbnailSize MEDIUM
public static final ThumbnailSize LARGE
public static final ThumbnailSize GRANDE
public static ThumbnailSize[] values()
for (ThumbnailSize c : ThumbnailSize.values()) System.out.println(c);
public static ThumbnailSize 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.String getImageSize()
public int getImageHeight()
public int getImageWidth()
Copyright © 2016. All Rights Reserved.