Class PhaseProgressPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class PhaseProgressPanel extends JPanel
The PhaseProgressPanel provides a title, progress bar and message for the current phase that is in progress
See Also:
  • Constructor Details

    • PhaseProgressPanel

      public PhaseProgressPanel(String title)
  • Method Details

    • setTitle

      public void setTitle(String newTitle)
      Sets the title line displayed by this panel.
      Parameters:
      newTitle - the new title string
    • setMessage

      public void setMessage(String message)
      Sets the progress message within this panel.
      Parameters:
      message - the new message text to be displayed.
    • setProgress

      public void setProgress(int progressPercentage)
      Fills in the progress bar to the indicated percent.
      Parameters:
      progressPercentage - total percent of the progress bar that should be filled in.
    • removeMessage

      public void removeMessage()
      Removes the message from being displayed by this panel. Setting the message text will cause it to get added again.
    • removeProgress

      public void removeProgress()
      Removes the progress bar from being displayed by this panel. Setting progress will cause it to get added again.