public enum ImageSize extends Enum<ImageSize>
ImageInstance.setSize(ImageSize) for usage.| Enum Constant and Description |
|---|
LARGE |
MEDIUM |
SMALL |
X_LARGE |
X_SMALL |
| Modifier and Type | Method and Description |
|---|---|
String |
getSize()
Returns the size of image (x-small, small, medium, large, x-large).
|
static ImageSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageSize X_SMALL
public static final ImageSize SMALL
public static final ImageSize MEDIUM
public static final ImageSize LARGE
public static final ImageSize X_LARGE
public static ImageSize[] values()
for (ImageSize c : ImageSize.values()) System.out.println(c);
public static ImageSize 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 getSize()
Copyright © 2017. All rights reserved.