Package snap.viewx

Interface Printer.Printable

Enclosing class:
Printer

public static interface Printer.Printable
An interface for an graphical object that wants to print.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns a print page count for given printer.
    getPageSize(Printer aPrinter, int anIndex)
    Returns the page size for given page index.
    void
    print(Printer aPrinter, int anIndex)
    Executes a print for given printer and page index.
  • Method Details

    • getPageCount

      int getPageCount(Printer aPrinter)
      Returns a print page count for given printer.
    • getPageSize

      Size getPageSize(Printer aPrinter, int anIndex)
      Returns the page size for given page index.
    • print

      void print(Printer aPrinter, int anIndex)
      Executes a print for given printer and page index.