public final class NullProgressMonitor extends Object implements ProgressMonitor
UNKNOWN| Constructor and Description |
|---|
NullProgressMonitor()
Constructs a new progress monitor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
beginTask(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(String name)
This implementation does nothing.
|
void |
worked(int work)
This implementation does nothing.
|
public NullProgressMonitor()
public void beginTask(String name, int totalWork)
beginTask in interface ProgressMonitorname - the name of the tasktotalWork - the total steps to complete the taskpublic void done()
done in interface ProgressMonitorpublic boolean isCanceled()
setCanceled.isCanceled in interface ProgressMonitorpublic void cancel()
cancel in interface ProgressMonitorpublic void subTask(String name)
subTask in interface ProgressMonitorpublic void worked(int work)
worked in interface ProgressMonitorwork - the amount done on the current taskCopyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.