|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DropboxAPI.ThumbSize>
com.dropbox.client2.DropboxAPI.ThumbSize
public static enum DropboxAPI.ThumbSize
Represents the size of thumbnails that the API can return.
Enum Constant Summary | |
---|---|
BESTFIT_1024x768
Fits within 1024x768 or 768x1024 |
|
BESTFIT_320x240
Will either fit within a 320 x 240 rectangle or a 240 x 320 rectangle, whichever results in a larger image. |
|
BESTFIT_480x320
Fits within 480x320 or 320x480 |
|
BESTFIT_640x480
Fits within 640x480 or 480x640 |
|
BESTFIT_960x640
Fits within 960x640 or 640x960 |
|
ICON_128x128
128 width or 128 height, with original aspect ratio. |
|
ICON_256x256
256 width or 256 height, with original aspect ratio. |
|
ICON_32x32
Will have at most a 32 width or 32 height, maintaining its original aspect ratio. |
|
ICON_64x64
64 width or 64 height, with original aspect ratio. |
Method Summary | |
---|---|
java.lang.String |
toAPISize()
|
static DropboxAPI.ThumbSize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DropboxAPI.ThumbSize[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DropboxAPI.ThumbSize ICON_32x32
public static final DropboxAPI.ThumbSize ICON_64x64
public static final DropboxAPI.ThumbSize ICON_128x128
public static final DropboxAPI.ThumbSize ICON_256x256
public static final DropboxAPI.ThumbSize BESTFIT_320x240
public static final DropboxAPI.ThumbSize BESTFIT_480x320
public static final DropboxAPI.ThumbSize BESTFIT_640x480
public static final DropboxAPI.ThumbSize BESTFIT_960x640
public static final DropboxAPI.ThumbSize BESTFIT_1024x768
Method Detail |
---|
public static DropboxAPI.ThumbSize[] values()
for (DropboxAPI.ThumbSize c : DropboxAPI.ThumbSize.values()) System.out.println(c);
public static DropboxAPI.ThumbSize 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
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String toAPISize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |