Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.javax.print.ipp.attribute.supported
Class PrintQualitySupported  view PrintQualitySupported download PrintQualitySupported.java

java.lang.Object
  extended byjavax.print.attribute.EnumSyntax
      extended bygnu.javax.print.ipp.attribute.supported.PrintQualitySupported
All Implemented Interfaces:
javax.print.attribute.Attribute, java.lang.Cloneable, java.io.Serializable, javax.print.attribute.SupportedValuesAttribute

public final class PrintQualitySupported
extends javax.print.attribute.EnumSyntax
implements javax.print.attribute.SupportedValuesAttribute

PrintQualitySupported provides the supported values for the print-quality attribute.


Field Summary
static PrintQualitySupported DRAFT
          Draft quality of the printer.
private static PrintQualitySupported[] enumValueTable
           
static PrintQualitySupported HIGH
          High quality of the printer.
static PrintQualitySupported NORMAL
          Normal quality of the printer.
private static java.lang.String[] stringTable
           
 
Fields inherited from class javax.print.attribute.EnumSyntax
 
Constructor Summary
protected PrintQualitySupported(int value)
          Constructs a PrintQualitySupported object.
 
Method Summary
 javax.print.attribute.standard.PrintQuality getAssociatedAttribute()
          Returns the equally enum of the standard attribute class of this SupportedValuesAttribute enum.
static javax.print.attribute.standard.PrintQuality[] getAssociatedAttributeArray(java.util.Set set)
          Constructs an array from a set of -supported attributes.
 java.lang.Class getCategory()
          Returns category of this class.
protected  javax.print.attribute.EnumSyntax[] getEnumValueTable()
          Returns a table with the enumeration values for this object.
 java.lang.String getName()
          Returns the name of this attribute.
protected  int getOffset()
          Returns the lowest used value by the enumerations of this class.
protected  java.lang.String[] getStringTable()
          Returns a table with the enumeration values represented as strings for this object.
 
Methods inherited from class javax.print.attribute.EnumSyntax
clone, getValue, hashCode, readResolve, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DRAFT

public static final PrintQualitySupported DRAFT
Draft quality of the printer.


NORMAL

public static final PrintQualitySupported NORMAL
Normal quality of the printer.


HIGH

public static final PrintQualitySupported HIGH
High quality of the printer.


stringTable

private static final java.lang.String[] stringTable

enumValueTable

private static final PrintQualitySupported[] enumValueTable
Constructor Detail

PrintQualitySupported

protected PrintQualitySupported(int value)
Constructs a PrintQualitySupported object.

Method Detail

getCategory

public java.lang.Class getCategory()
Returns category of this class.

Specified by:
getCategory in interface javax.print.attribute.Attribute

getName

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

Specified by:
getName in interface javax.print.attribute.Attribute

getStringTable

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


getEnumValueTable

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


getOffset

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


getAssociatedAttribute

public javax.print.attribute.standard.PrintQuality getAssociatedAttribute()
Returns the equally enum of the standard attribute class of this SupportedValuesAttribute enum.


getAssociatedAttributeArray

public static javax.print.attribute.standard.PrintQuality[] getAssociatedAttributeArray(java.util.Set set)
Constructs an array from a set of -supported attributes.