edu.uci.ics.jung.graph.decorators
Class AbstractEdgePaintFunction

java.lang.Object
  extended by edu.uci.ics.jung.graph.decorators.AbstractEdgePaintFunction
All Implemented Interfaces:
EdgePaintFunction
Direct Known Subclasses:
EdgeColorToEdgePaintFunctionConverter, GradientEdgePaintFunction, PickableEdgePaintFunction, ShortestPathDemo.MyEdgePaintFunction

public abstract class AbstractEdgePaintFunction
extends Object
implements EdgePaintFunction

An implementation of EdgePaintFunction that is appropriate for edge shapes that are not filled, such as lines or curves. Provides an implementation of getFillPaint() that returns null.

Author:
Joshua O'Madadhain

Field Summary
 
Fields inherited from interface edu.uci.ics.jung.graph.decorators.EdgePaintFunction
TRANSPARENT
 
Constructor Summary
AbstractEdgePaintFunction()
           
 
Method Summary
 Paint getFillPaint(Edge e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.uci.ics.jung.graph.decorators.EdgePaintFunction
getDrawPaint
 

Constructor Detail

AbstractEdgePaintFunction

public AbstractEdgePaintFunction()
Method Detail

getFillPaint

public Paint getFillPaint(Edge e)
Specified by:
getFillPaint in interface EdgePaintFunction
See Also:
EdgePaintFunction.getFillPaint(edu.uci.ics.jung.graph.Edge)