Class RMViewer.RMVPrintable

  • All Implemented Interfaces:
    java.awt.print.Printable
    Enclosing class:
    RMViewer

    protected class RMViewer.RMVPrintable
    extends java.lang.Object
    implements java.awt.print.Printable
    This inner class simply paints a requested page to a given Graphics object.
    • Field Summary

      • Fields inherited from interface java.awt.print.Printable

        NO_SUCH_PAGE, PAGE_EXISTS
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected RMVPrintable()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int print​(java.awt.Graphics aGrfx, java.awt.print.PageFormat pageFormat, int pageIndex)
      Print method.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RMVPrintable

        protected RMVPrintable()
    • Method Detail

      • print

        public int print​(java.awt.Graphics aGrfx,
                         java.awt.print.PageFormat pageFormat,
                         int pageIndex)
        Print method.
        Specified by:
        print in interface java.awt.print.Printable