Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
Modifier and Type | Field and Description |
---|---|
static PageAttributes.OrientationRequestedType |
PageAttributes.OrientationRequestedType.LANDSCAPE
The OrientationRequestedType instance to use for specifying a
landscape orientation.
|
static PageAttributes.OrientationRequestedType |
PageAttributes.OrientationRequestedType.PORTRAIT
The OrientationRequestedType instance to use for specifying a
portrait orientation.
|
Modifier and Type | Method and Description |
---|---|
PageAttributes.OrientationRequestedType |
PageAttributes.getOrientationRequested()
Returns the print orientation for pages using these attributes.
|
Modifier and Type | Method and Description |
---|---|
void |
PageAttributes.setOrientationRequested(PageAttributes.OrientationRequestedType orientationRequested)
Specifies the print orientation for pages using these attributes.
|
Constructor and Description |
---|
PageAttributes(PageAttributes.ColorType color,
PageAttributes.MediaType media,
PageAttributes.OrientationRequestedType orientationRequested,
PageAttributes.OriginType origin,
PageAttributes.PrintQualityType printQuality,
int[] printerResolution)
Constructs a PageAttributes 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, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.