Package io.guise.framework.event
Enum ActionEvent.Command
- All Implemented Interfaces:
Serializable
,Comparable<ActionEvent.Command>
- Enclosing class:
- ActionEvent
The commands that can be represented by an action.
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ActionEvent.Command
Returns the enum constant of this type with the specified name.static ActionEvent.Command[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SELECT
The action requests an item to be selected. Traditionally this is indicated by a left mouse button single click. -
INFO
The action requests contextual information. Traditionally this is indicated by a right mouse button single click. -
ACTIVATE
The action requests activitation, Traditionally this is indicated by a left mouse button double click.
-
-
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
-