Uses of Interface
java.awt.print.Printable
Packages that use Printable
Package
Description
Provides classes and interfaces for a general printing API.
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 Printable in java.awt.print
Methods in java.awt.print that return PrintableModifier and TypeMethodDescriptionBook.getPrintable(int pageIndex) Returns thePrintableinstance responsible for rendering the page specified bypageIndex.Pageable.getPrintable(int pageIndex) Returns thePrintableinstance responsible for rendering the page specified bypageIndex.Methods in java.awt.print with parameters of type PrintableModifier and TypeMethodDescriptionvoidBook.append(Printable painter, PageFormat page) Appends a single page to the end of thisBook.voidBook.append(Printable painter, PageFormat page, int numPages) AppendsnumPagespages to the end of thisBook.voidBook.setPage(int pageIndex, Printable painter, PageFormat page) Sets thePageFormatand thePainterfor a specified page number.abstract voidPrinterJob.setPrintable(Printable painter) Callspainterto render the pages.abstract voidPrinterJob.setPrintable(Printable painter, PageFormat format) Callspainterto render the pages in the specifiedformat. -
Uses of Printable in javax.swing
Methods in javax.swing that return PrintableModifier and TypeMethodDescriptionJTable.getPrintable(JTable.PrintMode printMode, MessageFormat headerFormat, MessageFormat footerFormat) Return aPrintablefor use in printing this JTable. -
Uses of Printable in javax.swing.text
Methods in javax.swing.text that return PrintableModifier and TypeMethodDescriptionJTextComponent.getPrintable(MessageFormat headerFormat, MessageFormat footerFormat) Returns aPrintableto use for printing the content of thisJTextComponent.