cyvis.gui.charts
Class ColorSelector

java.lang.Object
  extended by cyvis.gui.charts.ColorSelector

public class ColorSelector
extends Object

Holds the cyclomati complexity ranges and their respctive colors.


Field Summary
static int high
           
static Color highColor
           
static int low
           
static Color lowColor
           
static int mod
           
static Color modColor
           
 
Constructor Summary
ColorSelector()
           
 
Method Summary
static Color getColor(int cyclomaticComplexity)
          returns a color for that cyclomatic complexity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

highColor

public static Color highColor

modColor

public static Color modColor

lowColor

public static Color lowColor

high

public static int high

mod

public static int mod

low

public static int low
Constructor Detail

ColorSelector

public ColorSelector()
Method Detail

getColor

public static Color getColor(int cyclomaticComplexity)
returns a color for that cyclomatic complexity

Parameters:
cyclomaticComplexity -
Returns:
the color for that particular cyclomatic complexity