public enum PrintColorMode extends java.lang.Enum<PrintColorMode>
Enum Constant and Description |
---|
AUTO
auto
|
BLACK_AND_WHITE
black And White
|
COLOR
color
|
GRAYSCALE
grayscale
|
UNEXPECTED_VALUE
For PrintColorMode values that were not expected from the service
|
UNKNOWN_FUTURE_VALUE
unknown Future Value
|
Modifier and Type | Method and Description |
---|---|
static PrintColorMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrintColorMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrintColorMode BLACK_AND_WHITE
public static final PrintColorMode GRAYSCALE
public static final PrintColorMode COLOR
public static final PrintColorMode AUTO
public static final PrintColorMode UNKNOWN_FUTURE_VALUE
public static final PrintColorMode UNEXPECTED_VALUE
public static PrintColorMode[] values()
for (PrintColorMode c : PrintColorMode.values()) System.out.println(c);
public static PrintColorMode 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