public enum ConsoleColors extends java.lang.Enum<ConsoleColors>
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
bold(java.lang.String message) |
static void |
error(java.lang.Object message) |
static java.lang.String |
green(java.lang.String message) |
static java.lang.String |
red(java.lang.String message) |
static java.lang.String |
styler(ConsoleColors color,
java.lang.String message) |
static void |
success(java.lang.Object message) |
static java.lang.String |
underline(java.lang.String message) |
static ConsoleColors |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConsoleColors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsoleColors RESET
public static final ConsoleColors BLACK
public static final ConsoleColors RED
public static final ConsoleColors GREEN
public static final ConsoleColors YELLOW
public static final ConsoleColors BLUE
public static final ConsoleColors PURPLE
public static final ConsoleColors CYAN
public static final ConsoleColors WHITE
public static final ConsoleColors ONLY_BOLD
public static final ConsoleColors BLACK_BOLD
public static final ConsoleColors RED_BOLD
public static final ConsoleColors GREEN_BOLD
public static final ConsoleColors YELLOW_BOLD
public static final ConsoleColors BLUE_BOLD
public static final ConsoleColors PURPLE_BOLD
public static final ConsoleColors CYAN_BOLD
public static final ConsoleColors WHITE_BOLD
public static final ConsoleColors ONLY_UNDERLINED
public static final ConsoleColors BLACK_UNDERLINED
public static final ConsoleColors RED_UNDERLINED
public static final ConsoleColors GREEN_UNDERLINED
public static final ConsoleColors YELLOW_UNDERLINED
public static final ConsoleColors BLUE_UNDERLINED
public static final ConsoleColors PURPLE_UNDERLINED
public static final ConsoleColors CYAN_UNDERLINED
public static final ConsoleColors WHITE_UNDERLINED
public static final ConsoleColors BLACK_BRIGHT
public static final ConsoleColors RED_BRIGHT
public static final ConsoleColors GREEN_BRIGHT
public static final ConsoleColors YELLOW_BRIGHT
public static final ConsoleColors BLUE_BRIGHT
public static final ConsoleColors PURPLE_BRIGHT
public static final ConsoleColors CYAN_BRIGHT
public static final ConsoleColors WHITE_BRIGHT
public static final ConsoleColors BLACK_BOLD_BRIGHT
public static final ConsoleColors RED_BOLD_BRIGHT
public static final ConsoleColors GREEN_BOLD_BRIGHT
public static final ConsoleColors YELLOW_BOLD_BRIGHT
public static final ConsoleColors BLUE_BOLD_BRIGHT
public static final ConsoleColors PURPLE_BOLD_BRIGHT
public static final ConsoleColors CYAN_BOLD_BRIGHT
public static final ConsoleColors WHITE_BOLD_BRIGHT
public static ConsoleColors[] values()
for (ConsoleColors c : ConsoleColors.values()) System.out.println(c);
public static ConsoleColors valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static java.lang.String bold(java.lang.String message)
public static java.lang.String underline(java.lang.String message)
public static java.lang.String red(java.lang.String message)
public static java.lang.String green(java.lang.String message)
public static void error(java.lang.Object message)
public static void success(java.lang.Object message)
public static java.lang.String styler(ConsoleColors color, java.lang.String message)