|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Bx6GScreenProfile.ScreenColorType>
onbon.bx06.Bx6GScreenProfile.ScreenColorType
public static enum Bx6GScreenProfile.ScreenColorType
显示屏类型。
1:单基色。
2:双基色。
Enum Constant Summary | |
---|---|
COLOR
全彩。 |
|
DOUBLE
双基色。 |
|
SINGLE
单基色。 |
|
TRIPLE
三基色。 |
Field Summary | |
---|---|
int |
value
|
Method Summary | |
---|---|
String |
toString()
|
static Bx6GScreenProfile.ScreenColorType |
typeOf(int code)
|
static Bx6GScreenProfile.ScreenColorType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Bx6GScreenProfile.ScreenColorType[] |
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 Bx6GScreenProfile.ScreenColorType SINGLE
public static final Bx6GScreenProfile.ScreenColorType DOUBLE
public static final Bx6GScreenProfile.ScreenColorType TRIPLE
public static final Bx6GScreenProfile.ScreenColorType COLOR
Field Detail |
---|
public final int value
Method Detail |
---|
public static Bx6GScreenProfile.ScreenColorType[] values()
for (Bx6GScreenProfile.ScreenColorType c : Bx6GScreenProfile.ScreenColorType.values()) System.out.println(c);
public static Bx6GScreenProfile.ScreenColorType 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 static Bx6GScreenProfile.ScreenColorType typeOf(int code)
public String toString()
toString
in class Enum<Bx6GScreenProfile.ScreenColorType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |