Class SwingProgressView<T>

All Implemented Interfaces:
com.dua3.utility.concurrent.ProgressTracker<T>, ImageObserver, MenuContainer, Serializable, Accessible

public class SwingProgressView<T> extends JPanel implements com.dua3.utility.concurrent.ProgressTracker<T>
See Also:
Serialized Form
  • Constructor Details

    • SwingProgressView

      @SafeVarargs public SwingProgressView​(T... tasks)
  • Method Details

    • schedule

      public void schedule​(T task)
      Specified by:
      schedule in interface com.dua3.utility.concurrent.ProgressTracker<T>
    • start

      public void start​(T task)
      Specified by:
      start in interface com.dua3.utility.concurrent.ProgressTracker<T>
    • pause

      public void pause​(T task)
      Specified by:
      pause in interface com.dua3.utility.concurrent.ProgressTracker<T>
    • abort

      public void abort​(T task)
      Specified by:
      abort in interface com.dua3.utility.concurrent.ProgressTracker<T>
    • finish

      public void finish​(T task, com.dua3.utility.concurrent.ProgressTracker.State s)
      Specified by:
      finish in interface com.dua3.utility.concurrent.ProgressTracker<T>
    • update

      public void update​(T task, int total, int done)
      Specified by:
      update in interface com.dua3.utility.concurrent.ProgressTracker<T>
    • update

      public void update​(T task, double percentDone)
      Specified by:
      update in interface com.dua3.utility.concurrent.ProgressTracker<T>