caltool.view
Class DailyAgenda

java.lang.Object
  extended by java.util.Observable
      extended by mvp.Model
          extended by caltool.view.DailyAgenda
All Implemented Interfaces:
java.io.Serializable

public class DailyAgenda
extends mvp.Model

A DailyAgenda contains the scheduled item information for a calendar day. At the top of the agenda is the full date for the day of the agenda. There is a list of event titles containing the events scheduled to occur on this day. Following the event list is a list of time-tagged descriptors for the scheduled appointments and meetings. At the end of the agenda is a numbered list of task descriptors for the day's scheduled tasks.

See Also:
Serialized Form

Field Summary
(package private)  CalendarDB calDB
           
(package private)  Date date
          Date of this day's agenda
(package private)  EventTitleList events
          List of scheduled event titles for this day
(package private)  TaskDescriptorList tasks
          List of scheduled tasks for this day
(package private)  TimeSlotDescriptorList timeSlots
          Time slot description list for schedule appointments and meetings
 
Fields inherited from class mvp.Model
view
 
Constructor Summary
DailyAgenda(CalendarDB calDB)
          Construct this with the given CalendarDB.
 
Method Summary
 void update(java.util.Observable o, java.lang.Object arg)
          Observe the calendar for any changes.
 
Methods inherited from class mvp.Model
dump, exit, getView, setView
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

date

Date date
Date of this day's agenda


events

EventTitleList events
List of scheduled event titles for this day


timeSlots

TimeSlotDescriptorList timeSlots
Time slot description list for schedule appointments and meetings


tasks

TaskDescriptorList tasks
List of scheduled tasks for this day


calDB

CalendarDB calDB
Constructor Detail

DailyAgenda

public DailyAgenda(CalendarDB calDB)
Construct this with the given CalendarDB.

Method Detail

update

public void update(java.util.Observable o,
                   java.lang.Object arg)
Observe the calendar for any changes. When a change happens, see if it effects this day, and if so, recompute and let the observing view know.