JGraph
v5.12.4.2


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.


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

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


getTarget

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


setSource

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


setTarget

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


JGraph
v5.12.4.2


Copyright (C) 2001-2008 Gaudenz Alder. All rights reserved.