zeus.gui.graph
Class GraphNode
java.lang.Object
zeus.gui.graph.GraphNode
- public class GraphNode
- extends java.lang.Object
|
Constructor Summary |
GraphNode(java.lang.Object user_object)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARENT
public static final int PARENT
- See Also:
- Constant Field Values
CHILD
public static final int CHILD
- See Also:
- Constant Field Values
children
protected java.util.Vector children
parents
protected java.util.Vector parents
siblings
protected java.util.Vector siblings
nodeType
protected int nodeType
user_object
protected java.lang.Object user_object
GraphNode
public GraphNode(java.lang.Object user_object)
setUserObject
public void setUserObject(java.lang.Object user_object)
getUserObject
public java.lang.Object getUserObject()
setNodeType
public void setNodeType(int type)
getNodeType
public int getNodeType()
initialize
public void initialize()
addItem
protected boolean addItem(GraphNode node,
java.util.Vector nodeList)
addSibling
public void addSibling(GraphNode node)
addChild
public void addChild(GraphNode node)
addParent
public void addParent(GraphNode node)
hasSibling
public boolean hasSibling(GraphNode node)
hasChild
public boolean hasChild(GraphNode node)
hasParent
public boolean hasParent(GraphNode node)
removeSibling
public void removeSibling(GraphNode node)
removeChild
public void removeChild(GraphNode node)
removeParent
public void removeParent(GraphNode node)
getChildren
public GraphNode[] getChildren()
getSiblings
public GraphNode[] getSiblings()
getParents
public GraphNode[] getParents()
Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.