com.bbn.openmap.util
Class PooledSwingWorker<T>

java.lang.Object
  extended by com.bbn.openmap.util.SwingWorker<T>
      extended by com.bbn.openmap.util.PooledSwingWorker<T>
Type Parameters:
T - The type of value computed by the task. Use thread pool to run tasks that compute a value. Thanks to Carsten for cleaning this up.
All Implemented Interfaces:
ISwingWorker<T>

public abstract class PooledSwingWorker<T>
extends SwingWorker<T>


Constructor Summary
PooledSwingWorker()
          Start a thread that will call the construct method and then exit.
 
Method Summary
 void start()
          Start the worker thread.
 
Methods inherited from class com.bbn.openmap.util.SwingWorker
construct, execute, finished, get, getExecutionException, getFuture, interrupt, isInterrupted, setExecutionException, setFuture
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PooledSwingWorker

public PooledSwingWorker()
Start a thread that will call the construct method and then exit.

Method Detail

start

public void start()
Start the worker thread.

Specified by:
start in interface ISwingWorker<T>
Overrides:
start in class SwingWorker<T>


Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details