com.alveole.studio.web.designer.graph
Class LinkStringLabeller

java.lang.Object
  extended by com.alveole.studio.web.designer.graph.LinkStringLabeller
All Implemented Interfaces:
edu.uci.ics.jung.graph.decorators.EdgeStringer

public class LinkStringLabeller
extends java.lang.Object
implements edu.uci.ics.jung.graph.decorators.EdgeStringer

A string label on edges.

Author:
sylvain

Constructor Summary
LinkStringLabeller()
           
 
Method Summary
 java.lang.String getLabel(edu.uci.ics.jung.graph.ArchetypeEdge e)
          Get a label given an edge.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkStringLabeller

public LinkStringLabeller()
Method Detail

getLabel

public java.lang.String getLabel(edu.uci.ics.jung.graph.ArchetypeEdge e)
Get a label given an edge.

Specified by:
getLabel in interface edu.uci.ics.jung.graph.decorators.EdgeStringer
Parameters:
e - The edge to label.
Returns:
The edge label.