|
||||||||||
| 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 | |
|---|---|
Component |
getComponent()
Returns the component that displays the progress. |
boolean |
isCancelled()
Returns true, if the operation has been cancelled by the user. |
void |
setCancelEnabled(boolean enabled)
Enables the cancel button. |
void |
setText(String text)
Sets the message text. |
void |
setTotalSteps(long max)
Sets the maximum value. |
void |
setValue(long value)
Sets the current value. |
void |
work(long amount)
Increase the value by amount. |
| Method Detail |
|---|
Component getComponent()
null.
boolean isCancelled()
void setCancelEnabled(boolean enabled)
Per default we assume cancelling is enabled.
void setTotalSteps(long max)
void setValue(long value)
value - min <= value <= maxvoid setText(String text)
void work(long amount)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||