Enum ActionEvent.Command

java.lang.Object
java.lang.Enum<ActionEvent.Command>
io.guise.framework.event.ActionEvent.Command
All Implemented Interfaces:
Serializable, Comparable<ActionEvent.Command>
Enclosing class:
ActionEvent

public static enum ActionEvent.Command extends Enum<ActionEvent.Command>
The commands that can be represented by an action.
  • Enum Constant Details

    • SELECT

      public static final ActionEvent.Command SELECT
      The action requests an item to be selected. Traditionally this is indicated by a left mouse button single click.
    • INFO

      public static final ActionEvent.Command INFO
      The action requests contextual information. Traditionally this is indicated by a right mouse button single click.
    • ACTIVATE

      public static final ActionEvent.Command ACTIVATE
      The action requests activitation, Traditionally this is indicated by a left mouse button double click.
  • Method Details

    • values

      public static ActionEvent.Command[] 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

      public static ActionEvent.Command valueOf(String name)
      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 name
      NullPointerException - if the argument is null