sota.gui.graph
Class GraphEdge
java.lang.Object
sota.gui.graph.GraphEdge
public class GraphEdge
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connection
org.eclipse.draw2d.PolylineConnection connection
edge
org.eclipse.draw2d.graph.Edge edge
hitLabel
public org.eclipse.draw2d.Label hitLabel
isExceptionEdge
boolean isExceptionEdge
isInverted
public boolean isInverted
isTwoSided
boolean isTwoSided
sourceNode
GraphNode sourceNode
targetNode
public GraphNode targetNode
GraphEdge
public GraphEdge(GraphNode from,
GraphNode to)
getConnection
public org.eclipse.draw2d.PolylineConnection getConnection()
getEdge
public org.eclipse.draw2d.graph.Edge getEdge()
getSourceNode
public GraphNode getSourceNode()
getTargetNode
public GraphNode getTargetNode()
isExceptionEdge
public boolean isExceptionEdge()
isExceptionEdge
public void isExceptionEdge(boolean b)
removeEdge
public void removeEdge()
setColored
public void setColored(int i)
setConnection
public void setConnection(org.eclipse.draw2d.PolylineConnection connection)
setDefault
public void setDefault()
setEdge
public void setEdge(org.eclipse.draw2d.graph.Edge edge)
setSourceNode
public void setSourceNode(GraphNode sourceNode)
setTargetNode
public void setTargetNode(GraphNode targetNode)
updateStyle
public void updateStyle()