net.curre.prefcount.event
Class QuitActionListener

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by net.curre.prefcount.event.QuitActionListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class QuitActionListener
extends javax.swing.AbstractAction
implements java.awt.event.ActionListener

Object of this class represents an action listener to use for quitting application.

Created date: Jan 22, 2008

Author:
Yevgeny Nyden
See Also:
Serialized Form

Field Summary
 
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
QuitActionListener()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent actionEvent)
          Disposes frames and quits application.
 
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
 

Constructor Detail

QuitActionListener

public QuitActionListener()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent actionEvent)
Disposes frames and quits application.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
actionEvent - Action event.


Copyright © 2008. All Rights Reserved.