[]
        
立即试用
(Showing Draft Content)

NumbersFitMode

Enum Class NumbersFitMode

java.lang.Object
java.lang.Enum<NumbersFitMode>
com.grapecity.documents.excel.NumbersFitMode
All Implemented Interfaces:
Serializable, Comparable<NumbersFitMode>, Constable

public enum NumbersFitMode extends Enum<NumbersFitMode>
指定当日期或数字数据宽度超过列宽时的显示模式。
  • Enum Constant Details

    • Mask

      public static final NumbersFitMode Mask
      表示使用 "###" 替换数据内容。
    • Overflow

      public static final NumbersFitMode Overflow
      表示将显示数据内容作为字符串,如果相邻单元格为空,则溢出内容。
  • Method Details

    • values

      public static NumbersFitMode[] 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

      public static NumbersFitMode 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.)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
    • forValue

      public static NumbersFitMode forValue(int value)