Serialized Form


Package caltool

Class caltool.CalendarTool extends mvp.Model implements Serializable

Serialized Fields

file

File file
File-handling module


edit

Edit edit
Basic editing module


schedule

Schedule schedule
Scheduling module


calView

View calView
Calendar viewing module


admin

Admin admin
Calendar administration module


options

Options options
Tool options module


help

Help help
Tool help module


caldb

CalendarDB caldb
Calendar database

Class caltool.CalendarToolAdministration extends mvp.Model implements Serializable

Class caltool.CalendarToolServer extends mvp.Model implements Serializable


Package caltool.admin

Class caltool.admin.Admin extends mvp.Model implements Serializable

Class caltool.admin.GroupDB extends mvp.Model implements Serializable

Class caltool.admin.RoomDB extends mvp.Model implements Serializable

Class caltool.admin.UserDB extends mvp.Model implements Serializable

Serialized Fields

data

java.util.Collection<E> data
The collection data representation is abstract for now

Class caltool.admin.UserRecord extends mvp.Model implements Serializable

Serialized Fields

name

java.lang.String name
User's real-world name


id

java.lang.String id
Unique identifier by which the user is known to the Calendar Tool


email

EmailAddress email
Electronic mail address used by the Calendar Tool to contact the user when necessary


phone

PhoneNumber phone
Phone number used for infomation purposes, but not by Calendar Tool directly


Package caltool.admin_ui

Class caltool.admin_ui.AdminMenu extends mvp.View implements Serializable

Class caltool.admin_ui.AdminUI extends mvp.View implements Serializable

Serialized Fields

adminMenu

AdminMenu adminMenu

Class caltool.admin_ui.UserDBDialog extends CalendarToolWindow implements Serializable


Package caltool.admin.administrator

Class caltool.admin.administrator.Admin extends mvp.Model implements Serializable

Class caltool.admin.administrator.GroupDB extends mvp.Model implements Serializable

Class caltool.admin.administrator.RoomDB extends mvp.Model implements Serializable

Class caltool.admin.administrator.UserDB extends mvp.Model implements Serializable

Serialized Fields

data

java.util.Collection<E> data
The collection data representation is abstract for now

Class caltool.admin.administrator.UserRecord extends mvp.Model implements Serializable

Serialized Fields

name

java.lang.String name
User's real-world name


id

java.lang.String id
Unique identifier by which the user is known to the Calendar Tool


email

EmailAddress email
Electronic mail address used by the Calendar Tool to contact the user when necessary


phone

PhoneNumber phone
Phone number used for infomation purposes, but not by Calendar Tool directly


Package caltool.admin.user

Class caltool.admin.user.Admin extends mvp.Model implements Serializable


Package caltool.caldb

Class caltool.caldb.CalendarDB extends mvp.Model implements Serializable

Serialized Fields

userCalendars

UserCalendars userCalendars
List of UserCalendars for all registered users


userDB

UserDB userDB
Registered user data base


groupDB

GroupDB groupDB
User group data base


roomDB

RoomDB roomDB
Room data base


globalOptions

GlobalOptions globalOptions
Set of calendar options common by default for all users, both registered and non-registered


workspace

UserWorkSpace workspace
Active calendars upon which the current user is working.

Class caltool.caldb.CalendarSpecificSettings extends mvp.Model implements Serializable

Class caltool.caldb.ItemKey extends java.lang.Object implements Serializable

Serialized Fields

date

Date date
The date field used in all keys


time

Time time
The time field used in all keys except for events


duration

Duration duration
The duration field used in appointment and meeting keys


title

java.lang.String title
The title field used in all keys


priority

int priority
The priority field in task keys only

Class caltool.caldb.UserCalendar extends mvp.Model implements Serializable

Serialized Fields

items

java.util.TreeMap<K,V> items
The collection of all scheduled items for this calendar


settings

CalendarSpecificSettings settings
Calendar-specific settings for this calendar


uid

java.lang.String uid
Id of user who owns this calendar


file

java.io.File file
File this calendar is stored on


selectedDate

Date selectedDate
Currently selected date, if any


requiresSaving

boolean requiresSaving
True if this requires saving


selectedItem

ScheduledItem selectedItem
Currently selected item, if any

Class caltool.caldb.UserWorkSpace extends mvp.Model implements Serializable

Serialized Fields

uid

java.lang.String uid
Unique id of the current user


calendars

java.util.Vector<E> calendars
List of active calendars


options

UserOptions options
Specific options set for this workspace


currentIndex

int currentIndex
Index of currently active calendar


Package caltool.caltool_ui

Class caltool.caltool_ui.BoxPanel extends javax.swing.JPanel implements Serializable

Class caltool.caltool_ui.CalendarToolUI extends mvp.View implements Serializable

Serialized Fields

menuBar

javax.swing.JMenuBar menuBar
The top-level menu bar.


fileUI

FileUI fileUI
The pulldown File menu.


editUI

EditUI editUI
The pulldown Edit menu.


scheduleUI

ScheduleUI scheduleUI
The pulldown Schedule menu.


viewUI

ViewUI viewUI
The pulldown View menu.


adminUI

AdminUI adminUI
The pulldown Admin menu.


optionsUI

OptionsUI optionsUI
The pulldown Options menu.


helpUI

HelpUI helpUI
The pulldown Help menu.

Class caltool.caltool_ui.CalendarToolWindow extends mvp.View implements Serializable

Serialized Fields

calToolUI

CalendarToolUI calToolUI
The parent caltool UI


firstShowing

boolean firstShowing
True only before the window is shown for the first time


Package caltool.edit

Class caltool.edit.Edit extends mvp.Model implements Serializable


Package caltool.edit_ui

Class caltool.edit_ui.EditMenu extends mvp.View implements Serializable

Class caltool.edit_ui.EditUI extends mvp.View implements Serializable

Serialized Fields

editMenu

EditMenu editMenu

Package caltool.file

Class caltool.file.File extends mvp.Model implements Serializable

Serialized Fields

calDB

CalendarDB calDB
The CalendarDB, containing the data to be stored onto files and into which file data are read.


calTool

CalendarTool calTool
Temp ref to top-level tool for serialization testing purposes

Class caltool.file.PrintSpecs extends mvp.Model implements Serializable


Package caltool.file_ui

Class caltool.file_ui.FileMenu extends mvp.View implements Serializable

Serialized Fields

file

File file
Local reference to super.model for convenience to avoid casting everywhere; i.e., file is set equal to (File)super.model once in the constructor.


menu

javax.swing.JMenu menu
Local reference to (JMenu)super.widget for convenience to avoid casting; i.e., menu is set equal to (File)super.widget once in the constructor.

Class caltool.file_ui.FileUI extends mvp.View implements Serializable

Serialized Fields

fileMenu

FileMenu fileMenu
The companion model


Package caltool.help

Class caltool.help.Help extends mvp.Model implements Serializable


Package caltool.help_ui

Class caltool.help_ui.HelpMenu extends mvp.View implements Serializable

Class caltool.help_ui.HelpUI extends mvp.View implements Serializable

Serialized Fields

helpMenu

HelpMenu helpMenu

Package caltool.options

Class caltool.options.GlobalOptions extends mvp.Model implements Serializable

Class caltool.options.Options extends mvp.Model implements Serializable

Class caltool.options.UserOptions extends mvp.Model implements Serializable


Package caltool.options_ui

Class caltool.options_ui.AdministrativeOptionsPanel extends mvp.View implements Serializable

Class caltool.options_ui.FontsOptionsPanel extends mvp.View implements Serializable

Class caltool.options_ui.OptionsMenu extends mvp.View implements Serializable

Serialized Fields

optionsUI

OptionsUI optionsUI
Parent view

Class caltool.options_ui.OptionsUI extends CalendarToolWindow implements Serializable

Serialized Fields

panel

javax.swing.JPanel panel
The background panel


tabs

javax.swing.JTabbedPane tabs
The tabbed dialog


timesAndDatesPanel

TimesAndDatesOptionsPanel timesAndDatesPanel
The times and dates pane


fontsPanel

FontsOptionsPanel fontsPanel
The fonts pane


schedulingPanel

SchedulingOptionsPanel schedulingPanel
The scheduling pane


viewingPanel

ViewingOptionsPanel viewingPanel
The viewing pane


administrativePanel

AdministrativeOptionsPanel administrativePanel
The administrative pane


optionsMenu

OptionsMenu optionsMenu
The menu

Class caltool.options_ui.SchedulingOptionsPanel extends mvp.View implements Serializable

Class caltool.options_ui.TimesAndDatesOptionsPanel extends mvp.View implements Serializable

Serialized Fields

maxTextFieldHeight

double maxTextFieldHeight
The max height of a text field

Class caltool.options_ui.ViewingListsAppointmentsOptionsPanel extends mvp.View implements Serializable

Serialized Fields

titleCheckBox

javax.swing.JCheckBox titleCheckBox

dateCheckBox

javax.swing.JCheckBox dateCheckBox

timeCheckBox

javax.swing.JCheckBox timeCheckBox

durationCheckBox

javax.swing.JCheckBox durationCheckBox

