cdox.print
Class PrintCover

java.lang.Object
  extended byjava.lang.Thread
      extended bycdox.print.PrintCover
All Implemented Interfaces:
CDCoverStandards, java.lang.Runnable

public class PrintCover
extends java.lang.Thread
implements CDCoverStandards

This class does all the printing, including all dialogs that retrieve the information of the user.

Version:
June 12th 2002
Author:
Rutger Bezema, Andreas Schmitz

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Fields inherited from interface cdox.edit.CDCoverStandards
ALL, CDBACK_SIDE, CDBACK_SIDE_SIZE, CDBACK_SIZE, CDBOOKLET, CDBOOKLET_SIZE, CDFRONT, CDFRONT_SIZE, CDSIDE_SIZE, CDX, GIF, JPG, PNG
 
Constructor Summary
PrintCover(CDoxFrame cf, Cover[] cover)
          This constructs a new runnable instance.
 
Method Summary
 void run()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrintCover

public PrintCover(CDoxFrame cf,
                  Cover[] cover)
This constructs a new runnable instance. In case you start() this class, some dialogs may pop up that ask the user some question about the printer that should be used etc. After that, the covers will probably be printed.

Parameters:
cf - the CDoxFrame.
cover - the covers that shall be printed. Please note that the covers have to fit onto one single page.
Throws:
java.lang.IllegalArgumentException - if the covers cannot be printed onto one single page.
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

toString

public java.lang.String toString()