Enum MouseTracking.Encoding

java.lang.Object
java.lang.Enum<MouseTracking.Encoding>
org.aesh.terminal.tty.MouseTracking.Encoding
All Implemented Interfaces:
Serializable, Comparable<MouseTracking.Encoding>
Enclosing class:
MouseTracking

public static enum MouseTracking.Encoding extends Enum<MouseTracking.Encoding>
Mouse coordinate encoding — controls how coordinates are transmitted.
  • Enum Constant Details

    • SGR

      public static final MouseTracking.Encoding SGR
      SGR encoding: CSI < Pb;Px;Py M/m. Recommended. No coordinate limits.
    • UTF8

      public static final MouseTracking.Encoding UTF8
      UTF-8 encoding. Deprecated.
    • URXVT

      public static final MouseTracking.Encoding URXVT
      URXVT encoding: CSI Pb;Px;Py M. No release button ID.
    • SGR_PIXELS

      public static final MouseTracking.Encoding SGR_PIXELS
      SGR-Pixels encoding: like SGR but with pixel coordinates.
  • Method Details

    • values

      public static MouseTracking.Encoding[] 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

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