jade.tools.sniffer
Class WriteMessageListAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--jade.tools.sniffer.SnifferAction
              |
              +--jade.tools.sniffer.FixedAction
                    |
                    +--jade.tools.sniffer.WriteMessageListAction

public class WriteMessageListAction
extends jade.tools.sniffer.FixedAction
implements java.io.Serializable

Writes a text file with all sniffed messages showed on the Message Canvas. A dialog box asks the user the name of the file.

See Also:
FixedAction, AgentList, MessageList, Serialized Form

Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Constructor Summary
WriteMessageListAction(jade.tools.sniffer.ActionProcessor actPro, MainPanel mainPanel)
           
 
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, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriteMessageListAction

public WriteMessageListAction(jade.tools.sniffer.ActionProcessor actPro,
                              MainPanel mainPanel)
Method Detail

doAction

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