public class Size
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
LARGE
Large, 1024 on longest side (only exists for very large original images).
|
static int |
MEDIUM
Medium, 500 on longest side.
|
static int |
MEDIUM_640
Medium, 640 px on the longest side
|
static int |
MEDIUM_800
Medium, 640 px on the longest side
|
static int |
ORIGINAL
Original image, either a jpg, gif or png, depending on source format.
Only from pro-users original images are available! |
static int |
SMALL
Small, 240 on longest side.
|
static int |
SMALL_320
Small, 320 px on the longest side
|
static int |
SQUARE
Small square 75x75.
|
static int |
SQUARE_LARGE
Large Square 150x150
|
static int |
THUMB
Thumbnail, 100 on longest side.
|
| Constructor and Description |
|---|
Size() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
getHeight() |
int |
getLabel()
Size of the Photo.
|
java.lang.String |
getSource()
URL of the image.
|
java.lang.String |
getUrl()
URL of the photopage.
|
int |
getWidth() |
int |
hashCode() |
void |
setHeight(int height) |
void |
setHeight(java.lang.String height) |
void |
setLabel(int label)
Size of the Photo.
|
void |
setLabel(java.lang.String label)
Set the String-representation of size.
|
void |
setSource(java.lang.String source) |
void |
setUrl(java.lang.String url) |
void |
setWidth(int width) |
void |
setWidth(java.lang.String width) |
public static final int THUMB
public static final int SQUARE
public static final int SMALL
public static final int MEDIUM
public static final int LARGE
public static final int ORIGINAL
public static final int SQUARE_LARGE
public static final int SMALL_320
public static final int MEDIUM_640
public static final int MEDIUM_800
public int getLabel()
THUMB,
SQUARE,
SMALL,
MEDIUM,
LARGE,
ORIGINAL,
SQUARE_LARGE,
SMALL_320,
MEDIUM_640,
MEDIUM_800public void setLabel(java.lang.String label)
label - public void setLabel(int label)
public int getWidth()
public void setWidth(int width)
public void setWidth(java.lang.String width)
public int getHeight()
public void setHeight(int height)
public void setHeight(java.lang.String height)
public java.lang.String getSource()
public void setSource(java.lang.String source)
public java.lang.String getUrl()
public void setUrl(java.lang.String url)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object