zeus.agentviewer.engine
Class EngineGraphModel

java.lang.Object
  extended byzeus.gui.graph.AbstractGraphModel
      extended byzeus.agentviewer.engine.EngineGraphModel
All Implemented Interfaces:
GraphModel

public class EngineGraphModel
extends AbstractGraphModel


Field Summary
(package private) static int ADD
           
(package private)  java.util.Hashtable allNodes
           
private  int BUFFER_CAPACITY
           
(package private) static int CHANGE
           
(package private) static int DELETE
           
private  int REMOVE_INDEX
           
(package private)  GraphNode root
           
 
Fields inherited from class zeus.gui.graph.AbstractGraphModel
graphModelListeners
 
Constructor Summary
EngineGraphModel(GraphNode root)
           
 
Method Summary
private  void addNode(GraphNode gNode)
           
(package private)  void deleteTree(GraphsModel graphsModel)
           
protected  void deleteTreeNode(GraphNode a_node, GraphsModel graphsModel)
           
private  void getAllNodesOf(GraphNode a_node)
           
 GraphNode getRoot()
           
 boolean isLinkVisible(GraphNode from, GraphNode to)
           
 boolean isNodeEditable(GraphNode node)
           
 java.util.Enumeration nodes()
           
 void refresh(int val, GraphNode aNode)
           
 void setValue(GraphNode node, java.lang.Object user_object)
           
 
Methods inherited from class zeus.gui.graph.AbstractGraphModel
addGraphModelListener, fireGraphNodeAdded, fireGraphNodeRemoved, fireGraphNodeStateChanged, fireGraphStructureChanged, getLinkColor, getViewRelations, removeGraphModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ADD

static final int ADD
See Also:
Constant Field Values

DELETE

static final int DELETE
See Also:
Constant Field Values

CHANGE

static final int CHANGE
See Also:
Constant Field Values

BUFFER_CAPACITY

private int BUFFER_CAPACITY

REMOVE_INDEX

private int REMOVE_INDEX

root

GraphNode root

allNodes

java.util.Hashtable allNodes
Constructor Detail

EngineGraphModel

public EngineGraphModel(GraphNode root)
Method Detail

nodes

public java.util.Enumeration nodes()
Specified by:
nodes in interface GraphModel
Specified by:
nodes in class AbstractGraphModel

isLinkVisible

public boolean isLinkVisible(GraphNode from,
                             GraphNode to)
Specified by:
isLinkVisible in interface GraphModel
Overrides:
isLinkVisible in class AbstractGraphModel

setValue

public void setValue(GraphNode node,
                     java.lang.Object user_object)
Specified by:
setValue in interface GraphModel
Specified by:
setValue in class AbstractGraphModel

isNodeEditable

public boolean isNodeEditable(GraphNode node)
Specified by:
isNodeEditable in interface GraphModel
Specified by:
isNodeEditable in class AbstractGraphModel

getAllNodesOf

private void getAllNodesOf(GraphNode a_node)

getRoot

public GraphNode getRoot()

addNode

private void addNode(GraphNode gNode)

refresh

public void refresh(int val,
                    GraphNode aNode)

deleteTree

void deleteTree(GraphsModel graphsModel)

deleteTreeNode

protected void deleteTreeNode(GraphNode a_node,
                              GraphsModel graphsModel)


Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.