|
Dekoh platform API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Enum
dekoh.portal.fwk.image.ImageSize
public final class ImageSize
| Field Summary | |
|---|---|
static ImageSize |
MEDIUM
Image of atmost 800x600 (width*height) dimensions |
static ImageSize |
ORIGINAL
Original sized image |
static ImageSize |
SMALL
Image of atmost 400x400 dimensions |
static ImageSize |
SQUARE_THUMB
Square thumbnail of atmost 100x100 dimensions. |
static ImageSize |
THUMB
Image of atmost 100x100 dimensions |
| Method Summary | |
|---|---|
int |
getHeight()
|
int |
getWidth()
|
static boolean |
isMedium(ImageSize aImageSize)
|
static boolean |
isOriginalSize(ImageSize aImageSize)
|
static boolean |
isSmall(ImageSize aImageSize)
|
static boolean |
isThumbNail(ImageSize aImageSize)
|
static EnumSet |
validResizeOptions()
|
static ImageSize |
valueOf(String name)
|
static ImageSize |
valueOfTrimIgnoreCase(String imageSizeString)
Calls valueOf after trimming and uppercasing the
incoming string. |
static ImageSize[] |
values()
|
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final ImageSize SQUARE_THUMB
public static final ImageSize THUMB
public static final ImageSize SMALL
public static final ImageSize MEDIUM
public static final ImageSize ORIGINAL
| Method Detail |
|---|
public static final ImageSize[] values()
public static ImageSize valueOf(String name)
public static EnumSet validResizeOptions()
public static ImageSize valueOfTrimIgnoreCase(String imageSizeString)
valueOf after trimming and uppercasing the
incoming string.
imageSizeString -
IllegalArgumentException - if this enum type has no constant with the specified namepublic static boolean isThumbNail(ImageSize aImageSize)
public static boolean isSmall(ImageSize aImageSize)
public static boolean isMedium(ImageSize aImageSize)
public static boolean isOriginalSize(ImageSize aImageSize)
public int getHeight()
public int getWidth()
|
Dekoh platform API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
© 2009 Pramati Technologies - Dekoh - Portal for Developers