API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.print.attribute.standard. PrinterResolution View Source
Author(s)
David Mendenhall
Alan Kaminsky
Since
Version
Serial
Hierarchy
 Object
      ResolutionSyntax
          PrinterResolution
Implements
 DocAttribute
 PrintRequestAttribute
 PrintJobAttribute
Subclasses
Description
publicfinal class PrinterResolution
  Class PrinterResolution is a printing attribute class that specifies an exact resolution supported by a printer or to be used for a print job.
See also:   
Constructors
public PrinterResolution (int crossFeedResolution, int feedResolution, int units)
  Construct a new printer resolution attribute from the given items.
Methods
Hide/Show inherited methods
public boolean equals (Object object) [Overrides ResolutionSyntax]
  Returns whether this printer resolution attribute is equivalent to the passed in object.
publicfinal Class<Attribute> getCategory ()
  Get the printing attribute class which is to be used as the "category" for this printing attribute value.
public int getCrossFeedResolution (int units) [Inherited From ResolutionSyntax]
  Returns this resolution attribute's cross feed direction resolution in the given units.
protected int getCrossFeedResolutionDphi () [Inherited From ResolutionSyntax]
  Returns this resolution attribute's cross feed direction resolution in units of dphi.
public int getFeedResolution (int units) [Inherited From ResolutionSyntax]
  Returns this resolution attribute's feed direction resolution in the given units.
protected int getFeedResolutionDphi () [Inherited From ResolutionSyntax]
  Returns this resolution attribute's feed direction resolution in units of dphi.
publicfinal String getName ()
  Get the name of the category of which this attribute value is an instance.
public int getResolution (int units) [Inherited From ResolutionSyntax]
  Get this resolution attribute's resolution values in the given units.
public int hashCode () [Inherited From ResolutionSyntax]
Returns a hash code value for this resolution attribute.
public boolean lessThanOrEquals (ResolutionSyntax other) [Inherited From ResolutionSyntax]
  Determine whether this resolution attribute's value is less than or equal to the given resolution attribute's value.
public String toString () [Inherited From ResolutionSyntax]
  Returns a string version of this resolution attribute.
public String toString (int units, String unitsName) [Inherited From ResolutionSyntax]
  Returns a string version of this resolution attribute in the given units.
Fields
Hide/Show inherited fields
publicfinalstatic int DPCM = "254" [Inherited From ResolutionSyntax]
  Value to indicate units of dots per centimeter (dpcm).
publicfinalstatic int DPI = "100" [Inherited From ResolutionSyntax]
  Value to indicate units of dots per inch (dpi).
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar