public interface IProgressDelegate
| Modifier and Type | Method and Description |
|---|---|
void |
beginTask(java.lang.String astrTaskName,
int aiTotalWork)
Notifies that the main task is beginning.
|
void |
done()
Notifies that the work is done; that is, either the main task is completed
or the user canceled it.
|
boolean |
isCanceled()
Returns whether cancellation of current operation has been requested.
|
void |
setCanceled(boolean abCancelled)
Sets the cancelled state.
|
void |
subTask(java.lang.String astrSubtaskName)
Notifies that a subtask of the main task is beginning.
|
void |
worked(int aiWorkUnitsCompleted)
Notifies that a given number of work unit of the main task
has been completed.
|
void beginTask(java.lang.String astrTaskName,
int aiTotalWork)
astrTaskName - the name (or description) of the main taskaiTotalWork - the total number of work units (denominator).void done()
boolean isCanceled()
true if cancellation has been requested.void setCanceled(boolean abCancelled)
abCancelled - true indicates that cancellation has been requested.void subTask(java.lang.String astrSubtaskName)
astrSubtaskName - The name (or description) of the subtask.void worked(int aiWorkUnitsCompleted)
aiWorkUnitsCompleted - Number of work units just completed.Copyright © 2005-2013 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.