Package com.hp.lft.sdk.java
Enum Class MouseEvent
- All Implemented Interfaces:
Serializable
,Comparable<MouseEvent>
,java.lang.constant.Constable
Constants for Mouse events.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA mouse button is pressed and released.The mouse position changes while a mouse button is pressed.The mouse cursor enters the unobscured part of the component.The mouse cursor exits the unobscured part of the component.The mouse position changes.A mouse button is pushed down.A mouse button is let up. -
Method Summary
Modifier and TypeMethodDescriptionstatic MouseEvent
Returns the enum constant of this class with the specified name.static MouseEvent[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MOUSE_CLICKED
A mouse button is pressed and released. -
MOUSE_DRAGGED
The mouse position changes while a mouse button is pressed. -
MOUSE_ENTERED
The mouse cursor enters the unobscured part of the component. -
MOUSE_EXITED
The mouse cursor exits the unobscured part of the component. -
MOUSE_MOVED
The mouse position changes. -
MOUSE_PRESSED
A mouse button is pushed down. -
MOUSE_RELEASED
A mouse button is let up.
-
-
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
-