|
Protégé-OWL 3.3.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.stanford.smi.protegex.owl.model.AbstractTask
public abstract class AbstractTask
User: matthewhorridge
The University Of Manchester
Medical Informatics Group
Date: Sep 12, 2005
| Constructor Summary | |
|---|---|
AbstractTask(String title,
boolean canBeCancelled,
TaskManager tm)
|
|
AbstractTask(String title,
boolean canBeCancelled,
TaskManager tm,
int progMin,
int progMax)
|
|
| Method Summary | |
|---|---|
void |
cancelTask()
Requests that the task be cancelled. |
int |
getProgressMax()
Gets the maximum progress value for this task. |
int |
getProgressMin()
Gets the minimum progress value for this task. |
String |
getTitle()
Gets the title for this task. |
boolean |
isCancelled()
Checks whether this Task has been cancelled. |
boolean |
isPossibleToCancel()
Determines if the task can be cancelled |
void |
setMessage(String message)
|
void |
setProgress(int value)
|
void |
setProgressIndeterminate(boolean b)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface edu.stanford.smi.protegex.owl.model.Task |
|---|
runTask |
| Constructor Detail |
|---|
public AbstractTask(String title,
boolean canBeCancelled,
TaskManager tm)
public AbstractTask(String title,
boolean canBeCancelled,
TaskManager tm,
int progMin,
int progMax)
| Method Detail |
|---|
public boolean isPossibleToCancel()
Task
isPossibleToCancel in interface Tasktrue if the task can
be cancelled, or false if the
task cannot be cancelled.public void cancelTask()
Task
cancelTask in interface Taskpublic String getTitle()
Task
getTitle in interface Taskpublic int getProgressMin()
Task
getProgressMin in interface Taskpublic int getProgressMax()
Task
getProgressMax in interface Taskpublic boolean isCancelled()
Task
isCancelled in interface Taskpublic void setProgress(int value)
public void setProgressIndeterminate(boolean b)
public void setMessage(String message)
|
Protégé-OWL 3.3.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||