|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulg.montefiore.run.totem.visualtopo.graph.LinkLabeller
public class LinkLabeller
A small class that allows to draw a label below a link.
Creation date: 15-Feb-2005
Field Summary | |
---|---|
static int |
LINK_BW
|
static int |
LINK_METRIC
|
static int |
LINK_RESERVED_BW
|
static int |
LINK_TE_METRIC
|
static int |
NO_LABEL
|
Method Summary | |
---|---|
static LinkLabeller |
getInstance()
get an instance of the LinkLabeller |
java.lang.String |
getLabel(edu.uci.ics.jung.graph.ArchetypeEdge e)
This methode compute and return the label that will be associate with the Edge |
void |
select(int select)
Select which kind of information will be displayed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NO_LABEL
public static final int LINK_BW
public static final int LINK_RESERVED_BW
public static final int LINK_METRIC
public static final int LINK_TE_METRIC
Method Detail |
---|
public static LinkLabeller getInstance()
public void select(int select)
select
- public java.lang.String getLabel(edu.uci.ics.jung.graph.ArchetypeEdge e)
getLabel
in interface edu.uci.ics.jung.graph.decorators.EdgeStringer
e
- an ArchetypeEdge
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |