edu.uci.ics.jung.visualization.graphdraw
Interface VertexColorFunction


public interface VertexColorFunction

Author:
danyelf

Method Summary
 java.awt.Color getBackColor(Vertex v)
          What color should the FIELD of this vertex be?
 java.awt.Color getForeColor(Vertex v)
          What color should the TEXT of this vertex be?
 

Method Detail

getForeColor

public java.awt.Color getForeColor(Vertex v)
What color should the TEXT of this vertex be?

Parameters:
v -
Returns:
the Color of the text.

getBackColor

public java.awt.Color getBackColor(Vertex v)
What color should the FIELD of this vertex be?

Parameters:
v -
Returns:
the color of the background of the vertex.