OrthogonalDrawing
Class Edge

java.lang.Object
  extended by OrthogonalDrawing.Edge

public class Edge
extends java.lang.Object


Field Summary
private  Node bend1
           
private  Node bend2
           
private  float edgeLength
           
private  Node endNode
           
private  int orthogonal
           
private  Node startNode
           
 
Constructor Summary
Edge()
           
Edge(Node node1, Node node2)
           
 
Method Summary
 Node getBend1()
           
 Node getBend2()
           
 float GetEdgeLength()
           
 Node GetEndNode()
           
 int getOrthogonal()
           
 Node GetStartNode()
           
 void setBend1(Node n)
           
 void setBend2(Node n)
           
 void SetEdgeLength(float length)
           
 void SetEndNode(Node node)
           
 void setOrthogonal(int val)
           
 void SetStartNode(Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startNode

private Node startNode

endNode

private Node endNode

edgeLength

private float edgeLength

orthogonal

private int orthogonal

bend1

private Node bend1

bend2

private Node bend2
Constructor Detail

Edge

public Edge()

Edge

public Edge(Node node1,
            Node node2)
Method Detail

GetStartNode

public Node GetStartNode()

GetEndNode

public Node GetEndNode()

SetStartNode

public void SetStartNode(Node node)

SetEndNode

public void SetEndNode(Node node)

getBend1

public Node getBend1()

getOrthogonal

public int getOrthogonal()

getBend2

public Node getBend2()

setBend1

public void setBend1(Node n)

setBend2

public void setBend2(Node n)

setOrthogonal

public void setOrthogonal(int val)

SetEdgeLength

public void SetEdgeLength(float length)

GetEdgeLength

public float GetEdgeLength()