public interface IProgressMonitorIF
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Sends cancel message to monitored task.
|
void |
close()
Closes associated GUI component
|
int |
getCurrentStep() |
int |
getInitialStep() |
int |
getLastStep() |
boolean |
isCanceled()
Returns if has received cancel message
|
boolean |
isIndeterminated() |
void |
open()
Sets associated gui component visible
|
void |
setBarString(String barString)
Sets complementary text to progress bar.
|
void |
setBarStringDrawed(boolean stringDrawed)
Sets if the progress bar associated to monitor
must draw a complementary text to progress bar
|
void |
setCurrentStep(int step)
sets current step number of the task
monitored
|
void |
setIndeterminated(boolean indeterminated)
Sets if the monitored task is defined (known
number of steps) or undefined (unknown)
|
void |
setInitialStep(int step)
sets initial step number of the task
monitored
|
void |
setLastStep(int step)
sets final step number of the task
monitored
|
void |
setMainTitleLabel(String text)
Set main text of GUI component
|
void |
setNote(String note) |
void setInitialStep(int step)
step
- void setLastStep(int step)
step
- void setCurrentStep(int step)
step
- int getInitialStep()
int getLastStep()
int getCurrentStep()
void setIndeterminated(boolean indeterminated)
indeterminated
- boolean isIndeterminated()
void setBarStringDrawed(boolean stringDrawed)
stringDrawed
- void setBarString(String barString)
barString
- void setMainTitleLabel(String text)
text
- void setNote(String note)
void cancel()
boolean isCanceled()
void close()
void open()