FreeHEP API
Version current

org.freehep.graphicsio.exportchooser
Class AbstractExportFileType.CancelThread

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

public abstract class AbstractExportFileType.CancelThread
extends Thread

Source Code:
AbstractExportFileType.CancelThread.java

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. deletes the current file.
 
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, 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.


FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.