public enum CatPrintColor extends java.lang.Enum<CatPrintColor>
Enum Constant and Description |
---|
catColorGreyScale |
catColorMonochrome |
catColorTrueColor |
Modifier and Type | Method and Description |
---|---|
static CatPrintColor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CatPrintColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CatPrintColor catColorTrueColor
public static final CatPrintColor catColorGreyScale
public static final CatPrintColor catColorMonochrome
public static CatPrintColor[] values()
for (CatPrintColor c : CatPrintColor.values()) System.out.println(c);
public static CatPrintColor 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