Public Member Functions | |
AddButtonActionListener (JTextField newPriorityField, JTextField newNameField, JTextField newTextField, JTextField newPersonField, JComboBox newTypePopup) | |
Constructs an AddButtonActionListener with the given controls. | |
void | actionPerformed (ActionEvent e) |
Called when the user clicks the Add button. | |
Private Attributes | |
Controls | |
Controls we need to query when the add button is pressed. | |
JTextField | newPriorityField |
JTextField | newNameField |
JTextField | newTextField |
JTextField | newPersonField |
JComboBox | newTypePopup |
edu.cmu.hcii.calo.thinkaloud.WOZFrontEndNotificationPanel.AddButtonActionListener.AddButtonActionListener | ( | JTextField | newPriorityField, | |
JTextField | newNameField, | |||
JTextField | newTextField, | |||
JTextField | newPersonField, | |||
JComboBox | newTypePopup | |||
) |
Constructs an AddButtonActionListener with the given controls.
These controls will be queried for their state when the add button is pressed so that the notification that's added has the right information associated with it.
newPriorityField | the priority field | |
newNameField | the name field | |
newTextField | the text field | |
newPersonField | the person field | |
newTypePopup | the type popup |
void edu.cmu.hcii.calo.thinkaloud.WOZFrontEndNotificationPanel.AddButtonActionListener.actionPerformed | ( | ActionEvent | e | ) |
Called when the user clicks the Add button.