easik.ui.menu
Class RecentFileAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by easik.ui.menu.RecentFileAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class RecentFileAction
extends javax.swing.AbstractAction

Menu action for retrieving a previously viewed file quickly and easily.

Since:
2006-07-13 Kevin Green
Version:
2006-08-03 Vera Ranieri
Author:
Kevin Green 2006, Vera Ranieri 2006
See Also:
Serialized Form

Field Summary
(package private)  java.lang.String _file
          String representation of the file
 
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
RecentFileAction(java.lang.String file)
          Constructor accepting one file
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Records if the file has been chosen to be opened
 
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

_file

java.lang.String _file
String representation of the file

Constructor Detail

RecentFileAction

public RecentFileAction(java.lang.String file)
Constructor accepting one file

Parameters:
file - The file to be opened
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Records if the file has been chosen to be opened

Parameters:
e - The action event