org.jhotdraw.app.action.file
Class OpenRecentFileAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.jhotdraw.app.action.AbstractApplicationAction
-
- org.jhotdraw.app.action.file.OpenRecentFileAction
-
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, Disposable
public class OpenRecentFileAction extends AbstractApplicationAction
Loads the specified URI into an empty view. If no empty view is available, a new view is created.This action is called when the user selects an item in the Recent Files submenu of the File menu. The action and the menu item is automatically created by the application, when the
ApplicationModelprovides aOpenFileAction.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringID
-
Constructor Summary
Constructors Constructor and Description OpenRecentFileAction(Application app, java.net.URI uri)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidactionPerformed(java.awt.event.ActionEvent evt)-
Methods inherited from class org.jhotdraw.app.action.AbstractApplicationAction
dispose, getApplication, isEnabled, setEnabled
-
-
-
-
Field Detail
-
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OpenRecentFileAction
public OpenRecentFileAction(Application app, java.net.URI uri)
Creates a new instance.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG