public enum CardBgColor extends Enum<CardBgColor>
| Enum Constant and Description |
|---|
COLOR010
Color 010 coupon bg color.
|
COLOR020
COLOR 020 coupon bg color.
|
COLOR030
COLOR 030 coupon bg color.
|
COLOR040
COLOR 040 coupon bg color.
|
COLOR050
COLOR 050 coupon bg color.
|
COLOR060
COLOR 060 coupon bg color.
|
COLOR070
COLOR 070 coupon bg color.
|
COLOR080
COLOR 080 coupon bg color.
|
COLOR081
COLOR 090 coupon bg color.
|
COLOR082
Color 082 card bg color.
|
COLOR090
Color 090 card bg color.
|
COLOR100
COLOR 100 coupon bg color.
|
COLOR101
Color 101 card bg color.
|
COLOR102
Color 102 card bg color.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
color |
private String |
value |
| Modifier and Type | Method and Description |
|---|---|
static CardBgColor |
deserialize(String color)
Deserialize card bg color.
|
String |
getValue()
Gets value.
|
static CardBgColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CardBgColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CardBgColor COLOR010
public static final CardBgColor COLOR020
public static final CardBgColor COLOR030
public static final CardBgColor COLOR040
public static final CardBgColor COLOR050
public static final CardBgColor COLOR060
public static final CardBgColor COLOR070
public static final CardBgColor COLOR080
public static final CardBgColor COLOR081
public static final CardBgColor COLOR082
public static final CardBgColor COLOR090
public static final CardBgColor COLOR100
public static final CardBgColor COLOR101
public static final CardBgColor COLOR102
public static CardBgColor[] values()
for (CardBgColor c : CardBgColor.values()) System.out.println(c);
public static CardBgColor 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 getValue()
public static CardBgColor deserialize(String color)
color - the colorCopyright © 2023. All rights reserved.