public abstract class AbstractEdge extends java.lang.Object implements Edge
Constructor and Description |
---|
AbstractEdge() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
void |
connect(Node s,
Node e)
Connects this edge to two nodes.
|
java.awt.geom.Rectangle2D |
getBounds(java.awt.Graphics2D g2)
Gets the smallest rectangle that bounds this edge.
|
java.awt.geom.Line2D |
getConnectionPoints()
Gets the points at which this edge is connected to
its nodes.
|
Node |
getEnd()
Gets the ending node.
|
Node |
getStart()
Gets the starting node.
|
public AbstractEdge()
public java.lang.Object clone()
public void connect(Node s, Node e)
Edge
public java.awt.geom.Rectangle2D getBounds(java.awt.Graphics2D g2)
Edge
public java.awt.geom.Line2D getConnectionPoints()
Edge
getConnectionPoints
in interface Edge