public class MapStatus.BackgroundProgressMonitor extends java.lang.Object implements PleaseWaitProgressMonitor.ProgressMonitorDialog
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
customText |
private java.lang.String |
title |
| Constructor and Description |
|---|
BackgroundProgressMonitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendLogMessage(java.lang.String message)
Append a message to the progress log
|
void |
setCurrentAction(java.lang.String text)
Sets the current action that is done
|
void |
setCustomText(java.lang.String text)
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.
|
private void |
updateText() |
private java.lang.String title
private java.lang.String customText
public BackgroundProgressMonitor()
private void updateText()
public void setVisible(boolean visible)
PleaseWaitProgressMonitor.ProgressMonitorDialogsetVisible in interface PleaseWaitProgressMonitor.ProgressMonitorDialogvisible - The visibility, true to show it, false to hide itpublic void updateProgress(int progress)
PleaseWaitProgressMonitor.ProgressMonitorDialogupdateProgress in interface PleaseWaitProgressMonitor.ProgressMonitorDialogprogress - The progress as integer. Between 0 and PleaseWaitProgressMonitor.PROGRESS_BAR_MAXpublic void setCustomText(java.lang.String text)
PleaseWaitProgressMonitor.ProgressMonitorDialogsetCustomText in interface PleaseWaitProgressMonitor.ProgressMonitorDialogtext - The description of the taskpublic void setCurrentAction(java.lang.String text)
PleaseWaitProgressMonitor.ProgressMonitorDialogsetCurrentAction in interface PleaseWaitProgressMonitor.ProgressMonitorDialogtext - The current actionpublic void setIndeterminate(boolean newValue)
PleaseWaitProgressMonitor.ProgressMonitorDialogsetIndeterminate in interface PleaseWaitProgressMonitor.ProgressMonitorDialognewValue - whether the progress cannot be determinedpublic void appendLogMessage(java.lang.String message)
PleaseWaitProgressMonitor.ProgressMonitorDialogTODO Not implemented properly in background monitor, log message will get lost if progress runs in background
appendLogMessage in interface PleaseWaitProgressMonitor.ProgressMonitorDialogmessage - The message