Interface ProgressRenderer
-
- All Known Implementing Classes:
UploadAndSaveProgressRenderer
public interface ProgressRenderer
Swing components can implement this interface and use aSwingRenderingProgressMonitor
to render progress information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setCustomText(java.lang.String message)
Sets the custom text below the titlevoid
setIndeterminate(boolean indeterminate)
Display the value as indeterminate value (unknown progress)void
setMaximum(int maximum)
Sets the maximum possible progressvoid
setTaskTitle(java.lang.String taskTitle)
Sets the title to displayvoid
setValue(int value)
Sets the current progress
-
-
-
Method Detail
-
setTaskTitle
void setTaskTitle(java.lang.String taskTitle)
Sets the title to display- Parameters:
taskTitle
- The title text
-
setCustomText
void setCustomText(java.lang.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:
setMaximum(int)
-
-