edu.jhu.tmaj.client.shared
Class ButtonClickActionListener
java.lang.Object
  
edu.jhu.tmaj.client.shared.ButtonClickActionListener
- All Implemented Interfaces: 
 - java.awt.event.ActionListener, java.util.EventListener
 
public final class ButtonClickActionListener
- extends java.lang.Object
- implements java.awt.event.ActionListener
  
An ActionListener that pressing a button when a user hits the return button in a text field.
 This is a time saver for the user since the user can just type something in and press return,
 instead of typing something in, and then having the use the mouse to press the return button.
| 
Method Summary | 
 void | 
actionPerformed(java.awt.event.ActionEvent e)
 
            | 
static void | 
addToTextField(javax.swing.JTextField textField,
               javax.swing.JButton button)
 
            | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
 actionPerformed in interface java.awt.event.ActionListener
 
 
addToTextField
public static void addToTextField(javax.swing.JTextField textField,
                                  javax.swing.JButton button)