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
 
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
 

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.