jgnash.ui.actions
Class AbstractEnabledAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by jgnash.ui.actions.AbstractEnabledAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, MessageListener
Direct Known Subclasses:
CloseEngineAction, ExportAccountsAction, ImportAccountsAction, ImportMt940Action, ImportOfxAction, ImportQifAction, PortfolioReportAction, SaveFileAsAction

abstract class AbstractEnabledAction
extends javax.swing.AbstractAction
implements MessageListener

Abstract action to automatically enables/disabled itself as files are loaded and unloaded

Version:
$Id$
Author:
Craig Cavanaugh

Field Summary
private static long serialVersionUID
           
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
AbstractEnabledAction()
           
 
Method Summary
 void messagePosted(Message event)
           
 
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
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

AbstractEnabledAction

AbstractEnabledAction()
Method Detail

messagePosted

public void messagePosted(Message event)
Specified by:
messagePosted in interface MessageListener