Package VASSAL.tools

Class BackgroundTask

java.lang.Object
VASSAL.tools.BackgroundTask

@Deprecated(since="2021-12-01", forRemoval=true) public abstract class BackgroundTask extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Use {link SwingWorker} now that we ship the JAR for it.
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

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    abstract void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BackgroundTask

      public BackgroundTask()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • doFirst

      public abstract void doFirst()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • doLater

      public abstract void doLater()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • start

      public Thread start()
      Deprecated, for removal: This API element is subject to removal in a future version.