public static enum Program.ColorCode extends Enum<Program.ColorCode>
| Enum Constant and Description |
|---|
BW
The program is in Black & White
|
COLOR
The program is in color
|
COLOR_AND_BW
The program is in both color and Black & White
|
COLORIZED
The program has been colorized
|
NONE
No data provided; valid and acceptable
|
UNKNOWN
An unknown value was provided; provide the unknown value in a bug ticket for future inclusion
|
| Modifier and Type | Method and Description |
|---|---|
static Program.ColorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Program.ColorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Program.ColorCode NONE
public static final Program.ColorCode COLOR
public static final Program.ColorCode BW
public static final Program.ColorCode COLOR_AND_BW
public static final Program.ColorCode COLORIZED
public static final Program.ColorCode UNKNOWN
public static Program.ColorCode[] values()
for (Program.ColorCode c : Program.ColorCode.values()) System.out.println(c);
public static Program.ColorCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2012-2014 Battams, Derek. All Rights Reserved.