private static enum Messages.FormatOptions extends java.lang.Enum<Messages.FormatOptions>
Enum Constant and Description |
---|
BOLD |
FAINT |
ITALIC |
RED |
RESET |
UNDERLINE |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
ansiCode |
Modifier and Type | Method and Description |
---|---|
static Messages.FormatOptions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Messages.FormatOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Messages.FormatOptions RED
public static final Messages.FormatOptions BOLD
public static final Messages.FormatOptions FAINT
public static final Messages.FormatOptions ITALIC
public static final Messages.FormatOptions UNDERLINE
public static final Messages.FormatOptions RESET
public static Messages.FormatOptions[] values()
for (Messages.FormatOptions c : Messages.FormatOptions.values()) System.out.println(c);
public static Messages.FormatOptions 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 null