public enum BannerSize extends java.lang.Enum<BannerSize>
| Enum Constant and Description |
|---|
LEADERBOARD |
MEDIUM |
STANDARD |
| Modifier and Type | Method and Description |
|---|---|
static BannerSize |
fromInteger(int x) |
static int |
getHeight(BannerSize bannerSize) |
static int |
getWidth(BannerSize bannerSize) |
static BannerSize |
valueOf(java.lang.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 STANDARD
public static final BannerSize MEDIUM
public static final BannerSize LEADERBOARD
public static BannerSize[] values()
for (BannerSize c : BannerSize.values()) System.out.println(c);
public static BannerSize 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 static BannerSize fromInteger(int x)
public static int getWidth(BannerSize bannerSize)
public static int getHeight(BannerSize bannerSize)