public static enum NoiseBxArea.DisplayType extends java.lang.Enum<NoiseBxArea.DisplayType>
| Enum Constant and Description |
|---|
FLOAT_ONLY
显示值包含小数,如:60.3。
|
FLOAT_UNIT
显示值包含小数,并加上单位。如:60.3dB。
|
INT_ONLY
显示值不包含小数,如:60。
|
INT_UNIT
显示值不包含小数,并加上单位。如:60dB。
|
| Modifier and Type | Method and Description |
|---|---|
static NoiseBxArea.DisplayType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NoiseBxArea.DisplayType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NoiseBxArea.DisplayType FLOAT_ONLY
public static final NoiseBxArea.DisplayType FLOAT_UNIT
public static final NoiseBxArea.DisplayType INT_ONLY
public static final NoiseBxArea.DisplayType INT_UNIT
public static NoiseBxArea.DisplayType 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 static NoiseBxArea.DisplayType[] values()
for (NoiseBxArea.DisplayType c : NoiseBxArea.DisplayType.values()) System.out.println(c);