Class 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
    • Constructor Detail

      • PrintRangeType

        public PrintRangeType​(int value)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class javax.print.attribute.IntegerSyntax
      • getCategory

        public final java.lang.Class<? extends javax.print.attribute.Attribute> getCategory()
        Specified by:
        getCategory in interface javax.print.attribute.Attribute
      • getName

        public final java.lang.String getName()
        Specified by:
        getName in interface javax.print.attribute.Attribute
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class javax.print.attribute.IntegerSyntax