Class LoadProgress

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class LoadProgress extends JPanel
This component lists tasks to be completed with a progress bar at the bottom.
Author:
Tom Moore
See Also:
Serialized Form
  • Constructor Details

    • LoadProgress

      public LoadProgress(String message)
      Create the empty component with an explanatory message at the top.
  • Method Details

    • addTask

      public void addTask(String description, float weight)
      Add another task to the list of tasks to be done.
      Parameters:
      description - The task description.
      weight - The relative weight of this task compared to the other tasks.
    • addTask

      public void addTask(String tag, String description, float weight)
    • getTask

      public Task getTask(String tag)
    • getTotalWeight

      public float getTotalWeight()
    • incrementGlobalProgress

      public void incrementGlobalProgress(float delta, float weight)