samples.graph
Class ShortestPathDemo.MyEdgeStrokeFunction

java.lang.Object
  extended by samples.graph.ShortestPathDemo.MyEdgeStrokeFunction
All Implemented Interfaces:
EdgeStrokeFunction
Enclosing class:
ShortestPathDemo

public class ShortestPathDemo.MyEdgeStrokeFunction
extends Object
implements EdgeStrokeFunction


Field Summary
protected  Stroke THICK
           
protected  Stroke THIN
           
 
Constructor Summary
ShortestPathDemo.MyEdgeStrokeFunction()
           
 
Method Summary
 Stroke getStroke(Edge e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

THIN

protected final Stroke THIN

THICK

protected final Stroke THICK
Constructor Detail

ShortestPathDemo.MyEdgeStrokeFunction

public ShortestPathDemo.MyEdgeStrokeFunction()
Method Detail

getStroke

public Stroke getStroke(Edge e)
Specified by:
getStroke in interface EdgeStrokeFunction