diff options
Diffstat (limited to 'libjava/classpath/javax/print/attribute/standard/PagesPerMinute.java')
-rw-r--r-- | libjava/classpath/javax/print/attribute/standard/PagesPerMinute.java | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/libjava/classpath/javax/print/attribute/standard/PagesPerMinute.java b/libjava/classpath/javax/print/attribute/standard/PagesPerMinute.java index db2658a7fdb..c06fb9746af 100644 --- a/libjava/classpath/javax/print/attribute/standard/PagesPerMinute.java +++ b/libjava/classpath/javax/print/attribute/standard/PagesPerMinute.java @@ -1,5 +1,5 @@ /* PagesPerMinute.java -- - Copyright (C) 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -42,6 +42,13 @@ import javax.print.attribute.IntegerSyntax; import javax.print.attribute.PrintServiceAttribute; /** + * The <code>PagesPerMinute</code> printing attribute specifies + * the nominal number of pages per minute which may be printed + * by the printer. + * <p> + * <b>IPP Compatibility:</b> PagesPerMinute is an IPP 1.1 attribute. + * </p> + * * @author Michael Koch (konqueror@gmx.de) */ public final class PagesPerMinute extends IntegerSyntax @@ -54,7 +61,7 @@ public final class PagesPerMinute extends IntegerSyntax * * @param value the number of pages per minute * - * @exception IllegalArgumentException if value < 0 + * @exception IllegalArgumentException if value < 0 */ public PagesPerMinute(int value) { @@ -65,11 +72,12 @@ public final class PagesPerMinute 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) { @@ -82,7 +90,7 @@ public final class PagesPerMinute extends IntegerSyntax /** * Returns category of this class. * - * @return the class <code>PagesPerMinute</code> itself + * @return The class <code>PagesPerMinute</code> itself. */ public Class getCategory() { @@ -90,9 +98,9 @@ public final class PagesPerMinute extends IntegerSyntax } /** - * Returns name of this class. + * Returns the name of this attribute. * - * @return the string "pages-per-minute" + * @return The name "pages-per-minute". */ public String getName() { |