org.opensourcephysics.display
Class PrintUtils

java.lang.Object
  extended by org.opensourcephysics.display.PrintUtils

public class PrintUtils
extends java.lang.Object

Print utilities for OSP componets.

Version:
1.0
Author:
Wolfgang Christian

Nested Class Summary
static class PrintUtils.PrintableComponent
           
 
Method Summary
static void printComponent(java.awt.Component c)
           
static void printToService(java.awt.Component c, javax.print.PrintService service, javax.print.attribute.PrintRequestAttributeSet printAttributes)
           
static void saveComponentAsEPS(java.awt.Component c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

saveComponentAsEPS

public static void saveComponentAsEPS(java.awt.Component c)
                               throws java.io.IOException
Throws:
java.io.IOException

printComponent

public static void printComponent(java.awt.Component c)

printToService

public static void printToService(java.awt.Component c,
                                  javax.print.PrintService service,
                                  javax.print.attribute.PrintRequestAttributeSet printAttributes)