|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProgressIndicator
Progress indicator
Field Summary | |
---|---|
static int |
UNKNOWN
Unknown amount of work units |
Method Summary | |
---|---|
void |
advance(int workUnits)
Advances the progress by the given work units |
void |
begin(String taskName,
int totalWork)
Start the progress tracking |
void |
end()
Stop the progress tracking, signaling that the task is done |
boolean |
isCanceled()
States if the execution was canceled |
void |
setCurrentTask(String taskName)
Sets the current task name |
Field Detail |
---|
static final int UNKNOWN
Method Detail |
---|
void begin(String taskName, int totalWork)
taskName
- the main task nametotalWork
- the total work units for the progress indicator, if
unknown use UNKNOWN
void setCurrentTask(String taskName)
taskName
- the task namevoid advance(int workUnits)
workUnits
- the work unitsboolean isCanceled()
void end()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |