se.entitymanager.presentation
Class DeleteAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by se.entitymanager.presentation.DeleteAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class DeleteAction
extends javax.swing.AbstractAction

Action handling for quiting the application

See Also:
Serialized Form

Field Summary
private  javax.swing.Icon icon
          The icon to use for the deletion dialog.
private  LogicFacade logicFacade
          The logic facade to use.
private  SwingPresentationFacade presentationFacade
          The presentation facade to use.
 
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
DeleteAction(java.lang.String text, javax.swing.ImageIcon icon, java.lang.String desc, java.lang.Integer mnemonic, SwingPresentationFacade presentationFacade)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 
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
 

Field Detail

presentationFacade

private SwingPresentationFacade presentationFacade
The presentation facade to use.


logicFacade

private LogicFacade logicFacade
The logic facade to use.


icon

private javax.swing.Icon icon
The icon to use for the deletion dialog.

Constructor Detail

DeleteAction

public DeleteAction(java.lang.String text,
                    javax.swing.ImageIcon icon,
                    java.lang.String desc,
                    java.lang.Integer mnemonic,
                    SwingPresentationFacade presentationFacade)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)