recursCheckBox

javax.swing.JCheckBox recursCheckBox

categoryCheckBox

javax.swing.JCheckBox categoryCheckBox

locationCheckBox

javax.swing.JCheckBox locationCheckBox

securityCheckBox

javax.swing.JCheckBox securityCheckBox

priorityCheckBox

javax.swing.JCheckBox priorityCheckBox

sortKeyCombo

javax.swing.JComboBox sortKeyCombo

maxItemsTextField

javax.swing.JTextField maxItemsTextField

displayHeightTextField

javax.swing.JTextField displayHeightTextField

startDateTextField

javax.swing.JTextField startDateTextField

startDateCombo

javax.swing.JComboBox startDateCombo

startDateDirectionCombo

javax.swing.JComboBox startDateDirectionCombo

endDateTextField

javax.swing.JTextField endDateTextField

endDateCombo

javax.swing.JComboBox endDateCombo

endDateDirectionCombo

javax.swing.JComboBox endDateDirectionCombo

maxTextFieldHeight

double maxTextFieldHeight
The max height of a text field

Class caltool.options_ui.ViewingListsOptionsPanel extends mvp.View implements Serializable

Serialized Fields

apptsPanel

ViewingListsAppointmentsOptionsPanel apptsPanel

Class caltool.options_ui.ViewingOptionsPanel extends mvp.View implements Serializable

Serialized Fields

listsPanel

ViewingListsOptionsPanel listsPanel

Package caltool.schedule

Class caltool.schedule.Appointment extends ScheduledItem implements Serializable

Serialized Fields

startTime

Time startTime
Starting time of the appointment


duration

Duration duration
How long the appointment lasts


recurringInfo

RecurringInfo recurringInfo
Defines if and how an appointment recurs


location

java.lang.String location
Where the appointment is held


security

Security security
Indicates who can see that the appointment is scheduled


priority

Priority priority
How important the appointment is


remindInfo

RemindInfo remindInfo
Indicates if and how user is reminded


details

java.lang.String details
Free-form text describing any specific appointment details


itemKey

ItemKey itemKey
The uniqe key for storing this in the UserCalendar items list

Class caltool.schedule.Categories extends mvp.Model implements Serializable

Class caltool.schedule.Category extends mvp.Model implements Serializable

Serialized Fields

name

java.lang.String name
Text name of the category


color

StandardColor color
Color name of the category

Class caltool.schedule.Date extends mvp.Model implements Serializable

Serialized Fields

day

DayName day
One of the seven standard days of the week


number

int number
Numeric date in a month, between 1 and 31


month

MonthName month
One of the twelve months of the year


year

int year
The four-digit year number. (Yes, this Calendar Tool has a Y10K problem.)


valid

boolean valid
True if this is a valud date


format

java.text.SimpleDateFormat format
The JFC SimpleDateFormat object to use for date calculations.


jCalendar

java.util.Calendar jCalendar
The JFC object to use for date calculations.


jDate

java.util.Date jDate
The java.util.Date value that represents this' date. In future, this may be the only data rep of this, but for now we keep our own model data fields around as well. At present, the significant use of this date rep is in this.compareTo.

Class caltool.schedule.Duration extends mvp.Model implements Serializable

Serialized Fields

hours

int hours
Hour component of a duration value, between 0 and 999


minutes

int minutes
Minute component of a duration value, between 0 and 60*999

Class caltool.schedule.Event extends ScheduledItem implements Serializable

Serialized Fields

security

SimpleSecurity security
Whether the event is public or private.


itemKey

ItemKey itemKey
The uniqe key for storing this in the UserCalendar items list

Class caltool.schedule.IntervalDetails extends mvp.Model implements Serializable

Serialized Fields

weekly

WeeklyDetails weekly
The weekly recurring details


monthly

MonthlyDetails monthly
The monthly recurring details

Class caltool.schedule.Meeting extends Appointment implements Serializable

Serialized Fields

attendees

Attendees attendees

Class caltool.schedule.MeetingRequest extends Meeting implements Serializable

Class caltool.schedule.MeetingSchedulingOptions extends mvp.Model implements Serializable

Class caltool.schedule.MonthlyDetails extends IntervalDetails implements Serializable

Serialized Fields

inJan

boolean[] inJan
Recurrence dates for January


inFeb

boolean[] inFeb
Recurrence dates for February


inMar

boolean[] inMar
Recurrence dates for March


inApr

boolean[] inApr
Recurrence dates for April


inMay

boolean[] inMay
Recurrence dates for May


inJun

boolean[] inJun
Recurrence dates for June


inJul

boolean[] inJul
Recurrence dates for July


inAug

boolean[] inAug
Recurrence dates for August


inSep

boolean[] inSep
Recurrence dates for September


inOct

boolean[] inOct
Recurrence dates for October


inNov

boolean[] inNov
Recurrence dates for November


inDec

boolean[] inDec
Recurrence dates for December

Class caltool.schedule.RecurringInfo extends mvp.Model implements Serializable

Serialized Fields

isRecurring

boolean isRecurring
True if a scheduled item is recurring


interval

RecurringInterval interval
Specifies the granularity at which recurring items are defined


details

IntervalDetails details
The details of recurrance, based on the value of interval. If interval is weekly or biweekly, details points to an instance of WeeklyDetails. If interval is monthly, details points to an instance of MonthlyDeatils. If interval is yearly, details is null.

Class caltool.schedule.RemindInfo extends mvp.Model implements Serializable

Serialized Fields

isReminded

boolean isReminded
True of a reminder is to be sent for a scheduled item


when

RemindWhen when
How soon before the reminder is sent


where

RemindWhere where
Where the reminder appears

Class caltool.schedule.RemindWhen extends mvp.Model implements Serializable

Serialized Fields

time

int time
The amount of time in hours, days, or minutes


unit

ReminderTimeUnit unit
The unit of time

Class caltool.schedule.Schedule extends mvp.Model implements Serializable

Serialized Fields

categories

Categories categories
Category list in which scheduled item categories are defined


calDB

CalendarDB calDB
Calendar database that contains the current calendar in which scheduled items are stored


scheduleAppointmentPrecondViolation

ScheduleAppointmentPrecondViolation scheduleAppointmentPrecondViolation
Precond violation exception object


scheduleMeetingPrecondViolation

ScheduleMeetingPrecondViolation scheduleMeetingPrecondViolation

scheduleTaskPrecondViolation

ScheduleTaskPrecondViolation scheduleTaskPrecondViolation

scheduleEventPrecondViolation

ScheduleEventPrecondViolation scheduleEventPrecondViolation

Class caltool.schedule.ScheduleAppointmentPrecondViolation extends java.lang.Exception implements Serializable

Class caltool.schedule.ScheduledItem extends mvp.Model implements Serializable

Serialized Fields

title

java.lang.String title
Brief description of the scheduled item


startOrDueDate

Date startOrDueDate
Date on which item is scheduled or due. The startOrDueDate is a multi-purpose field of ScheduledItem. Its purpose depends on whether an item is a Task and whether it is recurring (Events cannot recur). For non-recurring appointments and meetings, StartOrDueDate is used as the single date on which the item is scheduled. If the item is recurring, StartOrDueDate is the first date on which it occurs. For a non-recurring Task, StartOrDueDate is the single date the task is due. If the task is recurring, StartOrDueDate is the first date it is due.


endDate

Date endDate
Last date on which item is scheduled or due. In recurring appointments, meetings, and tasks, the end date defines the last date on which the item will recur. In events, the end date defines the last date of a multi-day event. When the value of end date is empty, the StartOrDueDate component is interpreted as the single date on which the item occurs.


category

Category category
Used to organize items into related color-coded categories

Class caltool.schedule.ScheduleEventPrecondViolation extends java.lang.Exception implements Serializable

Serialized Fields

errors

java.util.ArrayList<E> errors
List of current error messages


numErrors

int numErrors
Error message count


emptyTitleMessage

java.lang.String emptyTitleMessage
Error message for empty title


alreadyScheduledMessage

java.lang.String alreadyScheduledMessage
Error message for event of same date,title already scheduled


invalidStartDateMessage

java.lang.String invalidStartDateMessage
Error message for invalid start date


invalidEndDateMessage

java.lang.String invalidEndDateMessage
Error message for invalid end date


noActiveCalendarMessage

java.lang.String noActiveCalendarMessage
Error message for no currently active calendar in the workspace

Class caltool.schedule.ScheduleMeetingPrecondViolation extends java.lang.Exception implements Serializable

Class caltool.schedule.ScheduleTaskPrecondViolation extends java.lang.Exception implements Serializable

Class caltool.schedule.Task extends ScheduledItem implements Serializable

Serialized Fields

dueTime

Time dueTime
Due time of the task


recurringInfo

RecurringInfo recurringInfo
Defines if and how an task recurs


security

Security security
Indicates who can see that the task is scheduled


priority

int priority
Defines the relative priority of this task compared to others


remindInfo

RemindInfo remindInfo
Indicates if and how user is reminded


details

java.lang.String details
Free-form text describing any specific appointment details


completedFlag

