Package hudson.util

Class ColorPalette


  • public class ColorPalette
    extends Object
    Color constants consistent with the Hudson color palette.
    Author:
    Kohsuke Kawaguchi
    • 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
      • DARK_GREY

        public static final Color DARK_GREY
      • LIGHT_GREY

        public static final Color LIGHT_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.