Package 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
Nested Classes Modifier and Type Interface Description static interface
Edge.Routing
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 ofedge
.-
Methods inherited from interface org.jgraph.graph.GraphCell
changeAttributes, getAttributes, setAttributes
-
-
-
-
Method Detail
-
getSource
java.lang.Object getSource()
Returns the source of the edge.
-
getTarget
java.lang.Object getTarget()
Returns the target of the edge.
-
setSource
void setSource(java.lang.Object port)
Sets the source of the edge.
-
setTarget
void setTarget(java.lang.Object port)
Returns the target ofedge
.
-
-