Uses of Class java.awt.JobAttributes.SidesType (Java Platform SE 8 )
Date: 2026-03-16

## Uses of Class
java.awt.JobAttributes.SidesType

- Packages that use JobAttributes.SidesType
  Package | Description
  --- | ---
  java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.

- - ### Uses of JobAttributes.SidesType in java.awt

    Fields in java.awt declared as JobAttributes.SidesType
    Modifier and Type | Field and Description
    --- | ---
    `static JobAttributes.SidesType` | 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` | 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` | 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.

    Methods in java.awt that return JobAttributes.SidesType
    Modifier and Type | Method and Description
    --- | ---
    `JobAttributes.SidesType` | JobAttributes.`getSides()` Returns how consecutive pages should be imposed upon the sides of the print medium for jobs using these attributes.

    Methods in java.awt with parameters of type JobAttributes.SidesType
    Modifier and Type | Method and Description
    --- | ---
    `void` | JobAttributes.`setSides(JobAttributes.SidesType sides)` Specifies how consecutive pages should be imposed upon the sides of the print medium for jobs using these attributes.

    Constructors in java.awt with parameters of type JobAttributes.SidesType
    Constructor and Description
    `JobAttributes(int copies, JobAttributes.DefaultSelectionType defaultSelection, JobAttributes.DestinationType destination, JobAttributes.DialogType dialog, String fileName, int maxPage, int minPage, JobAttributes.MultipleDocumentHandlingType multipleDocumentHandling, int[][] pageRanges, String printer, JobAttributes.SidesType sides)` Constructs a `JobAttributes` instance with the specified values for every attribute.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.