boolean completedFlag
CompletedFlag is true if a Task has been completed, false if not. The system does not enforce any specific constraints on the setting of a task's CompletedFlag. That is, the user may set or clear it at will. Hence the meaning of the CompletedFlag is up to user interpretation, particularly for recurring tasks.


completionDate

Date completionDate
CompletionDate is date on which as task is completed. The system does not enforce any specific constraints on the setting of a task's CompletionDate (other than it being a legal Date value). The meaning of the CompletionDate value is up to user interpretation, particularly for recurring tasks.


itemKey

ItemKey itemKey
The uniqe key for storing this in the UserCalendar items list

Class caltool.schedule.Time extends mvp.Model implements Serializable

Serialized Fields

hour

int hour
The hour component of a time value, between 1 and 12 or 0 and 24 based on the clock style in use


minute

int minute
The minute component of a time value, between 0 and 59


amOrPm

AmOrPm amOrPm
Standard suffix used in 12-hour time value


valid

boolean valid
True if this is a valid time


empty

boolean empty
True if this is an empty time, indicated by hour = 0, minute = 0, and amOrPm = "empty".

Class caltool.schedule.WeeklyDetails extends IntervalDetails implements Serializable

Serialized Fields

onSun

boolean onSun
True if item recurs on Sundays


onMon

boolean onMon
True if item recurs on Mondays


onTue

boolean onTue
True if item recurs on Tuesdays


onWed

boolean onWed
True if item recurs on Wednesdays


onThu

boolean onThu
True if item recurs on Thursdays


onFri

boolean onFri
True if item recurs on Fridays


onSat

boolean onSat
True if item recurs on Saturdays


Package caltool.schedule_ui

Class caltool.schedule_ui.CategoriesEditor extends CalendarToolWindow implements Serializable

Class caltool.schedule_ui.ConfirmMeetingDialog extends ScheduleAppointmentDialog implements Serializable

Class caltool.schedule_ui.MultiLineLabel extends javax.swing.JPanel implements Serializable

Class caltool.schedule_ui.RecurringInfoSubdialog extends mvp.View implements Serializable

Serialized Fields

parentView

ScheduleAppointmentDialog parentView
The parent apppointment dialog view.


recurringCheckBox

javax.swing.JCheckBox recurringCheckBox
The checkbox that indicates whether the scheculed item recurs.


intervalComboBox

javax.swing.JComboBox intervalComboBox
The interval combobox for weekly, biweekly, monthly, or yearly.


intervalLabel

javax.swing.JLabel intervalLabel
The label for the interval combobox. It's a data field since it needs to be set enabled or disabled dynamically


sunCheckBox

javax.swing.JCheckBox sunCheckBox
The Sunday checkbox.


sunLabel

javax.swing.JLabel sunLabel
The Sunday label.


monCheckBox

javax.swing.JCheckBox monCheckBox
The Monday checkbox.


monLabel

javax.swing.JLabel monLabel
The Monday label.


tueCheckBox

javax.swing.JCheckBox tueCheckBox
The Tuesday checkbox.


tueLabel

javax.swing.JLabel tueLabel
The Tuesday label.


wedCheckBox

javax.swing.JCheckBox wedCheckBox
The Wednesday checkbox.


wedLabel

javax.swing.JLabel wedLabel
The Wednesday label.


thuCheckBox

javax.swing.JCheckBox thuCheckBox
The Thursday checkbox.


thuLabel

javax.swing.JLabel thuLabel
The Thursday label.


friCheckBox

javax.swing.JCheckBox friCheckBox
The Friday checkbox.


friLabel

javax.swing.JLabel friLabel
The Friday label.


satCheckBox

javax.swing.JCheckBox satCheckBox
The Saturday checkbox.


satLabel

javax.swing.JLabel satLabel
The Saturday label.


maxComponentHeight

double maxComponentHeight
The max height of a text field or combobox; this is necessary since these components strech when the outer frame is resized, and look very funky when they do


maxComponentWidth

int maxComponentWidth
The max width of any component; this is only necessary because the max height cannot be set separately, so we must pick some max width.

Class caltool.schedule_ui.RemindInfoSubdialog extends mvp.View implements Serializable

Serialized Fields

parentView

ScheduleAppointmentDialog parentView
The parent apppointment dialog view.


remindCheckBox

javax.swing.JCheckBox remindCheckBox
The checkbox that indicates whether there's a reminder.


remindTimeTextField

javax.swing.JTextField remindTimeTextField
The remind time text field.


remindTimeComboBox

javax.swing.JComboBox remindTimeComboBox
The remind time combo box.


remindLocationComboBox

