< prev index next >
src/java.desktop/share/classes/javax/print/attribute/standard/ColorSupported.java
Print this page
*** 47,58 ****
* attribute that tells whether the printer can print in color regardless of how
* the client specifies to print any particular document.
* <P>
* <B>IPP Compatibility:</B> The IPP boolean value is "true" for SUPPORTED and
* "false" for NOT_SUPPORTED. The category name returned by
! * <CODE>getName()</CODE> is the IPP attribute name. The enumeration's
! * integer value is the IPP enum value. The <code>toString()</code> method
* returns the IPP string representation of the attribute value.
*
* @author Alan Kaminsky
*/
public final class ColorSupported extends EnumSyntax
--- 47,58 ----
* attribute that tells whether the printer can print in color regardless of how
* the client specifies to print any particular document.
* <P>
* <B>IPP Compatibility:</B> The IPP boolean value is "true" for SUPPORTED and
* "false" for NOT_SUPPORTED. The category name returned by
! * {@code getName()} is the IPP attribute name. The enumeration's
! * integer value is the IPP enum value. The {@code toString()} method
* returns the IPP string representation of the attribute value.
*
* @author Alan Kaminsky
*/
public final class ColorSupported extends EnumSyntax
*** 116,126 ****
/**
* Get the name of the category of which this attribute value is an
* instance.
* <P>
! * For class ColorSupported, the category name is <CODE>"color-supported"</CODE>.
*
* @return Attribute category name.
*/
public final String getName() {
return "color-supported";
--- 116,126 ----
/**
* Get the name of the category of which this attribute value is an
* instance.
* <P>
! * For class ColorSupported, the category name is {@code "color-supported"}.
*
* @return Attribute category name.
*/
public final String getName() {
return "color-supported";
< prev index next >