org.freehep.graphicsio.exportchooser
Class AbstractExportFileType.CancelThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.freehep.graphicsio.exportchooser.AbstractExportFileType.CancelThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
AbstractExportFileType

public abstract class AbstractExportFileType.CancelThread
extends java.lang.Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
 void cancel()
           
 boolean isStopped()
           
 void run()
          Exports the graphics and afterwards cleans up, i.e.
 
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
 

Method Detail

cancel

public void cancel()

isStopped

public boolean isStopped()

run

public void run()
Exports the graphics and afterwards cleans up, i.e. deletes the current file. Hence, current file must be set to null by the subclasses export() method when export is finished. Exceptions will be reported to the ProgressDialog.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread


Copyright © 2000-2007 FreeHEP. All Rights Reserved.