public enum ImageDimension extends Enum<ImageDimension>
Enum Constant and Description |
---|
ORIGINAL |
SIZE_120 |
SIZE_160 |
SIZE_200 |
SIZE_80 |
SIZE_MEDIUM |
Modifier and Type | Method and Description |
---|---|
String |
getCssClass() |
String |
getFilePostfix() |
String |
getImageBg() |
String |
getImageBgStyle() |
static ImageDimension |
getInstance(int x) |
int |
getX() |
static ImageDimension |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageDimension[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageDimension SIZE_80
public static final ImageDimension SIZE_120
public static final ImageDimension SIZE_160
public static final ImageDimension SIZE_200
public static final ImageDimension SIZE_MEDIUM
public static final ImageDimension ORIGINAL
public static ImageDimension[] values()
for (ImageDimension c : ImageDimension.values()) System.out.println(c);
public static ImageDimension 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 int getX()
public String getCssClass()
public String getImageBg()
public String getImageBgStyle()
public String getFilePostfix()
public static ImageDimension getInstance(int x)
Copyright © 2015. All rights reserved.