jade.tools.sniffer
Class ShowOnlyAction

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

public class ShowOnlyAction
extends jade.tools.sniffer.AgentAction

For don'tsniff the Agent in the tree, and if necessary redrawing the box of agent with yellow color.

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
ShowOnlyAction(jade.tools.sniffer.ActionProcessor actPro, MainPanel mainPanel, Sniffer mySniffer)
           
 
Method Summary
 void doAction(jade.gui.AgentTree.AgentNode node)
           
 
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

ShowOnlyAction

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

doAction

public void doAction(jade.gui.AgentTree.AgentNode node)
Specified by:
doAction in class jade.tools.sniffer.AgentAction