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.AbstractActionEncapsulates the action to exit.- Version:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description static ExitActionINSTANCEThe instance to shareprivate static LoggerLOGuse to log messages
-
Constructor Summary
Constructors Modifier Constructor Description privateExitAction()Stop people creating instances
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(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
-
-