< prev index next >

src/java.desktop/share/classes/javax/print/attribute/standard/JobMediaSheetsCompleted.java

Print this page

        

*** 43,53 **** * time the Print Job's attribute set is queried or at the time a print job * event is reported. When the job enters the COMPLETED, CANCELED, or ABORTED * states, the JobMediaSheetsCompleted value is the final value for the job. * <P> * <B>IPP Compatibility:</B> The integer value gives the IPP integer value. The ! * category name returned by <CODE>getName()</CODE> gives the IPP attribute * name. * * @see JobMediaSheets * @see JobMediaSheetsSupported * @see JobKOctetsProcessed --- 43,53 ---- * time the Print Job's attribute set is queried or at the time a print job * event is reported. When the job enters the COMPLETED, CANCELED, or ABORTED * states, the JobMediaSheetsCompleted value is the final value for the job. * <P> * <B>IPP Compatibility:</B> The integer value gives the IPP integer value. The ! * category name returned by {@code getName()} gives the IPP attribute * name. * * @see JobMediaSheets * @see JobMediaSheetsSupported * @see JobKOctetsProcessed
*** 66,76 **** * integer value. * * @param value Integer value. * * @exception IllegalArgumentException ! * (Unchecked exception) Thrown if <CODE>value</CODE> is less than 0. */ public JobMediaSheetsCompleted(int value) { super (value, 0, Integer.MAX_VALUE); } --- 66,76 ---- * integer value. * * @param value Integer value. * * @exception IllegalArgumentException ! * (Unchecked exception) Thrown if {@code value} is less than 0. */ public JobMediaSheetsCompleted(int value) { super (value, 0, Integer.MAX_VALUE); }
*** 78,98 **** * Returns whether this job media sheets completed attribute is equivalent * to the passed in object. To be equivalent, all of the following * conditions must be true: * <OL TYPE=1> * <LI> ! * <CODE>object</CODE> is not null. * <LI> ! * <CODE>object</CODE> is an instance of class JobMediaSheetsCompleted. * <LI> * This job media sheets completed attribute's value and ! * <CODE>object</CODE>'s value are equal. * </OL> * * @param object Object to compare to. * ! * @return True if <CODE>object</CODE> is equivalent to this job media * sheets completed attribute, false otherwise. */ public boolean equals(Object object) { return (super.equals (object) && object instanceof JobMediaSheetsCompleted); --- 78,98 ---- * Returns whether this job media sheets completed attribute is equivalent * to the passed in object. To be equivalent, all of the following * conditions must be true: * <OL TYPE=1> * <LI> ! * {@code object} is not null. * <LI> ! * {@code object} is an instance of class JobMediaSheetsCompleted. * <LI> * This job media sheets completed attribute's value and ! * {@code object}'s value are equal. * </OL> * * @param object Object to compare to. * ! * @return True if {@code object} is equivalent to this job media * sheets completed attribute, false otherwise. */ public boolean equals(Object object) { return (super.equals (object) && object instanceof JobMediaSheetsCompleted);
*** 115,125 **** /** * Get the name of the category of which this attribute value is an * instance. * <P> * For class JobMediaSheetsCompleted, the category name is ! * <CODE>"job-media-sheets-completed"</CODE>. * * @return Attribute category name. */ public final String getName() { return "job-media-sheets-completed"; --- 115,125 ---- /** * Get the name of the category of which this attribute value is an * instance. * <P> * For class JobMediaSheetsCompleted, the category name is ! * {@code "job-media-sheets-completed"}. * * @return Attribute category name. */ public final String getName() { return "job-media-sheets-completed";
< prev index next >