diff options
Diffstat (limited to 'libjava/classpath/javax/print/attribute/standard/QueuedJobCount.java')
-rw-r--r-- | libjava/classpath/javax/print/attribute/standard/QueuedJobCount.java | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/libjava/classpath/javax/print/attribute/standard/QueuedJobCount.java b/libjava/classpath/javax/print/attribute/standard/QueuedJobCount.java index 7ee0f7c3598..8ff46a95459 100644 --- a/libjava/classpath/javax/print/attribute/standard/QueuedJobCount.java +++ b/libjava/classpath/javax/print/attribute/standard/QueuedJobCount.java @@ -1,5 +1,5 @@ /* QueuedJobCount.java -- - Copyright (C) 2003 Free Software Foundation, Inc. + Copyright (C) 2003, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -41,6 +41,15 @@ import javax.print.attribute.IntegerSyntax; import javax.print.attribute.PrintServiceAttribute; /** + * The <code>QueuedJobCount</code> printing attribute reports + * the number of jobs currently in the queue. These are jobs + * that are in 'pending', 'processing', 'pending-held' or + * 'processing-stopped' state. + * <p> + * <b>IPP Compatibility:</b> QueuedJobCount is an IPP 1.1 attribute. + * </p> + * @see javax.print.attribute.standard.JobState + * * @author Michael Koch */ public final class QueuedJobCount extends IntegerSyntax @@ -53,7 +62,7 @@ public final class QueuedJobCount extends IntegerSyntax * * @param value the number of queued jobs * - * @exception IllegalArgumentException if value < 0 + * @exception IllegalArgumentException if value < 0 */ public QueuedJobCount(int value) { @@ -64,11 +73,12 @@ public final class QueuedJobCount extends IntegerSyntax } /** - * Tests of obj is equal to this object. + * Tests if the given object is equal to this object. * * @param obj the object to test * - * @return true if both objects are equal, false otherwise. + * @return <code>true</code> if both objects are equal, + * <code>false</code> otherwise. */ public boolean equals(Object obj) { @@ -81,7 +91,7 @@ public final class QueuedJobCount extends IntegerSyntax /** * Returns category of this class. * - * @return the class <code>QueuedJobCount</code> itself + * @return The class <code>QueuedJobCount</code> itself. */ public Class getCategory() { @@ -89,9 +99,9 @@ public final class QueuedJobCount extends IntegerSyntax } /** - * Returns name of this class. + * Returns the name of this attribute. * - * @return the string "queued-job-count" + * @return The name "queued-job-count". */ public String getName() { |