public class DeterminateProgressMonitor extends AbstractProgressMonitor
Constructor and Description |
---|
DeterminateProgressMonitor(javax.swing.JProgressBar bar,
javax.swing.JLabel stepLabel) |
Modifier and Type | Method and Description |
---|---|
void |
endStep(int stepNumber) |
boolean |
isStopped() |
void |
setIndeterminate()
Well sometimes it isn't so determinate :), and it ain't gettin' any better so no unset necessary
|
void |
setMajorStepCount(int majorCount) |
void |
setMessage(java.lang.String message) |
void |
setStepProgress(double pctProgress) |
void |
setStopped(boolean stopped) |
void |
startStep(int stepNumber) |
public DeterminateProgressMonitor(javax.swing.JProgressBar bar, javax.swing.JLabel stepLabel)
public boolean isStopped()
isStopped
in class AbstractProgressMonitor
public void setStopped(boolean stopped)
setStopped
in class AbstractProgressMonitor
public void setMajorStepCount(int majorCount)
setMajorStepCount
in class AbstractProgressMonitor
public void startStep(int stepNumber)
startStep
in class AbstractProgressMonitor
public void endStep(int stepNumber)
endStep
in class AbstractProgressMonitor
public void setStepProgress(double pctProgress)
setStepProgress
in class AbstractProgressMonitor
public void setMessage(java.lang.String message)
setMessage
in class AbstractProgressMonitor
public void setIndeterminate()