Package jade.gui
Class AgentTree.AgentNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- jade.gui.AgentTree.Node
-
- jade.gui.AgentTree.AgentNode
-
- All Implemented Interfaces:
Serializable,Cloneable,MutableTreeNode,TreeNode
- Direct Known Subclasses:
AgentTree.RemoteAgentNode
- Enclosing class:
- AgentTree
public class AgentTree.AgentNode extends AgentTree.Node
Inner class AgentNode- 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 StringgetAddress()StringgetToolTipText()StringgetType()voidsetAddress(String address)voidsetType(String type)-
Methods inherited from class jade.gui.AgentTree.Node
changeIcon, compareTo, getIcon, getName, getOwnership, getState, setName, setOwnership, setState, toString
-
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
-
-
-
-
Constructor Detail
-
AgentNode
public AgentNode(String name)
-
-
Method Detail
-
getAddress
public String getAddress()
-
setAddress
public void setAddress(String address)
-
setType
public void setType(String type)
- Specified by:
setTypein classAgentTree.Node
-
getType
public String getType()
- Specified by:
getTypein classAgentTree.Node
-
getToolTipText
public String getToolTipText()
- Specified by:
getToolTipTextin classAgentTree.Node
-
-