|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XProgressListener
Interface for listening for progress on
an unspecified process.
A progress listener can abort the monitored
process. Abortion is specified by using the
isAborted()
method, which should
be queried periodically by the using party.
Method Summary | |
---|---|
boolean |
isAborted()
Checks whether the monitored process has been canceled. |
void |
updateProgress(int progress,
int maxProgress)
Notifies the listener about progress being made. |
Method Detail |
---|
void updateProgress(int progress, int maxProgress)
progress
- Current progress step achieved.maxProgress
- Maximal progress steps available.boolean isAborted()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |