|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Task
The interface that must be implemented by task classes.
| Method Summary | |
|---|---|
void |
add(TaskObserver observer)
Add a task observer. |
int |
getCompleted()
Return the percent of completion of the task. |
java.lang.String |
getDescription()
Return the description of the task. |
int |
getWeight()
Return the weight of the task. |
boolean |
isCompleted()
Check if the task is completed. |
void |
notifyChanges()
Notify changes to the task observer(s). |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Method Detail |
|---|
void add(TaskObserver observer)
observer - The task observer that will be notified about changes
on this task.void notifyChanges()
java.lang.String getDescription()
int getWeight()
int getCompleted()
boolean isCompleted()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||