public class CalendarTool
extends mvp.Model
Functionalitywise, all of the model classes are autonomous units. They each do their own work as invoked by the user. All that this top-level class does is to construct the work-doing model classes and set up the initial state of the tool when it is invoked from the outside operating system.
See also the companion view class CalendarToolUI.
| Modifier and Type | Field and Description |
|---|---|
protected Admin |
admin
Calendar administration module
|
protected CalendarDB |
caldb
Calendar database
|
protected View |
calView
Calendar viewing module
|
protected Edit |
edit
Basic editing module
|
protected File |
file
File-handling module
|
protected Help |
help
Tool help module
|
protected Options |
options
Tool options module
|
protected Schedule |
schedule
Scheduling module
|
| Constructor and Description |
|---|
CalendarTool(CalendarToolUI calToolUI)
Construct this with the given companion view.
|
| Modifier and Type | Method and Description |
|---|---|
void |
exit()
Implement the exit method to pass the buck to file.exit().
|
Admin |
getAdmin()
Return the Admin model.
|
View |
getCalView()
Return the View model.
|
Edit |
getEdit()
Return the Edit model.
|
File |
getFile()
Return the File model.
|
Help |
getHelp()
Return the Help model.
|
Options |
getOptions()
Return the Options model.
|
Schedule |
getSchedule()
Return the Schedule model.
|
protected File file
protected Edit edit
protected Schedule schedule
protected View calView
protected Admin admin
protected Options options
protected Help help
protected CalendarDB caldb
public CalendarTool(CalendarToolUI calToolUI)
public void exit()
exit in class mvp.Modelpublic File getFile()
public Edit getEdit()
public Schedule getSchedule()
public View getCalView()
public Admin getAdmin()
public Options getOptions()
public Help getHelp()