public enum BannerType extends Enum<BannerType>
Enum Constant and Description |
---|
ARTWORK |
BLANK |
FANART_HD |
FANART_SD |
GRAPHICAL |
POSTER |
SEASON |
SEASONWIDE |
TEXT |
Modifier and Type | Method and Description |
---|---|
static BannerType |
fromString(String type)
Set the banner type from a string.
|
String |
getType() |
static BannerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BannerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BannerType GRAPHICAL
public static final BannerType SEASON
public static final BannerType SEASONWIDE
public static final BannerType BLANK
public static final BannerType TEXT
public static final BannerType FANART_HD
public static final BannerType FANART_SD
public static final BannerType POSTER
public static final BannerType ARTWORK
public static BannerType[] values()
for (BannerType c : BannerType.values()) System.out.println(c);
public static BannerType 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 getType()
public static BannerType fromString(String type)
type
- Copyright © 2012-2015. All Rights Reserved.