Enum Class MouseEvent

java.lang.Object
java.lang.Enum<MouseEvent>
com.hp.lft.sdk.java.MouseEvent
All Implemented Interfaces:
Serializable, Comparable<MouseEvent>, java.lang.constant.Constable

public enum MouseEvent extends Enum<MouseEvent>
Constants for Mouse events.
  • Enum Constant Details

    • MOUSE_CLICKED

      public static final MouseEvent MOUSE_CLICKED
      A mouse button is pressed and released.
    • MOUSE_DRAGGED

      public static final MouseEvent MOUSE_DRAGGED
      The mouse position changes while a mouse button is pressed.
    • MOUSE_ENTERED

      public static final MouseEvent MOUSE_ENTERED
      The mouse cursor enters the unobscured part of the component.
    • MOUSE_EXITED

      public static final MouseEvent MOUSE_EXITED
      The mouse cursor exits the unobscured part of the component.
    • MOUSE_MOVED

      public static final MouseEvent MOUSE_MOVED
      The mouse position changes.
    • MOUSE_PRESSED

      public static final MouseEvent MOUSE_PRESSED
      A mouse button is pushed down.
    • MOUSE_RELEASED

      public static final MouseEvent MOUSE_RELEASED
      A mouse button is let up.
  • Method Details

    • values

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

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