Class BatchTrainingWorker

java.lang.Object
javax.swing.SwingWorker<Integer,BatchTrainingProgress>
whistleClassifier.training.BatchTrainingWorker
All Implemented Interfaces:
Runnable, Future<Integer>, RunnableFuture<Integer>

public class BatchTrainingWorker extends SwingWorker<Integer,BatchTrainingProgress>
  • Constructor Details Link icon

  • Method Details Link icon

    • stopNow Link icon

      public void stopNow()
    • setStatus Link icon

      public void setStatus(ClassifierTrainingProgress bootstrapProgress)
      this should get status messages back from the main bootstrap dialog. These probably arrive in the AWT thread, so the swing worker thread will just have to monitor these flags and wait for them to change before it can proceed.
      Parameters:
      statusMessage -
      statusValue -