Enum Class MouseEventTypes

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

public enum MouseEventTypes extends Enum<MouseEventTypes>
Supported mouse event types.
  • Enum Constant Details

    • ON_CLICK

      public static final MouseEventTypes ON_CLICK
      The event occurs when the user clicks on an element.
    • ON_DBL_CLICK

      public static final MouseEventTypes ON_DBL_CLICK
      The event occurs when the user double-clicks on an element.
    • ON_MOUSE_DOWN

      public static final MouseEventTypes ON_MOUSE_DOWN
      The event occurs when a user presses a mouse button over an element.
    • ON_MOUSE_UP

      public static final MouseEventTypes ON_MOUSE_UP
      The event occurs when a user releases a mouse button over an element.
    • ON_MOUSE_OVER

      public static final MouseEventTypes ON_MOUSE_OVER
      The event occurs when the pointer is moved onto an element, or onto one of its children.
    • ON_MOUSE_OUT

      public static final MouseEventTypes ON_MOUSE_OUT
      The event occurs when a user moves the mouse pointer out of an element, or out of one of its children.
    • ON_CONTEXT_MENU

      public static final MouseEventTypes ON_CONTEXT_MENU
      The event occurs when the user right-clicks on an element to open a context menu.
    • ON_MOUSE_ENTER

      public static final MouseEventTypes ON_MOUSE_ENTER
      The event occurs when the pointer is moved onto an element.
    • ON_MOUSE_LEAVE

      public static final MouseEventTypes ON_MOUSE_LEAVE
      The event occurs when the user moves the mouse pointer out of an element.
    • ON_MOUSE_MOVE

      public static final MouseEventTypes ON_MOUSE_MOVE
      The event occurs when the pointer is moving while it is over an element.
  • Method Details

    • values

      public static MouseEventTypes[] 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 MouseEventTypes 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
    • getType

      public String getType()
      Returns the string representation of the mouse event type.
      Returns:
      the string representation of the mouse event type.