VASSAL.tools
Class BackgroundTask

java.lang.Object
  |
  +--VASSAL.tools.BackgroundTask

public abstract class BackgroundTask
extends java.lang.Object

Utility task for starting a thread that performs one task, doFirst(), then queues another another task, doLater(), for the Event Handler thread to execute This is basically a simple version of Sun's SwingWorker class.


Constructor Summary
BackgroundTask()
           
 
Method Summary
abstract  void doFirst()
           
abstract  void doLater()
           
 java.lang.Thread start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackgroundTask

public BackgroundTask()
Method Detail

doFirst

public abstract void doFirst()

doLater

public abstract void doLater()

start

public java.lang.Thread start()