us.zuercher.gpx2map.gui
Class ExecutionThread
java.lang.Object
java.lang.Thread
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
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 |
root
private final JFrame root
- The application's root frame.
gpx2map
private final Gpx2Map gpx2map
- The configured
Gpx2Map
instance to use for execution.
ExecutionThread
ExecutionThread(JFrame root,
Gpx2Map gpx2map)
- Constructs a new ExecutionThread.
- Parameters:
root
- the application root framegpx2map
- the configured Gpx2Map
instance to execute
run
public void run()
- Implementation of
Thread.run()
. Executes the configured
Gpx2Map
instance.
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread