public class DasProgressLabel extends NullProgressMonitor
SIZE_INDETERMINATE
Constructor and Description |
---|
DasProgressLabel(java.lang.String taskLabel)
create the DasProgessLabel with the given label for the task.
|
Modifier and Type | Method and Description |
---|---|
void |
finished()
Notifies the
ProgressMonitor that the task
being monitored has finished. |
javax.swing.JLabel |
getLabelComponent()
get the assigned label component, or create one if one has not been assigned.
|
void |
setLabelComponent(javax.swing.JLabel label)
set the label to use for the progress monitor.
|
canBeCancelled, cancel, getLabel, getProgressMessage, getSubtaskMonitor, getSubtaskMonitor, getTaskProgress, getTaskSize, isCancelled, isFinished, isStarted, setAdditionalInfo, setLabel, setProgressMessage, setTaskProgress, setTaskSize, started, toString
public DasProgressLabel(java.lang.String taskLabel)
taskLabel
- the label for the task.public javax.swing.JLabel getLabelComponent()
public void setLabelComponent(javax.swing.JLabel label)
label
- the assigned label componentpublic void finished()
ProgressMonitor
ProgressMonitor
that the task
being monitored has finished. This must only be called once, and note that isFinished() must return
the state of this monitor.finished
in interface ProgressMonitor
finished
in class AbstractProgressMonitor