Package jade.tools.gui
Class ACLMessageNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- jade.tools.gui.ACLMessageNode
-
- All Implemented Interfaces:
Serializable,Cloneable,MutableTreeNode,TreeNode
public class ACLMessageNode extends DefaultMutableTreeNode
This class is used in the model of the ACLTree. The MessageNode contains an ACLMessage, a direction and a date/timestamp- Author:
- Chris van Aart - Acklin B.V., the Netherlands
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDirection()Gets the Direction attribute of the MessageNode objectACLMessagegetMessage()Gets the Message attribute of the MessageNode objectStringgetOntology()Gets the Ontology attribute of the MessageNode objectStringgetPerformative()Gets the Performative attribute of the MessageNode objectStringgetSendTo()Gets the SendTo attribute of the MessageNode objectDategetTheDate()StringgetTime()StringreceivedFrom()voidsetDirection(String theDirection)Sets the Direction attribute of the MessageNode objectvoidsetMessage(ACLMessage msg)Sets the Message attribute of the MessageNode objectvoidsetTheDate(Date theTheDate)voidsetTime(String theTime)-
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
-
-
-
-
Method Detail
-
getMessage
public ACLMessage getMessage()
Gets the Message attribute of the MessageNode object- Returns:
- The Message value
-
getPerformative
public String getPerformative()
Gets the Performative attribute of the MessageNode object- Returns:
- The Performative value
-
getSendTo
public String getSendTo()
Gets the SendTo attribute of the MessageNode object- Returns:
- The SendTo value
-
getOntology
public String getOntology()
Gets the Ontology attribute of the MessageNode object- Returns:
- The Ontology value
-
getDirection
public String getDirection()
Gets the Direction attribute of the MessageNode object- Returns:
- The Direction value
-
getTime
public String getTime()
-
getTheDate
public Date getTheDate()
-
setMessage
public void setMessage(ACLMessage msg)
Sets the Message attribute of the MessageNode object- Parameters:
msg- The new Message value
-
setDirection
public void setDirection(String theDirection)
Sets the Direction attribute of the MessageNode object- Parameters:
theDirection- The new Direction value
-
setTime
public void setTime(String theTime)
-
setTheDate
public void setTheDate(Date theTheDate)
-
receivedFrom
public String receivedFrom()
-
-