Package jade.tools.sniffer
Class DoSnifferAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jade.tools.sniffer.SnifferAction
-
- jade.tools.sniffer.DoSnifferAction
-
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,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, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
-
Constructor Summary
Constructors Constructor Description DoSnifferAction(jade.tools.sniffer.ActionProcessor actPro, MainPanel mainPanel, Sniffer mySniffer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoAction(AgentTree.AgentNode node)voiddoSniff(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
-
-
-
-
Method Detail
-
doAction
public void doAction(AgentTree.AgentNode node)
-
doSniff
public void doSniff(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.
-
-