Interface PleaseWaitProgressMonitor.ProgressMonitorDialog
-
- All Known Implementing Classes:
MapStatus.BackgroundProgressMonitor
,PleaseWaitDialog
- Enclosing class:
- PleaseWaitProgressMonitor
public static interface PleaseWaitProgressMonitor.ProgressMonitorDialog
Implemented by both foreground dialog and background progress dialog (in status bar)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
appendLogMessage(java.lang.String message)
Append a message to the progress logvoid
setCurrentAction(java.lang.String text)
Sets the current action that is donevoid
setCustomText(java.lang.String text)
Sets the description of what is donevoid
setIndeterminate(boolean newValue)
Display that the current progress cannot be determinedvoid
setVisible(boolean visible)
Sets the visibility of this dialogvoid
updateProgress(int progress)
Updates the progress value to the specified progress.
-
-
-
Method Detail
-
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 andPleaseWaitProgressMonitor.PROGRESS_BAR_MAX
-
setCustomText
void setCustomText(java.lang.String text)
Sets the description of what is done- Parameters:
text
- The description of the task
-
setCurrentAction
void setCurrentAction(java.lang.String text)
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(java.lang.String message)
Append a message to the progress logTODO Not implemented properly in background monitor, log message will get lost if progress runs in background
- Parameters:
message
- The message
-
-