org.jgraph.graph

Interface Edge

public interface Edge extends GraphCell

Defines the requirements for an object that represents an Edge in a GraphModel.
Nested Class Summary
static interfaceEdge.Routing
Method Summary
ObjectgetSource()
Returns the source of the edge.
ObjectgetTarget()
Returns the target of the edge.
voidsetSource(Object port)
Sets the source of the edge.
voidsetTarget(Object port)
Returns the target of edge.

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.
Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.