public class AlertNullProgressMonitor extends NullProgressMonitor
SIZE_INDETERMINATE
Constructor and Description |
---|
AlertNullProgressMonitor()
create a monitor.
|
AlertNullProgressMonitor(java.lang.String label)
create a monitor with the label.
|
Modifier and Type | Method and Description |
---|---|
void |
setTaskProgress(long position)
Notifies the ProgressMonitor of a change in the progress
of the task.
|
canBeCancelled, cancel, finished, getLabel, getProgressMessage, getSubtaskMonitor, getSubtaskMonitor, getTaskProgress, getTaskSize, isCancelled, isFinished, isStarted, setAdditionalInfo, setLabel, setProgressMessage, setTaskSize, started, toString
public AlertNullProgressMonitor()
public AlertNullProgressMonitor(java.lang.String label)
label
- the labelpublic void setTaskProgress(long position) throws java.lang.IllegalArgumentException
ProgressMonitor
setTaskProgress
in interface ProgressMonitor
setTaskProgress
in class AbstractProgressMonitor
position
- the current task positionjava.lang.IllegalArgumentException
- if ProgressMonitor.isCancelled()
returns true or,
possibly if started() has not been called or
finished() has been called.