Uses of Class
java.awt.PageAttributes.OrientationRequestedType
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
-
Uses of PageAttributes.OrientationRequestedType in java.awt
Modifier and TypeFieldDescriptionstatic final PageAttributes.OrientationRequestedType
PageAttributes.OrientationRequestedType.LANDSCAPE
The OrientationRequestedType instance to use for specifying a landscape orientation.static final PageAttributes.OrientationRequestedType
PageAttributes.OrientationRequestedType.PORTRAIT
The OrientationRequestedType instance to use for specifying a portrait orientation.Modifier and TypeMethodDescriptionPageAttributes.getOrientationRequested()
Returns the print orientation for pages using these attributes.Modifier and TypeMethodDescriptionvoid
PageAttributes.setOrientationRequested
(PageAttributes.OrientationRequestedType orientationRequested) Specifies the print orientation for pages using these attributes.ModifierConstructorDescriptionPageAttributes
(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.