Module java.desktop
Package java.awt

Class JobAttributes.SidesType

java.lang.Object
java.awt.JobAttributes.SidesType
Enclosing class:
JobAttributes

public static final class JobAttributes.SidesType extends Object
A type-safe enumeration of possible multi-page impositions. These impositions are in compliance with IPP 1.1.
Since:
1.3
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The SidesType instance to use for specifying that consecutive job pages should be printed upon the same side of consecutive media sheets.
    The SidesType instance to use for specifying that consecutive job pages should be printed upon front and back sides of consecutive media sheets, such that the orientation of each pair of pages on the medium would be correct for the reader as if for binding on the long edge.
    The SidesType instance to use for specifying that consecutive job pages should be printed upon front and back sides of consecutive media sheets, such that the orientation of each pair of pages on the medium would be correct for the reader as if for binding on the short edge.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Answers an integer hash code for the receiver.
    Answers a string containing a concise, human-readable description of the receiver.

    Methods declared in class java.lang.Object

    clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • ONE_SIDED

      public static final JobAttributes.SidesType ONE_SIDED
      The SidesType instance to use for specifying that consecutive job pages should be printed upon the same side of consecutive media sheets.
    • TWO_SIDED_LONG_EDGE

      public static final JobAttributes.SidesType TWO_SIDED_LONG_EDGE
      The SidesType instance to use for specifying that consecutive job pages should be printed upon front and back sides of consecutive media sheets, such that the orientation of each pair of pages on the medium would be correct for the reader as if for binding on the long edge.
    • TWO_SIDED_SHORT_EDGE

      public static final JobAttributes.SidesType TWO_SIDED_SHORT_EDGE
      The SidesType instance to use for specifying that consecutive job pages should be printed upon front and back sides of consecutive media sheets, such that the orientation of each pair of pages on the medium would be correct for the reader as if for binding on the short edge.
  • Method Details

    • hashCode

      public int hashCode()
      Description copied from class: Object
      Answers an integer hash code for the receiver. Any two objects which answer true when passed to .equals must answer the same value for this method.
      Overrides:
      hashCode in class Object
      Returns:
      the receiver's hash.
      See Also:
    • toString

      public String toString()
      Description copied from class: Object
      Answers a string containing a concise, human-readable description of the receiver.
      Overrides:
      toString in class Object
      Returns:
      String a printable representation for the receiver.