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 JobAttributes.DestinationType |
JobAttributes.DestinationType.FILE
The
DestinationType instance to use for
specifying print to file. |
static JobAttributes.DestinationType |
JobAttributes.DestinationType.PRINTER
The
DestinationType instance to use for
specifying print to printer. |
Modifier and Type | Method and Description |
---|---|
JobAttributes.DestinationType |
JobAttributes.getDestination()
Specifies whether output will be to a printer or a file for jobs using
these attributes.
|
Modifier and Type | Method and Description |
---|---|
void |
JobAttributes.setDestination(JobAttributes.DestinationType destination)
Specifies whether output will be to a printer or a file for jobs using
these attributes.
|
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, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.