org.jhotdraw.app.action.file
Class ClearRecentFilesMenuAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.jhotdraw.app.action.AbstractApplicationAction
-
- org.jhotdraw.app.action.file.ClearRecentFilesMenuAction
-
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, Disposable
public class ClearRecentFilesMenuAction extends AbstractApplicationAction
Clears (empties) the Recent Files sub-menu in the File menu.This action is called when the user selects the Clear Recent Files item in the Recent Files sub-menu of the File menu. The action and the menu item is automatically created by the application, when the
ApplicationModelprovides aLoadFileActionor aOpenFileAction.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringID
-
Constructor Summary
Constructors Constructor and Description ClearRecentFilesMenuAction(Application app)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidactionPerformed(java.awt.event.ActionEvent e)-
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
-
ClearRecentFilesMenuAction
public ClearRecentFilesMenuAction(Application app)
Creates a new instance.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG