com.hp.lft.sdk.web

Enum MouseEventTypes

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<MouseEventTypes>


    public enum MouseEventTypes
    extends java.lang.Enum<MouseEventTypes>
    Supported mouse event types.
    • Enum Constant Summary

      Enum Constant and Description
      ON_CLICK
      The event occurs when the user clicks on an element.
      ON_CONTEXT_MENU
      The event occurs when the user right-clicks on an element to open a context menu.
      ON_DBL_CLICK
      The event occurs when the user double-clicks on an element.
      ON_MOUSE_DOWN
      The event occurs when a user presses a mouse button over an element.
      ON_MOUSE_ENTER
      The event occurs when the pointer is moved onto an element.
      ON_MOUSE_LEAVE
      The event occurs when the user moves the mouse pointer out of an element.
      ON_MOUSE_MOVE
      The event occurs when the pointer is moving while it is over an element.
      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_MOUSE_OVER
      The event occurs when the pointer is moved onto an element, or onto one of its children.
      ON_MOUSE_UP
      The event occurs when a user releases a mouse button over an element.
    • Method Summary

      Modifier and Type Method and Description
      java.lang.String getType()
      Returns the string representation of the mouse event type.
      static MouseEventTypes valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static MouseEventTypes[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • 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 Detail

      • values

        public static MouseEventTypes[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MouseEventTypes c : MouseEventTypes.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MouseEventTypes valueOf(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getType

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