org.pentaho.reporting.engine.classic.core.modules.output.table.html.util
Class HtmlColors
java.lang.Object
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
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
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