|
Protégé-OWL 3.4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaskProgressDisplay
User: matthewhorridge
The University Of Manchester
Medical Informatics Group
Date: Sep 11, 2005
Method Summary | |
---|---|
void |
end(Task task)
Stops (hides) the progress display. |
void |
run(Task task)
Runs the task and starts the display of progress to the user. |
void |
setMessage(Task task,
String message)
Sets the message that will be displayed to the user. |
void |
setProgress(Task task,
int progress)
Updates the value of the progress that is displayed to the user. |
void |
setProgressIndeterminate(Task task,
boolean b)
Sets the progress display to indicate that the progress cannot be determined, but the task is proceding as normal. |
Method Detail |
---|
void run(Task task) throws Exception
task
- The Task
that will be run and
whose progress will be monitored and displayed.
Exception
void setProgress(Task task, int progress)
task
- The task which the progress relates toprogress
- The progress that will
be between the min and max progress for
the Task
void setProgressIndeterminate(Task task, boolean b)
b
- true
if the progress is
indeterminate, or false
if the progress
is not indeterminate.void setMessage(Task task, String message)
void end(Task task)
|
Protégé-OWL 3.4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |