org.jgraph.graph

Interface Edge

All Superinterfaces:
GraphCell
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 Details

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-2006 Gaudenz Alder. All rights reserved.