|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An object implementing this interface is returned by Prompt.showProgress(java.lang.String)
in order to allow the client code to programatically update or dismiss
the progress.
Method Summary | |
void |
dispose()
Indicate that the progress has completed, and the progress dialog or message should no longer be displayed. |
int |
getValue()
Get the current progress value. |
void |
setRange(int min,
int max)
Update the range of this display. |
void |
setValue(int val)
Update the progress. |
Method Detail |
public void setRange(int min, int max)
setValue(int)
)
must be between min
and max
inclusive.
min
- the minmax
- the maxpublic void setValue(int val)
val
should be between the
min and max (inclusive) specified in setRange(int, int)
. It is
an error to call this if setRange(int, int)
has not been called.
val
- the new valuepublic int getValue()
public void dispose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |