public enum AdFormat extends Enum<AdFormat>
$wnd.google.maps.adsense.AdFormat
Enum Constant and Description |
---|
BANNER
A horizontal "banner" ad.
|
BUTTON
A small ad.
|
HALF_BANNER
A smaller horizontal "banner" ad.
|
LARGE_RECTANGLE
A large rectangulare ad.
|
LEADERBOARD
A fully horizontal display area.
|
MEDIUM_RECTANGLE
A medium rectangular ad.
|
SKYSCRAPER
A large vertical ad.
|
SMALL_RECTANGLE
A small rectangular ad.
|
SMALL_SQUARE
A smaller square ad.
|
SQUARE
A square ad with large type.
|
VERTICAL_BANNER
A medium-sized vertical ad.
|
WIDE_SKYSCRAPER
A wide, vertical ad using larger type.
|
Modifier and Type | Method and Description |
---|---|
static AdFormat |
fromValue(String value) |
String |
getName() |
String |
toString() |
String |
value() |
static AdFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdFormat BANNER
public static final AdFormat BUTTON
public static final AdFormat HALF_BANNER
public static final AdFormat LARGE_RECTANGLE
public static final AdFormat LEADERBOARD
public static final AdFormat MEDIUM_RECTANGLE
public static final AdFormat SKYSCRAPER
public static final AdFormat SMALL_RECTANGLE
public static final AdFormat SMALL_SQUARE
public static final AdFormat SQUARE
public static final AdFormat VERTICAL_BANNER
public static final AdFormat WIDE_SKYSCRAPER
public static AdFormat[] values()
for (AdFormat c : AdFormat.values()) System.out.println(c);
public static AdFormat 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 value()
public String getName()
Copyright © 2011-2013 Gone Vertical LLC. All Rights Reserved.