Interface CommandLine.Help.Ansi.IStyle

All Known Implementing Classes:
CommandLine.Help.Ansi.Style
Enclosing class:
CommandLine.Help.Ansi

public static interface CommandLine.Help.Ansi.IStyle
Defines the interface for an ANSI escape sequence.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The Control Sequence Introducer (CSI) escape sequence "\u001b[".
  • Method Summary

    Modifier and Type
    Method
    Description
    off()
    Returns the ANSI escape code for turning this style off.
    on()
    Returns the ANSI escape code for turning this style on.
  • Field Details

  • Method Details

    • on

      String on()
      Returns the ANSI escape code for turning this style on.
      Returns:
      the ANSI escape code for turning this style on
    • off

      String off()
      Returns the ANSI escape code for turning this style off.
      Returns:
      the ANSI escape code for turning this style off