[]
        
(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>
Specifies the display mode when date or number data width is longer than the column width.
  • Enum Constant Details

    • Mask

      public static final NumbersFitMode Mask
      Indicates replacing data content with "###".
    • Overflow

      public static final NumbersFitMode Overflow
      Indicates display data content as a string, if neighboring cell is empty, overflow the content.
  • 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)