org.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.

Version:
1.0 1/1/02
Author:
Gaudenz Alder

Nested Class Summary
static interface Edge.Routing
           
 
Method Summary
 Object getSource()
          Returns the source of the edge.
 Object getTarget()
          Returns the target of the edge.
 void setSource(Object port)
          Sets the source of the edge.
 void setTarget(Object port)
          Returns the target of edge.
 
Methods inherited from interface org.jgraph.graph.GraphCell
changeAttributes, getAttributes, setAttributes
 

Method Detail

getSource

Object getSource()
Returns the source of the edge.


getTarget

Object getTarget()
Returns the target of the edge.


setSource

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


setTarget

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