- 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.SidesTypeONE_SIDEDTheSidesTypeinstance to use for specifying that consecutive job pages should be printed upon the same side of consecutive media sheets.static JobAttributes.SidesTypeTWO_SIDED_LONG_EDGETheSidesTypeinstance 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.SidesTypeTWO_SIDED_SHORT_EDGETheSidesTypeinstance 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 inthashCode()Answers an integer hash code for the receiver.StringtoString()Answers a string containing a concise, human-readable description of the receiver.
-
-
-
Field Detail
-
ONE_SIDED
public static final JobAttributes.SidesType ONE_SIDED
TheSidesTypeinstance 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
TheSidesTypeinstance 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
TheSidesTypeinstance 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:ObjectAnswers an integer hash code for the receiver. Any two objects which answertruewhen passed to.equalsmust answer the same value for this method.- Overrides:
hashCodein classObject- Returns:
- the receiver's hash.
- See Also:
Object.equals(java.lang.Object)
-
-