org.wilmascope.file
Class XMLGraph.Cluster
java.lang.Object
org.wilmascope.file.XMLGraph.XMLGraphElement
org.wilmascope.file.XMLGraph.Node
org.wilmascope.file.XMLGraph.Cluster
- All Implemented Interfaces:
- java.lang.Comparable<XMLGraph.Node>
- Enclosing class:
- XMLGraph
public class XMLGraph.Cluster
- extends XMLGraph.Node
Methods inherited from class org.wilmascope.file.XMLGraph.XMLGraphElement |
appendChild, createElement, getAttribute, getChildElements, getChildNodes, getElement, getFloatAttribute, getProperties, setAttribute, setAttribute, setProperties, setViewType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLGraph.Cluster
protected XMLGraph.Cluster()
XMLGraph.Cluster
protected XMLGraph.Cluster(org.w3c.dom.Element clusterElement)
load
public void load(java.util.Vector nodes,
java.util.Vector edges,
java.util.Vector clusters)
setLayoutEngineType
public XMLGraph.LayoutEngineType setLayoutEngineType(java.lang.String type)
addNode
public XMLGraph.Node addNode()
addNode
public void addNode(XMLGraph.Node node)
addCluster
public XMLGraph.Cluster addCluster()
addEdge
public XMLGraph.Edge addEdge(java.lang.String startID,
java.lang.String endID)
addEdge
public void addEdge(XMLGraph.Edge edge)
getViewType
public XMLGraph.ViewType getViewType()
- Overrides:
getViewType
in class XMLGraph.XMLGraphElement
- Returns:
- the ViewType for this cluster previously loaded in a call to
load(java.util.Vector, java.util.Vector, java.util.Vector)
getLayoutEngineType
public XMLGraph.LayoutEngineType getLayoutEngineType()
- Returns:
- the LayoutEngineType for this cluster previously loaded in a call
to
load(java.util.Vector, java.util.Vector, java.util.Vector)