|
|||||||||
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.RemindInfoSubdialog
public class RemindInfoSubdialog
Class RemindInfoSubDialog is a component of the ScheduleAppointment, ConfirmMeeting, and ScheduleTask Dialogs. The companion model is RemindInfo. RemindInfoSubDialog displays the row of remind information.
Field Summary | |
---|---|
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 |
remindCheckBox
The checkbox that indicates whether there's a reminder. |
protected javax.swing.JComboBox |
remindLocationComboBox
The remind location combo box. |
protected javax.swing.JComboBox |
remindTimeComboBox
The remind time combo box. |
protected javax.swing.JTextField |
remindTimeTextField
The remind time text field. |
Fields inherited from class mvp.View |
---|
closeAdapter, editable, model, screen, shown, widget, window |
Constructor Summary | |
---|---|
RemindInfoSubdialog(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 remind checkbox, a time-before text field, a time-before combo box, and a remind-location combo box. |
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 remindCheckBox
protected javax.swing.JTextField remindTimeTextField
protected javax.swing.JComboBox remindTimeComboBox
protected javax.swing.JComboBox remindLocationComboBox
protected final double maxComponentHeight
protected final int maxComponentWidth
Constructor Detail |
---|
public RemindInfoSubdialog(mvp.Screen screen, ScheduleAppointmentDialog parentView)
Method Detail |
---|
public java.awt.Component compose()
compose
in class mvp.View
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 |