public final class JobImpressionsCompleted extends javax.print.attribute.IntegerSyntax implements javax.print.attribute.PrintJobAttribute
JobImpressionsCompleted printing attribute reports
the number of impressions already processed.
An impression is specified by the IPP specification as the image imposed onto a single media sheet. This attribute will not include a multiplication factor from the number of copies.
This attribute belongs to a group of job progress attributes which are reporting on the progress of a print job.
IPP Compatibility: JobImpressionsCompleted is an IPP 1.1 attribute.
| Constructor and Description |
|---|
JobImpressionsCompleted(int value)
Creates a
JobImpressionsCompleted object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Tests if the given object is equal to this object.
|
java.lang.Class<? extends javax.print.attribute.Attribute> |
getCategory()
Returns category of this class.
|
java.lang.String |
getName()
Returns the name of this attribute.
|
public JobImpressionsCompleted(int value)
JobImpressionsCompleted object.value - the number of completed impressionsjava.lang.IllegalArgumentException - if value < 0public boolean equals(java.lang.Object obj)
equals in class javax.print.attribute.IntegerSyntaxobj - the object to testtrue if both objects are equal,
false otherwise.Object.hashCode()public java.lang.Class<? extends javax.print.attribute.Attribute> getCategory()
getCategory in interface javax.print.attribute.AttributeJobImpressionsCompleted itself.public java.lang.String getName()
getName in interface javax.print.attribute.Attribute