edu.uci.ics.jung.graph.decorators
Class ConstantEdgeColorFunction
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstantEdgeColorFunction
public ConstantEdgeColorFunction(Color c)
- Deprecated.
getEdgeColor
public Color getEdgeColor(Edge e)
- Deprecated.
- Specified by:
getEdgeColor
in interface EdgeColorFunction