Package org.evoludo.simulator.exec
Enum Class TestEvoLudo.ConsoleColors
- All Implemented Interfaces:
Serializable
,Comparable<TestEvoLudo.ConsoleColors>
,Constable
- Enclosing class:
TestEvoLudo
The control codes for changing the style of the console output.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBlack color.Black background color.Black high intensity background.Black color.Black high intensity color.Black high intensity color.Black color.Blue color.Blue background color.Blue high intensity background.Blue color.Blue high intensity color.Blue high intensity color.Blue color.Cyan color.Cyan background color.Cyan high intensity background.Cyan color.Cyan high intensity color.Cyan high intensity color.Cyan color.Green color.Green background color.Green high intensity background.Green color.Green high intensity color.Green high intensity color.Green color.Magenta color.Magenta background color.Magenta high intensity background.Magenta color.Magenta high intensity color.Magenta high intensity color.Magenta color.Red color.Red background color.Red high intensity background.Red color.Red high intensity color.Red high intensity color.Red color.Reset all styling.White color.White background color.White high intensity background.White color.White high intensity color.White high intensity color.White color.Yellow color.Yellow background color.Yellow high intensity background.Yellow color.Yellow high intensity color.Yellow high intensity color.Yellow color. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static TestEvoLudo.ConsoleColors
Returns the enum constant of this class with the specified name.static TestEvoLudo.ConsoleColors[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RESET
Reset all styling. -
BLACK
Black color. Regular font, no background. -
RED
Red color. Regular font, no background. -
GREEN
Green color. Regular font, no background. -
YELLOW
Yellow color. Regular font, no background. -
BLUE
Blue color. Regular font, no background. -
MAGENTA
Magenta color. Regular font, no background. -
CYAN
Cyan color. Regular font, no background. -
WHITE
White color. Regular font, no background. -
BLACK_BOLD
Black color. Bold font, no background. -
RED_BOLD
Red color. Bold font, no background. -
GREEN_BOLD
Green color. Bold font, no background. -
YELLOW_BOLD
Yellow color. Bold font, no background. -
BLUE_BOLD
Blue color. Bold font, no background. -
MAGENTA_BOLD
Magenta color. Bold font, no background. -
CYAN_BOLD
Cyan color. Bold font, no background. -
WHITE_BOLD
White color. Bold font, no background. -
BLACK_UNDERLINED
Black color. Underlined, no background. -
RED_UNDERLINED
Red color. Underlined, no background. -
GREEN_UNDERLINED
Green color. Underlined, no background. -
YELLOW_UNDERLINED
Yellow color. Underlined, no background. -
BLUE_UNDERLINED
Blue color. Underlined, no background. -
MAGENTA_UNDERLINED
Magenta color. Underlined, no background. -
CYAN_UNDERLINED
Cyan color. Underlined, no background. -
WHITE_UNDERLINED
White color. Underlined, no background. -
BLACK_BACKGROUND
Black background color. -
RED_BACKGROUND
Red background color. -
GREEN_BACKGROUND
Green background color. -
YELLOW_BACKGROUND
Yellow background color. -
BLUE_BACKGROUND
Blue background color. -
MAGENTA_BACKGROUND
Magenta background color. -
CYAN_BACKGROUND
Cyan background color. -
WHITE_BACKGROUND
White background color. -
BLACK_BRIGHT
Black high intensity color. Regular font, no background. -
RED_BRIGHT
Red high intensity color. Regular font, no background. -
GREEN_BRIGHT
Green high intensity color. Regular font, no background. -
YELLOW_BRIGHT
Yellow high intensity color. Regular font, no background. -
BLUE_BRIGHT
Blue high intensity color. Regular font, no background. -
MAGENTA_BRIGHT
Magenta high intensity color. Regular font, no background. -
CYAN_BRIGHT
Cyan high intensity color. Regular font, no background. -
WHITE_BRIGHT
White high intensity color. Regular font, no background. -
BLACK_BOLD_BRIGHT
Black high intensity color. Bold font, no background. -
RED_BOLD_BRIGHT
Red high intensity color. Bold font, no background. -
GREEN_BOLD_BRIGHT
Green high intensity color. Bold font, no background. -
YELLOW_BOLD_BRIGHT
Yellow high intensity color. Bold font, no background. -
BLUE_BOLD_BRIGHT
Blue high intensity color. Bold font, no background. -
MAGENTA_BOLD_BRIGHT
Magenta high intensity color. Bold font, no background. -
CYAN_BOLD_BRIGHT
Cyan high intensity color. Bold font, no background. -
WHITE_BOLD_BRIGHT
White high intensity color. Bold font, no background. -
BLACK_BACKGROUND_BRIGHT
Black high intensity background. -
RED_BACKGROUND_BRIGHT
Red high intensity background. -
GREEN_BACKGROUND_BRIGHT
Green high intensity background. -
YELLOW_BACKGROUND_BRIGHT
Yellow high intensity background. -
BLUE_BACKGROUND_BRIGHT
Blue high intensity background. -
MAGENTA_BACKGROUND_BRIGHT
Magenta high intensity background. -
CYAN_BACKGROUND_BRIGHT
Cyan high intensity background. -
WHITE_BACKGROUND_BRIGHT
White high intensity background.
-
-
Field Details
-
code
The style code.
-
-
Constructor Details
-
ConsoleColors
Constructor for ConsoleColors.- Parameters:
code
- the style code
-
-
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
- Overrides:
toString
in classEnum<TestEvoLudo.ConsoleColors>
-