|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--snap.graph.Graph
This is the graph structure to manage the CoordinationNodes and their connections. Each CoordinationNode stores the information about the visualization and the one directional link out from the node.
Constructor Summary | |
Graph()
|
Method Summary | |
void |
addGraphChangeEventListener(snap.graph.GraphChangeEventListener gcel)
Installs the listener for GraphChangeEvents |
snap.graph.Monitor |
getMonitor()
Returns the monitor for locking the entire graph |
snap.graph.Node |
getNode(java.lang.String name)
|
java.util.Enumeration |
nodes()
|
void |
removeGraphChangeEventListener(snap.graph.GraphChangeEventListener gcel)
Removes the listener for GraphChangeEvents |
snap.graph.Node |
removeNode(java.lang.String name)
|
void |
setNode(java.lang.String name,
snap.graph.Node node)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Graph()
Method Detail |
public void removeGraphChangeEventListener(snap.graph.GraphChangeEventListener gcel)
public void addGraphChangeEventListener(snap.graph.GraphChangeEventListener gcel)
public snap.graph.Monitor getMonitor()
public snap.graph.Node getNode(java.lang.String name)
public void setNode(java.lang.String name, snap.graph.Node node)
public snap.graph.Node removeNode(java.lang.String name)
public java.util.Enumeration nodes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |