|
Protégé-OWL 3.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.smi.protegex.owl.model.impl.NoopProgressDisplay
public class NoopProgressDisplay
User: matthewhorridge
The University Of Manchester
Medical Informatics Group
Date: Sep 13, 2005
Constructor Summary | |
---|---|
NoopProgressDisplay()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoopProgressDisplay()
Method Detail |
---|
public void run(Task task) throws Exception
TaskProgressDisplay
run
in interface TaskProgressDisplay
task
- The Task
that will be run and
whose progress will be monitored and displayed.
Exception
public void setProgress(Task task, int progress)
TaskProgressDisplay
setProgress
in interface TaskProgressDisplay
task
- The task which the progress relates toprogress
- The progress that will
be between the min and max progress for
the Task
public void setProgressIndeterminate(Task task, boolean b)
TaskProgressDisplay
setProgressIndeterminate
in interface TaskProgressDisplay
b
- true
if the progress is
indeterminate, or false
if the progress
is not indeterminate.public void setMessage(Task task, String message)
TaskProgressDisplay
setMessage
in interface TaskProgressDisplay
public void end(Task task)
TaskProgressDisplay
end
in interface TaskProgressDisplay
|
Protégé-OWL 3.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |