org.opensourcephysics.display
Class PrintUtils.PrintableComponent

java.lang.Object
  extended by org.opensourcephysics.display.PrintUtils.PrintableComponent
All Implemented Interfaces:
java.awt.print.Printable
Enclosing class:
PrintUtils

public static class PrintUtils.PrintableComponent
extends java.lang.Object
implements java.awt.print.Printable


Field Summary
 
Fields inherited from interface java.awt.print.Printable
NO_SUCH_PAGE, PAGE_EXISTS
 
Constructor Summary
PrintUtils.PrintableComponent(java.awt.Component c)
          Constructor PrintableComponent
 
Method Summary
 int print(java.awt.Graphics g, java.awt.print.PageFormat format, int pagenum)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintUtils.PrintableComponent

public PrintUtils.PrintableComponent(java.awt.Component c)
Constructor PrintableComponent

Parameters:
c -
Method Detail

print

public int print(java.awt.Graphics g,
                 java.awt.print.PageFormat format,
                 int pagenum)
Specified by:
print in interface java.awt.print.Printable