Enum Device.OscCode

java.lang.Object
java.lang.Enum<Device.OscCode>
org.aesh.terminal.Device.OscCode
All Implemented Interfaces:
Serializable, Comparable<Device.OscCode>, java.lang.constant.Constable
Enclosing interface:
Device

public static enum Device.OscCode extends Enum<Device.OscCode>
OSC (Operating System Command) codes that can be queried/set.
  • Enum Constant Details

    • PALETTE

      public static final Device.OscCode PALETTE
      OSC 4 - Query/set palette colors
    • FOREGROUND

      public static final Device.OscCode FOREGROUND
      OSC 10 - Query/set foreground color
    • BACKGROUND

      public static final Device.OscCode BACKGROUND
      OSC 11 - Query/set background color
    • CURSOR_COLOR

      public static final Device.OscCode CURSOR_COLOR
      OSC 12 - Query/set cursor color
    • CLIPBOARD

      public static final Device.OscCode CLIPBOARD
      OSC 52 - Clipboard access
  • Method Details

    • values

      public static Device.OscCode[] 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 Device.OscCode 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
    • getCode

      public int getCode()