|
|||||||||
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.view_ui.AppointmentEditor
public class AppointmentEditor
Class AppointmentEditor specializes ScheduleAppointmentDialog to provide editing access to scheduled appointments. An appointment editor has the same data fields as the scheduling dialog. The editor display differs from the scheduling dialog as follows:
Field Summary |
---|
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 | |
---|---|
AppointmentEditor(mvp.Screen screen,
Schedule schedule,
CalendarToolUI calToolUI)
Construct this with the given Schedule as companion model. |
Method Summary | |
---|---|
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. |
Methods inherited from class caltool.schedule_ui.ScheduleAppointmentDialog |
---|
clear, composeCategorySecurityRow, composeDetails, composeEndDateRow, composeLocationPriorityRow, composeMiddlePart, composeRecurringInfo, composeRemindInfo, composeStartDateRow, composeTitleRow, composeTopPart |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AppointmentEditor(mvp.Screen screen, Schedule schedule, CalendarToolUI calToolUI)
Method Detail |
---|
public java.awt.Component compose()
ScheduleAppointmentDialog
compose
in class ScheduleAppointmentDialog
protected void composeRows()
composeRows
in class ScheduleAppointmentDialog
protected 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 ScheduleAppointmentDialog
public void update(java.util.Observable o, java.lang.Object arg)
update
in interface java.util.Observer
update
in class mvp.View
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |