org.kaiwitte.workbench.ui.controller
Class SendMailAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.kaiwitte.workbench.ui.controller.SendMailAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public final class SendMailAction
extends javax.swing.AbstractAction

Sends an email.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
SendMailAction(MailDialog mailDialog, UIConfig config)
          Creates a new instance.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Sends the mail.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SendMailAction

public SendMailAction(MailDialog mailDialog,
                      UIConfig config)
Creates a new instance.

Parameters:
mailDialog - the dialog from where to receive the mail data
config - the UIConfig of the runtime context
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Sends the mail.

Parameters:
e - not used