[]
        
(Showing Draft Content)

EditorValueType

Enum Class EditorValueType

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

public enum EditorValueType extends Enum<EditorValueType>
Specifies what is written out to the data model for a selected item from certain cell types that offer a selection of multiple values.
  • Enum Constant Details

    • Text

      public static final EditorValueType Text
      Writes the text value of the selected item to the model.
    • Index

      public static final EditorValueType Index
      Writes the index of the selected item to the model.
    • Value

      public static final EditorValueType Value
      Writes the corresponding data value of the selected item to the model.
  • Method Details

    • values

      public static EditorValueType[] 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 EditorValueType 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 EditorValueType forValue(int value)