Class XChartPanel.Printer

  • All Implemented Interfaces:
    java.awt.print.Printable
    Enclosing class:
    XChartPanel<T extends Chart<?,​?>>

    public static class XChartPanel.Printer
    extends java.lang.Object
    implements java.awt.print.Printable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.awt.Component component  
      • Fields inherited from interface java.awt.print.Printable

        NO_SUCH_PAGE, PAGE_EXISTS
    • Constructor Summary

      Constructors 
      Constructor Description
      Printer​(java.awt.Component c)  
    • Method Summary

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

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

      • component

        private final java.awt.Component component
    • Constructor Detail

      • Printer

        Printer​(java.awt.Component c)
    • Method Detail

      • print

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