mars.venus
Class FileExitAction
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--mars.venus.GuiAction
|
+--mars.venus.FileExitAction
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
- public class FileExitAction
- extends GuiAction
Action for the File -> Exit menu item
- See Also:
- Serialized Form
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 |
FileExitAction(java.lang.String name,
javax.swing.Icon icon,
java.lang.String descrip,
java.lang.Integer mnemonic,
javax.swing.KeyStroke accel,
VenusUI gui)
|
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
does nothing by default. |
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 |
FileExitAction
public FileExitAction(java.lang.String name,
javax.swing.Icon icon,
java.lang.String descrip,
java.lang.Integer mnemonic,
javax.swing.KeyStroke accel,
VenusUI gui)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Description copied from class:
GuiAction
- does nothing by default. Should be over-ridden by subclass
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
- Overrides:
actionPerformed
in class GuiAction