Package org.apache.log4j.chainsaw
Class ExitAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.apache.log4j.chainsaw.ExitAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
class ExitAction extends javax.swing.AbstractAction
Encapsulates the action to exit.- Version:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description static ExitAction
INSTANCE
The instance to shareprivate static Logger
LOG
use to log messages
-
Constructor Summary
Constructors Modifier Constructor Description private
ExitAction()
Stop people creating instances
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent aIgnore)
Will shutdown the application.-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
LOG
private static final Logger LOG
use to log messages
-
INSTANCE
public static final ExitAction INSTANCE
The instance to share
-
-