com.jgraph.graph
Interface Edge

All Superinterfaces:
GraphCell
All Known Implementing Classes:
DefaultEdge

public interface Edge
extends GraphCell

Defines the requirements for an object that represents an Edge in a GraphModel.


Method Summary
 java.lang.Object getSource()
          Returns the source of the edge.
 java.lang.Object getTarget()
          Returns the target of the edge.
 void setSource(java.lang.Object port)
          Sets the source of the edge.
 void setTarget(java.lang.Object port)
          Returns the target of edge.
 
Methods inherited from interface com.jgraph.graph.GraphCell
getAttributes, setAttributes
 

Method Detail

getSource

public java.lang.Object getSource()
Returns the source of the edge.


getTarget

public java.lang.Object getTarget()
Returns the target of the edge.


setSource

public void setSource(java.lang.Object port)
Sets the source of the edge.


setTarget

public void setTarget(java.lang.Object port)
Returns the target of edge.