[]
        
立即试用
(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>
指定了对于提供多值选择的某些单元格类型中选定的项目写入数据模型的内容。
  • Enum Constant Details

    • Text

      public static final EditorValueType Text
      将选定项的文本值写入模型。
    • Index

      public static final EditorValueType Index
      将选定项的索引写入模型。
    • Value

      public static final EditorValueType Value
      将所选项目的对应数据值写入模型。
  • 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)