|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.print.attribute.ResolutionSyntax
javax.print.attribute.standard.PrinterResolution
public final class PrinterResolution
The PrinterResolution
printing attribute specifies a
resolution supported by a print service or to be used by a print job.
IPP Compatibility: PrinterResolution is an IPP 1.1 attribute.
Field Summary |
---|
Fields inherited from class javax.print.attribute.ResolutionSyntax |
---|
DPCM, DPI |
Constructor Summary | |
---|---|
PrinterResolution(int crossFeedResolution,
int feedResolution,
int units)
Creates a PrinterResolution object with the given cross
feed and feed resolutions. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Tests if the given object is equal to this object. |
Class<? extends Attribute> |
getCategory()
Returns category of this class. |
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 |
---|
public PrinterResolution(int crossFeedResolution, int feedResolution, int units)
PrinterResolution
object with the given cross
feed and feed resolutions.
crossFeedResolution
- the cross feed resolutionfeedResolution
- the feed resolutionunits
- the unit to use (e.g. ResolutionSyntax.DPCM
or ResolutionSyntax.DPI
)
IllegalArgumentException
- if either parameter is < 1Method Detail |
---|
public boolean equals(Object obj)
equals
in class ResolutionSyntax
obj
- the object to test
true
if both objects are equal,
false
otherwise.Object.hashCode()
public Class<? extends Attribute> getCategory()
getCategory
in interface Attribute
PrinterResolution
itself.public String getName()
getName
in interface Attribute
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |