API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.print.attribute. ResolutionSyntax View Source
Author(s)
David Mendenhall
Alan Kaminsky
Since
Version
Serial
Hierarchy
 Object
      ResolutionSyntax
Implements
 Serializable
 Cloneable
Subclasses
Description
publicabstract abstract class ResolutionSyntax
  Class ResolutionSyntax is an abstract base class providing the common implementation of all attributes denoting a printer resolution.
See also:   
Constructors
public ResolutionSyntax (int crossFeedResolution, int feedResolution, int units)
  Construct a new resolution attribute from the given items.
Methods
Hide/Show inherited methods
public boolean equals (Object object)
  Returns whether this resolution attribute is equivalent to the passed in object.
public int getCrossFeedResolution (int units)
  Returns this resolution attribute's cross feed direction resolution in the given units.
protected int getCrossFeedResolutionDphi ()
  Returns this resolution attribute's cross feed direction resolution in units of dphi.
public int getFeedResolution (int units)
  Returns this resolution attribute's feed direction resolution in the given units.
protected int getFeedResolutionDphi ()
  Returns this resolution attribute's feed direction resolution in units of dphi.
public int getResolution (int units)
  Get this resolution attribute's resolution values in the given units.
public int hashCode ()
Returns a hash code value for this resolution attribute.
public boolean lessThanOrEquals (ResolutionSyntax other)
  Determine whether this resolution attribute's value is less than or equal to the given resolution attribute's value.
public String toString ()
  Returns a string version of this resolution attribute.
public String toString (int units, String unitsName)
  Returns a string version of this resolution attribute in the given units.
Fields
Hide/Show inherited fields
publicfinalstatic int DPCM = "254"
  Value to indicate units of dots per centimeter (dpcm).
publicfinalstatic int DPI = "100"
  Value to indicate units of dots per inch (dpi).
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar