class TaskChangeObservable extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.List<TaskChangeObserver> |
observers |
Constructor and Description |
---|
TaskChangeObservable() |
Modifier and Type | Method and Description |
---|---|
void |
addTask(Task task) |
void |
addTaskChangeObserver(TaskChangeObserver observer) |
void |
removeTaskChangeObserver(TaskChangeObserver observer) |
void |
selectTask(Task task) |
void |
updateTask(Task task) |
private java.util.List<TaskChangeObserver> observers
TaskChangeObservable()
public void addTaskChangeObserver(TaskChangeObserver observer)
public void removeTaskChangeObserver(TaskChangeObserver observer)
public void selectTask(Task task)
public void updateTask(Task task)