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 TypeMethodDescriptionvoidsetCustomText(String message) Sets the custom text below the titlevoidsetIndeterminate(boolean indeterminate) Display the value as indeterminate value (unknown progress)voidsetMaximum(int maximum) Sets the maximum possible progressvoidsetTaskTitle(String taskTitle) Sets the title to displayvoidsetValue(int value) Sets the current progress
-
Method Details
-
setTaskTitle
Sets the title to display- Parameters:
taskTitle- The title text
-
setCustomText
Sets the custom text below the title- Parameters:
message- The message
-
setIndeterminate
Display the value as indeterminate value (unknown progress)- Parameters:
indeterminate-trueif the progress is unknown
-
setMaximum
Sets the maximum possible progress- Parameters:
maximum- The minimum value
-
setValue
Sets the current progress- Parameters:
value- The progress, in range 0...maximum- See Also:
-