|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmvp.View
caltool.caltool_ui.CalendarToolWindow
caltool.schedule_ui.ScheduleAppointmentDialog
caltool.schedule_ui.ScheduleMeetingDialog
public class ScheduleMeetingDialog
Class ScheduleMeetingDialog provides a view of Meeting as an input to the meeting-scheduling methods listMeetingTimes, setMeetingOptions, and confirmMeeting. ScheduleMeetingDialog extends ScheduleAppointmentDialog, since the two dialogs have much in common. (This is to be expected given that the Meeting model class is an extension of the Appointment model class.) The differences between the meeting and appointment dialogs are as follows:
The additional design comments in the definition of ScheduleAppointmentDialog are also relevant here.
Field Summary | |
---|---|
protected javax.swing.JTextArea |
attendeesTextArea
The attendees text area |
protected javax.swing.JLabel |
latestEndDateLabel
The latest possible end date label |
protected javax.swing.JTextField |
latestEndDateTextField
The latest possible end text field |
protected javax.swing.JLabel |
latestStartDateLabel
The latest possible (start) date label |
protected javax.swing.JTextField |
latestStartDateTextField
The latest possible (start) date text field |
protected javax.swing.JTextField |
latestStartTimeTextField
The latest possible start time text field |
protected javax.swing.JTextField |
minutesTextField
The minutes text field |
Fields inherited from class caltool.schedule_ui.ScheduleAppointmentDialog |
---|
categoryComboBox, detailsTextArea, durationTextField, endDateLabel, endDateTextField, locationComboBox, maxComponentHeight, maxComponentWidth, panel, priorityComboBox, recurringInfo, remindInfo, securityComboBox, startDateLabel, startDateTextField, startTimeTextField, titleTextField |
Fields inherited from class caltool.caltool_ui.CalendarToolWindow |
---|
calToolUI |
Fields inherited from class mvp.View |
---|
closeAdapter, editable, model, screen, shown, widget, window |
Constructor Summary | |
---|---|
ScheduleMeetingDialog(mvp.Screen screen,
Schedule schedule,
CalendarToolUI calToolUI)
|
Method Summary | |
---|---|
protected void |
clear()
Clear each of the text fields of this to empty. |
java.awt.Component |
compose()
Compose this in six parts: (1) a top part consisting of the title, possible (start) dates, end dates, start times, and duration components; (2) a part consisting of recurring info components; (3) a middle part with category, location, security, and priority; (4) reminder info components; (5) a bottom part with attendees, details, and minutes components; (6) the button row consisting of the 'OK', 'Clear', and 'Cancel' buttons. |
protected javax.swing.Box |
composeAttendees()
Compose the attendees area as a labeled, scrolling text area. |
javax.swing.Box |
composeBottomPart()
Compose the bottom part consisting of attendees, details, and minutes fields. |
protected javax.swing.Box |
composeButtonRow()
Compose the buttons row with four JButtons. |
protected javax.swing.Box |
composeDateRow(java.lang.String s)
Compose a date row, with s = "Earliest" or "Latest", and the other args eqal to the earliert or latest data fields, resp. |
protected javax.swing.Box |
composeEarliestEndDateRow()
Compose the row containing the earliest end date and duration. |
protected javax.swing.Box |
composeEarliestStartDateRow()
Compose the row containing the earliest possible (start) date and time. |
protected javax.swing.Box |
composeLatestEndDateRow()
Compose the row containing the latest end date. |
protected javax.swing.Box |
composeLatestStartDateRow()
Compose the row containing the latest possible (start) date and time. |
protected javax.swing.Box |
composeMinutes()
Compose the minutes row as a JLabel/JTextField pair. |
protected void |
composeRows()
Compose each of the rows and add to the vertically laid out panel. |
protected javax.swing.Box |
composeTopPart()
Compose the top part of the dialog, consisting of the title, possible (start) dates, start times, end date, and duration. |
Methods inherited from class caltool.schedule_ui.ScheduleAppointmentDialog |
---|
composeCategorySecurityRow, composeDetails, composeEndDateRow, composeLocationPriorityRow, composeMiddlePart, composeRecurringInfo, composeRemindInfo, composeStartDateRow, composeTitleRow |
Methods inherited from class caltool.caltool_ui.CalendarToolWindow |
---|
show |
Methods inherited from class mvp.View |
---|
getModel, getWidget, getWindow, hide, isEditable, isShown, run, setEditable, setExitOnClose, setModel, show, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected javax.swing.JLabel latestStartDateLabel
protected javax.swing.JTextField latestStartDateTextField
protected javax.swing.JTextField latestStartTimeTextField
protected javax.swing.JLabel latestEndDateLabel
protected javax.swing.JTextField latestEndDateTextField
protected javax.swing.JTextArea attendeesTextArea
protected javax.swing.JTextField minutesTextField
Constructor Detail |
---|
public ScheduleMeetingDialog(mvp.Screen screen, Schedule schedule, CalendarToolUI calToolUI)
Method Detail |
---|
public java.awt.Component compose()
compose
in class ScheduleAppointmentDialog
protected void composeRows()
composeRows
in class ScheduleAppointmentDialog
protected javax.swing.Box composeTopPart()
composeTopPart
in class ScheduleAppointmentDialog
protected javax.swing.Box composeEarliestStartDateRow()
protected javax.swing.Box composeLatestStartDateRow()
protected javax.swing.Box composeDateRow(java.lang.String s)
protected javax.swing.Box composeEarliestEndDateRow()
protected javax.swing.Box composeLatestEndDateRow()
public javax.swing.Box composeBottomPart()
protected javax.swing.Box composeAttendees()
protected javax.swing.Box composeMinutes()
protected javax.swing.Box composeButtonRow()
composeButtonRow
in class ScheduleAppointmentDialog
protected void clear()
clear
in class ScheduleAppointmentDialog
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |