public class NullProgressMonitor extends Object implements ProgressMonitor
| Constructor and Description |
|---|
NullProgressMonitor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCancelled() |
void |
setFinished()
progress completed.
|
void |
setIndeterminate(boolean b) |
void |
setMessage(String message) |
void |
setProgress(long progress) |
void |
setSize(long size) |
void |
setStarted()
start of the process.
|
public void setStarted()
ProgressMonitorsetStarted in interface ProgressMonitorpublic void setSize(long size)
setSize in interface ProgressMonitorsize - size of the processpublic void setProgress(long progress)
setProgress in interface ProgressMonitorprogress - new progresspublic void setMessage(String message)
setMessage in interface ProgressMonitormessage - the message to be displayedpublic void setIndeterminate(boolean b)
setIndeterminate in interface ProgressMonitorb - true if the state is indeterminatepublic void setFinished()
ProgressMonitorsetFinished in interface ProgressMonitorpublic boolean isCancelled()
isCancelled in interface ProgressMonitorCopyright © 2016 The University of Manchester. All Rights Reserved.