jfig.gui
Class PrintManager

java.lang.Object
  extended byjfig.gui.PrintManager

public class PrintManager
extends java.lang.Object

manage printing of FIG drawings via the AWT 1.1 print API, using the current viewport transformation (translation, scaling).

If Java2D is available, use Java2D printing for better quality. This will also try to fit your drawing onto the page.


Nested Class Summary
(package private)  class PrintManager.Manager2D
          inner class for printing via Java2D.
 
Field Summary
(package private)  java.lang.String bannerString
           
(package private)  boolean debug
           
(package private)  java.lang.Object exportOptionsDialog
           
(package private)  java.awt.Frame frame
           
(package private)  FigCanvas objectCanvas
           
 
Constructor Summary
PrintManager(java.awt.Frame frame, FigCanvas objectCanvas)
           
 
Method Summary
 void dbg(java.lang.String msg)
           
 void doPrint()
           
 void message(java.lang.String msg)
           
 void setBannerString(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

frame

java.awt.Frame frame

objectCanvas

FigCanvas objectCanvas

bannerString

java.lang.String bannerString

exportOptionsDialog

java.lang.Object exportOptionsDialog

debug

boolean debug
Constructor Detail

PrintManager

public PrintManager(java.awt.Frame frame,
                    FigCanvas objectCanvas)
Method Detail

setBannerString

public void setBannerString(java.lang.String s)

doPrint

public void doPrint()

message

public void message(java.lang.String msg)

dbg

public void dbg(java.lang.String msg)