|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AdFormat>
com.google.gwt.maps.client.adsense.AdFormat
public enum AdFormat
Identifiers used to specify an AdSense For Content format.
See AdFormats
See AdFormat API Doc
Note: class is $wnd.google.maps.adsense.AdFormat
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic String value()
public String getName()
public String toString()
toString
in class Enum<AdFormat>
public static AdFormat fromValue(String value)
|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |