javax.print.attribute.standard

Class PagesPerMinuteColor

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.

Constructor Summary
PagesPerMinuteColor(int value)
Creates a PagesPerMinuteColor object.
Method Summary
booleanequals(Object obj)
Tests if the given object is equal to this object.
Class<? extends Attribute>getCategory()
Returns category of this class.
StringgetName()
Returns the name of this attribute.

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.

Parameters: obj the object to test

Returns: true if both objects are equal, false otherwise.

getCategory

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

Returns: The class PagesPerMinuteColor itself.

getName

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

Returns: The name "pages-per-minute-color".