jade.tools.sniffer
Class DoSnifferAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by jade.tools.sniffer.SnifferAction
          extended by jade.tools.sniffer.DoSnifferAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class DoSnifferAction
extends SnifferAction

For sniff the Agent in the tree.

See Also:
DoNotSnifferAction, ShowOnlyAction, 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
DoSnifferAction(jade.tools.sniffer.ActionProcessor actPro, MainPanel mainPanel, Sniffer mySniffer)
           
 
Method Summary
 void doAction(jade.gui.AgentTree.AgentNode node)
           
 void doSniff(java.lang.String agentName)
          Given an agent name, sniff it.
 
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

DoSnifferAction

public DoSnifferAction(jade.tools.sniffer.ActionProcessor actPro,
                       MainPanel mainPanel,
                       Sniffer mySniffer)
Method Detail

doAction

public void doAction(jade.gui.AgentTree.AgentNode node)

doSniff

public void doSniff(java.lang.String agentName)
Given an agent name, sniff it.

Parameters:
agentName - - the String name of the agent. Note, this was originally buried in doAction, but we want the ability to sniff with just a name.