#BlueJ class context comment0.target=class\ CalendarTool comment0.text=\n\nClass\ CalendarTool\ is\ the\ top-level\ model\ class\ for\ an\ electronic\ calendar\ntool.\ \ CalendarTool\ has\ references\ to\ the\ functional\ model\ classes\ of\ the\ntool\:\ File,\ Edit,\ Schedule,\ View,\ Admin,\ Options,\ and\ Help.\ \ There\ is\ also\ a\nreference\ to\ the\ CalendarDB\ class\ that\ houses\ the\ tool's\ major\ data\ bases.\n\nFunctionalitywise,\ all\ of\ the\ model\ classes\ are\ autonomous\ units.\ \ They\ each\nto\ there\ own\ work\ as\ invoked\ by\ the\ user.\ \ All\ that\ this\ top-level\ class\ndoes\ is\ to\ construct\ the\ work-doing\ model\ classes\ and\ set\ up\ the\ initial\nstate\ of\ the\ tool\ when\ it\ is\ invoked\ from\ the\ outside\ operating\ system.\n\nSee\ also\ the\ companion\ view\ class\ \nCalendarToolUI.\ \n\n\n comment1.params= comment1.target=void\ initialize() comment1.text=\nSet\ up\ the\ initial\ state\ of\ the\ tool,\ based\ on\ default\ option\ values\ and\ncommand-line\ arguments,\ if\ any.\ \ Details\ TBD.\n\n comment10.params= comment10.target=View\ getCalView() comment10.text=Return\ the\ View\ model.\ \n comment11.target=edit comment11.text=Basic\ editing\ module\ \n comment12.params= comment12.target=void\ exit() comment12.text=\nImplement\ the\ exit\ method\ to\ pass\ the\ buck\ to\ file.exit().\ \ Per\ set\ up\nperformed\ in\ the\ companion\ CalendarToolUI\ view,\ this\ method\ is\ called\nwhen\ the\ user\ closes\ the\ top-level\ menubar\ window,\ e.g.,\ via\ the\ window\nmanager\ close\ button.\n\n comment13.target=help comment13.text=Tool\ options\ module\ \n comment14.params=calToolUI comment14.target=CalendarTool(CalendarToolUI) comment14.text=\nConstruct\ this\ with\ the\ given\ companion\ view.\ \ Call\ the\ submodel\nconstructors.\ \ Initialize\ the\ start-up\ state\ based\ on\ default\ options\nand\ command-line\ arguments.\n\n comment15.params= comment15.target=Schedule\ getSchedule() comment15.text=Return\ the\ Schedule\ model.\ \n comment16.target=schedule comment16.text=Scheduling\ module\ \n comment17.params= comment17.target=Admin\ getAdmin() comment17.text=Return\ the\ Admin\ model.\ \n comment18.target=file comment18.text=File-handling\ module\ \n comment2.params= comment2.target=Edit\ getEdit() comment2.text=Return\ the\ Edit\ model.\ \n comment3.target=options comment3.text=Tool\ options\ module\ \n comment4.target=caldb comment4.text=Calendar\ database\ \n comment5.params= comment5.target=Help\ getHelp() comment5.text=Return\ the\ Help\ model.\ \n comment6.target=calView comment6.text=Calendar\ viewing\ module\ \n comment7.params= comment7.target=Options\ getOptions() comment7.text=Return\ the\ Options\ model.\ \n comment8.params= comment8.target=File\ getFile() comment8.text=Return\ the\ File\ model.\ \n comment9.target=admin comment9.text=Calendar\ administration\ module\ \n numComments=19