Modifier and Type | Method and Description |
---|---|
int |
getHeight() |
int |
getIndex() |
static PhotoSize |
getPhotoSize(int index) |
int |
getWidth() |
static PhotoSize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PhotoSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhotoSize ICON
public static final PhotoSize TINY
public static final PhotoSize SMALL
public static final PhotoSize NORMAL
public static final PhotoSize LARGE
public static PhotoSize[] values()
for (PhotoSize c : PhotoSize.values()) System.out.println(c);
public static PhotoSize 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 int getIndex()
public int getWidth()
public int getHeight()
public static PhotoSize getPhotoSize(int index)
Copyright © 2001-2010 Jalios SA. All Rights Reserved.