|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CardColor>
com.foxinmy.weixin4j.type.card.CardColor
public enum CardColor
卡券颜色
| Enum Constant Summary | |
|---|---|
Color010
Color010 |
|
Color020
Color020 |
|
Color030
Color030 |
|
Color040
Color040 |
|
Color050
Color050 |
|
Color060
Color060 |
|
Color070
Color070 |
|
Color080
Color080 |
|
Color081
Color081 |
|
Color082
Color082 |
|
Color090
Color090 |
|
Color100
Color0100 |
|
Color101
Color0101 |
|
Color102
Color0102 |
|
| Method Summary | |
|---|---|
int |
getB()
|
int |
getG()
|
String |
getHex()
|
int |
getR()
|
static CardColor |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CardColor[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CardColor Color010
public static final CardColor Color020
public static final CardColor Color030
public static final CardColor Color040
public static final CardColor Color050
public static final CardColor Color060
public static final CardColor Color070
public static final CardColor Color080
public static final CardColor Color081
public static final CardColor Color082
public static final CardColor Color090
public static final CardColor Color100
public static final CardColor Color101
public static final CardColor Color102
| Method Detail |
|---|
public static CardColor[] values()
for (CardColor c : CardColor.values()) System.out.println(c);
public static CardColor 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 int getR()
public int getG()
public int getB()
public String getHex()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||