jade.tools.sniffer
Class DoSnifferAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--jade.tools.sniffer.SnifferAction
              |
              +--jade.tools.sniffer.AgentAction
                    |
                    +--jade.tools.sniffer.DoSnifferAction

public class DoSnifferAction
extends jade.tools.sniffer.AgentAction

For sniff the Agent in the tree.

See Also:
DoNotSnifferAction, ShowOnlyAction, Serialized Form

Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
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, 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)
Overrides:
doAction in class jade.tools.sniffer.AgentAction

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.