public class AppointmentEditor extends ScheduleAppointmentDialog
categoryComboBox, detailsTextArea, durationTextField, endDateLabel, endDateTextField, locationComboBox, maxComponentHeight, maxComponentWidth, panel, priorityComboBox, recurringInfo, remindInfo, securityComboBox, startDateLabel, startDateTextField, startTimeTextField, titleTextField| Constructor and Description |
|---|
AppointmentEditor(mvp.Screen screen,
Schedule schedule,
caltool.view.CalendarToolUI calToolUI)
Construct this with the given Schedule as companion model.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.Component |
compose()
Compose this in six parts: (1) a top part consisting of the title, date,
end date, start time, 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) details
components; (6) the bottom row consisting of the 'OK', 'Clear', and
'Cancel' buttons.
|
protected javax.swing.Box |
composeButtonRow()
Compose the buttons row with three JButtons, a la the parent version of
this method, q.v.
|
protected javax.swing.JPanel |
composeDateSummary()
Compose the date summary row consisting of a three-button group on the
left and a date string in the center.
|
protected void |
composeRows()
Stick in the date summary row at the top of main panel, then call the
parent composeRows.
|
void |
update(java.util.Observable o,
java.lang.Object arg)
Display the model data for the currently selected appointment.
|
clear, composeCategorySecurityRow, composeDetails, composeEndDateRow, composeLocationPriorityRow, composeMiddlePart, composeRecurringInfo, composeRemindInfo, composeStartDateRow, composeTitleRow, composeTopPartpublic AppointmentEditor(mvp.Screen screen,
Schedule schedule,
caltool.view.CalendarToolUI calToolUI)
public java.awt.Component compose()
ScheduleAppointmentDialogcompose in class ScheduleAppointmentDialogprotected void composeRows()
composeRows in class ScheduleAppointmentDialogprotected javax.swing.JPanel composeDateSummary()
This particular layout is accomplished with an outer JPanel with an overlay layout, containing two hboxes with left- and center-alignments. This allows two different horizontal layouts to appear in the same horizontal row of the display.
protected javax.swing.Box composeButtonRow()
composeButtonRow in class ScheduleAppointmentDialogpublic void update(java.util.Observable o,
java.lang.Object arg)
update in interface java.util.Observerupdate in class mvp.View