javax.print.attribute.standard
Class PagesPerMinuteColor

java.lang.Object
  extended by javax.print.attribute.IntegerSyntax
      extended by javax.print.attribute.standard.PagesPerMinuteColor
All Implemented Interfaces:
Serializable, Cloneable, Attribute, PrintServiceAttribute

public final class PagesPerMinuteColor
extends IntegerSyntax
implements PrintServiceAttribute

The PagesPerMinuteColor printing attribute specifies the nominal number of pages per minute which may be printed in color by the printer.

IPP Compatibility: PagesPerMinuteColor is an IPP 1.1 attribute.

See Also:
Serialized Form

Constructor Summary
PagesPerMinuteColor(int value)
          Creates a PagesPerMinuteColor object.
 
Method Summary
 boolean equals(Object obj)
          Tests if the given object is equal to this object.
 Class<? extends Attribute> getCategory()
          Returns category of this class.
 String getName()
          Returns the name of this attribute.
 
Methods inherited from class javax.print.attribute.IntegerSyntax
getValue, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PagesPerMinuteColor

public PagesPerMinuteColor(int value)
Creates a PagesPerMinuteColor object.

Parameters:
value - the number of pages per minute in color
Throws:
IllegalArgumentException - if value < 0
Method Detail

equals

public boolean equals(Object obj)
Tests if the given object is equal to this object.

Overrides:
equals in class IntegerSyntax
Parameters:
obj - the object to test
Returns:
true if both objects are equal, false otherwise.
See Also:
Object.hashCode()

getCategory

public Class<? extends Attribute> getCategory()
Returns category of this class.

Specified by:
getCategory in interface Attribute
Returns:
The class PagesPerMinuteColor itself.

getName

public String getName()
Returns the name of this attribute.

Specified by:
getName in interface Attribute
Returns:
The name "pages-per-minute-color".