添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
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.
This class extends PrintService and represents a print service that prints data in different formats to a client-provided output stream.
Methods in javax.print that return PrintService
Modifier and Type
Method
Description
PrintServiceLookup. getDefaultPrintService ()
Not called directly by applications.
DocPrintJob. getPrintService ()
Determines the PrintService object to which this print job object is bound.
abstract PrintService []
PrintServiceLookup. getPrintServices ()
Not called directly by applications.
abstract PrintService []
PrintServiceLookup. getPrintServices ( DocFlavor flavor, AttributeSet attributes)
Locates services that can be positively confirmed to support the combination of attributes and DocFlavors specified.
static final PrintService
PrintServiceLookup. lookupDefaultPrintService ()
Locates the default print service for this environment.
static final PrintService []
PrintServiceLookup. lookupPrintServices ( DocFlavor flavor, AttributeSet attributes)
Locates print services capable of printing the specified DocFlavor .
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).
Methods in javax.print with parameters of type PrintService
Modifier and Type
Method
Description
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).
static boolean
PrintServiceLookup. registerService ( PrintService service)
Allows an application to directly register an instance of a class which implements a print service.

Uses of PrintService in javax.print.event

Methods in javax.print.event that return PrintService
Modifier and Type
Method
Description
PrintServiceAttributeEvent. getPrintService ()
Returns the print service.
Constructors in javax.print.event with parameters of type PrintService
Modifier
Constructor
Description
Constructs a PrintServiceAttributeEvent object.

Uses of PrintService in javax.swing

Methods in javax.swing with parameters of type PrintService
Modifier and Type
Method
Description
boolean
JTable. print ( JTable.PrintMode printMode, MessageFormat headerFormat, MessageFormat footerFormat, boolean showPrintDialog, PrintRequestAttributeSet attr, boolean interactive, PrintService service)
Prints this JTable .

Uses of PrintService in javax.swing.text

Methods in javax.swing.text with parameters of type PrintService
Modifier and Type
Method
Description
boolean
JTextComponent. print ( MessageFormat headerFormat, MessageFormat footerFormat, boolean showPrintDialog, PrintService service, PrintRequestAttributeSet attributes, boolean interactive)
Prints the content of this JTextComponent .