public class DasProgressWheel extends AbstractProgressMonitor
SIZE_INDETERMINATE
Constructor and Description |
---|
DasProgressWheel() |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Notifies the
ProgressMonitor that the task
being monitored should be canceled. |
void |
finished()
Notifies the
ProgressMonitor that the task
being monitored has finished. |
javax.swing.JComponent |
getPanel(javax.swing.JComponent parent)
return the small component that visually shows the wheel.
|
canBeCancelled, getLabel, getProgressMessage, getSubtaskMonitor, getSubtaskMonitor, getTaskProgress, getTaskSize, isCancelled, isFinished, isStarted, setAdditionalInfo, setLabel, setProgressMessage, setTaskProgress, setTaskSize, started, toString
public 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
public void cancel()
ProgressMonitor
ProgressMonitor
that the task
being monitored should be canceled. After this method is
called, implementations should return true
on
any subsequent calls to ProgressMonitor.isCancelled()
and should
throw an IllegalStateException on any subsequent calls to
ProgressMonitor.setTaskProgress(long)
.cancel
in interface ProgressMonitor
cancel
in class AbstractProgressMonitor
public javax.swing.JComponent getPanel(javax.swing.JComponent parent)
parent
-