javax.print.attribute.standard
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 {@link javax.print.attribute.standard.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
.
Field Summary | |
---|---|
static ColorSupported | NOT_SUPPORTED The printer does not support printing in color. |
static ColorSupported | SUPPORTED The printer supports printing in color. |
Constructor Summary | |
---|---|
protected | ColorSupported(int value)
Constructs a ColorSupported object.
|
Method Summary | |
---|---|
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.
|
ColorSupported
object.
Parameters: value the enum value
Returns: The class ColorSupported
itself.
Returns: The enumeration values.
Returns: The name "color-supported".
Returns: The enumeration values as strings.