public enum FontColour extends java.lang.Enum<FontColour>
Enum Constant and Description |
---|
Black
The Black.
|
Blue
The Blue.
|
Cyan
The Cyan.
|
Dark_Grey
The Dark_ grey.
|
Green
The Green.
|
Grey
The Grey.
|
Magenta
The Magenta.
|
Orange
The Orange.
|
Red
The Red.
|
White
The White.
|
Yellow
The Yellow.
|
Modifier and Type | Method and Description |
---|---|
static FontColour |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FontColour[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontColour Black
public static final FontColour Blue
public static final FontColour Cyan
public static final FontColour Dark_Grey
public static final FontColour Green
public static final FontColour Grey
public static final FontColour Magenta
public static final FontColour Orange
public static final FontColour Red
public static final FontColour White
public static final FontColour Yellow
public static FontColour[] values()
for (FontColour c : FontColour.values()) System.out.println(c);
public static FontColour 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