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.DialogType |
JobAttributes.DialogType.COMMON
The
DialogType instance to use for
specifying the cross-platform, pure Java print dialog. |
static JobAttributes.DialogType |
JobAttributes.DialogType.NATIVE
The
DialogType instance to use for
specifying the platform's native print dialog. |
static JobAttributes.DialogType |
JobAttributes.DialogType.NONE
The
DialogType instance to use for
specifying no print dialog. |
Modifier and Type | Method and Description |
---|---|
JobAttributes.DialogType |
JobAttributes.getDialog()
Returns whether, for jobs using these attributes, the user should see
a print dialog in which to modify the print settings, and which type of
print dialog should be displayed.
|
Modifier and Type | Method and Description |
---|---|
void |
JobAttributes.setDialog(JobAttributes.DialogType dialog)
Specifies whether, for jobs using these attributes, the user should see
a print dialog in which to modify the print settings, and which type of
print dialog should be displayed.
|
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, 2013, Oracle and/or its affiliates. All rights reserved.