Package com.hp.lft.sdk.web
Enum Class MouseEventTypes
- All Implemented Interfaces:
Serializable
,Comparable<MouseEventTypes>
,java.lang.constant.Constable
Supported mouse event types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe event occurs when the user clicks on an element.The event occurs when the user right-clicks on an element to open a context menu.The event occurs when the user double-clicks on an element.The event occurs when a user presses a mouse button over an element.The event occurs when the pointer is moved onto an element.The event occurs when the user moves the mouse pointer out of an element.The event occurs when the pointer is moving while it is over an element.The event occurs when a user moves the mouse pointer out of an element, or out of one of its children.The event occurs when the pointer is moved onto an element, or onto one of its children.The event occurs when a user releases a mouse button over an element. -
Method Summary
Modifier and TypeMethodDescriptiongetType()
Returns the string representation of the mouse event type.static MouseEventTypes
Returns the enum constant of this class with the specified name.static MouseEventTypes[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ON_CLICK
The event occurs when the user clicks on an element. -
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_UP
The event occurs when a user releases a mouse button over an element. -
ON_MOUSE_OVER
The event occurs when the pointer is moved onto an element, or onto one of its children. -
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
The event occurs when the user right-clicks on an element to open a context menu. -
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.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getType
Returns the string representation of the mouse event type.- Returns:
- the string representation of the mouse event type.
-