public final class JobMediaSheetsCompleted extends javax.print.attribute.IntegerSyntax implements javax.print.attribute.PrintJobAttribute
JobMediaSheetsCompleted printing attribute reports
the number of media sheets already processed.
This attribute belongs to a group of job progress attributes which are reporting on the progress of a print job.
IPP Compatibility: JobMediaSheetsCompleted is an IPP 1.1 attribute.
| Constructor and Description |
|---|
JobMediaSheetsCompleted(int value)
Creates a
JobMediaSheetsCompleted 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 JobMediaSheetsCompleted(int value)
JobMediaSheetsCompleted object.value - the number of completed media sheetsjava.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.AttributeJobMediaSheetsCompleted itself.public java.lang.String getName()
getName in interface javax.print.attribute.Attribute