|
|||||||||
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.RecurringInfoSubdialog
public class RecurringInfoSubdialog
Class RecurringInfoSubDialog is a component of the ScheduleAppointment, ConfirmMeeting, and ScheduleTask Dialogs. The companion model is RecurringInfo. RecurringInfoSubDialog displays the row of recurring information in its varying forms, including the monthly details dialog when appropriate. A meeting request dialog has a slightly different version of the recurring info row. The subclass RecurringInfoMeetingRequestSubDialog displays this information.
Field Summary | |
---|---|
protected javax.swing.JCheckBox |
friCheckBox
The Friday checkbox. |
protected javax.swing.JLabel |
friLabel
The Friday label. |
protected javax.swing.JComboBox |
intervalComboBox
The interval combobox for weekly, biweekly, monthly, or yearly. |
protected javax.swing.JLabel |
intervalLabel
The label for the interval combobox. |
protected double |
maxComponentHeight
The max height of a text field or combobox; this is necessary since these components strech when the outer frame is resized, and look very funky when they do |
protected int |
maxComponentWidth
The max width of any component; this is only necessary because the max height cannot be set separately, so we must pick some max width. |
protected javax.swing.JCheckBox |
monCheckBox
The Monday checkbox. |
protected javax.swing.JLabel |
monLabel
The Monday label. |
protected javax.swing.JCheckBox |
recurringCheckBox
The checkbox that indicates whether the scheculed item recurs. |
protected javax.swing.JCheckBox |
satCheckBox
The Saturday checkbox. |
protected javax.swing.JLabel |
satLabel
The Saturday label. |
protected javax.swing.JCheckBox |
sunCheckBox
The Sunday checkbox. |
protected javax.swing.JLabel |
sunLabel
The Sunday label. |
protected javax.swing.JCheckBox |
thuCheckBox
The Thursday checkbox. |
protected javax.swing.JLabel |
thuLabel
The Thursday label. |
protected javax.swing.JCheckBox |
tueCheckBox
The Tuesday checkbox. |
protected javax.swing.JLabel |
tueLabel
The Tuesday label. |
protected javax.swing.JCheckBox |
wedCheckBox
The Wednesday checkbox. |
protected javax.swing.JLabel |
wedLabel
The Wednesday label. |
Fields inherited from class mvp.View |
---|
closeAdapter, editable, model, screen, shown, widget, window |
Constructor Summary | |
---|---|
RecurringInfoSubdialog(mvp.Screen screen,
ScheduleAppointmentDialog parentView)
Construct this with a parent view. |
Method Summary | |
---|---|
java.awt.Component |
compose()
Compose this as the default configuration consisting of a recurring checkbox, a interval combo box, and the weekly interval details. |
protected javax.swing.Box |
composeWeeklyCheckBoxes()
Compose the seven day-of-the-week checkboxes. |
void |
update(java.util.Observable o,
java.lang.Object arg)
|
Methods inherited from class mvp.View |
---|
getModel, getWidget, getWindow, hide, isEditable, isShown, run, setEditable, setExitOnClose, setModel, show, show |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected javax.swing.JCheckBox recurringCheckBox
protected javax.swing.JComboBox intervalComboBox
protected javax.swing.JLabel intervalLabel
protected javax.swing.JCheckBox sunCheckBox
protected javax.swing.JLabel sunLabel
protected javax.swing.JCheckBox monCheckBox
protected javax.swing.JLabel monLabel
protected javax.swing.JCheckBox tueCheckBox
protected javax.swing.JLabel tueLabel
protected javax.swing.JCheckBox wedCheckBox
protected javax.swing.JLabel wedLabel
protected javax.swing.JCheckBox thuCheckBox
protected javax.swing.JLabel thuLabel
protected javax.swing.JCheckBox friCheckBox
protected javax.swing.JLabel friLabel
protected javax.swing.JCheckBox satCheckBox
protected javax.swing.JLabel satLabel
protected final double maxComponentHeight
protected final int maxComponentWidth
Constructor Detail |
---|
public RecurringInfoSubdialog(mvp.Screen screen, ScheduleAppointmentDialog parentView)
Method Detail |
---|
public java.awt.Component compose()
compose
in class mvp.View
protected javax.swing.Box composeWeeklyCheckBoxes()
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 |