java.lang.Object
javax.print.attribute.IntegerSyntax
org.gjt.sp.jedit.print.PrintRangeType
- All Implemented Interfaces:
Serializable
,Cloneable
,Attribute
,PrintJobAttribute
,PrintRequestAttribute
public class PrintRangeType
extends IntegerSyntax
implements PrintRequestAttribute, PrintJobAttribute
Custom print request attribute to represent a page range type, i.e. all pages,
current page, range of pages, just a selection of lines, or only odd or even
pages.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic PrintRangeType
static PrintRangeType
static PrintRangeType
static PrintRangeType
static PrintRangeType
static PrintRangeType
-
Constructor Summary
-
Method Summary
Methods inherited from class javax.print.attribute.IntegerSyntax
getValue, hashCode
-
Field Details
-
ALL
-
ODD
-
EVEN
-
RANGE
-
CURRENT_PAGE
-
SELECTION
-
-
Constructor Details
-
PrintRangeType
public PrintRangeType(int value)
-
-
Method Details
-
equals
- Overrides:
equals
in classIntegerSyntax
-
getCategory
- Specified by:
getCategory
in interfaceAttribute
-
getName
-
toString
- Overrides:
toString
in classIntegerSyntax
-