Enum MouseTracking.Encoding
- All Implemented Interfaces:
Serializable, Comparable<MouseTracking.Encoding>
- Enclosing class:
MouseTracking
Mouse coordinate encoding — controls how coordinates are transmitted.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSGR encoding:CSI < Pb;Px;Py M/m.SGR-Pixels encoding: like SGR but with pixel coordinates.URXVT encoding:CSI Pb;Px;Py M.UTF-8 encoding. -
Method Summary
Modifier and TypeMethodDescriptionstatic MouseTracking.EncodingReturns the enum constant of this type with the specified name.static MouseTracking.Encoding[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SGR
SGR encoding:CSI < Pb;Px;Py M/m. Recommended. No coordinate limits. -
UTF8
UTF-8 encoding. Deprecated. -
URXVT
URXVT encoding:CSI Pb;Px;Py M. No release button ID. -
SGR_PIXELS
SGR-Pixels encoding: like SGR but with pixel coordinates.
-
-
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
-