Uses of Interface
javax.print.attribute.PrintRequestAttributeSet
Package
Description
Provides classes and interfaces for a general printing API.
Provides the principal classes and interfaces for the Java Print
Service API.
Provides classes and interfaces that describe the types of Java Print
Service attributes and how they can be collected into attribute sets.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides classes and interfaces that deal with editable and noneditable text
components.
-
Uses of PrintRequestAttributeSet in java.awt.print
Modifier and TypeMethodDescriptionPrinterJob.getPageFormat
(PrintRequestAttributeSet attributes) Calculates aPageFormat
with values consistent with those supported by the currentPrintService
for this job (ie the value returned bygetPrintService()
) and media, printable area and orientation contained inattributes
.PrinterJob.pageDialog
(PrintRequestAttributeSet attributes) A convenience method which displays a cross-platform page setup dialog.void
PrinterJob.print
(PrintRequestAttributeSet attributes) Prints a set of pages using the settings in the attribute set.boolean
PrinterJob.printDialog
(PrintRequestAttributeSet attributes) A convenience method which displays a cross-platform print dialog for all services which are capable of printing 2D graphics using thePageable
interface. -
Uses of PrintRequestAttributeSet in javax.print
Modifier and TypeMethodDescriptionvoid
DocPrintJob.print
(Doc doc, PrintRequestAttributeSet attributes) Prints a document with the specified job attributes.void
MultiDocPrintJob.print
(MultiDoc multiDoc, PrintRequestAttributeSet attributes) Print aMultiDoc
with the specified job attributes.static PrintService
ServiceUI.printDialog
(GraphicsConfiguration gc, int x, int y, PrintService[] services, PrintService defaultService, DocFlavor flavor, PrintRequestAttributeSet attributes) Presents a dialog to the user for selecting a print service (printer). -
Uses of PrintRequestAttributeSet in javax.print.attribute
Modifier and TypeClassDescriptionclass
ClassHashPrintRequestAttributeSet
inherits its implementation from classHashAttributeSet
and enforces the semantic restrictions of interfacePrintRequestAttributeSet
.Modifier and TypeMethodDescriptionstatic PrintRequestAttributeSet
AttributeSetUtilities.synchronizedView
(PrintRequestAttributeSet attributeSet) Creates a synchronized view of the given print request attribute set.static PrintRequestAttributeSet
AttributeSetUtilities.unmodifiableView
(PrintRequestAttributeSet attributeSet) Creates an unmodifiable view of the given print request attribute set.Modifier and TypeMethodDescriptionstatic PrintRequestAttributeSet
AttributeSetUtilities.synchronizedView
(PrintRequestAttributeSet attributeSet) Creates a synchronized view of the given print request attribute set.static PrintRequestAttributeSet
AttributeSetUtilities.unmodifiableView
(PrintRequestAttributeSet attributeSet) Creates an unmodifiable view of the given print request attribute set.ModifierConstructorDescriptionHashPrintRequestAttributeSet
(PrintRequestAttributeSet attributes) Construct a new attribute set, initially populated with the values from the given set where the members of the attribute set are restricted to the(PrintRequestAttributeSe
interface. -
Uses of PrintRequestAttributeSet in javax.swing
Modifier and TypeMethodDescriptionboolean
JTable.print
(JTable.PrintMode printMode, MessageFormat headerFormat, MessageFormat footerFormat, boolean showPrintDialog, PrintRequestAttributeSet attr, boolean interactive) Prints this table, as specified by the fully featuredprint
method, with the default printer specified as the print service.boolean
JTable.print
(JTable.PrintMode printMode, MessageFormat headerFormat, MessageFormat footerFormat, boolean showPrintDialog, PrintRequestAttributeSet attr, boolean interactive, PrintService service) Prints thisJTable
. -
Uses of PrintRequestAttributeSet in javax.swing.text
Modifier and TypeMethodDescriptionboolean
JTextComponent.print
(MessageFormat headerFormat, MessageFormat footerFormat, boolean showPrintDialog, PrintService service, PrintRequestAttributeSet attributes, boolean interactive) Prints the content of thisJTextComponent
.