org.pentaho.reporting.engine.classic.core.modules.output.table.html.util
Class HtmlColors

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.modules.output.table.html.util.HtmlColors

public class HtmlColors
extends Object

Creation-Date: 20.12.2005, 10:48:22

Author:
Thomas Morgner

Field Summary
static Color AQUA
           
static Color BLACK
           
static Color BLUE
           
static Color FUCHSIA
           
static Color GRAY
           
static Color GREEN
           
static Color LIME
           
static Color MAROON
           
static Color NAVY
           
static Color OLIVE
           
static Color PURPLE
           
static Color RED
           
static Color SILVER
           
static Color TEAL
           
static Color WHITE
           
static Color YELLOW
           
 
Method Summary
static String getColorString(Color color)
          Creates the color string for the given AWT color.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BLACK

public static final Color BLACK

GREEN

public static final Color GREEN

SILVER

public static final Color SILVER

LIME

public static final Color LIME

GRAY

public static final Color GRAY

OLIVE

public static final Color OLIVE

WHITE

public static final Color WHITE

YELLOW

public static final Color YELLOW

MAROON

public static final Color MAROON

NAVY

public static final Color NAVY

RED

public static final Color RED

BLUE

public static final Color BLUE

PURPLE

public static final Color PURPLE

TEAL

public static final Color TEAL

FUCHSIA

public static final Color FUCHSIA

AQUA

public static final Color AQUA
Method Detail

getColorString

public static String getColorString(Color color)
Creates the color string for the given AWT color. If the color is one of the predefined HTML colors, then the logical name is returned. For all other colors, the RGB-Tripple is returned.

Parameters:
color - the AWTColor that should be translated.
Returns:
the translated html color definition