javax.swing.JComboBox remindLocationComboBox
The remind location combo box.


maxComponentHeight

double maxComponentHeight
The max height of a text field or combobox; this is necessary since these components strech when the outer frame is resized, and look very funky when they do


maxComponentWidth

int maxComponentWidth
The max width of any component; this is only necessary because the max height cannot be set separately, so we must pick some max width.

Class caltool.schedule_ui.ScheduleAppointmentDialog extends CalendarToolWindow implements Serializable

Serialized Fields

panel

javax.swing.JPanel panel
The background panel of this


titleTextField

javax.swing.JTextField titleTextField
The title text field


startDateLabel

javax.swing.JLabel startDateLabel
The (start) date label. This needs to be a persistent data field since it changes from "Date" to "Start Date" for recurring appointments. Also, it has different text in the ScheduleMeetingDialog, subclass.


startDateTextField

javax.swing.JTextField startDateTextField
The (start) date text field


startTimeTextField

javax.swing.JTextField startTimeTextField
The start time text field.


endDateLabel

javax.swing.JLabel endDateLabel
The end date label. This needs to be a persistent data field since it's enabled or disabled depending on whether the appointment is recurring. Also, it has different text in the ScheduleMeetingDialog, subclass.


endDateTextField

javax.swing.JTextField endDateTextField
The end date text field


durationTextField

javax.swing.JTextField durationTextField
The start time text field


recurringInfo

RecurringInfoSubdialog recurringInfo
Subview for recurring info


categoryComboBox

javax.swing.JComboBox categoryComboBox
The category combo box


securityComboBox

javax.swing.JComboBox securityComboBox
The security combo box


locationComboBox

javax.swing.JComboBox locationComboBox
The location combo box


priorityComboBox

javax.swing.JComboBox priorityComboBox
The priority combo box


remindInfo

RemindInfoSubdialog remindInfo
Subview for recurring info


detailsTextArea

javax.swing.JTextArea detailsTextArea
The details text area


maxComponentHeight

double maxComponentHeight
The max height of a text field or combobox; this is necessary since these components stretch when the outer frame is resized, and look very funky when they do


maxComponentWidth

int maxComponentWidth
The max width of any component; this is only necessary because the max height cannot be set separately, so we must pick some max width.

Class caltool.schedule_ui.ScheduleEventDialog extends CalendarToolWindow implements Serializable

Serialized Fields

panel

javax.swing.JPanel panel
The background panel of this


titleTextField

javax.swing.JTextField titleTextField
The title text field


startDateTextField

javax.swing.JTextField startDateTextField
The start date text field


endDateTextField

javax.swing.JTextField endDateTextField
The end date text field


categoryComboBox

javax.swing.JComboBox categoryComboBox
The Categories combo box


securityComboBox

javax.swing.JComboBox securityComboBox
The security text field


maxComponentHeight

double maxComponentHeight
The max height of a text field or combobox; this is necessary since these components stretch when the outer frame is resized, and look very funky when they do.


maxComponentWidth

int maxComponentWidth
The max width of any component; this is only necessary because the max height cannot be set separately, so we must pick some max width.

Class caltool.schedule_ui.ScheduleEventDialogGridBag extends mvp.View implements Serializable

Serialized Fields

layout

java.awt.GridBagLayout layout
The grid bag that controls component layout in the panel


panel

javax.swing.JPanel panel
The background panel of this


constraints

java.awt.GridBagConstraints constraints
Gridbag constraints used to control the layout of each dialog component.

Class caltool.schedule_ui.ScheduleMeetingDialog extends ScheduleAppointmentDialog implements Serializable

Serialized Fields

latestStartDateLabel

javax.swing.JLabel latestStartDateLabel
The latest possible (start) date label


latestStartDateTextField

javax.swing.JTextField latestStartDateTextField
The latest possible (start) date text field


latestStartTimeTextField

javax.swing.JTextField latestStartTimeTextField
The latest possible start time text field


latestEndDateLabel

javax.swing.JLabel latestEndDateLabel
The latest possible end date label


latestEndDateTextField

javax.swing.JTextField latestEndDateTextField
The latest possible end text field


attendeesTextArea

javax.swing.JTextArea attendeesTextArea
The attendees text area


minutesTextField

javax.swing.JTextField minutesTextField
The minutes text field

Class caltool.schedule_ui.ScheduleMenu extends mvp.View implements Serializable

Serialized Fields

scheduleUI

ScheduleUI scheduleUI
The parent view.

Class caltool.schedule_ui.ScheduleTaskDialog extends ScheduleAppointmentDialog implements Serializable

