Package org.jline.terminal
Enum Terminal.MouseTracking
- All Implemented Interfaces:
Serializable
,Comparable<Terminal.MouseTracking>
,java.lang.constant.Constable
- Enclosing interface:
- Terminal
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Terminal.MouseTracking
Returns the enum constant of this type with the specified name.static Terminal.MouseTracking[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Off
Disable mouse tracking -
Normal
Track button press and release. -
Button
Also report button-motion events. Mouse movements are reported if the mouse pointer has moved to a different character cell. -
Any
Report all motions events, even if no mouse button is down.
-
-
Constructor Details
-
MouseTracking
private MouseTracking()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-