Public Member Functions | |
void | actionPerformed (ActionEvent e) |
Called when the user clicks the Add button. | |
Private Member Functions | |
AddButtonActionListener (JDateChooser newDateChooser, JTextField newPriorityField, JCheckBox newCompleteBox, TimeSpinner newTimeSpinner, JTextField newNameField, JCheckBox newDueDateBox, JCheckBox newOnHoldBox) | |
Constructs an AddButtonActionListener with the given controls. | |
Private Attributes | |
Controls | |
Controls we need to query when the add button is pressed. | |
final JDateChooser | newDateChooser |
final JTextField | newPriorityField |
final JCheckBox | newCompleteBox |
final TimeSpinner | newTimeSpinner |
final JTextField | newNameField |
final JCheckBox | newDueDateBox |
final JCheckBox | newOnHoldBox |
edu.cmu.hcii.calo.thinkaloud.WOZFrontEndTaskPanel.AddButtonActionListener.AddButtonActionListener | ( | JDateChooser | newDateChooser, | |
JTextField | newPriorityField, | |||
JCheckBox | newCompleteBox, | |||
TimeSpinner | newTimeSpinner, | |||
JTextField | newNameField, | |||
JCheckBox | newDueDateBox, | |||
JCheckBox | newOnHoldBox | |||
) | [private] |
Constructs an AddButtonActionListener with the given controls.
These controls will be queried for their state when the add button is pressed so that the task that's added has the right information associated with it.
newDateChooser | the date chooser | |
newPriorityField | the priority field | |
newCompleteBox | the complete box | |
newTimeSpinner | the time spinner | |
newNameField | the name field | |
newDueDateBox | the due date box | |
newOnHoldBox | the on hold box |
void edu.cmu.hcii.calo.thinkaloud.WOZFrontEndTaskPanel.AddButtonActionListener.actionPerformed | ( | ActionEvent | e | ) |
Called when the user clicks the Add button.