@Beta public enum ImageAttachmentScale extends Enum<ImageAttachmentScale>
Enum Constant and Description |
---|
EXTRA_LARGE |
LARGE |
MEDIUM |
SMALL |
Modifier and Type | Method and Description |
---|---|
String |
getLabel() |
static ImageAttachmentScale[] |
getScalesOrderedBySizeAsc() |
int |
getSize() |
static ImageAttachmentScale |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageAttachmentScale[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageAttachmentScale SMALL
public static final ImageAttachmentScale MEDIUM
public static final ImageAttachmentScale LARGE
public static final ImageAttachmentScale EXTRA_LARGE
public static ImageAttachmentScale[] values()
for (ImageAttachmentScale c : ImageAttachmentScale.values()) System.out.println(c);
public static ImageAttachmentScale valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getLabel()
public int getSize()
public static ImageAttachmentScale[] getScalesOrderedBySizeAsc()