public class View
extends mvp.Model
| Modifier and Type | Field and Description |
|---|---|
protected CalendarDB |
calDB
Calendar database in which viewed items are stored
|
protected DailyAgenda |
dailyAgenda
The current instance of DailyAgenda that computes the view for the
user-selected day.
|
protected Filter |
filter
The filter submodel
|
protected Lists |
lists
The lists submodel
|
protected MonthlyAgenda |
monthlyAgenda
The current instance of MonthlyAgenda that computes the view for the
user-selected month.
|
protected WeeklyAgendaList |
weeklyAgendaList
The current instance of WeeklyAgendaList that computes the view for the
user-selected week.
|
protected WeeklyAgendaTable |
weeklyAgendaTable
The current instance of WeeklyAgendaTable that computes the view for
the user-selected week.
|
protected Windows |
windows
The windows submodel
|
| Constructor and Description |
|---|
View(mvp.View view,
CalendarDB caldb) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areAppointmentsHidden()
Return true if appointments are hidden, false if not.
|
boolean |
areEventsHidden()
Return true if events are hidden, false if not.
|
boolean |
areMeetingsHidden()
Return true if meetings are hidden, false if not.
|
boolean |
areTasksHidden()
Return true if tasks are hidden, false if not.
|
Lists |
getLists()
Return the lists model class that has the methods to compute the differe
forms of lists.
|
void |
selectDate(Date date)
Select the date in the current calendar.
|
void |
selectDate(int date)
Select the date given a single date number.
|
void |
toggleShowHideAppointments()
Toggle the show/hide state for appointments.
|
void |
toggleShowHideEvents()
Toggle the show/hide state for events.
|
void |
toggleShowHideMeetings()
Toggle the show/hide state for meetings.
|
void |
toggleShowHideTasks()
Toggle the show/hide state for tasks.
|
DailyAgenda |
viewDay()
Produce the daily agenda for the currently selected date, or for today's
date if no other date is currently selected.
|
ScheduledItem |
viewItem()
Produce the currently selected scheduled item.
|
MonthlyAgenda |
viewMonth()
Produce the monthly agenda for the currently selected date, or for
today's date if no other date is currently selected.
|
protected CalendarDB calDB
protected DailyAgenda dailyAgenda
protected WeeklyAgendaTable weeklyAgendaTable
protected WeeklyAgendaList weeklyAgendaList
protected MonthlyAgenda monthlyAgenda
protected Lists lists
protected Filter filter
protected Windows windows
public View(mvp.View view,
CalendarDB caldb)
public ScheduledItem viewItem()
public DailyAgenda viewDay()
public MonthlyAgenda viewMonth()
public Lists getLists()
public void selectDate(Date date)
public void selectDate(int date)
public void toggleShowHideAppointments()
public boolean areAppointmentsHidden()
public void toggleShowHideMeetings()
public boolean areMeetingsHidden()
public void toggleShowHideTasks()
public boolean areTasksHidden()
public void toggleShowHideEvents()
public boolean areEventsHidden()