|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.nachocalendar.model.DefaultDataModel
net.sf.nachocalendar.tasks.TaskDataModel
public class TaskDataModel
Implementation of the interface DataModel, created to manage tasks.
| Constructor Summary | |
|---|---|
TaskDataModel()
Creates a new instance of TaskDataModel. |
|
| Method Summary | |
|---|---|
void |
addTask(Task task)
Adds a new Task to the model. |
java.util.Collection |
getTasks(java.util.Date date)
Returns a Collection with all the tasks related to a provided Date. |
void |
removeTask(Task task)
Removes a task from the model. |
| Methods inherited from class net.sf.nachocalendar.model.DefaultDataModel |
|---|
addData, addDataModelListener, clear, getAll, getData, getSize, removeData, removeDataModelListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TaskDataModel()
| Method Detail |
|---|
public void addTask(Task task)
task - the task to be addedpublic java.util.Collection getTasks(java.util.Date date)
date - the Date requested
public void removeTask(Task task)
task - task to be removed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||