public static enum NoiseBxArea.DisplayType extends 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(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_UNIT
public static final NoiseBxArea.DisplayType INT_UNIT
public static final NoiseBxArea.DisplayType FLOAT_ONLY
public static final NoiseBxArea.DisplayType INT_ONLY
public static NoiseBxArea.DisplayType[] values()
for (NoiseBxArea.DisplayType c : NoiseBxArea.DisplayType.values()) System.out.println(c);
public static NoiseBxArea.DisplayType 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 nullCopyright © 2020 onbon4j. All rights reserved.