public interface LoadProgress extends ProgressListener
| Modifier and Type | Method and Description |
|---|---|
void |
doCancel(ProgressPanel progress)
Requests a cancel.
|
boolean |
isCanceled()
Is the progress canceled?
|
void |
onBeginOperation(String operation)
Update the progress panel that a new operation is starting.
|
void |
onEndOperation()
Update the progress panel that the current operation has ended.
|
void |
onEndOperation(String operation)
Update the progress panel that the current operation has ended.
|
void |
onError(String message)
Called when the operation has permanently failed.
|
void |
onLoadCompleted(int failureCount)
Load is completed.
|
void |
onProgress(int count,
int total)
Set the progress explicitly.
|
void |
setDimensions(int base,
int increment,
int end)
Set the dimensions of the current phase.
|
void |
setDimensions(int base,
int increment,
int end,
int limit)
Set the dimensions of the current phase.
|
void |
setOperation(String operation,
String parameter)
Set the operation explicitly.
|
void |
setPanel(ProgressPanel panel)
Set the progress bar reference.
|
void setDimensions(int base,
int increment,
int end)
increment - - the increment during this phasebase - - starting levelend - - the overallvoid setDimensions(int base,
int increment,
int end,
int limit)
increment - - the increment during this phasebase - - starting levelend - - the overalllimit - - the highest value that is allowed during this phasevoid setPanel(ProgressPanel panel)
ProgressPanel - boolean isCanceled()
void onBeginOperation(String operation)
operation - void onLoadCompleted(int failureCount)
failureCount - void onEndOperation(String operation)
operation - void onEndOperation()
void onError(String message)
String - - messagevoid onProgress(int count,
int total)
count - total - void setOperation(String operation, String parameter)
operation - parameter - void doCancel(ProgressPanel progress)
doCancel in interface ProgressListenerprogress - The panel of the progress, may be destroyed.Phantom® and NetPhantom® are registered trademarks of Nexum Technologies SARL.
© Copyright Nexum Technologies SARL, 2011. All rights reserved.