Home » openjdk-7 » javax » print » attribute » standard » [javadoc | source]
javax.print.attribute.standard
public class: PrintQuality [javadoc | source]
java.lang.Object
   javax.print.attribute.EnumSyntax
      javax.print.attribute.standard.PrintQuality

All Implemented Interfaces:
    PrintJobAttribute, PrintRequestAttribute, DocAttribute, Cloneable, Serializable

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.

Field Summary
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. 
Constructor:
 protected PrintQuality(int value) 
Method from javax.print.attribute.standard.PrintQuality Summary:
getCategory,   getEnumValueTable,   getName,   getOffset,   getStringTable
Methods from javax.print.attribute.EnumSyntax:
clone,   getEnumValueTable,   getOffset,   getStringTable,   getValue,   hashCode,   readResolve,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.print.attribute.standard.PrintQuality Detail:
 public final Class<Attribute> getCategory() 
    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.

 protected EnumSyntax[] getEnumValueTable() 
    Returns the enumeration value table for class PrintQuality.
 public final String getName() 
    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".

 protected int getOffset() 
    Returns the lowest integer value used by class PrintQuality.
 protected String[] getStringTable() 
    Returns the string table for class PrintQuality.