public abstract class AbstractProgressBar extends java.lang.Object implements ProgressBar
ProgressBar.NullProgressBar| Constructor and Description |
|---|
AbstractProgressBar() |
| Modifier and Type | Method and Description |
|---|---|
void |
finish()
Finish the progress bar.
|
protected void |
finishImpl()
This method is called by
finish(). |
boolean |
isFinished()
Check if the progress bar has been finished.
|
void |
step(java.lang.String message)
Advance one step.
|
protected abstract void |
stepImpl(java.lang.String message)
Advance one step.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitstep, step, step, toStringModpublic final void step(java.lang.String message)
ProgressBarstep in interface ProgressBarmessage - The message to show for the current step.protected abstract void stepImpl(java.lang.String message)
step(java.lang.String).message - The message to show for the current step.public final void finish()
ProgressBarfinish in interface ProgressBarprotected void finishImpl()
finish().
Here you do anything that should be done when the progress bar is finished.public final boolean isFinished()
ProgressBarisFinished in interface ProgressBar