hudson.util
Class ColorPalette

java.lang.Object
  extended by hudson.util.ColorPalette

public class ColorPalette
extends Object

Color constants consistent with the Hudson color palette.

Author:
Kohsuke Kawaguchi

Field Summary
static Color BLUE
           
static Color GREY
           
static List<Color> LINE_GRAPH
          Color list usable for generating line charts.
static Color RED
           
static Color YELLOW
           
 
Constructor Summary
ColorPalette()
           
 
Method Summary
static void apply(org.jfree.chart.renderer.category.LineAndShapeRenderer renderer)
          Applies LINE_GRAPH colors to the given renderer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RED

public static final Color RED

YELLOW

public static final Color YELLOW

BLUE

public static final Color BLUE

GREY

public static final Color GREY

LINE_GRAPH

public static List<Color> LINE_GRAPH
Color list usable for generating line charts.

Constructor Detail

ColorPalette

public ColorPalette()
Method Detail

apply

public static void apply(org.jfree.chart.renderer.category.LineAndShapeRenderer renderer)
Applies LINE_GRAPH colors to the given renderer.



Copyright © 2004-2013. All Rights Reserved.