Enum Class AlertButton.Action
- All Implemented Interfaces:
Serializable, Comparable<AlertButton.Action>, Constable
- Enclosing class:
AlertButton
按钮通用动作,用于标记,具体事件由调用决定
- Since:
- 2022-01-20 00:55
- Author:
- 夜雨
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic AlertButton.ActionReturns the enum constant of this class with the specified name.static AlertButton.Action[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
APPLY
同意 -
OK
好 -
CANCEL
取消 -
CLOSE
关闭 -
CONFIRM
确认 -
YES
是 -
NO
否 -
FINISH
完成 -
PREVIOUS
上一步 -
NEXT
下一步 -
SKIP
跳过 -
SAVE
保存 -
OTHER
用于自定义事件
-
-
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
-