ARoad0.gDMak
Class ActionExit

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by ARoad0.gDMak.ActionExit
All Implemented Interfaces:
Singleton, java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class ActionExit
extends javax.swing.AbstractAction
implements Singleton

An action that exits Access Road and asks to the user if a saving of each ACS is required. Do not close the HTTP help pages since they are opened in the web browser. Called from the main menu and when the main frame is closing.

Since:
0.5.0
See Also:
Serialized Form

Field Summary
private static ActionExit instance__
           
private static ViewInBase_Facade ViewBase__
           
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
private ActionExit()
          with this private constructor, the compiler won't generate a default public constructor
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ev)
          Exit without user confirmation.
static ActionExit getInstance()
          constructor()
 
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

instance__

private static ActionExit instance__

ViewBase__

private static ViewInBase_Facade ViewBase__
Constructor Detail

ActionExit

private ActionExit()
with this private constructor, the compiler won't generate a default public constructor

Method Detail

getInstance

public static ActionExit getInstance()
constructor()

Returns:
ActionExit

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ev)
Exit without user confirmation. Answer to select the saving of the open views, ACS and GUI configuration. Closes the open views and ACS, then the desktop, including an open sketch view.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
ev - called from the main menu and when the main frame is closing.