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 PrinterResolutionSupported  view PrinterResolutionSupported download PrinterResolutionSupported.java

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

public final class PrinterResolutionSupported
extends javax.print.attribute.ResolutionSyntax
implements javax.print.attribute.SupportedValuesAttribute

The PrinterResolutionSupported attribute provides the supported values for the job attribute printer-resolution.


Field Summary
 
Fields inherited from class javax.print.attribute.ResolutionSyntax
DPCM, DPI
 
Constructor Summary
PrinterResolutionSupported(int crossFeedResolution, int feedResolution, int units)
          Creates a PrinterResolutionSupported object with the given arguments.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Tests if the given object is equal to this object.
 javax.print.attribute.standard.PrinterResolution getAssociatedAttribute()
          Returns the equally enum of the standard attribute class of this SupportedValuesAttribute enum.
static javax.print.attribute.standard.PrinterResolution[] getAssociatedAttributeArray(java.util.Set set)
          Constructs an array from a set of -supported attributes.
 java.lang.Class getCategory()
          Returns category of this class.
 java.lang.String getName()
          Returns the name of this attribute.
 
Methods inherited from class javax.print.attribute.ResolutionSyntax
getCrossFeedResolution, getCrossFeedResolutionDphi, getFeedResolution, getFeedResolutionDphi, getResolution, hashCode, lessThanOrEquals, toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrinterResolutionSupported

public PrinterResolutionSupported(int crossFeedResolution,
                                  int feedResolution,
                                  int units)
Creates a PrinterResolutionSupported object with the given arguments.

Method Detail

equals

public boolean equals(java.lang.Object obj)
Tests if the given object is equal to this object.


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

getAssociatedAttribute

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


getAssociatedAttributeArray

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