Documentation of 'japlot.jaxodraw.JaxoPrint' Java class
JaxoPrint
japlot.jaxodraw

Class JaxoPrint

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


    public class JaxoPrint
    extends java.lang.Object
    implements java.awt.print.Printable
    Responsible for printing directly to a printer.
    • Field Summary

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

        NO_SUCH_PAGE, PAGE_EXISTS
    • Constructor Summary

      Constructors 
      Constructor and Description
      JaxoPrint() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int print(java.awt.Graphics g, java.awt.print.PageFormat pf, int pageIndex)
      The actual printing routine.
      void print(JaxoGraph newGraph, java.awt.Dimension d)
      The method to be called from the printing menu.
      void setCurrentTab(java.lang.String newTab)
      Sets the currentTab property.
      • Methods inherited from class java.lang.Object

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

      • JaxoPrint

        public JaxoPrint()
    • Method Detail

      • print

        public final int print(java.awt.Graphics g,
                               java.awt.print.PageFormat pf,
                               int pageIndex)
        The actual printing routine.
        Specified by:
        print in interface java.awt.print.Printable
        Parameters:
        g - The specified graphics context.
        pf - The specified page format.
        pageIndex - The specified page index.
        Returns:
        Either Printable.PAGE_EXISTS or Printable.NO_SUCH_PAGE.
      • print

        public final void print(JaxoGraph newGraph,
                                java.awt.Dimension d)
        The method to be called from the printing menu.
        Parameters:
        newGraph - The JaxoGraph to be printed.
        d - The current dimension of the canvas.
      • setCurrentTab

        public final void setCurrentTab(java.lang.String newTab)
        Sets the currentTab property.
        Parameters:
        newTab - The name of the current tab.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.