Package org.gjt.sp.jedit.print
Class PrintRangeType
- java.lang.Object
-
- javax.print.attribute.IntegerSyntax
-
- org.gjt.sp.jedit.print.PrintRangeType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,javax.print.attribute.Attribute
,javax.print.attribute.PrintJobAttribute
,javax.print.attribute.PrintRequestAttribute
public class PrintRangeType extends javax.print.attribute.IntegerSyntax implements javax.print.attribute.PrintRequestAttribute, javax.print.attribute.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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static PrintRangeType
ALL
static PrintRangeType
CURRENT_PAGE
static PrintRangeType
EVEN
static PrintRangeType
ODD
static PrintRangeType
RANGE
static PrintRangeType
SELECTION
-
Constructor Summary
Constructors Constructor Description PrintRangeType(int value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
java.lang.Class<? extends javax.print.attribute.Attribute>
getCategory()
java.lang.String
getName()
java.lang.String
toString()
-
-
-
Field Detail
-
ALL
public static PrintRangeType ALL
-
ODD
public static PrintRangeType ODD
-
EVEN
public static PrintRangeType EVEN
-
RANGE
public static PrintRangeType RANGE
-
CURRENT_PAGE
public static PrintRangeType CURRENT_PAGE
-
SELECTION
public static PrintRangeType SELECTION
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in classjavax.print.attribute.IntegerSyntax
-
getCategory
public final java.lang.Class<? extends javax.print.attribute.Attribute> getCategory()
- Specified by:
getCategory
in interfacejavax.print.attribute.Attribute
-
getName
public final java.lang.String getName()
- Specified by:
getName
in interfacejavax.print.attribute.Attribute
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjavax.print.attribute.IntegerSyntax
-
-