Class ACLTracePanel

  • All Implemented Interfaces:
    ImageObserver, MenuContainer, Serializable, Accessible

    public class ACLTracePanel
    extends JPanel
    This class show a List of incoming and outgoing ACLmessages. When clicking on the right button a pop menu wil be shown, containing operations on the selected ACLMessage
    Author:
    Chris van Aart - Acklin B.V., the Netherlands
    See Also:
    Serialized Form
    • Constructor Detail

      • ACLTracePanel

        public ACLTracePanel​(Agent agent)
        Constructor for the ACLTreePanel object
        Parameters:
        agent - link to the agent
    • Method Detail

      • getCurrentACL

        public ACLMessage getCurrentACL()
      • doSystemOut

        public void doSystemOut()
      • addMessageNode

        public void addMessageNode​(ACLMessageNode theNode)
        Adds a ACLMessageNode to the List
        Parameters:
        theNode - the ACLMessageNode
      • addMessageNode

        public void addMessageNode​(String direction,
                                   ACLMessage theACL)
        Adds a ACLMessage to the List
        Parameters:
        direction - the direction of the ACLMessage
        theACL - the ACLMessage to be added
      • addMessageNode

        public void addMessageNode​(String direction,
                                   String theTime,
                                   ACLMessage theACL)
        Adds a ACLMessage to the List
        Parameters:
        direction - the direction of the ACLMessage
        theTime - timeStamp
        theACL - the ACLMessage to be added
      • deleteCurrent

        public void deleteCurrent()
        delete the current selected ACLMessage from the list
      • doShowAbout

        public void doShowAbout()
        show about screen
      • saveACL

        public void saveACL()
        save the current selected ACLMessage to a textfile
      • doShowCurrentACL

        public void doShowCurrentACL()
      • showStastistics

        public void showStastistics()
      • saveQueue

        public void saveQueue()
      • loadQueue

        public void loadQueue()
      • clearACLModel

        public void clearACLModel()
      • doSort

        public void doSort()