us.zuercher.gpx2map.gui
Class ExecutionThread

java.lang.Object
  extended by java.lang.Thread
      extended by us.zuercher.gpx2map.gui.ExecutionThread
All Implemented Interfaces:
Runnable

 class ExecutionThread
extends Thread

ExecutionThread moves execution of a Gpx2Map object to a separate thread.

Author:
Stephan Zuercher

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
private  Gpx2Map gpx2map
          The configured Gpx2Map instance to use for execution.
private  JFrame root
          The application's root frame.
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ExecutionThread(JFrame root, Gpx2Map gpx2map)
          Constructs a new ExecutionThread.
 
Method Summary
 void run()
          Implementation of Thread.run().
 
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

root

private final JFrame root
The application's root frame.


gpx2map

private final Gpx2Map gpx2map
The configured Gpx2Map instance to use for execution.

Constructor Detail

ExecutionThread

ExecutionThread(JFrame root,
                Gpx2Map gpx2map)
Constructs a new ExecutionThread.

Parameters:
root - the application root frame
gpx2map - the configured Gpx2Map instance to execute
Method Detail

run

public void run()
Implementation of Thread.run(). Executes the configured Gpx2Map instance.

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