Enum Class SelectionMode
- All Implemented Interfaces:
Serializable,Comparable<SelectionMode>,Constable
列表框的选择模式
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic SelectionModeforValue(int value) intgetValue()static SelectionModeReturns the enum constant of this class with the specified name.static SelectionMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Single
在列表框中选择单个项目(在Excel VBA中为-4142) -
Multiple
在列表框中选择多个项目(在Excel VBA中为-4154) -
Extended
在列表框中使用ctrl键选择多个项目(在Excel VBA中为3)
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getValue
public int getValue() -
forValue
-