Package se.his.it401g.todo
Interface TaskListener
public interface TaskListener
This is a listener interface where task objects can report changes to the main application.
This file licensed under the Creative Commons (CC) BY 4.0 license.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
taskChanged
(Task t) Called when a task is modified.void
Called when a task is completed.void
taskCreated
(Task t) Called when a task is created.void
taskRemoved
(Task t) Called when a task is removed.void
Called when completion status is removed.
-
Method Details
-
taskChanged
Called when a task is modified.- Parameters:
t
- is the modified task
-
taskCompleted
Called when a task is completed.- Parameters:
t
- is the completed task
-
taskUncompleted
Called when completion status is removed.- Parameters:
t
- is the modified task
-
taskCreated
Called when a task is created.- Parameters:
t
- is the new task
-
taskRemoved
Called when a task is removed.- Parameters:
t
- is the removed task
-