Enum Class DisplayUnit

java.lang.Object
java.lang.Enum<DisplayUnit>
com.grapecity.documents.excel.drawing.DisplayUnit
所有已实现的接口:
Serializable, Comparable<DisplayUnit>, Constable

public enum DisplayUnit extends Enum<DisplayUnit>
Specifies the display unit label for an axis.
  • 枚举常量详细资料

    • None

      public static final DisplayUnit None
      Specifies no units.
    • Custom

      public static final DisplayUnit Custom
      Specifies a custom unit.
    • MillionMillions

      public static final DisplayUnit MillionMillions
      Specifies millions of millions.
    • ThousandMillions

      public static final DisplayUnit ThousandMillions
      Specifies thousands of millions.
    • HundredMillions

      public static final DisplayUnit HundredMillions
      Specifies hundreds of millions.
    • TenMillions

      public static final DisplayUnit TenMillions
      Specifies tens of millions.
    • Millions

      public static final DisplayUnit Millions
      Specifies millions.
    • HundredThousands

      public static final DisplayUnit HundredThousands
      Specifies hundreds of thousands.
    • TenThousands

      public static final DisplayUnit TenThousands
      Specifies tens of thousands.
    • Thousands

      public static final DisplayUnit Thousands
      Specifies thousands.
    • Hundreds

      public static final DisplayUnit Hundreds
      Specifies hundreds.
  • 方法详细资料

    • values

      public static DisplayUnit[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DisplayUnit valueOf(String name)
      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.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值