public enum CharacterAttribute extends java.lang.Enum<CharacterAttribute>
| Enum Constant and Description |
|---|
blink |
blue |
blueBack |
bold |
green |
greenBack |
highlight |
highlightBack |
italic |
red |
redBack |
reverse |
secret |
underline |
upperline |
| Modifier and Type | Field and Description |
|---|---|
int |
code |
| Modifier and Type | Method and Description |
|---|---|
static CharacterAttribute |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CharacterAttribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CharacterAttribute blue
public static final CharacterAttribute red
public static final CharacterAttribute green
public static final CharacterAttribute highlight
public static final CharacterAttribute blink
public static final CharacterAttribute underline
public static final CharacterAttribute upperline
public static final CharacterAttribute reverse
public static final CharacterAttribute secret
public static final CharacterAttribute italic
public static final CharacterAttribute bold
public static final CharacterAttribute blueBack
public static final CharacterAttribute redBack
public static final CharacterAttribute greenBack
public static final CharacterAttribute highlightBack
public static CharacterAttribute[] values()
for (CharacterAttribute c : CharacterAttribute.values()) System.out.println(c);
public static CharacterAttribute 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