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

java.lang.Object
  extended by edu.uci.ics.jung.graph.decorators.ConstantEdgeColorFunction
All Implemented Interfaces:
EdgeColorFunction

Deprecated. Replaced by ConstantEdgePaintFunction.

public class ConstantEdgeColorFunction
extends Object
implements EdgeColorFunction

Returns the same Color for all specified edges.

Author:
Joshua O'Madadhain

Constructor Summary
ConstantEdgeColorFunction(Color c)
          Deprecated.  
 
Method Summary
 Color getEdgeColor(Edge e)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantEdgeColorFunction

public ConstantEdgeColorFunction(Color c)
Deprecated. 
Method Detail

getEdgeColor

public Color getEdgeColor(Edge e)
Deprecated. 
Specified by:
getEdgeColor in interface EdgeColorFunction