Enum Class DialogAfterAction
- All Implemented Interfaces:
Serializable, Comparable<DialogAfterAction>, Constable
What the client does with a dialog screen once a click or submit action has been performed.
- Since:
- 0.1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCloses the dialog and returns to the previous non-dialog screen, if any.Keeps the current dialog open.Replaces the dialog with the vanilla Waiting for Response screen. -
Method Summary
Modifier and TypeMethodDescriptionid()Returns the identifier used on the wire, for instancewait_for_response.static DialogAfterActionReturns the enum constant of this class with the specified name.static DialogAfterAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLOSE
Closes the dialog and returns to the previous non-dialog screen, if any.- Since:
- 0.1.0
-
NONE
-
WAIT_FOR_RESPONSE
Replaces the dialog with the vanilla Waiting for Response screen.- Since:
- 0.1.0
-
-
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
-
id
Returns the identifier used on the wire, for instancewait_for_response.- Returns:
- the identifier used on the wire, for instance
wait_for_response - Since:
- 0.1.0
-