API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.print.attribute.standard. PageRanges View Source
Author(s)
David Mendenhall
Alan Kaminsky
Since
Version
Serial
Hierarchy
 Object
      SetOfIntegerSyntax
          PageRanges
Implements
 DocAttribute
 PrintRequestAttribute
 PrintJobAttribute
Subclasses
Description
publicfinal class PageRanges
  Class PageRanges is a printing attribute class, a set of integers, that identifies the range(s) of print-stream pages that the Printer object uses for each copy of each document which are to be printed.
See also:   
Constructors
public PageRanges (int member)
  Construct a new page ranges attribute containing a single integer.
public PageRanges (int[][] members)
  Construct a new page ranges attribute with the given members.
public PageRanges (int lowerBound, int upperBound)
  Construct a new page ranges attribute containing a single range of integers.
public PageRanges (String members)
  Construct a new page ranges attribute with the given members in string form.
Methods
Hide/Show inherited methods
public boolean contains (int x) [Inherited From SetOfIntegerSyntax]
  Determine if this set-of-integer attribute contains the given value.
public boolean contains (IntegerSyntax attribute) [Inherited From SetOfIntegerSyntax]
  Determine if this set-of-integer attribute contains the given integer attribute's value.
public boolean equals (Object object) [Overrides SetOfIntegerSyntax]
  Returns whether this page ranges attribute is equivalent to the passed in object.
publicfinal Class<Attribute> getCategory ()
  Get the printing attribute class which is to be used as the "category" for this printing attribute value.
public int getMembers () [Inherited From SetOfIntegerSyntax]
  Obtain this set-of-integer attribute's members in canonical array form.
publicfinal String getName ()
  Get the name of the category of which this attribute value is an instance.
public int hashCode () [Inherited From SetOfIntegerSyntax]
  Returns a hash code value for this set-of-integer attribute.
public int next (int x) [Inherited From SetOfIntegerSyntax]
  Determine the smallest integer in this set-of-integer attribute that is greater than the given value.
public String toString () [Inherited From SetOfIntegerSyntax]
  Returns a string value corresponding to this set-of-integer attribute.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar