| Enum Constant and Description |
|---|
BANNER |
CAPTIONED_IMAGE |
CONTROL |
DEFAULT |
SHORT_NEWS |
TEXT_ANNOUNCEMENT |
| Modifier and Type | Method and Description |
|---|---|
static CardType |
fromValue(int value) |
int |
getValue() |
static CardType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CardType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CardType BANNER
public static final CardType CAPTIONED_IMAGE
public static final CardType DEFAULT
public static final CardType SHORT_NEWS
public static final CardType TEXT_ANNOUNCEMENT
public static final CardType CONTROL
public static CardType[] values()
for (CardType c : CardType.values()) System.out.println(c);
public static CardType 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 int getValue()
public static CardType fromValue(int value)
value - the value as returned by getValue()getValue()