- All Implemented Interfaces:
Serializable,Comparable<LogColor>,Constable
Contains prefixes to change the color of the text inside the console
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSets background color to blackSets text color to blackSets text color to blueSets text color to dark graySets text color to brighter blueSets text color to brighter cyanSets text color to brighter greenSets text color to brighter magentaSets text color to brighter orangeSets text color to brighter purpleSets text color to brighter redSets text color to brighter whiteSets text color to brighter yellowSets text color to cyanSets text color to darker blueSets text color to darker cyanSets text color to darker greenSets text color to darker magentaSets text color to darker orangeSets text color to darker purpleSets text color to darker redSets text color to light graySets text color to darker yellowSets text color to greenSets text color to magentaSets text color to orangeSets text color to purpleSets text color to redResets the console color to defaultSets text color to whiteSets text color to yellow -
Method Summary
-
Enum Constant Details
-
RESET
Resets the console color to default -
BLACK
Sets text color to black -
BLUE
Sets text color to blue -
CYAN
Sets text color to cyan -
GREEN
Sets text color to green -
MAGENTA
Sets text color to magenta -
RED
Sets text color to red -
WHITE
Sets text color to white -
YELLOW
Sets text color to yellow -
BRIGHT_BLACK
Sets text color to dark gray -
BRIGHT_BLUE
Sets text color to brighter blue -
BRIGHT_CYAN
Sets text color to brighter cyan -
BRIGHT_GREEN
Sets text color to brighter green -
BRIGHT_MAGENTA
Sets text color to brighter magenta -
BRIGHT_RED
Sets text color to brighter red -
BRIGHT_WHITE
Sets text color to brighter white -
BRIGHT_YELLOW
Sets text color to brighter yellow -
ORANGE
Sets text color to orange -
BRIGHT_ORANGE
Sets text color to brighter orange -
DARK_ORANGE
Sets text color to darker orange -
PURPLE
Sets text color to purple -
BRIGHT_PURPLE
Sets text color to brighter purple -
DARK_PURPLE
Sets text color to darker purple -
DARK_BLUE
Sets text color to darker blue -
DARK_CYAN
Sets text color to darker cyan -
DARK_GREEN
Sets text color to darker green -
DARK_MAGENTA
Sets text color to darker magenta -
DARK_RED
Sets text color to darker red -
DARK_WHITE
Sets text color to light gray -
DARK_YELLOW
Sets text color to darker yellow -
BG_BLACK
Sets background color to black
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
toString
-