org.jhotdraw.app.action.app
Class ExitAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.jhotdraw.app.action.AbstractApplicationAction
-
- org.jhotdraw.app.action.app.ExitAction
-
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, Disposable
public class ExitAction extends AbstractApplicationAction
Exits the application after letting the user review all unsaved views.This action is called when the user selects the Exit item in the Application menu, or when the application receives a Quit event from Mac OS X Finder. The menu item is automatically created by the application.
This action is automatically created by the application and put into the
ApplicationModelbeforeApplicationModel.initApplication(org.jhotdraw.app.Application)is called.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringID
-
Constructor Summary
Constructors Constructor and Description ExitAction(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 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
-
ExitAction
public ExitAction(Application app)
Creates a new instance.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG