public class ScheduleTaskDialog extends ScheduleAppointmentDialog
For expedience, ScheduleTaskDialog extends ScheduleAppointmentDialog. Appointment and task dialogs have a significant amount of structure in common, though there are some key differences that require specialiation here. The additional design comments in the definition of ScheduleAppointmentDialog are generally relevant here.
categoryComboBox, detailsTextArea, durationTextField, endDateLabel, endDateTextField, locationComboBox, maxComponentHeight, maxComponentWidth, panel, priorityComboBox, recurringInfo, remindInfo, securityComboBox, startDateLabel, startDateTextField, startTimeTextField, titleTextFieldcalToolUI| Constructor and Description |
|---|
ScheduleTaskDialog(mvp.Screen screen,
Schedule schedule,
CalendarToolUI calToolUI)
Construct this with the given Schedule as companion model.
|
| Modifier and Type | Method and Description |
|---|---|
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, date,
end date, due time, and duration components; (2) a part consisting of
recurring info components; (3) a middle part with category, 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.
|
protected javax.swing.Box |
composeEndDateRow()
Compose the end date row as a label/textField pair.
|
protected javax.swing.Box |
composeMiddlePart()
Compose the middle part of the dialog, consisting of the category,
location, security, and priority.
|
protected javax.swing.Box |
composePriorityRow()
Compose the priority row using two pairs of labels and text
fields.
|
protected javax.swing.Box |
composeStartDateRow()
Compose the start date row using two pairs of labels and text fields.
|
composeCategorySecurityRow, composeDetails, composeLocationPriorityRow, composeRecurringInfo, composeRemindInfo, composeRows, composeTitleRow, composeTopPartshowpublic ScheduleTaskDialog(mvp.Screen screen,
Schedule schedule,
CalendarToolUI calToolUI)
public java.awt.Component compose()
compose in class ScheduleAppointmentDialogprotected javax.swing.Box composeStartDateRow()
composeStartDateRow in class ScheduleAppointmentDialogprotected javax.swing.Box composeEndDateRow()
composeEndDateRow in class ScheduleAppointmentDialogprotected javax.swing.Box composeMiddlePart()
composeMiddlePart in class ScheduleAppointmentDialogprotected javax.swing.Box composePriorityRow()
protected javax.swing.Box composeButtonRow()
composeButtonRow in class ScheduleAppointmentDialogprotected void clear()
clear in class ScheduleAppointmentDialog