public final class

SunMinMaxPage

extends Object
implements PrintRequestAttribute
java.lang.Object
   ↳ sun.print.SunMinMaxPage

Summary

Public Constructors
SunMinMaxPage(int min, int max)
Public Methods
final Class getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value when it is added to an attribute set.
final int getMax()
final int getMin()
final String getName()
Get the name of the category of which this attribute value is an instance.
[Expand]
Inherited Methods
From class java.lang.Object
From interface javax.print.attribute.Attribute

Public Constructors

public SunMinMaxPage (int min, int max)

Public Methods

public final Class getCategory ()

Get the printing attribute class which is to be used as the "category" for this printing attribute value when it is added to an attribute set.

Returns
  • Printing attribute class (category), an instance of class java.lang.Class.

public final int getMax ()

public final int getMin ()

public final String getName ()

Get the name of the category of which this attribute value is an instance.

Note: This method is intended to provide a default, nonlocalized string for the attribute's category. If two attribute objects return the same category from the getCategory() method, they should return the same name from the getName() method.

Returns
  • Attribute category name.