Interface PleaseWaitProgressMonitor.ProgressMonitorDialog

All Known Implementing Classes:
MapStatus.BackgroundProgressMonitor, PleaseWaitDialog
Enclosing class:
PleaseWaitProgressMonitor

Implemented by both foreground dialog and background progress dialog (in status bar)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Append a message to the progress log
    void
    Sets the current action that is done
    void
    Sets the description of what is done
    void
    setIndeterminate(boolean newValue)
    Display that the current progress cannot be determined
    void
    setVisible(boolean visible)
    Sets the visibility of this dialog
    void
    updateProgress(int progress)
    Updates the progress value to the specified progress.
  • Method Details

    • setVisible

      void setVisible(boolean visible)
      Sets the visibility of this dialog
      Parameters:
      visible - The visibility, true to show it, false to hide it
    • updateProgress

      void updateProgress(int progress)
      Updates the progress value to the specified progress.
      Parameters:
      progress - The progress as integer. Between 0 and PleaseWaitProgressMonitor.PROGRESS_BAR_MAX
    • setCustomText

      void setCustomText(String text)
      Sets the description of what is done
      Parameters:
      text - The description of the task
    • setCurrentAction

      Sets the current action that is done
      Parameters:
      text - The current action
    • setIndeterminate

      void setIndeterminate(boolean newValue)
      Display that the current progress cannot be determined
      Parameters:
      newValue - whether the progress cannot be determined
    • appendLogMessage

      void appendLogMessage(String message)
      Append a message to the progress log

      TODO Not implemented properly in background monitor, log message will get lost if progress runs in background

      Parameters:
      message - The message