| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use PrinterException | |
|---|---|
| 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 | |
|---|---|
|  class | PrinterAbortExceptionThe PrinterAbortExceptionclass 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. | 
|  class | PrinterIOExceptionThe PrinterIOExceptionclass 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 | |
|---|---|
| abstract  void | PrinterJob.print()Prints a set of pages. | 
|  int | Printable.print(Graphics graphics,
      PageFormat pageFormat,
      int pageIndex)Prints the page at the specified index into the specified Graphicscontext in the specified
 format. | 
|  void | PrinterJob.print(PrintRequestAttributeSet attributes)Prints a set of pages using the settings in the attribute set. | 
|  void | PrinterJob.setPrintService(PrintService service)Associate this PrinterJob with a new PrintService. | 
| Uses of PrinterException in javax.swing | 
|---|
| Methods in javax.swing that throw PrinterException | |
|---|---|
|  boolean | JTable.print()A convenience method that displays a printing dialog, and then prints this JTablein modePrintMode.FIT_WIDTH,
 with no header or footer text. | 
|  boolean | JTable.print(JTable.PrintMode printMode)A convenience method that displays a printing dialog, and then prints this JTablein the given printing mode,
 with no header or footer text. | 
|  boolean | JTable.print(JTable.PrintMode printMode,
      MessageFormat headerFormat,
      MessageFormat footerFormat)A convenience method that displays a printing dialog, and then prints this JTablein the given printing mode,
 with the specified header and footer text. | 
|  boolean | JTable.print(JTable.PrintMode printMode,
      MessageFormat headerFormat,
      MessageFormat footerFormat,
      boolean showPrintDialog,
      PrintRequestAttributeSet attr,
      boolean interactive)Prints this table, as specified by the fully featured printmethod, 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 this JTable. | 
| Uses of PrinterException in javax.swing.text | 
|---|
| Methods in javax.swing.text that throw PrinterException | |
|---|---|
|  boolean | JTextComponent.print()A convenience print method that displays a print dialog, and then prints this JTextComponentin interactive mode with no
 header or footer text. | 
|  boolean | JTextComponent.print(MessageFormat headerFormat,
      MessageFormat footerFormat)A convenience print method that displays a print dialog, and then prints this JTextComponentin interactive mode with 
 the specified header and footer text. | 
|  boolean | JTextComponent.print(MessageFormat headerFormat,
      MessageFormat footerFormat,
      boolean showPrintDialog,
      PrintService service,
      PrintRequestAttributeSet attributes,
      boolean interactive)Prints the content of this JTextComponent. | 
| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.