Class caltool.schedule_ui.ScheduleUI extends mvp.View implements Serializable

Serialized Fields

scheduleMenu

ScheduleMenu scheduleMenu
The ScheduleMenu


scheduleAppointmentDialog

ScheduleAppointmentDialog scheduleAppointmentDialog
The ScheduleAppointmentDialog


scheduleMeetingDialog

ScheduleMeetingDialog scheduleMeetingDialog
The ScheduleMeetingDialog


scheduleTaskDialog

ScheduleTaskDialog scheduleTaskDialog
The ScheduleTaskDialog


scheduleEventDialog

ScheduleEventDialog scheduleEventDialog
The ScheduleEventDialog


categoriesEditor

CategoriesEditor categoriesEditor
The CategoriesEditor


Package caltool.view

Class caltool.view.AppointmentListItem extends mvp.Model implements Serializable

Serialized Fields

title

java.lang.String title
Brief description of the scheduled item


date

Date date
Date on which item is scheduled or due. This is the single-instance date the listed item.


time

Time time
Starting time of the appointment


duration

Duration duration
How long the appointment lasts


recurs

boolean recurs
Flag indicating whether the appointent recurs


category

Category category
Color-coded category


location

java.lang.String location
Where the appointment is held


security

Security security
Indicates who can see that the appointment is scheduled


priority

Priority priority
How important the appointment is

Class caltool.view.DailyAgenda extends mvp.Model implements Serializable

Serialized Fields

date

Date date
Date of this day's agenda


events

caltool.view.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

Class caltool.view.Filter extends mvp.Model implements Serializable

Class caltool.view.FullMonthName extends mvp.Model implements Serializable

Serialized Fields

name

java.lang.String name

year

int year

Class caltool.view.Lists extends mvp.Model implements Serializable

Class caltool.view.MonthlyAgenda extends mvp.Model implements Serializable

Serialized Fields

fullMonthName

FullMonthName fullMonthName
Full name, consisting of month name and year.


firstDay

DayName firstDay
First day of the month


numberOfDays

int numberOfDays
Number of days in the month


currentDate

int currentDate
Iterator state variable containing the date number.


currentDay

int currentDay
Iterator state variable containing the ordinal day position in a 6x7 grid.


calDB

CalendarDB calDB
The caldb for getting current data

Class caltool.view.SmallDayView extends mvp.Model implements Serializable

Serialized Fields

date

int date
The date number


day

DayName day
The day name


items

javax.swing.DefaultListModel items
The list of item descriptors

Class caltool.view.TaskDescriptorList extends java.util.Vector implements Serializable

Class caltool.view.TimeSlotDescriptorList extends java.util.Vector implements Serializable

Class caltool.view.View extends mvp.Model implements Serializable

Serialized Fields

calDB

CalendarDB calDB
Calendar database in which viewed items are stored


dailyAgenda

DailyAgenda dailyAgenda
The current instance of DailyAgenda that computes the view for the user-selected day. This must be refined into a collection of some form to support multi-window mode.


weeklyAgendaTable

WeeklyAgendaTable weeklyAgendaTable
The current instance of WeeklyAgendaTable that computes the view for the user-selected week. This must be refined into an collection of some for to support multi-window mode.


weeklyAgendaList

WeeklyAgendaList weeklyAgendaList
The current instance of WeeklyAgendaList that computes the view for the user-selected week. This must be refined into a collection of some form to support multi-window mode.


monthlyAgenda

MonthlyAgenda monthlyAgenda
The current instance of MonthlyAgenda that computes the view for the user-selected month. This must be refined into a collection of some form to support multi-window mode.


lists

Lists lists
The lists submodel


filter

Filter filter
The filter submodel


windows

Windows windows
The windows submodel


appointmentsHidden

boolean appointmentsHidden
The shown/hidden state of appointments


meetingsHidden

boolean meetingsHidden
The shown/hidden state of meetings


tasksHidden

boolean tasksHidden
The shown/hidden state of tasks


eventsHidden

boolean eventsHidden
The shown/hidden state of events


caldb

CalendarDB caldb
The CalendarDB used to get the currently selected date and to pass on to subviews

Class caltool.view.Windows extends mvp.Model implements Serializable

Class caltool.view.YearlyCalendar extends mvp.Model implements Serializable

Serialized Fields

yearNumber

int yearNumber
The number of the year, between 0 and 9999


calDB

CalendarDB calDB
The caldb for getting current data


Package caltool.view_ui

Class caltool.view_ui.AppointmentEditor extends ScheduleAppointmentDialog implements Serializable

Class caltool.view_ui.AppointmentsListDisplay extends CalendarToolWindow implements Serializable

