JET

edu.utep.cs.et.gui
Class FileActionFactory.PrintingThread

java.lang.Object
  extended by java.lang.Thread
      extended by edu.utep.cs.et.gui.FileActionFactory.PrintingThread
All Implemented Interfaces:
Runnable
Enclosing class:
FileActionFactory

private static class FileActionFactory.PrintingThread
extends Thread

A thread class to print document.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
private  Document doc
          The document to print.
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
FileActionFactory.PrintingThread(Document doc)
          Creates a new instance.
 
Method Summary
 void run()
          Prints the document doc as a separate thread.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

doc

private Document doc
The document to print.

Constructor Detail

FileActionFactory.PrintingThread

public FileActionFactory.PrintingThread(Document doc)
Creates a new instance.

Method Detail

run

public void run()
Prints the document doc as a separate thread.

Specified by:
run in interface Runnable
Overrides:
run in class Thread

JET

JET is Copyright (C) 2005-2007 by The University of Texas at El Paso and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.