public final class ColorSupported extends EnumSyntax implements PrintServiceAttribute
ColorSupported printing attribute specifies if a
printing device is capable of color printing.
This attributes just tells if a printer device supports color printing
but does not specify how a specific print job is printed. Therefore the
attribute Chromaticity exists.
IPP Compatibility: ColorSupported is an IPP 1.1 attribute. The IPP
specification treats ColorSupported as a boolean type which is not available
in the Java Print Service API. The IPP boolean value true corresponds
to SUPPORTED and "false" to NOT_SUPPORTED.
| Modifier and Type | Field and Description |
|---|---|
static ColorSupported |
NOT_SUPPORTED
The printer does not support printing in color.
|
static ColorSupported |
SUPPORTED
The printer supports printing in color.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ColorSupported(int value)
Constructs a
ColorSupported object. |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Attribute> |
getCategory()
Returns category of this class.
|
protected EnumSyntax[] |
getEnumValueTable()
Returns a table with the enumeration values for this object.
|
String |
getName()
Returns the name of this attribute.
|
protected String[] |
getStringTable()
Returns a table with the enumeration values represented as strings
for this object.
|
clone, getOffset, getValue, hashCode, readResolve, toStringpublic static final ColorSupported NOT_SUPPORTED
public static final ColorSupported SUPPORTED
protected ColorSupported(int value)
ColorSupported object.value - the enum valuepublic Class<? extends Attribute> getCategory()
getCategory in interface AttributeColorSupported itself.protected String[] getStringTable()
getStringTable in class EnumSyntaxprotected EnumSyntax[] getEnumValueTable()
getEnumValueTable in class EnumSyntax