- 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 static JobAttributes.SidesType
ONE_SIDED
TheSidesType
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
TheSidesType
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
TheSidesType
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
hashCode()
Answers an integer hash code for the receiver.String
toString()
Answers a string containing a concise, human-readable description of the receiver.
-
-
-
Field Detail
-
ONE_SIDED
public static final JobAttributes.SidesType ONE_SIDED
TheSidesType
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
TheSidesType
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
TheSidesType
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 answertrue
when passed to.equals
must answer the same value for this method.- Overrides:
hashCode
in classObject
- Returns:
- the receiver's hash.
- See Also:
Object.equals(java.lang.Object)
-
-