Enum Class LogColor

java.lang.Object
java.lang.Enum<LogColor>
dev.netcode.util.LogColor
All Implemented Interfaces:
Serializable, Comparable<LogColor>, Constable

public enum LogColor extends Enum<LogColor>
Contains prefixes to change the color of the text inside the console
  • Enum Constant Details

    • RESET

      public static final LogColor RESET
    • BLACK

      public static final LogColor BLACK
    • BLUE

      public static final LogColor BLUE
    • CYAN

      public static final LogColor CYAN
    • GREEN

      public static final LogColor GREEN
    • MAGENTA

      public static final LogColor MAGENTA
    • RED

      public static final LogColor RED
    • WHITE

      public static final LogColor WHITE
    • YELLOW

      public static final LogColor YELLOW
    • BRIGHT_BLACK

      public static final LogColor BRIGHT_BLACK
    • BRIGHT_BLUE

      public static final LogColor BRIGHT_BLUE
    • BRIGHT_CYAN

      public static final LogColor BRIGHT_CYAN
    • BRIGHT_GREEN

      public static final LogColor BRIGHT_GREEN
    • BRIGHT_MAGENTA

      public static final LogColor BRIGHT_MAGENTA
    • BRIGHT_RED

      public static final LogColor BRIGHT_RED
    • BRIGHT_WHITE

      public static final LogColor BRIGHT_WHITE
    • BRIGHT_YELLOW

      public static final LogColor BRIGHT_YELLOW
    • ORANGE

      public static final LogColor ORANGE
    • BRIGHT_ORANGE

      public static final LogColor BRIGHT_ORANGE
    • DARK_ORANGE

      public static final LogColor DARK_ORANGE
    • PURPLE

      public static final LogColor PURPLE
    • BRIGHT_PURPLE

      public static final LogColor BRIGHT_PURPLE
    • DARK_PURPLE

      public static final LogColor DARK_PURPLE
    • DARK_BLUE

      public static final LogColor DARK_BLUE
    • DARK_CYAN

      public static final LogColor DARK_CYAN
    • DARK_GREEN

      public static final LogColor DARK_GREEN
    • DARK_MAGENTA

      public static final LogColor DARK_MAGENTA
    • DARK_RED

      public static final LogColor DARK_RED
    • DARK_WHITE

      public static final LogColor DARK_WHITE
    • DARK_YELLOW

      public static final LogColor DARK_YELLOW
    • BG_BLACK

      public static final LogColor BG_BLACK
  • Method Details

    • values

      public static LogColor[] values()
      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 LogColor valueOf(String name)
      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()
      Overrides:
      toString in class Enum<LogColor>