|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.dynalivery.repository.util.ProgressReporter
This abstract class is used to report the progress of a potentially long operation
| Constructor Summary | |
ProgressReporter()
Create a progress reporter |
|
| Method Summary | |
void |
initialize(java.lang.String operationMessage,
int min,
int max)
Initialize the progress reporter |
boolean |
isCanceled()
Returns true if canceled flag is set |
boolean |
isInitialized()
Returns true if ProgressReporter is initialized |
void |
setCanceled()
Set the canceled flag to true |
abstract void |
setMessage(java.lang.String message)
Change the progress message |
abstract void |
setProgress(int value)
Report the progress of an operation. |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public ProgressReporter()
| Method Detail |
public void initialize(java.lang.String operationMessage,
int min,
int max)
operationMessage - a String describing the overall operationmin - an integer value representing the starting point of an operationmax - an integer value representing the ending point of an operationpublic abstract void setMessage(java.lang.String message)
message - a message String indicating what progress has occurredpublic abstract void setProgress(int value)
value - an integer value between the original min/max values that indicates what progress has occurredpublic void setCanceled()
public boolean isCanceled()
public boolean isInitialized()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||