|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
easik.ui.menu.RecentFileAction
public class RecentFileAction
Menu action for retrieving a previously viewed file quickly and easily.
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 |
---|
java.lang.String _file
Constructor Detail |
---|
public RecentFileAction(java.lang.String file)
file
- The file to be openedMethod Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
e
- The action event
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |