Enum MouseActionType

java.lang.Object
java.lang.Enum<MouseActionType>
com.googlecode.lanterna.input.MouseActionType
All Implemented Interfaces:
Serializable, Comparable<MouseActionType>, java.lang.constant.Constable

public enum MouseActionType extends Enum<MouseActionType>
Enum type for the different kinds of mouse actions supported
  • Enum Constant Details

    • CLICK_DOWN

      public static final MouseActionType CLICK_DOWN
    • CLICK_RELEASE

      public static final MouseActionType CLICK_RELEASE
    • SCROLL_UP

      public static final MouseActionType SCROLL_UP
    • SCROLL_DOWN

      public static final MouseActionType SCROLL_DOWN
    • DRAG

      public static final MouseActionType DRAG
      Moving the mouse cursor on the screen while holding a button down
    • MOVE

      public static final MouseActionType MOVE
      Moving the mouse cursor on the screen without holding any buttons down
  • Constructor Details

    • MouseActionType

      private MouseActionType()
  • Method Details

    • values

      public static MouseActionType[] 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 MouseActionType 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