Serialized Fields

localData

javax.swing.table.DefaultTableModel localData
Local data model. This is not the real data model, but rather a view-specific table model that is constructed by extracting data from the real model using the viewAppointmentsList method. There are in fact no persistent list data on the model side; rather, all calendar lists are computed dynamically from the underlying CalendarDB.

In this way, DefaultTableModel is being used as a form of adaptor class between the Lists model and the JTable-based display.


table

javax.swing.JTable table
The display view


displayedOnce

boolean displayedOnce
Flag that's true after the display has bee shown the first time.

Class caltool.view_ui.DailyAgendaDisplay extends mvp.View implements Serializable

Class caltool.view_ui.DateNumberLabel extends javax.swing.JLabel implements Serializable

Serialized Fields

dateNumber

int dateNumber
The numeric date number.

Class caltool.view_ui.EventEditor extends ScheduleEventDialog implements Serializable

Class caltool.view_ui.ItemEditor extends mvp.View implements Serializable

Serialized Fields

editor

mvp.View editor

viewUI

ViewUI viewUI

Class caltool.view_ui.MeetingEditor extends ScheduleMeetingDialog implements Serializable

Class caltool.view_ui.MonthlyAgendaDisplay extends CalendarToolWindow implements Serializable

Serialized Fields

days

SmallDayViewDisplay[] days
Array of day displays for convenient access by date number. This array contains references to the same day-display objects that are laid out in the day grid.


vbox

javax.swing.JPanel vbox
Outermost box of the laid-out display.


dateBanner

javax.swing.JPanel dateBanner
The date banner at the top of the display.


daysOfWeek

javax.swing.JPanel daysOfWeek
The days-of-the week labeling row.


dayGrid

javax.swing.JPanel dayGrid
The day grid.


numberOfWeeks

int numberOfWeeks
Number or weeks (hence display rows) in the current display.


displayedOnce

boolean displayedOnce
Flag that's true after the display has bee shown the first time.


defaultSize

java.awt.Dimension defaultSize
Initial default size of the day grid.


defaultCellHeight

int defaultCellHeight
Default constant for the height of one day display cell.


defaultCellWidth

int defaultCellWidth
Default constant for the width of one day display cell.

Class caltool.view_ui.SmallDayViewDisplay extends mvp.View implements Serializable

Serialized Fields

defaultSize

java.awt.Dimension defaultSize

Class caltool.view_ui.SmallDayViewPanel extends mvp.View implements Serializable

Class caltool.view_ui.TaskEditor extends ScheduleTaskDialog implements Serializable

Class caltool.view_ui.ViewMenu extends mvp.View implements Serializable

Serialized Fields

submenu

javax.swing.JMenu submenu
Temp submenu vars, used in item-adding methods


submenu2

javax.swing.JMenu submenu2
Temp submenu vars, used in item-adding methods


menu

javax.swing.JMenu menu
Pre-cast reference to this' widget, which is a menu


group

javax.swing.ButtonGroup group
Button group for radio button menu items


rbItem

javax.swing.JRadioButtonMenuItem rbItem
Temp radio button menu item


showHideAppointmentsItem

javax.swing.JMenuItem showHideAppointmentsItem
Show/Hide Appointments menu item. It's a persistent data field so it's text can change.


showHideMeetingsItem

javax.swing.JMenuItem showHideMeetingsItem
Show/Hide Meetings menu item. It's a persistent data field so it's text can change.


showHideTasksItem

javax.swing.JMenuItem showHideTasksItem
Show/Hide Tasks menu item. It's a persistent data field so it's text can change.


showHideEventsItem

javax.swing.JMenuItem showHideEventsItem
Show/Hide Events menu item. It's a persistent data field so it's text can change.


viewUI

ViewUI viewUI
The parent view.

Class caltool.view_ui.ViewUI extends mvp.View implements Serializable

Serialized Fields

viewMenu

ViewMenu viewMenu

itemEditor

ItemEditor itemEditor

appointmentEditor

AppointmentEditor appointmentEditor

meetingEditor

MeetingEditor meetingEditor

taskEditor

TaskEditor taskEditor

eventEditor

EventEditor eventEditor

monthlyAgendaDisplay

MonthlyAgendaDisplay monthlyAgendaDisplay

appointmentsListDisplay

AppointmentsListDisplay appointmentsListDisplay

Class caltool.view_ui.WeeklyListDisplay extends mvp.View implements Serializable

Class caltool.view_ui.WeeklyTableDisplay extends mvp.View implements Serializable

Class caltool.view_ui.WindowsUI extends mvp.View implements Serializable