APIdia Launch Partner
Top Fields Constructors Methods
sun.print

public final Class SunMinMaxPage

extends Object
implements PrintRequestAttribute
Class Inheritance
All Implemented Interfaces
javax.print.attribute.PrintRequestAttribute, javax.print.attribute.Attribute, java.io.Serializable
Annotations
@SuppressWarnings:serial
Imports
javax.print.attribute.PrintRequestAttribute, .PrintRequestAttribute

Field Summary

Modifier and TypeField and Description
private int
private int

Constructor Summary

AccessConstructor and Description
public
SunMinMaxPage(int min, int max)

Method Summary

Modifier and TypeMethod and Description
public Class<? extends PrintRequestAttribute>
getCategory()

Implements javax.print.attribute.Attribute.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.

public int
public int
public String
getName()

Implements javax.print.attribute.Attribute.getName.

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

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

page_maxback to summary
private int page_max
page_minback to summary
private int page_min

Constructor Detail

SunMinMaxPageback to summary
public SunMinMaxPage(int min, int max)

Method Detail

getCategoryback to summary
public Class<? extends PrintRequestAttribute> getCategory()

Implements javax.print.attribute.Attribute.getCategory.

Doc from javax.print.attribute.Attribute.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.

getMaxback to summary
public int getMax()
getMinback to summary
public int getMin()
getNameback to summary
public String getName()

Implements javax.print.attribute.Attribute.getName.

Doc from javax.print.attribute.Attribute.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.