FileDocCategorySizeDatePackage
PrintQuality.javaAPI DocJava SE 5 API3269Fri Aug 26 14:57:44 BST 2005javax.print.attribute.standard

PrintQuality

public class PrintQuality extends EnumSyntax implements PrintJobAttribute, PrintRequestAttribute, DocAttribute
Class PrintQuality is a printing attribute class, an enumeration, that specifies the print quality that the printer uses for the job.

IPP Compatibility: The category name returned by getName() is the IPP attribute name. The enumeration's integer value is the IPP enum value. The toString() method returns the IPP string representation of the attribute value.

author
David Mendenhall
author
Alan Kaminsky

Fields Summary
private static final long
serialVersionUID
public static final PrintQuality
DRAFT
Lowest quality available on the printer.
public static final PrintQuality
NORMAL
Normal or intermediate quality on the printer.
public static final PrintQuality
HIGH
Highest quality available on the printer.
private static final String[]
myStringTable
private static final PrintQuality[]
myEnumValueTable
Constructors Summary
protected PrintQuality(int value)
Construct a new print quality enumeration value with the given integer value.

param
value Integer value.


                             
       
	super (value);
    
Methods Summary
public final java.lang.ClassgetCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value.

For class PrintQuality and any vendor-defined subclasses, the category is class PrintQuality itself.

return
Printing attribute class (category), an instance of class {@link java.lang.Class java.lang.Class}.

	return PrintQuality.class;
    
protected javax.print.attribute.EnumSyntax[]getEnumValueTable()
Returns the enumeration value table for class PrintQuality.

	return (EnumSyntax[])myEnumValueTable.clone();
    
public final java.lang.StringgetName()
Get the name of the category of which this attribute value is an instance.

For class PrintQuality and any vendor-defined subclasses, the category name is "print-quality".

return
Attribute category name.

	return "print-quality";
    
protected intgetOffset()
Returns the lowest integer value used by class PrintQuality.

	return 3;
    
protected java.lang.String[]getStringTable()
Returns the string table for class PrintQuality.


                
       
	return (String[])myStringTable.clone();