com.gomjabbar.graph
Class GraphModel
java.lang.Object
|
+--com.gomjabbar.graph.GraphModel
- Direct Known Subclasses:
- QueryTreeGraphAdapter
- public class GraphModel
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphModel
public GraphModel()
addElement
public void addElement(GraphElement e,
double x,
double y)
addRelation
public void addRelation(GraphRelation r)
getElements
public java.util.Enumeration getElements()
getRelations
public java.util.Enumeration getRelations()
setLocation
public void setLocation(GraphElement e,
double x,
double y)
getLocation
public java.awt.geom.Point2D.Double getLocation(GraphElement e)
findElement
public int findElement(GraphElement e)