public interface ProgressMonitor
Modifier and Type | Method and Description |
---|---|
void |
begin(java.lang.String text,
int units)
Begins the monitoring of an operation.
|
void |
done()
Notifies that the worker is done.
|
int |
getProgress()
Returns the amount of work units done.
|
boolean |
isCanceled()
Indicates whether the user canceled the monitored operation.
|
void |
setCanceled(boolean state)
Sets the canceled state to the given value.
|
void |
setProgress(int units)
Sets amount of work units done to units.
|
void |
setText(java.lang.String text)
Sets the description to be displayed.
|
void setCanceled(boolean state)
state
- true
to request a cancelation of the monitored
operation.boolean isCanceled()
true
if the user canceled the monitored operation.void setProgress(int units)
units
- the amount of work units done.int getProgress()
void setText(java.lang.String text)
text
- description to be displayed.void begin(java.lang.String text, int units)
text
- description to be displayed.units
- amount of work units to be done.void done()
setCanceled(boolean)
Submit a bug or feature.
For further information and documentation, visit the official Jalopy website.
This page generated: March 30 2013