public static enum Bx5GScreenProfile.ScreenColorType extends Enum<Bx5GScreenProfile.ScreenColorType>
Enum Constant and Description |
---|
COLOR
全彩。
|
COLOR_GRAY
双色灰度色。
|
DOUBLE
双基色。
|
SINGLE
单基色。
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Bx5GScreenProfile.ScreenColorType |
typeOf(int code) |
static Bx5GScreenProfile.ScreenColorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Bx5GScreenProfile.ScreenColorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bx5GScreenProfile.ScreenColorType SINGLE
public static final Bx5GScreenProfile.ScreenColorType DOUBLE
public static final Bx5GScreenProfile.ScreenColorType COLOR_GRAY
public static final Bx5GScreenProfile.ScreenColorType COLOR
public static Bx5GScreenProfile.ScreenColorType[] values()
for (Bx5GScreenProfile.ScreenColorType c : Bx5GScreenProfile.ScreenColorType.values()) System.out.println(c);
public static Bx5GScreenProfile.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 nameNullPointerException
- if the argument is nullpublic static Bx5GScreenProfile.ScreenColorType typeOf(int code)
public String toString()
toString
in class Enum<Bx5GScreenProfile.ScreenColorType>
Copyright © 2020 onbon4j. All rights reserved.