Documentation of 'org.jplot2d.swing.print.PrintRenderer' Java class
PrintRenderer
org.jplot2d.swing.print

Class PrintRenderer

  • All Implemented Interfaces:
    java.awt.print.Printable


    public class PrintRenderer
    extends Renderer
    implements java.awt.print.Printable
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int BOTTOM
      Align to bottom of printer page.
      static int CENTER
      Align to center of printer page.
      static int LEFT
      Align to left of printer page.
      static int MIDDLE
      Align to middle of printer page.
      static int RIGHT
      Align to right of printer page.
      static int TOP
      Align to top of printer page.
      • Fields inherited from interface java.awt.print.Printable

        NO_SUCH_PAGE, PAGE_EXISTS
    • Method Detail

      • print

        public int print(java.awt.Graphics graphics,
                         java.awt.print.PageFormat pageFormat,
                         int pageIndex)
                  throws java.awt.print.PrinterException
        Specified by:
        print in interface java.awt.print.Printable
        Throws:
        java.awt.print.PrinterException
      • render

        public void render(ComponentEx comp,
                           java.util.List<CacheableBlock> cacheBlockList)
        Description copied from class: Renderer
        Render the given plot. This method is protected by environment lock.
        Specified by:
        render in class Renderer
        Parameters:
        comp - the component to be rendered
        cacheBlockList - A list of CacheBlock in z-order, contains the top component, even if the component is uncacheable. The CacheBlock contains cacheable components that will be rendered.
      • pageDialog

        public static void pageDialog()
      • printDialog

        public static void printDialog(RenderEnvironment env)
                                throws java.awt.print.PrinterException
        Throws:
        java.awt.print.PrinterException

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.