Package io.guise.framework.input
Enum ProcessCommand
- All Implemented Interfaces:
Command
,Serializable
,Comparable<ProcessCommand>
Commands for reacting to a decision to be made during a process. A process command is semantically more general than a sequence command. While a "next"
command is similar to "continue" in the context of a wizard and either could reasonably cause a progresion to the next stage of the sequence, selecting an OK
button for a confirmation dialog would not be appropriate in response to the "next" command, although it would be for the "continue" command.
- Author:
- Garret Wilson
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProcessCommand
Returns the enum constant of this type with the specified name.static ProcessCommand[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CONTINUE
The command for continuing a process. This command is usually bound to the Enter key and signifies that some step in a process should be approved. -
ABORT
The command for aborting a process. This command is usually bound to the Escape key and signifies that the process should be canceled.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-