Enum Class DisplayUnit
- All Implemented Interfaces:
Serializable,Comparable<DisplayUnit>,Constable
指定坐标轴的显示单位标签。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription指定一个自定义单位。指定亿。指定百。指定十万。指定万亿。。指定百万。指定无单位。指定千万。指定万。指定十亿。指定千。 -
Method Summary
Modifier and TypeMethodDescriptionstatic DisplayUnitReturns the enum constant of this class with the specified name.static DisplayUnit[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
None
指定无单位。 -
Custom
指定一个自定义单位。 -
MillionMillions
指定万亿。。 -
ThousandMillions
指定十亿。 -
HundredMillions
指定亿。 -
TenMillions
指定千万。 -
Millions
指定百万。 -
HundredThousands
指定十万。 -
TenThousands
指定万。 -
Thousands
指定千。 -
Hundreds
指定百。
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-