edu.uci.ics.jung.graph.decorators
Interface VertexColorFunction

All Known Implementing Classes:
ConstantVertexColorFunction

Deprecated. Superseded by VertexPaintFunction

public interface VertexColorFunction

An interface for classes that return Colors given a Vertex. Used by PluggableRenderer to specify the colors in which to render each vertex.

Author:
danyelf

Method Summary
 Color getBackColor(Vertex v)
          Deprecated. Returns the Color to use for drawing the interior of the vertex v.
 Color getForeColor(Vertex v)
          Deprecated. Returns the Color to use for drawing the border and text for the vertex v.
 

Method Detail

getForeColor

Color getForeColor(Vertex v)
Deprecated. 
Returns the Color to use for drawing the border and text for the vertex v.


getBackColor

Color getBackColor(Vertex v)
Deprecated. 
Returns the Color to use for drawing the interior of the vertex v.