Enum Class CellValueType

java.lang.Object
java.lang.Enum<CellValueType>
com.independentsoft.office.odf.CellValueType
All Implemented Interfaces:
Serializable, Comparable<CellValueType>, Constable

public enum CellValueType extends Enum<CellValueType>
Represents the cell value type.
  • Enum Constant Details

    • FLOAT

      public static final CellValueType FLOAT
      Cell contains a numeric value.
    • PERCENTAGE

      public static final CellValueType PERCENTAGE
      Cell contains a numeric value.
    • CURRENCY

      public static final CellValueType CURRENCY
      Cell contains a numeric value and currency symbol.
    • DATE

      public static final CellValueType DATE
      Cell contains a date value or date and time value.
    • TIME

      public static final CellValueType TIME
      Cell contains a time value of duration.
    • BOOLEAN

      public static final CellValueType BOOLEAN
      Cell contains a boolean value encoded as true or false.
    • STRING

      public static final CellValueType STRING
      Cell contains a string value.
    • NONE

      public static final CellValueType NONE
      None
  • Method Details

    • values

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