|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProgressMonitor
Defines the requirements for classes that monitor operations to display user visible feedback.
Method Summary | |
---|---|
void |
done()
Invoked when the operation has completed. |
boolean |
isCancelled()
Returns true, if the opertion has been cancelled by the user. |
void |
setCancelEnabled(boolean enabled)
Enables the cancel button. |
void |
setMaximum(int max)
Sets the maximum value. |
void |
setMinimum(int min)
Sets the minimum value. |
void |
setPercent(double percent)
Sets the percentage that has been completed. |
void |
setText(java.lang.String text)
Sets the message text. |
void |
setThread(java.lang.Thread thread)
Associates a thread with the progress monitor. |
void |
setValue(int value)
Sets the current value. |
Method Detail |
---|
void done()
boolean isCancelled()
void setCancelEnabled(boolean enabled)
void setMaximum(int max)
void setMinimum(int min)
void setPercent(double percent)
void setValue(int value)
value
- min <= value <= maxvoid setText(java.lang.String text)
void setThread(java.lang.Thread thread)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |