Klasse ProgressView<T>

Typparameter:
T - the type of the tasks being tracked
Alle implementierten Schnittstellen:
com.dua3.utility.concurrent.ProgressTracker<T>, Styleable, EventTarget

public class ProgressView<T> extends GridPane implements com.dua3.utility.concurrent.ProgressTracker<T>
ProgressView is a UI component that displays the progress of tasks in a grid layout. It extends GridPane and implements the ProgressTracker interface.
  • Konstruktordetails

    • ProgressView

      public ProgressView()
      Constructs a new ProgressView object. This constructor sets up the necessary column constraints for the grid layout of the progress view and initializes the underlying progress view mechanism.
  • Methodendetails

    • schedule

      public void schedule(T task)
      Angegeben von:
      schedule in Schnittstelle com.dua3.utility.concurrent.ProgressTracker<T>
    • start

      public void start(T task)
      Angegeben von:
      start in Schnittstelle com.dua3.utility.concurrent.ProgressTracker<T>
    • pause

      public void pause(T task)
      Angegeben von:
      pause in Schnittstelle com.dua3.utility.concurrent.ProgressTracker<T>
    • abort

      public void abort(T task)
      Angegeben von:
      abort in Schnittstelle com.dua3.utility.concurrent.ProgressTracker<T>
    • finish

      public void finish(T task, com.dua3.utility.concurrent.ProgressTracker.State s)
      Angegeben von:
      finish in Schnittstelle com.dua3.utility.concurrent.ProgressTracker<T>
    • update

      public void update(T task, int total, int done)
      Angegeben von:
      update in Schnittstelle com.dua3.utility.concurrent.ProgressTracker<T>
    • update

      public void update(T task, double percentDone)
      Angegeben von:
      update in Schnittstelle com.dua3.utility.concurrent.ProgressTracker<T>