Package smile.swing
Class Printer
java.lang.Object
smile.swing.Printer
A printer controller object.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Printer
Returns the printer controller object.void
Prints a document that implements Printable interface.
-
Method Details
-
getPrinter
Returns the printer controller object.- Returns:
- the printer controller object
-
print
Prints a document that implements Printable interface.- Parameters:
painter
- the Printable that renders each page of the document.
-