Interface ProgressRenderer

All Known Implementing Classes:
UploadAndSaveProgressRenderer

public interface ProgressRenderer
Swing components can implement this interface and use a SwingRenderingProgressMonitor to render progress information.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Sets the custom text below the title
    void
    setIndeterminate(boolean indeterminate)
    Display the value as indeterminate value (unknown progress)
    void
    setMaximum(int maximum)
    Sets the maximum possible progress
    void
    setTaskTitle(String taskTitle)
    Sets the title to display
    void
    setValue(int value)
    Sets the current progress
  • Method Details

    • setTaskTitle

      void setTaskTitle(String taskTitle)
      Sets the title to display
      Parameters:
      taskTitle - The title text
    • setCustomText

      void setCustomText(String message)
      Sets the custom text below the title
      Parameters:
      message - The message
    • setIndeterminate

      void setIndeterminate(boolean indeterminate)
      Display the value as indeterminate value (unknown progress)
      Parameters:
      indeterminate - true if the progress is unknown
    • setMaximum

      void setMaximum(int maximum)
      Sets the maximum possible progress
      Parameters:
      maximum - The minimum value
    • setValue

      void setValue(int value)
      Sets the current progress
      Parameters:
      value - The progress, in range 0...maximum
      See Also: