jgnash.ui.actions
Class PortfolioReportAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by jgnash.ui.actions.AbstractEnabledAction
          extended by jgnash.ui.actions.PortfolioReportAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, MessageListener

public class PortfolioReportAction
extends AbstractEnabledAction

UI Action to run the portfolio report

Version:
$Id$
Author:
Craig Cavanaugh
See Also:
Serialized Form

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
PortfolioReportAction()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
private  boolean hasInvestmentAccount()
           
 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
 

Field Detail

serialVersionUID

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

PortfolioReportAction

public PortfolioReportAction()
Method Detail

messagePosted

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

hasInvestmentAccount

private boolean hasInvestmentAccount()

actionPerformed

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