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

Quick Search    Search Deep

gnu.javax.print.ipp.attribute.defaults
Class PrinterResolutionDefault  view PrinterResolutionDefault download PrinterResolutionDefault.java

java.lang.Object
  extended byjavax.print.attribute.ResolutionSyntax
      extended bygnu.javax.print.ipp.attribute.defaults.PrinterResolutionDefault
All Implemented Interfaces:
javax.print.attribute.Attribute, java.lang.Cloneable, gnu.javax.print.ipp.attribute.DefaultValueAttribute, java.io.Serializable

public final class PrinterResolutionDefault
extends javax.print.attribute.ResolutionSyntax
implements gnu.javax.print.ipp.attribute.DefaultValueAttribute

The PrinterResolutionDefault attribute provides the default value for the job attribute printer-resolution.


Field Summary
 
Fields inherited from class javax.print.attribute.ResolutionSyntax
DPCM, DPI
 
Constructor Summary
PrinterResolutionDefault(int crossFeedResolution, int feedResolution, int units)
          Creates a ResolutionSyntax 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.Attribute getAssociatedAttribute()
          Returns the equally enum of the standard attribute class of this DefaultValuesAttribute enum.
 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

PrinterResolutionDefault

public PrinterResolutionDefault(int crossFeedResolution,
                                int feedResolution,
                                int units)
Creates a ResolutionSyntax 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.Attribute getAssociatedAttribute()
Returns the equally enum of the standard attribute class of this DefaultValuesAttribute enum.

Specified by:
getAssociatedAttribute in interface gnu.javax.print.ipp.attribute.DefaultValueAttribute