|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmvp.View
caltool.schedule_ui.ScheduleUI
public class ScheduleUI
Class ScheduleUI is the companion view for the Schedule model class. ScheduleUI contains all of the interface components needed to access model components of the Schedule object. The ScheduleMenu provides access to the four scheduling operations and the categories list. An input dialog view is defined for each of the four operations. The input dialog classes are named "ScheduleXDialog", where X = "Appointment", "Meeting", "Task", and "Event". These dialogs are used to gather input values for their corresponding method and to invoke the method when the user confirms the inputs with the 'OK' button.
The CategoriesEditor view provides access to the categories list component of the Schedule model. This dialog provides the canonical view of the Categories class. The CategoriesEditor is a subview of ScheduleUI in parallel with Categories being a submodel of Schedule.
Field Summary | |
---|---|
protected CategoriesEditor |
categoriesEditor
The CategoriesEditor |
protected ScheduleAppointmentDialog |
scheduleAppointmentDialog
The ScheduleAppointmentDialog |
protected ScheduleEventDialog |
scheduleEventDialog
The ScheduleEventDialog |
protected ScheduleMeetingDialog |
scheduleMeetingDialog
The ScheduleMeetingDialog |
protected ScheduleMenu |
scheduleMenu
The ScheduleMenu |
protected ScheduleTaskDialog |
scheduleTaskDialog
The ScheduleTaskDialog |
Fields inherited from class mvp.View |
---|
closeAdapter, editable, model, screen, shown, widget, window |
Constructor Summary | |
---|---|
ScheduleUI(mvp.Screen screen,
Schedule schedule,
CalendarToolUI calToolUI)
Construct this by constructing each of the component views. |
Method Summary | |
---|---|
java.awt.Component |
compose()
Call compose for each of the component views. |
CategoriesEditor |
getCategoriesEditor()
Return the CategoriesEditor. |
ScheduleAppointmentDialog |
getScheduleAppointmentDialog()
Return the ScheduleAppointmentDialog. |
ScheduleEventDialog |
getScheduleEventDialog()
Return the ScheduleEventDialog. |
ScheduleMeetingDialog |
getScheduleMeetingDialog()
Return the ScheduleMeetingDialog. |
ScheduleTaskDialog |
getScheduleTaskDialog()
Return the ScheduleTaskDialog. |
Methods inherited from class mvp.View |
---|
getModel, getWidget, getWindow, hide, isEditable, isShown, run, setEditable, setExitOnClose, setModel, show, show, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ScheduleMenu scheduleMenu
protected ScheduleAppointmentDialog scheduleAppointmentDialog
protected ScheduleMeetingDialog scheduleMeetingDialog
protected ScheduleTaskDialog scheduleTaskDialog
protected ScheduleEventDialog scheduleEventDialog
protected CategoriesEditor categoriesEditor
Constructor Detail |
---|
public ScheduleUI(mvp.Screen screen, Schedule schedule, CalendarToolUI calToolUI)
Method Detail |
---|
public java.awt.Component compose()
compose
in class mvp.View
public ScheduleAppointmentDialog getScheduleAppointmentDialog()
public ScheduleMeetingDialog getScheduleMeetingDialog()
public ScheduleTaskDialog getScheduleTaskDialog()
public ScheduleEventDialog getScheduleEventDialog()
public CategoriesEditor getCategoriesEditor()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |