Enum ConsolerizerColor
- java.lang.Object
-
- java.lang.Enum<ConsolerizerColor>
-
- org.jesperancinha.console.consolerizer8.common.ConsolerizerColor
-
- All Implemented Interfaces:
Serializable,Comparable<ConsolerizerColor>,java.lang.constant.Constable
public enum ConsolerizerColor extends Enum<ConsolerizerColor>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BG_ORANGEBLACKBLUEBRIGHT_BLUEBRIGHT_CYANBRIGHT_GREENBRIGHT_MAGENTABRIGHT_REDBRIGHT_WHITEBROWNCYANDARK_GREYGREENLIGHT_GREYMAGENTAORANGEREDRESETWHITEYELLOW
-
Method Summary
-
-
-
Enum Constant Detail
-
RESET
public static final ConsolerizerColor RESET
-
WHITE
public static final ConsolerizerColor WHITE
-
BLACK
public static final ConsolerizerColor BLACK
-
BLUE
public static final ConsolerizerColor BLUE
-
GREEN
public static final ConsolerizerColor GREEN
-
CYAN
public static final ConsolerizerColor CYAN
-
RED
public static final ConsolerizerColor RED
-
ORANGE
public static final ConsolerizerColor ORANGE
-
MAGENTA
public static final ConsolerizerColor MAGENTA
-
BROWN
public static final ConsolerizerColor BROWN
-
YELLOW
public static final ConsolerizerColor YELLOW
-
LIGHT_GREY
public static final ConsolerizerColor LIGHT_GREY
-
DARK_GREY
public static final ConsolerizerColor DARK_GREY
-
BRIGHT_BLUE
public static final ConsolerizerColor BRIGHT_BLUE
-
BRIGHT_GREEN
public static final ConsolerizerColor BRIGHT_GREEN
-
BRIGHT_CYAN
public static final ConsolerizerColor BRIGHT_CYAN
-
BRIGHT_RED
public static final ConsolerizerColor BRIGHT_RED
-
BRIGHT_MAGENTA
public static final ConsolerizerColor BRIGHT_MAGENTA
-
BRIGHT_WHITE
public static final ConsolerizerColor BRIGHT_WHITE
-
BG_ORANGE
public static final ConsolerizerColor BG_ORANGE
-
-
Method Detail
-
values
public static ConsolerizerColor[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConsolerizerColor valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getRandomColor
public static ConsolerizerColor getRandomColor()
-
getConsoleColor
public String getConsoleColor()
-
getHexColor
public String getHexColor()
-
getColorManager
public Consolerizer getColorManager()
-
printGenericLn
public void printGenericLn(Object text)
-
printSyncGenericLn
public void printSyncGenericLn(Object text)
-
printGeneric
public void printGeneric(Object text)
-
printSyncGenericTitleLn
public void printSyncGenericTitleLn(Object text)
-
printGenericTitleLn
public void printGenericTitleLn(Object text)
-
printThrowableAndExit
public void printThrowableAndExit(Throwable e)
-
printInstanceLn
public void printInstanceLn(Object text)
-
getConsoleRainbowEnumList
public static List<ConsolerizerColor> getConsoleRainbowEnumList()
-
toString
public String toString()
- Overrides:
toStringin classEnum<ConsolerizerColor>
-
-