Enum Class TextColor

java.lang.Object
java.lang.Enum<TextColor>
org.strassburger.tui4j.formatting.TextColor
All Implemented Interfaces:
Serializable, Comparable<TextColor>, Constable

public enum TextColor extends Enum<TextColor>
Deprecated.
Use the AnsiCode class instead.
This enum provides ANSI escape codes for text colors, background colors, and text styles.
  • Enum Constant Details

    • RESET

      public static final TextColor RESET
      Deprecated.
    • BLACK

      public static final TextColor BLACK
      Deprecated.
    • RED

      public static final TextColor RED
      Deprecated.
    • GREEN

      public static final TextColor GREEN
      Deprecated.
    • YELLOW

      public static final TextColor YELLOW
      Deprecated.
    • BLUE

      public static final TextColor BLUE
      Deprecated.
    • MAGENTA

      public static final TextColor MAGENTA
      Deprecated.
    • CYAN

      public static final TextColor CYAN
      Deprecated.
    • WHITE

      public static final TextColor WHITE
      Deprecated.
    • BRIGHT_BLACK

      public static final TextColor BRIGHT_BLACK
      Deprecated.
    • BRIGHT_RED

      public static final TextColor BRIGHT_RED
      Deprecated.
    • BRIGHT_GREEN

      public static final TextColor BRIGHT_GREEN
      Deprecated.
    • BRIGHT_YELLOW

      public static final TextColor BRIGHT_YELLOW
      Deprecated.
    • BRIGHT_BLUE

      public static final TextColor BRIGHT_BLUE
      Deprecated.
    • BRIGHT_MAGENTA

      public static final TextColor BRIGHT_MAGENTA
      Deprecated.
    • BRIGHT_CYAN

      public static final TextColor BRIGHT_CYAN
      Deprecated.
    • BRIGHT_WHITE

      public static final TextColor BRIGHT_WHITE
      Deprecated.
    • BG_BLACK

      public static final TextColor BG_BLACK
      Deprecated.
    • BG_RED

      public static final TextColor BG_RED
      Deprecated.
    • BG_GREEN

      public static final TextColor BG_GREEN
      Deprecated.
    • BG_YELLOW

      public static final TextColor BG_YELLOW
      Deprecated.
    • BG_BLUE

      public static final TextColor BG_BLUE
      Deprecated.
    • BG_MAGENTA

      public static final TextColor BG_MAGENTA
      Deprecated.
    • BG_CYAN

      public static final TextColor BG_CYAN
      Deprecated.
    • BG_WHITE

      public static final TextColor BG_WHITE
      Deprecated.
    • BG_BRIGHT_BLACK

      public static final TextColor BG_BRIGHT_BLACK
      Deprecated.
    • BG_BRIGHT_RED

      public static final TextColor BG_BRIGHT_RED
      Deprecated.
    • BG_BRIGHT_GREEN

      public static final TextColor BG_BRIGHT_GREEN
      Deprecated.
    • BG_BRIGHT_YELLOW

      public static final TextColor BG_BRIGHT_YELLOW
      Deprecated.
    • BG_BRIGHT_BLUE

      public static final TextColor BG_BRIGHT_BLUE
      Deprecated.
    • BG_BRIGHT_MAGENTA

      public static final TextColor BG_BRIGHT_MAGENTA
      Deprecated.
    • BG_BRIGHT_CYAN

      public static final TextColor BG_BRIGHT_CYAN
      Deprecated.
    • BG_BRIGHT_WHITE

      public static final TextColor BG_BRIGHT_WHITE
      Deprecated.
    • BOLD

      public static final TextColor BOLD
      Deprecated.
    • UNDERLINE

      public static final TextColor UNDERLINE
      Deprecated.
    • REVERSED

      public static final TextColor REVERSED
      Deprecated.
  • Method Details

    • values

      public static TextColor[] values()
      Deprecated.
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TextColor valueOf(String name)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Enum<TextColor>