Uses of Class
java.awt.JobAttributes.DefaultSelectionType
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
-
Uses of JobAttributes.DefaultSelectionType in java.awt
Modifier and TypeFieldDescriptionstatic final JobAttributes.DefaultSelectionType
JobAttributes.DefaultSelectionType.ALL
TheDefaultSelectionType
instance to use for specifying that all pages of the job should be printed.static final JobAttributes.DefaultSelectionType
JobAttributes.DefaultSelectionType.RANGE
TheDefaultSelectionType
instance to use for specifying that a range of pages of the job should be printed.static final JobAttributes.DefaultSelectionType
JobAttributes.DefaultSelectionType.SELECTION
TheDefaultSelectionType
instance to use for specifying that the current selection should be printed.Modifier and TypeMethodDescriptionJobAttributes.getDefaultSelection()
Specifies whether, for jobs using these attributes, the application should print all pages, the range specified by the return value ofgetPageRanges
, or the current selection.Modifier and TypeMethodDescriptionvoid
JobAttributes.setDefaultSelection
(JobAttributes.DefaultSelectionType defaultSelection) Specifies whether, for jobs using these attributes, the application should print all pages, the range specified by the return value ofgetPageRanges
, or the current selection.ModifierConstructorDescriptionJobAttributes
(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 aJobAttributes
instance with the specified values for every attribute.