javax.print.attribute.standard

Class PrintQuality

public class PrintQuality extends EnumSyntax implements DocAttribute, PrintJobAttribute, PrintRequestAttribute

The PrintQuality printing attribute specifies the print quality that should be used by the print services for a job.

IPP Compatibility: PrintQuality is an IPP 1.1 attribute.

Field Summary
static PrintQualityDRAFT
Draft quality of the printer.
static PrintQualityHIGH
High quality of the printer.
static PrintQualityNORMAL
Normal quality of the printer.
Constructor Summary
protected PrintQuality(int value)
Constructs a PrintQuality 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.
StringgetName()
Returns the name of this attribute.
protected intgetOffset()
Returns the lowest used value by the enumerations of this class.
protected String[]getStringTable()
Returns a table with the enumeration values represented as strings for this object.

Field Detail

DRAFT

public static final PrintQuality DRAFT
Draft quality of the printer.

HIGH

public static final PrintQuality HIGH
High quality of the printer.

NORMAL

public static final PrintQuality NORMAL
Normal quality of the printer.

Constructor Detail

PrintQuality

protected PrintQuality(int value)
Constructs a PrintQuality object.

Parameters: value the value of the enum

Method Detail

getCategory

public Class<? extends Attribute> getCategory()
Returns category of this class.

Returns: The class PrintQuality itself.

getEnumValueTable

protected EnumSyntax[] getEnumValueTable()
Returns a table with the enumeration values for this object.

Returns: The enumeration values.

getName

public final String getName()
Returns the name of this attribute.

Returns: The name "print-quality".

getOffset

protected int getOffset()
Returns the lowest used value by the enumerations of this class. .

Returns: The lowest value used.

getStringTable

protected String[] getStringTable()
Returns a table with the enumeration values represented as strings for this object.

Returns: The enumeration values as strings.