[]
        
立即试用
(Showing Draft Content)

SelectionMode

Enum Class SelectionMode

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

public enum SelectionMode extends Enum<SelectionMode>
列表框的选择模式
  • Enum Constant Details

    • Single

      public static final SelectionMode Single
      在列表框中选择单个项目(在Excel VBA中为-4142)
    • Multiple

      public static final SelectionMode Multiple
      在列表框中选择多个项目(在Excel VBA中为-4154)
    • Extended

      public static final SelectionMode Extended
      在列表框中使用ctrl键选择多个项目(在Excel VBA中为3)
  • Method Details

    • values

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