public final class NullProgressMonitor extends java.lang.Object implements ProgressMonitor
UNKNOWN
Constructor and Description |
---|
NullProgressMonitor()
Constructs a new progress monitor.
|
Modifier and Type | Method and Description |
---|---|
void |
beginTask(java.lang.String name,
int totalWork)
This implementation does nothing.
|
void |
cancel()
This implementation sets the value of an internal state variable.
|
void |
done()
This implementation does nothing.
|
boolean |
isCanceled()
This implementation returns the value of the internal
state variable set by
setCanceled . |
void |
subTask(java.lang.String name)
This implementation does nothing.
|
void |
worked(int work)
This implementation does nothing.
|
public NullProgressMonitor()
public void beginTask(java.lang.String name, int totalWork)
beginTask
in interface ProgressMonitor
name
- the name of the tasktotalWork
- the total steps to complete the taskpublic void done()
done
in interface ProgressMonitor
public boolean isCanceled()
setCanceled
.isCanceled
in interface ProgressMonitor
public void cancel()
cancel
in interface ProgressMonitor
public void subTask(java.lang.String name)
subTask
in interface ProgressMonitor
public void worked(int work)
worked
in interface ProgressMonitor
work
- the amount done on the current task