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()
ProgressMonitor
setStarted
in interface ProgressMonitor
public void setSize(long size)
setSize
in interface ProgressMonitor
size
- size of the processpublic void setProgress(long progress)
setProgress
in interface ProgressMonitor
progress
- new progresspublic void setMessage(String message)
setMessage
in interface ProgressMonitor
message
- the message to be displayedpublic void setIndeterminate(boolean b)
setIndeterminate
in interface ProgressMonitor
b
- true if the state is indeterminatepublic void setFinished()
ProgressMonitor
setFinished
in interface ProgressMonitor
public boolean isCancelled()
isCancelled
in interface ProgressMonitor
Copyright © 2020 The University of Manchester. All rights reserved.