jade.tools.sniffer
Class ExitAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--jade.tools.sniffer.SnifferAction
              |
              +--jade.tools.sniffer.FixedAction
                    |
                    +--jade.tools.sniffer.ExitAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class ExitAction
extends jade.tools.sniffer.FixedAction

Invokes the agent Sniffer to delete itself, closing the Gui and unregistering.

See Also:
FixedAction, 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
ExitAction(jade.tools.sniffer.ActionProcessor actpro, Sniffer mySniffer)
           
 
Method Summary
 void doAction()
           
 
Methods inherited from class jade.tools.sniffer.SnifferAction
actionPerformed, getActionName, setIcon
 
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

ExitAction

public ExitAction(jade.tools.sniffer.ActionProcessor actpro,
                  Sniffer mySniffer)
Method Detail

doAction

public void doAction()
Specified by:
doAction in class jade.tools.sniffer.FixedAction