Uses of Class
java.awt.PageAttributes.ColorType
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
-
Uses of PageAttributes.ColorType in java.awt
Modifier and TypeFieldDescriptionstatic final PageAttributes.ColorType
PageAttributes.ColorType.COLOR
The ColorType instance to use for specifying color printing.static final PageAttributes.ColorType
PageAttributes.ColorType.MONOCHROME
The ColorType instance to use for specifying monochrome printing.Modifier and TypeMethodDescriptionPageAttributes.getColor()
Returns whether pages using these attributes will be rendered in color or monochrome.Modifier and TypeMethodDescriptionvoid
PageAttributes.setColor
(PageAttributes.ColorType color) Specifies whether pages using these attributes will be rendered in color or monochrome.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.