Package smile.swing

Class Printer

java.lang.Object
smile.swing.Printer

public class Printer extends Object
A printer controller object.
  • Method Details

    • getPrinter

      public static Printer getPrinter()
      Returns the printer controller object.
      Returns:
      the printer controller object
    • print

      public void print(Printable painter)
      Prints a document that implements Printable interface.
      Parameters:
      painter - the Printable that renders each page of the document.