toxtree.ui.actions
Class QuitAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by toxtree.ui.actions.DataModuleAction
          extended by toxtree.ui.actions.QuitAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class QuitAction
extends DataModuleAction

Quit ToxTreeApp

Author:
Nina Jeliazkova Modified 2005-10-23
See Also:
Serialized Form

Field Summary
 
Fields inherited from class toxtree.ui.actions.DataModuleAction
frame, module
 
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
QuitAction(DataModule module)
           
QuitAction(DataModule module, java.lang.String name)
           
QuitAction(DataModule module, java.lang.String name, javax.swing.Icon icon)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void run()
           
 
Methods inherited from class toxtree.ui.actions.DataModuleAction
getFrame, setFrame
 
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

QuitAction

public QuitAction(DataModule module)
Parameters:
module -

QuitAction

public QuitAction(DataModule module,
                  java.lang.String name)
Parameters:
module -
name -

QuitAction

public QuitAction(DataModule module,
                  java.lang.String name,
                  javax.swing.Icon icon)
Parameters:
module -
name -
icon -
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class DataModuleAction

run

public void run()
         throws java.lang.Exception
Specified by:
run in class DataModuleAction
Throws:
java.lang.Exception


Copyright © 2004-2012 Ideaconsult Ltd.. All Rights Reserved.