planet.commonapi.GML
Interface GMLEdge
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- GMLEdgeImpl
public interface GMLEdge
- extends java.io.Serializable
This wrapper class is used to store an edge of a directed or undirected
graph according to GML file format.
- Author:
- Marc Sānchez , Jordi Pujol
- See Also:
- GML
getFill
java.lang.String getFill()
- Returns:
- Returns the fill color of the edge.
setFill
void setFill(java.lang.String fill)
- Parameters:
fill
- The fill color of the edge to set.
getSource
Id getSource()
- Returns:
- Returns the source.
setSource
void setSource(Id source)
- Parameters:
source
- The source to set.
getTarget
Id getTarget()
- Returns:
- Returns the target.
setTarget
void setTarget(Id target)
- Parameters:
target
- The target to set.
isDirected
boolean isDirected()
- Returns:
- Returns the isDirected.
setDirected
void setDirected(boolean isDirected)
- Parameters:
isDirected
- The isDirected to set.