public enum BannerSize extends Enum<BannerSize>
| Enum Constant and Description |
|---|
Banner300x250 |
Banner320x100 |
Banner320x150 |
Banner320x160 |
Banner320x480 |
Banner320x53 |
Banner320x75 |
Banner468x60 |
Banner768x90 |
MultipleSizes |
| Modifier and Type | Method and Description |
|---|---|
static BannerSize |
fromServerConfigName(String name) |
int |
getHeight() |
int |
getWidth() |
static BannerSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BannerSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BannerSize Banner320x53
public static final BannerSize Banner768x90
public static final BannerSize Banner300x250
public static final BannerSize Banner468x60
public static final BannerSize MultipleSizes
public static final BannerSize Banner320x75
public static final BannerSize Banner320x100
public static final BannerSize Banner320x150
public static final BannerSize Banner320x160
public static final BannerSize Banner320x480
public static BannerSize[] values()
for (BannerSize c : BannerSize.values()) System.out.println(c);
public static BannerSize 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 getWidth()
public int getHeight()
public static BannerSize fromServerConfigName(String name)