|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Photo.Size>
org.jickr.Photo.Size
public static enum Photo.Size
List of possibly valid Photo sizes. Actual sizes available may be smaller.
Enum Constant Summary | |
---|---|
LARGE
Large photo - typically 1024x683. |
|
MEDIUM
Medium photo - 500x333 (Landscape). |
|
ORIGINAL
Original photo, same as uploaded. |
|
SMALL
Small photo - 240x160 (Landscape). |
|
SQUARE
Square small photo - Typically 75x75 square. |
|
THUMB
Thumbnail size photo - Typically 100x67 (Landscape). |
Method Summary | |
---|---|
static Photo.Size |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Photo.Size[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
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 |
Enum Constant Detail |
---|
public static final Photo.Size SQUARE
public static final Photo.Size THUMB
public static final Photo.Size SMALL
public static final Photo.Size MEDIUM
public static final Photo.Size LARGE
public static final Photo.Size ORIGINAL
Method Detail |
---|
public static final Photo.Size[] values()
for(Photo.Size c : Photo.Size.values()) System.out.println(c);
public static Photo.Size 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 name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |