public interface ProgressMonitor
Modifier and Type | Method and Description |
---|---|
int |
getPos()
Get the current position of the progress monitor.
|
int |
getRangeFinish()
Gets the upper limit of the range of the progress monitor.
|
int |
getRangeStart()
Gets the lower limit of the range of the progress monitor.
|
int |
offsetPos(int offset)
Advances the current position of a progress monitor by a specified
increment and redraws the bar to reflect the new position.
|
int |
setPos(int pos)
Set the current position for a progress monitor and redraws the bar to
reflect the new ranges.
|
void |
setRange(int start,
int finish)
set upper and lower limit of the progress monitor
|
int |
setStep(int nstep)
Specifies the step increment for a progress bar monitor.
|
int |
stepIt()
Advances the current position for a progress monitor by the step
increment (see SetStep) and redraws the monitor to reflect the new
position.
|
void setRange(int start, int finish)
start
- finish
- int getRangeStart()
int getRangeFinish()
int getPos()
int setPos(int pos)
pos
- - the new position of the progress monitorint offsetPos(int offset)
offset
- - advances the current position of a progress bar control by a
specified increment and redraws the bar to reflect the new
position.int setStep(int nstep)
nstep
- - new step increment.int stepIt()