Module java.desktop
Package java.awt

Class 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
      static 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.
      static 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.
      static 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.
    • Field Detail

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

      • 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:
        Object.equals(java.lang.Object)
      • 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.