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.PrintJobAttributeCustom 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 PrintRangeTypeALLstatic PrintRangeTypeCURRENT_PAGEstatic PrintRangeTypeEVENstatic PrintRangeTypeODDstatic PrintRangeTypeRANGEstatic PrintRangeTypeSELECTION
-
Constructor Summary
Constructors Constructor Description PrintRangeType(int value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)java.lang.Class<? extends javax.print.attribute.Attribute>getCategory()java.lang.StringgetName()java.lang.StringtoString()
-
-
-
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:
equalsin classjavax.print.attribute.IntegerSyntax
-
getCategory
public final java.lang.Class<? extends javax.print.attribute.Attribute> getCategory()
- Specified by:
getCategoryin interfacejavax.print.attribute.Attribute
-
getName
public final java.lang.String getName()
- Specified by:
getNamein interfacejavax.print.attribute.Attribute
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjavax.print.attribute.IntegerSyntax
-
-