|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface provides callbacks for reporting progress on time-consuming operations.
Method Summary | |
void |
exceptionOccured(java.lang.Throwable t)
If the operation threw an exception, this method will be called instead of setResults(Object) . |
void |
setMaximum(int iMaxCount)
This method is called to report the total amount of work to be done. |
void |
setProgress(int iCount)
This method is called at intervals to report the total progress so far. |
void |
setResults(java.lang.Object results)
This method will be called once the operation is complete to report the results if the operation succeeded. |
Method Detail |
public void setMaximum(int iMaxCount)
iMaxCount
- the total amount of work to be donepublic void setProgress(int iCount)
iCount
will be non-negative, stay the same or increase on each call,
and will not exceed the value of iMaxCount
in
setMaximum(int)
.iCount
- the amount of work done so farpublic void setResults(java.lang.Object results)
exceptionOccured(Throwable)
will be called instead. This will
be the last method called.results
- the results of the operationpublic void exceptionOccured(java.lang.Throwable t)
setResults(Object)
. This method may be called at any time,
and will be the last method called.t
- the exception that occured
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |