Uses of Class
java.awt.print.PrinterException
-
Packages that use PrinterException Package Description java.awt.print Provides classes and interfaces for a general printing API.javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. -
-
Uses of PrinterException in java.awt.print
Subclasses of PrinterException in java.awt.print Modifier and Type Class Description classPrinterAbortExceptionThePrinterAbortExceptionclass is a subclass ofPrinterExceptionand is used to indicate that a user or application has terminated the print job while it was in the process of printing.classPrinterIOExceptionThePrinterIOExceptionclass is a subclass ofPrinterExceptionand is used to indicate that an IO error of some sort has occurred while printing.Methods in java.awt.print that throw PrinterException Modifier and Type Method Description intPrintable. print(Graphics graphics, PageFormat pageFormat, int pageIndex)Prints the page at the specified index into the specifiedGraphicscontext in the specified format.abstract voidPrinterJob. print()Prints a set of pages.voidPrinterJob. print(PrintRequestAttributeSet attributes)Prints a set of pages using the settings in the attribute set.voidPrinterJob. setPrintService(PrintService service)Associate this PrinterJob with a new PrintService. -
Uses of PrinterException in javax.swing
Methods in javax.swing that throw PrinterException Modifier and Type Method Description booleanJTable. print()A convenience method that displays a printing dialog, and then prints thisJTablein modePrintMode.FIT_WIDTH, with no header or footer text.booleanJTable. print(JTable.PrintMode printMode)A convenience method that displays a printing dialog, and then prints thisJTablein the given printing mode, with no header or footer text.booleanJTable. print(JTable.PrintMode printMode, MessageFormat headerFormat, MessageFormat footerFormat)A convenience method that displays a printing dialog, and then prints thisJTablein the given printing mode, with the specified header and footer text.booleanJTable. print(JTable.PrintMode printMode, MessageFormat headerFormat, MessageFormat footerFormat, boolean showPrintDialog, PrintRequestAttributeSet attr, boolean interactive)Prints this table, as specified by the fully featuredprintmethod, with the default printer specified as the print service.booleanJTable. print(JTable.PrintMode printMode, MessageFormat headerFormat, MessageFormat footerFormat, boolean showPrintDialog, PrintRequestAttributeSet attr, boolean interactive, PrintService service)Prints thisJTable. -
Uses of PrinterException in javax.swing.text
Methods in javax.swing.text that throw PrinterException Modifier and Type Method Description booleanJTextComponent. print()A convenience print method that displays a print dialog, and then prints thisJTextComponentin interactive mode with no header or footer text.booleanJTextComponent. print(MessageFormat headerFormat, MessageFormat footerFormat)A convenience print method that displays a print dialog, and then prints thisJTextComponentin interactive mode with the specified header and footer text.booleanJTextComponent. print(MessageFormat headerFormat, MessageFormat footerFormat, boolean showPrintDialog, PrintService service, PrintRequestAttributeSet attributes, boolean interactive)Prints the content of thisJTextComponent.
-