|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.print.attribute.EnumSyntax
javax.print.attribute.standard.ColorSupported
public final class ColorSupported
The 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
.
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. |
Methods inherited from class javax.print.attribute.EnumSyntax |
---|
clone, getOffset, getValue, hashCode, readResolve, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ColorSupported NOT_SUPPORTED
public static final ColorSupported SUPPORTED
Constructor Detail |
---|
protected ColorSupported(int value)
ColorSupported
object.
value
- the enum valueMethod Detail |
---|
public Class<? extends Attribute> getCategory()
getCategory
in interface Attribute
ColorSupported
itself.public String getName()
getName
in interface Attribute
protected String[] getStringTable()
getStringTable
in class EnumSyntax
protected EnumSyntax[] getEnumValueTable()
getEnumValueTable
in class EnumSyntax
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |